Project Number Date
test_Tails_ISO_devel 3784 16 Apr 2025, 13:52

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 154 1 2 0 0 157 20 1 21 1:15:14.982 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
36:40.221
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:40.202
And I update APT using apt 35:0.018
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/misc_helpers.rb:180:in `new'
./features/support/helpers/misc_helpers.rb:180:in `force_new_tor_circuit'
./features/support/helpers/misc_helpers.rb:192:in `block in retry_tor'
./features/support/helpers/misc_helpers.rb:222:in `rescue in block in retry_action'
./features/support/helpers/misc_helpers.rb:209:in `block in retry_action'
./features/support/helpers/misc_helpers.rb:208:in `loop'
./features/support/helpers/misc_helpers.rb:208:in `retry_action'
./features/support/helpers/misc_helpers.rb:196:in `retry_tor'
./features/step_definitions/apt.rb:59:in `/^I update APT using apt$/'
features/persistence.feature:8:in `And I update APT using apt'
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:330 10.840

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:56:19)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3784/artifact/build-artifacts/03:56:19_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3784/artifact/build-artifacts/03:56:19_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3784/artifact/build-artifacts/03:56:19_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
49.953
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.910
When I log in to a new session without activating the Persistent Storage 27.735
Then Tails is running from USB drive "__internal" 0.798
And persistence is disabled 0.309
But a Tails persistence partition exists on USB drive "__internal" 9.198
After features/support/hooks.rb:330 1.525
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.598
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 16.010
Then Tails is running from USB drive "__internal" 0.677
When I create a file in the Persistent directory 0.144
And I create a persistent partition with the default settings 26.108
Then the file I created was copied to the Persistent Storage 3.042
When I shutdown Tails and wait for the computer to power off 13.088
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.985
Then persistence for "Persistent" is active 0.453
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 1.712
After features/support/hooks.rb:100 0.035
Tags: @product
1:0.876
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.376
And the system is very low on memory 3.778
When I create a file in the Persistent directory 1.046
When I try to create a persistent partition 25.502
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.271
When I close the Persistent Storage app 2.531
And I free up some memory 3.383
And I create a persistent partition with the default settings 12.667
Then the file I created was copied to the Persistent Storage 0.318
After features/support/hooks.rb:330 2.677
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.216
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.132
Then Tails is running from USB drive "__internal" 0.675
And all tps features are active 2.428
And all persistent directories have safe access rights 3.032
When I disable the first tps feature 5.830
Then all tps features but the first one are active 2.025
And I shutdown Tails and wait for the computer to power off 13.062
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.788
Then all tps features but the first one are active 2.241
After features/support/hooks.rb:330 1.405
After features/support/hooks.rb:100 0.009
Tags: @product
20.027
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.432
Then persistence for "Persistent" is active 0.269
And I create a file in the Persistent directory 0.141
Then the file I created was copied to the Persistent Storage 0.085
When I disable the first tps feature 5.619
Then persistence for "Persistent" is not active 0.105
And the Persistent directory does not exist 0.079
When I enable the first tps feature 3.126
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:330 1.286
After features/support/hooks.rb:100 0.000
Tags: @product
19.050
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.308
Then persistence for "Persistent" is active 0.092
When I create a file in the Persistent directory 0.107
And I disable the first tps feature 5.701
And I delete the data of the Persistent Folder feature 3.775
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:330 1.601
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.894
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.412
And the network is plugged 0.078
And Tor is ready 21.083
And I take note of which tps features are available 0.667
When I write some files expected to persist 1.402
And I shutdown Tails and wait for the computer to power off 8.767
# 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.481
After features/support/hooks.rb:330 0.134
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.070
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.756
And the network is plugged 0.090
And Tor is ready 16.544
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.193
And I shutdown Tails and wait for the computer to power off 8.544
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.344
And I capture all network traffic 0.009
And the network is plugged 0.075
And Tor is ready 17.907
And I switch to the "persistent-con-current" NetworkManager connection 0.336
And the 1st network device has a spoofed MAC address configured 0.134
And no network device leaked the real MAC address 0.132
After features/support/hooks.rb:330 1.362
After features/support/hooks.rb:100 0.077
Tags: @product
54.847
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.742
And I enable persistence creation in Tails Greeter 1.217
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.022
Then I create a persistent partition with the default settings using the wizard that was already open 20.865
After features/support/hooks.rb:330 2.819
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.675
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 11.808
When I enable persistence 45.721
Then no persistent Greeter options were restored 13.817
When I set all Greeter options to non-default values 26.278
And I log in to a new session in German (de) after having activated the Persistent Storage 43.708
Then all Greeter options are set to non-default values 0.488
When I cold reboot the computer 7.757
And the computer reboots Tails 1:2.747
Given I enable persistence 16.340
Then persistent Greeter options were restored 0.545
When I log in to a new session after having activated the Persistent Storage 38.723
Then all Greeter options are set to non-default values 0.738
After features/support/hooks.rb:330 1.640
After features/support/hooks.rb:100 0.010
Tags: @product
3:57.039
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.783
# 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 41.161
And I shutdown Tails and wait for the computer to power off 14.975
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.940
And I change the passphrase of the Persistent Storage back to the original 34.178
After features/support/hooks.rb:330 1.965
After features/support/hooks.rb:100 0.010
Tags: @product
54.403
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.141
And I log in to a new session without activating the Persistent Storage 20.117
Then persistence is disabled 0.185
But a Tails persistence partition exists on USB drive "__internal" 6.412
And all notifications have disappeared 9.619
When I delete the persistent partition 6.879
Then there is no persistence partition on USB drive "__internal" 1.047
After features/support/hooks.rb:330 1.125
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.829
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.031
When I write some dotfile expected to persist 0.076
And I shutdown Tails and wait for the computer to power off 8.703
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.520
Then the expected persistent dotfile is present in the filesystem 0.497
After features/support/hooks.rb:330 1.085
After features/support/hooks.rb:100 0.009
Tags: @product
1:37.743
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.821
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.130
When I try to enable persistence 1.348
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.433
When I log in to a new session after having activated the Persistent Storage 40.273
And all notifications have disappeared 7.272
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.427
And all tps features are enabled 2.997
And all tps features but the first one are active 2.039
After features/support/hooks.rb:330 1.660
After features/support/hooks.rb:100 0.000
Tags: @product
5:7.415
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 3:39.505
And I enable persistence 32.876
And I log in to a new session after having activated the Persistent Storage 51.211
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.219
And persistence is enabled 2.602
After features/support/hooks.rb:330 1.238
After features/support/hooks.rb:100 0.000
Tags: @product
35.035
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.930
And I enable persistence but something goes wrong during the LUKS header upgrade 25.207
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.897
After features/support/hooks.rb:330 0.862
After features/support/hooks.rb:100 0.000
Tags: @product
48.813
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.534
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.829
When I enable persistence 30.255
Then the filesystem of the Persistent Storage was repaired 0.146
And persistence is successfully enabled 3.047
After features/support/hooks.rb:330 1.700
After features/support/hooks.rb:100 0.000
Tags: @product
54.229
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.987
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.446
When I try to enable persistence 0.532
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.573
When I repair the filesystem of the Persistent Storage 2.674
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.159
And the filesystem of the Persistent Storage was repaired 3.267
When I close the filesystem repair dialog 1.199
Then persistence is successfully enabled 1.389
After features/support/hooks.rb:330 1.444
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.073
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.922
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.127
When I try to enable persistence 0.316
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.193
When I repair the filesystem of the Persistent Storage 1.262
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.076
When I log in to a new session 42.223
And all notifications have disappeared 10.997
# 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.609
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.111
When I close the "whisperback" window 1.426
Then the Tor Browser starts 16.596
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.206
After features/support/hooks.rb:330 3.317
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.968
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.302
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.925
And Tails detects disk read failures on the boot device 1.597
When I try to enable persistence 1.440
Then the Welcome Screen tells me that my hardware is probably failing 19.876
When I log in to a new session 46.765
And all notifications have disappeared 10.011
Then the Tor Browser starts 20.983
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.064
After features/support/hooks.rb:330 2.935
After features/support/hooks.rb:100 0.000