Project Number Date
test_Tails_ISO_20619-wait-for-persistent-storage-check 3 23 Oct 2024, 18:15

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 149 3 5 0 0 157 18 3 21 40:34.407 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:14.422
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:34.040
And I update APT using apt 12.968
And I install "python3-behave" using apt 25.398
Then the Tails Persistent Storage behave tests pass 2.014
After features/support/hooks.rb:326 0.617
After features/support/hooks.rb:100 0.000
Tags: @product
47.847
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 15.154
When I log in to a new session without activating the Persistent Storage 25.569
Then Tails is running from USB drive "__internal" 0.510
And persistence is disabled 0.370
But a Tails persistence partition exists on USB drive "__internal" 6.241
After features/support/hooks.rb:326 1.041
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.018
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.237
Then Tails is running from USB drive "__internal" 0.336
When I create a file in the Persistent directory 0.127
And I create a persistent partition with the default settings 22.963
Then the file I created was copied to the Persistent Storage 0.606
When I shutdown Tails and wait for the computer to power off 12.640
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.560
Then persistence for "Persistent" is active 0.439
And the file I created in the Persistent directory exists 0.105
After features/support/hooks.rb:326 0.980
After features/support/hooks.rb:100 0.062
Tags: @product
1:23.005
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 21.799
And the system is very low on memory 8.793
When I create a file in the Persistent directory 1.437
When I try to create a persistent partition 30.336
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.092
When I close the Persistent Storage app 2.688
And I free up some memory 1.712
And I create a persistent partition with the default settings 14.624
Then the file I created was copied to the Persistent Storage 0.521
After features/support/hooks.rb:326 1.571
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.648
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 19.757
Then Tails is running from USB drive "__internal" 0.463
And all tps features are active 2.750
And all persistent directories have safe access rights 2.796
When I disable the first tps feature 6.173
Then all tps features but the first one are active 2.723
And I shutdown Tails and wait for the computer to power off 15.278
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:34.704
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:49:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then all tps features but the first one are active 0.000
After features/support/hooks.rb:326 5.336

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 02:58:22)

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/3/artifact/build-artifacts/02:58:22_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/3/artifact/build-artifacts/02:58:22_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/3/artifact/build-artifacts/02:58:22_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:100 0.030
Tags: @product
19.690
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.263
Then persistence for "Persistent" is active 0.114
And I create a file in the Persistent directory 0.111
Then the file I created was copied to the Persistent Storage 0.069
When I disable the first tps feature 5.753
Then persistence for "Persistent" is not active 0.078
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.093
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:326 0.786
After features/support/hooks.rb:100 0.000
Tags: @product
19.754
Before features/support/hooks.rb:269 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.052
Then persistence for "Persistent" is active 0.100
When I create a file in the Persistent directory 0.113
And I disable the first tps feature 5.706
And I delete the data of the Persistent Folder feature 3.726
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:326 0.827
After features/support/hooks.rb:100 0.000
Tags: @product
59.390
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.702
And the network is plugged 0.085
And Tor is ready 14.666
And I take note of which tps features are available 0.635
When I write some files expected to persist 1.522
And I shutdown Tails and wait for the computer to power off 8.541
# 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.236
After features/support/hooks.rb:326 0.138
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.582
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.422
And the network is plugged 0.078
And Tor is ready 14.769
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.202
And I shutdown Tails and wait for the computer to power off 8.636
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.882
And I capture all network traffic 0.006
And the network is plugged 0.079
And Tor is ready 21.982
And I switch to the "persistent-con-current" NetworkManager connection 0.313
And the 1st network device has a spoofed MAC address configured 0.077
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:326 0.658
After features/support/hooks.rb:100 0.057
Tags: @product
1:3.080
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.404
And I enable persistence creation in Tails Greeter 1.128
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.958
Then I create a persistent partition with the default settings using the wizard that was already open 20.588
After features/support/hooks.rb:326 1.455
After features/support/hooks.rb:100 0.000
Tags: @product
4:8.861
Scenario Persistent Greeter options
Before features/support/hooks.rb:269 0.011
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 21.725
When I enable persistence 36.102
Then no persistent Greeter options were restored 14.057
When I set all Greeter options to non-default values 25.980
And I log in to a new session in German (de) after having activated the Persistent Storage 50.567
Then all Greeter options are set to non-default values 0.489
When I cold reboot the computer 7.426
And the computer reboots Tails 1:4.878
Given I enable persistence 27.633
The
The Dogtail init script raised: SearchError: descendent of [application | ]: child with name="Your Persistent Storage is unlocked. Its content will be available until you shut down Tails." roleName='label'
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:339:in `initialize'
./features/support/helpers/dogtail.rb:268:in `new'
./features/support/helpers/dogtail.rb:268:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:276:in `child'
./features/step_definitions/usb.rb:695:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
features/persistence.feature:111:in `Given I enable persistence'
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 5.683

SCENARIO FAILED: 'Persistent Greeter options' (at time 03:08:25)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/3/artifact/build-artifacts/03:08:25_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/3/artifact/build-artifacts/03:08:25_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/3/artifact/build-artifacts/03:08:25_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/3/artifact/build-artifacts/03:08:25_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.013
Tags: @product
2:54.138
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:269 0.009
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.790
# 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 37.821
And I shutdown Tails and wait for the computer to power off 14.362
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:47.163
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.877

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:11:25)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/3/artifact/build-artifacts/03:11:25_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/3/artifact/build-artifacts/03:11:25_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/3/artifact/build-artifacts/03:11:25_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/3/artifact/build-artifacts/03:11:25_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.011
Tags: @product
1:13.853
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 18.914
And I log in to a new session without activating the Persistent Storage 22.396
Then persistence is disabled 0.351
But a Tails persistence partition exists on USB drive "__internal" 14.992
And all notifications have disappeared 10.385
When I delete the persistent partition 6.580
Then there is no persistence partition on USB drive "__internal" 0.231
After features/support/hooks.rb:326 1.087
After features/support/hooks.rb:100 0.000
Tags: @product
2:42.066
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 10.320
When I write some dotfile expected to persist 0.058
And I shutdown Tails and wait for the computer to power off 11.051
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.184
Then the expected persistent dotfile is present in the filesystem 0.450
After features/support/hooks.rb:326 1.235
After features/support/hooks.rb:100 0.012
Tags: @product
1:42.812
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.369
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.114
When I try to enable persistence 0.284
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.929
When I log in to a new session after having activated the Persistent Storage 43.354
And all notifications have disappeared 9.262
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.628
And all tps features are enabled 2.692
And all tps features but the first one are active 2.176
After features/support/hooks.rb:326 1.054
After features/support/hooks.rb:100 0.000
Tags: @product
6:45.912
Before features/support/hooks.rb:269 0.008
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 5:11.951
And I enable persistence 37.748
And I log in to a new session after having activated the Persistent Storage 46.685
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.611
And persistence is enabled 4.915
After features/support/hooks.rb:326 1.616
After features/support/hooks.rb:100 0.000
Tags: @product
44.496
Before features/support/hooks.rb:269 0.006
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.259
And I enable persistence but something goes wrong during the LUKS header upgrade 32.502
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.734
After features/support/hooks.rb:326 0.770
After features/support/hooks.rb:100 0.000
Tags: @product
51.205
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.229
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.972
When I enable persistence 29.866
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 4.039
After features/support/hooks.rb:326 2.065
After features/support/hooks.rb:100 0.000
Tags: @product
42.881
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 22.811
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.820
When I try to enable persistence 0.430
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.514
When I repair the filesystem of the Persistent Storage 1.271
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.286
And the filesystem of the Persistent Storage was repaired 0.072
When I close the filesystem repair dialog 1.302
Then persistence is successfully enabled 1.370
After features/support/hooks.rb:326 0.838
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.171
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.991
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.311
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.850
When I repair the filesystem of the Persistent Storage 1.999
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.139
When I log in to a new session 39.493
And all notifications have disappeared 8.874
# 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" 1.110
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.520
When I close the "whisperback" window 1.408
Then the Tor Browser starts 13.627
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.374
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:15.567
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.952
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.640
And Tails detects disk read failures on the boot device 0.475
When I try to enable persistence 0.385
Then the Welcome Screen tells me that my hardware is probably failing 5.013
When I log in to a new session 20.349
And all notifications have disappeared 8.946
Then the Tor Browser starts 24.081
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.724
After features/support/hooks.rb:326 1.284
After features/support/hooks.rb:100 0.000