Project Number Date
test_Tails_ISO_20619-wait-for-persistent-storage-check 2 23 Oct 2024, 12:34

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 136 4 17 0 0 157 17 4 21 32:4.094 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:10.721
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:32.005
And I update APT using apt 13.309
And I install "python3-behave" using apt 22.369
Then the Tails Persistent Storage behave tests pass 3.036
After features/support/hooks.rb:326 1.057
After features/support/hooks.rb:100 0.000
Tags: @product
40.149
Before features/support/hooks.rb:269 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.765
When I log in to a new session without activating the Persistent Storage 20.536
Then Tails is running from USB drive "__internal" 0.557
And persistence is disabled 0.257
But a Tails persistence partition exists on USB drive "__internal" 8.032
After features/support/hooks.rb:326 1.729
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.267
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.465
Then Tails is running from USB drive "__internal" 0.498
When I create a file in the Persistent directory 0.110
And I create a persistent partition with the default settings 23.291
Then the file I created was copied to the Persistent Storage 0.734
When I shutdown Tails and wait for the computer to power off 12.611
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.064
Then persistence for "Persistent" is active 0.421
And the file I created in the Persistent directory exists 0.069
After features/support/hooks.rb:326 0.820
After features/support/hooks.rb:100 0.009
Tags: @product
1:1.602
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.913
And the system is very low on memory 4.994
When I create a file in the Persistent directory 1.529
When I try to create a persistent partition 26.130
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.235
When I close the Persistent Storage app 2.732
And I free up some memory 1.759
And I create a persistent partition with the default settings 13.036
Then the file I created was copied to the Persistent Storage 0.269
After features/support/hooks.rb:326 1.368
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.580
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.445
Then Tails is running from USB drive "__internal" 0.388
And all tps features are active 2.066
And all persistent directories have safe access rights 2.350
When I disable the first tps feature 5.512
Then all tps features but the first one are active 1.807
And I shutdown Tails and wait for the computer to power off 8.539
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.441
Then all tps features but the first one are active 2.027
After features/support/hooks.rb:326 1.017
After features/support/hooks.rb:100 0.009
Tags: @product
18.564
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.458
Then persistence for "Persistent" is active 0.083
And I create a file in the Persistent directory 0.071
Then the file I created was copied to the Persistent Storage 0.074
When I disable the first tps feature 5.558
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.046
When I enable the first tps feature 3.055
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 0.805
After features/support/hooks.rb:100 0.000
Tags: @product
18.865
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.480
Then persistence for "Persistent" is active 0.088
When I create a file in the Persistent directory 0.064
And I disable the first tps feature 5.464
And I delete the data of the Persistent Folder feature 3.700
Then the file I created does not exist on the Persistent Storage 0.066
After features/support/hooks.rb:326 1.021
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.530
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.132
And the network is plugged 0.174
And Tor is ready 18.405
And I take note of which tps features are available 0.559
When I write some files expected to persist 1.455
And I shutdown Tails and wait for the computer to power off 8.562
# 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" 24.238
After features/support/hooks.rb:326 0.137
After features/support/hooks.rb:100 0.000
Tags: @product
2:9.000
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.662
And the network is plugged 0.064
And Tor is ready 19.323
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.277
And I shutdown Tails and wait for the computer to power off 8.396
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:31.276
can
can not find any of the patterns ["TailsGreeterLoginButton.png", "TailsGreeterLoginButtonGerman.png"] on the screen (FindFailed)
./features/support/helpers/screen.rb:240:in `rescue in wait_any'
./features/support/helpers/screen.rb:224:in `wait_any'
./features/step_definitions/common_steps.rb:490:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
./features/step_definitions/common_steps.rb:295:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:88:in `Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
And I capture all network traffic 0.000
And the network is plugged 0.000
And Tor is ready 0.000
And I switch to the "persistent-con-current" NetworkManager connection 0.000
And the 1st network device has a spoofed MAC address configured 0.000
And no network device leaked the real MAC address 0.000
After features/support/hooks.rb:326 5.226

SCENARIO FAILED: 'Creating and using a persistent NetworkManager connection' (at time 02:53:20)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/02:53:20_Creating_and_using_a_persistent_NetworkManager_connection.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/02:53:20_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/02:53:20_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/02:53:20_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:100 0.008
Tags: @product
57.410
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 12.211
And I enable persistence creation in Tails Greeter 1.120
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.604
Then I create a persistent partition with the default settings using the wizard that was already open 23.473
After features/support/hooks.rb:326 1.752
After features/support/hooks.rb:100 0.000
Tags: @product
1:33.676
Scenario Persistent Greeter options
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.365
When I enable persistence 32.961
Then no persistent Greeter options were restored 14.073
When I set all Greeter options to non-default values 35.275
cannot find TailsGreeterLoginButton.png on the screen (FindFailed)
./features/support/helpers/screen.rb:173:in `rescue in wait'
./features/support/helpers/screen.rb:157:in `wait'
./features/step_definitions/common_steps.rb:547:in `/^I set an administration password$/'
./features/step_definitions/usb.rb:1591:in `/^I set all Greeter options to non-default values$/'
features/persistence.feature:106:in `When I set all Greeter options to non-default values'
And I log in to a new session in German (de) after having activated the Persistent Storage 0.000
Then all Greeter options are set to non-default values 0.000
When I cold reboot the computer 0.000
And the computer reboots Tails 0.000
Given I enable persistence 0.000
Then persistent Greeter options were restored 0.000
When I log in to a new session after having activated the Persistent Storage 0.000
Then all Greeter options are set to non-default values 0.000
After features/support/hooks.rb:326 6.285

SCENARIO FAILED: 'Persistent Greeter options' (at time 02:55:58)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/02:55:58_Persistent_Greeter_options.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/02:55:58_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/02:55:58_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/02:55:58_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.000
Tags: @product
2:34.400
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:269 0.028
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.373
# 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 35.950
And I shutdown Tails and wait for the computer to power off 12.281
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:35.794
can
can not find any of the patterns ["TailsGreeterLoginButton.png", "TailsGreeterLoginButtonGerman.png"] on the screen (FindFailed)
./features/support/helpers/screen.rb:240:in `rescue in wait_any'
./features/support/helpers/screen.rb:224:in `wait_any'
./features/step_definitions/common_steps.rb:490:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
./features/step_definitions/common_steps.rb:295:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:123:in `Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase'
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:326 5.138

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 02:58:39)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/02:58:39_Changing_the_Persistent_Storage_passphrase.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/02:58:39_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/02:58:39_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/02:58:39_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.010
Tags: @product
59.833
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.287
And I log in to a new session without activating the Persistent Storage 20.402
Then persistence is disabled 0.291
But a Tails persistence partition exists on USB drive "__internal" 10.580
And all notifications have disappeared 11.216
When I delete the persistent partition 6.405
Then there is no persistence partition on USB drive "__internal" 0.648
After features/support/hooks.rb:326 0.863
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.949
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.638
When I write some dotfile expected to persist 0.058
And I shutdown Tails and wait for the computer to power off 8.509
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.240
Then the expected persistent dotfile is present in the filesystem 0.502
After features/support/hooks.rb:326 1.215
After features/support/hooks.rb:100 0.008
Tags: @product
1:45.686
Before features/support/hooks.rb:269 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 8.935
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.100
When I try to enable persistence 0.313
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.491
When I log in to a new session after having activated the Persistent Storage 48.608
And all notifications have disappeared 7.795
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.268
And all tps features are enabled 2.213
And all tps features but the first one are active 1.959
After features/support/hooks.rb:326 1.504
After features/support/hooks.rb:100 0.000
Tags: @product
3:38.572
Scenario LUKS header is automatically upgraded when unlocking the Persistent Storage
Before features/support/hooks.rb:269 0.006
Steps
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 2:52.437
And I enable persistence 31.068
And I log in to a new session after having activated the Persistent Storage 15.065
can
can not find any of the patterns ["TailsGreeterLoginButton.png", "TailsGreeterLoginButtonGerman.png"] on the screen (FindFailed)
./features/support/helpers/screen.rb:240:in `rescue in wait_any'
./features/support/helpers/screen.rb:224:in `wait_any'
./features/step_definitions/common_steps.rb:490:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
features/persistence.feature:156:in `And I log in to a new session after having activated the Persistent Storage'
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.000
And persistence is enabled 0.000
After features/support/hooks.rb:326 5.809

SCENARIO FAILED: 'LUKS header is automatically upgraded when unlocking the Persistent Storage' (at time 03:07:42)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/03:07:42_LUKS_header_is_automatically_upgraded_when_unlocking_the_Persistent_Storage.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/03:07:42_LUKS_header_is_automatically_upgraded_when_unlocking_the_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/03:07:42_LUKS_header_is_automatically_upgraded_when_unlocking_the_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/03:07:42_LUKS_header_is_automatically_upgraded_when_unlocking_the_Persistent_Storage.journal

After features/support/hooks.rb:100 0.000
Tags: @product
31.140
Before features/support/hooks.rb:269 0.005
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 8.806
And I enable persistence but something goes wrong during the LUKS header upgrade 21.502
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.831
After features/support/hooks.rb:326 0.818
After features/support/hooks.rb:100 0.000
Tags: @product
47.472
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.214
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.788
When I enable persistence 28.666
Then the filesystem of the Persistent Storage was repaired 0.102
And persistence is successfully enabled 2.701
After features/support/hooks.rb:326 2.194
After features/support/hooks.rb:100 0.000
Tags: @product
25.963
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.915
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.829
When I try to enable persistence 0.396
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.476
When I repair the filesystem of the Persistent Storage 1.313
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.211
And the filesystem of the Persistent Storage was repaired 0.073
When I close the filesystem repair dialog 1.261
Then persistence is successfully enabled 1.485
After features/support/hooks.rb:326 0.761
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.364
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.699
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.110
When I try to enable persistence 0.281
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.412
When I repair the filesystem of the Persistent Storage 1.271
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 38.528
And all notifications have disappeared 8.605
# Now both WhisperBack and Tor Browser has started at the same
# time, so we do not know which window is focused. The steps about
# Tor Browser care about that, but the ones about WhisperBack do
# not, so we first deal with WhisperBack and then kill it to
# ensure that Tor Browser is focused.
Then WhisperBack is prefilled for fsck with summary: "Failed to repair the file system of your Persistent Storage" 0.372
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.248
When I close the "whisperback" window 1.381
Then the Tor Browser starts 16.629
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.740
After features/support/hooks.rb:326 2.275
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:10.341
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.865
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.571
And Tails detects disk read failures on the boot device 1.658
When I try to enable persistence 0.450
Then the Welcome Screen tells me that my hardware is probably failing 5.612
When I log in to a new session 18.165
And all notifications have disappeared 7.814
Then the Tor Browser starts 21.624
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.577
After features/support/hooks.rb:326 1.500
After features/support/hooks.rb:100 0.000