Project Number Date
test_Tails_ISO_stable 5505 10 Mar 2025, 17:24

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:14:29.198 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
36:41.636
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.618
And I update APT using apt 35:0.017
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.791

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5505/artifact/build-artifacts/04:04:21_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5505/artifact/build-artifacts/04:04:21_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5505/artifact/build-artifacts/04:04:21_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
46.954
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 12.208
When I log in to a new session without activating the Persistent Storage 21.930
Then Tails is running from USB drive "__internal" 0.709
And persistence is disabled 0.449
But a Tails persistence partition exists on USB drive "__internal" 11.656
After features/support/hooks.rb:330 2.074
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.326
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 without a persistent partition and logged in 13.317
Then Tails is running from USB drive "__internal" 0.404
When I create a file in the Persistent directory 0.143
And I create a persistent partition with the default settings 23.014
Then the file I created was copied to the Persistent Storage 0.694
When I shutdown Tails and wait for the computer to power off 12.852
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.495
Then persistence for "Persistent" is active 0.334
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.944
After features/support/hooks.rb:100 0.005
Tags: @product
1:0.032
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.555
And the system is very low on memory 3.832
When I create a file in the Persistent directory 1.272
When I try to create a persistent partition 25.336
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.649
When I close the Persistent Storage app 2.575
And I free up some memory 1.423
And I create a persistent partition with the default settings 14.134
Then the file I created was copied to the Persistent Storage 0.252
After features/support/hooks.rb:330 1.508
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.008
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.000
Then Tails is running from USB drive "__internal" 0.439
And all tps features are active 2.308
And all persistent directories have safe access rights 2.707
When I disable the first tps feature 5.975
Then all tps features but the first one are active 2.093
And I shutdown Tails and wait for the computer to power off 12.980
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.320
Then all tps features but the first one are active 2.181
After features/support/hooks.rb:330 1.359
After features/support/hooks.rb:100 0.005
Tags: @product
20.101
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.205
Then persistence for "Persistent" is active 0.268
And I create a file in the Persistent directory 0.120
Then the file I created was copied to the Persistent Storage 0.102
When I disable the first tps feature 5.946
Then persistence for "Persistent" is not active 0.110
And the Persistent directory does not exist 0.076
When I enable the first tps feature 3.128
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 1.308
After features/support/hooks.rb:100 0.000
Tags: @product
19.604
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.571
Then persistence for "Persistent" is active 0.221
When I create a file in the Persistent directory 0.131
And I disable the first tps feature 5.683
And I delete the data of the Persistent Folder feature 3.912
Then the file I created does not exist on the Persistent Storage 0.083
After features/support/hooks.rb:330 1.627
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.035
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.465
And the network is plugged 0.102
And Tor is ready 19.476
And I take note of which tps features are available 0.548
When I write some files expected to persist 1.475
And I shutdown Tails and wait for the computer to power off 8.671
# 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.296
After features/support/hooks.rb:330 0.092
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.147
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.489
And the network is plugged 0.070
And Tor is ready 19.632
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.217
And I shutdown Tails and wait for the computer to power off 8.477
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.015
And I capture all network traffic 0.004
And the network is plugged 0.074
And Tor is ready 21.592
And I switch to the "persistent-con-current" NetworkManager connection 0.364
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.117
After features/support/hooks.rb:330 0.640
After features/support/hooks.rb:100 0.050
Tags: @product
59.610
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 without a persistent partition and stopped at Tails Greeter's login screen 13.411
And I enable persistence creation in Tails Greeter 1.229
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.884
Then I create a persistent partition with the default settings using the wizard that was already open 23.084
After features/support/hooks.rb:330 1.736
After features/support/hooks.rb:100 0.000
Tags: @product
4:50.875
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 31.206
When I enable persistence 37.534
Then no persistent Greeter options were restored 14.264
When I set all Greeter options to non-default values 24.043
And I log in to a new session in German (de) after having activated the Persistent Storage 42.870
Then all Greeter options are set to non-default values 0.270
When I cold reboot the computer 7.856
And the computer reboots Tails 1:11.934
Given I enable persistence 19.014
Then persistent Greeter options were restored 0.551
When I log in to a new session after having activated the Persistent Storage 40.920
Then all Greeter options are set to non-default values 0.408
After features/support/hooks.rb:330 1.648
After features/support/hooks.rb:100 0.008
Tags: @product
3:39.919
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.081
# 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 32.853
And I shutdown Tails and wait for the computer to power off 10.370
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:12.728
And I change the passphrase of the Persistent Storage back to the original 33.886
After features/support/hooks.rb:330 1.255
After features/support/hooks.rb:100 0.015
Tags: @product
58.890
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 10.268
And I log in to a new session without activating the Persistent Storage 22.479
Then persistence is disabled 0.448
But a Tails persistence partition exists on USB drive "__internal" 9.008
And all notifications have disappeared 9.318
When I delete the persistent partition 6.944
Then there is no persistence partition on USB drive "__internal" 0.422
After features/support/hooks.rb:330 1.442
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.698
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.742
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 8.833
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.706
Then the expected persistent dotfile is present in the filesystem 0.336
After features/support/hooks.rb:330 1.353
After features/support/hooks.rb:100 0.009
Tags: @product
1:40.801
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.022
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.084
When I try to enable persistence 1.334
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.631
When I log in to a new session after having activated the Persistent Storage 42.641
And all notifications have disappeared 9.577
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.128
And all tps features are enabled 2.535
And all tps features but the first one are active 1.846
After features/support/hooks.rb:330 1.603
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.567
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:2.426
And I enable persistence 33.267
And I log in to a new session after having activated the Persistent Storage 46.588
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.772
And persistence is enabled 2.512
After features/support/hooks.rb:330 1.515
After features/support/hooks.rb:100 0.000
Tags: @product
30.580
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.946
And I enable persistence but something goes wrong during the LUKS header upgrade 20.902
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.731
After features/support/hooks.rb:330 0.706
After features/support/hooks.rb:100 0.000
Tags: @product
45.406
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.327
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.571
When I enable persistence 27.749
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.672
After features/support/hooks.rb:330 1.500
After features/support/hooks.rb:100 0.000
Tags: @product
53.264
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 and stopped at Tails Greeter's login screen 9.300
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.204
When I try to enable persistence 0.400
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 26.736
When I repair the filesystem of the Persistent Storage 1.334
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.260
And the filesystem of the Persistent Storage was repaired 2.048
When I close the filesystem repair dialog 1.261
Then persistence is successfully enabled 1.715
After features/support/hooks.rb:330 2.485
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:44.868
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 9.068
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.104
When I try to enable persistence 0.294
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.262
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.075
When I log in to a new session 32.951
And all notifications have disappeared 6.968
# 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.505
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.129
When I close the "whisperback" window 2.075
Then the Tor Browser starts 20.217
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.951
After features/support/hooks.rb:330 3.631
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.867
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 8.907
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.066
And Tails detects disk read failures on the boot device 0.524
When I try to enable persistence 0.532
Then the Welcome Screen tells me that my hardware is probably failing 18.533
When I log in to a new session 45.862
And all notifications have disappeared 8.487
Then the Tor Browser starts 23.076
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.875
After features/support/hooks.rb:330 2.086
After features/support/hooks.rb:100 0.000