Project Number Date
test_Tails_ISO_devel 3273 09 Feb 2024, 19:06

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 116 1 3 0 0 120 16 1 17 42:8.103 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:15.807
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:245 0.002
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:15.807
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/common_steps.rb:719:in `/^available upgrades have been checked$/'
./features/step_definitions/snapshots.rb:148:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:145:in `each'
./features/step_definitions/snapshots.rb:145:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:168:in `/^I\ have\ started\ Tails\ from\ DVD\ and\ logged\ in\ with\ an\ administration\ password\ and\ the\ network\ is\ connected$/'
features/persistence.feature:7:in `Given I have started Tails from DVD and logged in with an administration password and the network is connected'
And I update APT using apt 0.000
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:291 4.319

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:11:13)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3273/artifact/build-artifacts/04:11:13_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3273/artifact/build-artifacts/04:11:13_Tails_Persistent_Storage_behave_tests.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3273/artifact/build-artifacts/04:11:13_Tails_Persistent_Storage_behave_tests.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3273/artifact/build-artifacts/04:11:13_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:75 0.000
Tags: @product
37.996
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.952
When I log in to a new session without activating the Persistent Storage 20.815
Then Tails is running from USB drive "__internal" 0.390
And persistence is disabled 0.198
But a Tails persistence partition exists on USB drive "__internal" 5.639
After features/support/hooks.rb:291 0.756
After features/support/hooks.rb:75 0.000
Tags: @product
3:17.057
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.728
Then Tails is running from USB drive "__internal" 1.347
When I create a file in the Persistent directory 0.148
And I create a persistent partition with the default settings 31.276
Then the file I created was copied to the Persistent Storage 0.516
When I shutdown Tails and wait for the computer to power off 12.090
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.497
Then persistence for "Persistent" is active 0.369
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:291 0.629
After features/support/hooks.rb:75 0.006
Tags: @product
1:11.080
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.758
And the system is very low on memory 4.065
When I create a file in the Persistent directory 1.015
When I try to create a persistent partition 25.445
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.231
When I close the Persistent Storage app 2.578
And I free up some memory 1.375
And I create a persistent partition with the default settings 24.386
Then the file I created was copied to the Persistent Storage 0.223
After features/support/hooks.rb:291 1.196
After features/support/hooks.rb:75 0.000
Tags: @product
2:56.277
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.402
Then Tails is running from USB drive "__internal" 0.510
And all tps features are active 2.184
And all persistent directories have safe access rights 2.456
When I disable the first tps feature 15.433
Then all tps features but the first one are active 1.888
And I shutdown Tails and wait for the computer to power off 7.062
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.181
Then all tps features but the first one are active 2.157
After features/support/hooks.rb:291 0.895
After features/support/hooks.rb:75 0.009
Tags: @product
37.972
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.596
Then persistence for "Persistent" is active 0.072
And I create a file in the Persistent directory 0.083
Then the file I created was copied to the Persistent Storage 0.074
When I disable the first tps feature 15.073
Then persistence for "Persistent" is not active 0.091
And the Persistent directory does not exist 0.063
When I enable the first tps feature 13.797
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.051
After features/support/hooks.rb:291 0.723
After features/support/hooks.rb:75 0.000
Tags: @product
38.103
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.507
Then persistence for "Persistent" is active 0.074
When I create a file in the Persistent directory 0.081
And I disable the first tps feature 15.351
And I delete the data of the Persistent Folder feature 13.876
Then the file I created does not exist on the Persistent Storage 0.211
After features/support/hooks.rb:291 0.805
After features/support/hooks.rb:75 0.000
Tags: @product
51.738
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.326
And the network is plugged 0.038
And Tor is ready 17.118
And I take note of which tps features are available 0.592
When I write some files expected to persist 1.764
And I shutdown Tails and wait for the computer to power off 8.063
# XXX: The next step succeeds (and the --debug output confirms that it's actually looking for the files) but will fail in a subsequent scenario restoring the same snapshot. This exactly what we want, but why does it work? What is guestfs's behaviour when qcow2 internal snapshots are involved?
Then only the expected files are present on the persistence partition on USB drive "__internal" 14.833
After features/support/hooks.rb:291 0.137
After features/support/hooks.rb:75 0.000
Tags: @product
3:3.070
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.763
And the network is plugged 0.177
And Tor is ready 13.337
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.280
And I shutdown Tails and wait for the computer to power off 7.055
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.687
And I capture all network traffic 0.005
And the network is plugged 0.049
And Tor is ready 16.785
And I switch to the "persistent-con-current" NetworkManager connection 0.525
And the 1st network device has a spoofed MAC address configured 0.152
And no network device leaked the real MAC address 0.250
After features/support/hooks.rb:291 0.802
After features/support/hooks.rb:75 0.048
Tags: @product
58.365
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.650
And I enable persistence creation in Tails Greeter 1.152
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.528
Then I create a persistent partition with the default settings using the wizard that was already open 20.033
After features/support/hooks.rb:291 1.769
After features/support/hooks.rb:75 0.000
Tags: @product
5:45.828
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 32.604
When I enable persistence 38.804
Then no persistent Greeter options were restored 15.381
When I set all Greeter options to non-default values 26.596
And I log in to a new session in German (de) after having activated the Persistent Storage 51.814
Then all Greeter options are set to non-default values 0.263
When I cold reboot the computer 7.169
And the computer reboots Tails 1:3.148
Given I enable persistence 53.107
Then persistent Greeter options were restored 15.042
When I log in to a new session after having activated the Persistent Storage 41.701
Then all Greeter options are set to non-default values 0.194
After features/support/hooks.rb:291 0.792
After features/support/hooks.rb:75 0.008
Tags: @product
4:9.690
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.582
# Note that if anything fails after the passphrase was changed and
# before it's changed back below, subsequent scenarios might fail
# because the Persistent Storage doesn't have the expected passphrase.
When I change the passphrase of the Persistent Storage 44.879
And I shutdown Tails and wait for the computer to power off 11.993
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.821
And I change the passphrase of the Persistent Storage back to the original 43.414
After features/support/hooks.rb:291 1.720
After features/support/hooks.rb:75 0.008
Tags: @product
1:2.705
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.214
And I log in to a new session without activating the Persistent Storage 21.592
Then persistence is disabled 0.160
But a Tails persistence partition exists on USB drive "__internal" 6.110
And all notifications have disappeared 7.478
When I delete the persistent partition 16.720
Then there is no persistence partition on USB drive "__internal" 0.428
After features/support/hooks.rb:291 0.877
After features/support/hooks.rb:75 0.000
Tags: @product
2:35.811
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.220
When I write some dotfile expected to persist 0.083
And I shutdown Tails and wait for the computer to power off 7.141
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.872
Then the expected persistent dotfile is present in the filesystem 0.493
After features/support/hooks.rb:291 0.674
After features/support/hooks.rb:75 0.007
Tags: @product
1:43.024
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.367
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.265
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.004
When I log in to a new session after having activated the Persistent Storage 42.797
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 14.652
And all tps features are enabled 2.128
And all tps features but the first one are active 1.732
After features/support/hooks.rb:291 1.227
After features/support/hooks.rb:75 0.000
Tags: @product
5:39.208
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:58.103
And I enable persistence 45.337
And I log in to a new session after having activated the Persistent Storage 54.535
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.119
And persistence is enabled 0.112
After features/support/hooks.rb:291 1.115
After features/support/hooks.rb:75 0.000
Tags: @product
44.364
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 11.010
And I enable persistence but something goes wrong during the LUKS header upgrade 32.673
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.679
After features/support/hooks.rb:291 0.940
After features/support/hooks.rb:75 0.000