Project Number Date
test_Tails_ISO_stable 5668 21 May 2025, 21:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 42:37.174 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:19.295
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 3:19.295
cannot find GnomeApplicationsMenu.png on the screen (FindFailed)
./features/support/helpers/screen.rb:181:in `rescue in wait'
./features/support/helpers/screen.rb:165:in `wait'
./features/step_definitions/common_steps.rb:566:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:522: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/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:137:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173: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:330 5.616

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5668/artifact/build-artifacts/03:04:42_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5668/artifact/build-artifacts/03:04:42_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5668/artifact/build-artifacts/03:04:42_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5668/artifact/build-artifacts/03:04:42_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
53.018
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 13.308
When I log in to a new session without activating the Persistent Storage 30.670
Then Tails is running from USB drive "__internal" 0.459
And persistence is disabled 0.533
But a Tails persistence partition exists on USB drive "__internal" 8.046
After features/support/hooks.rb:330 1.603
After features/support/hooks.rb:100 0.000
Tags: @product
3:24.716
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 logged in 17.600
Then Tails is running from USB drive "__internal" 0.875
When I create a file in the Persistent directory 0.204
And I create a persistent partition with the default settings 25.111
Then the file I created was copied to the Persistent Storage 2.521
When I shutdown Tails and wait for the computer to power off 12.678
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:24.848
Then persistence for "Persistent" is active 0.805
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:330 2.039
After features/support/hooks.rb:100 0.009
Tags: @product
1:11.719
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 12.455
And the system is very low on memory 5.314
When I create a file in the Persistent directory 1.252
When I try to create a persistent partition 32.319
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.253
When I close the Persistent Storage app 2.747
And I free up some memory 3.252
And I create a persistent partition with the default settings 13.788
Then the file I created was copied to the Persistent Storage 0.335
After features/support/hooks.rb:330 2.629
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.848
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 enabled and logged in 13.666
Then Tails is running from USB drive "__internal" 0.509
And all tps features are active 2.427
And all persistent directories have safe access rights 2.525
When I disable the first tps feature 7.653
Then all tps features but the first one are active 1.969
And I shutdown Tails and wait for the computer to power off 15.010
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.806
Then all tps features but the first one are active 2.280
After features/support/hooks.rb:330 0.688
After features/support/hooks.rb:100 0.027
Tags: @product
32.893
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 enabled and logged in 21.582
Then persistence for "Persistent" is active 0.257
And I create a file in the Persistent directory 0.102
Then the file I created was copied to the Persistent Storage 0.065
When I disable the first tps feature 6.811
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.064
When I enable the first tps feature 3.794
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:330 1.436
After features/support/hooks.rb:100 0.000
Tags: @product
21.963
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 enabled and logged in 10.235
Then persistence for "Persistent" is active 0.236
When I create a file in the Persistent directory 0.131
And I disable the first tps feature 6.963
And I delete the data of the Persistent Folder feature 4.331
Then the file I created does not exist on the Persistent Storage 0.064
After features/support/hooks.rb:330 1.556
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.625
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 enabled and logged in 10.036
And the network is plugged 0.093
And Tor is ready 21.553
And I take note of which tps features are available 0.560
When I write some files expected to persist 1.695
And I shutdown Tails and wait for the computer to power off 11.020
# 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.665
After features/support/hooks.rb:330 0.126
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.213
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 enabled and logged in 10.478
And the network is plugged 0.099
And Tor is ready 21.894
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.209
And I shutdown Tails and wait for the computer to power off 8.744
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.163
And I capture all network traffic 0.008
And the network is plugged 0.076
And Tor is ready 19.922
And I switch to the "persistent-con-current" NetworkManager connection 0.394
And the 1st network device has a spoofed MAC address configured 0.093
And no network device leaked the real MAC address 0.126
After features/support/hooks.rb:330 0.694
After features/support/hooks.rb:100 0.057
Tags: @product
1:2.028
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 13.703
And I enable persistence creation in Tails Greeter 1.133
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.450
Then I create a persistent partition with the default settings using the wizard that was already open 24.741
After features/support/hooks.rb:330 2.434
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.163
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 15.255
When I enable persistence 40.617
Then no persistent Greeter options were restored 14.163
When I set all Greeter options to non-default values 26.544
And I log in to a new session in German (de) after having activated the Persistent Storage 52.895
Then all Greeter options are set to non-default values 0.508
When I cold reboot the computer 7.568
And the computer reboots Tails 1:3.341
Given I enable persistence 17.356
Then persistent Greeter options were restored 0.594
When I log in to a new session after having activated the Persistent Storage 41.838
Then all Greeter options are set to non-default values 0.478
After features/support/hooks.rb:330 1.533
After features/support/hooks.rb:100 0.008
Tags: @product
3:41.226
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 enabled and logged in 10.839
# 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.020
And I shutdown Tails and wait for the computer to power off 15.019
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.562
And I change the passphrase of the Persistent Storage back to the original 30.784
After features/support/hooks.rb:330 3.268
After features/support/hooks.rb:100 0.015
Tags: @product
54.774
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.034
And I log in to a new session without activating the Persistent Storage 20.919
Then persistence is disabled 0.243
But a Tails persistence partition exists on USB drive "__internal" 6.638
And all notifications have disappeared 9.455
When I delete the persistent partition 6.777
Then there is no persistence partition on USB drive "__internal" 0.704
After features/support/hooks.rb:330 1.504
After features/support/hooks.rb:100 0.000
Tags: @product
2:39.576
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.185
When I write some dotfile expected to persist 0.061
And I shutdown Tails and wait for the computer to power off 10.888
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.001
Then the expected persistent dotfile is present in the filesystem 0.439
After features/support/hooks.rb:330 0.898
After features/support/hooks.rb:100 0.028
Tags: @product
1:35.598
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.331
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 0.309
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.045
When I log in to a new session after having activated the Persistent Storage 39.523
And all notifications have disappeared 7.725
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.781
And all tps features are enabled 2.693
And all tps features but the first one are active 2.098
After features/support/hooks.rb:330 1.751
After features/support/hooks.rb:100 0.000
Tags: @product
5:10.940
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:41.296
And I enable persistence 41.911
And I log in to a new session after having activated the Persistent Storage 42.398
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.436
And persistence is enabled 3.897
After features/support/hooks.rb:330 1.550
After features/support/hooks.rb:100 0.000
Tags: @product
28.065
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.216
And I enable persistence but something goes wrong during the LUKS header upgrade 19.082
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.766
After features/support/hooks.rb:330 0.698
After features/support/hooks.rb:100 0.000
Tags: @product
46.612
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.484
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.372
When I enable persistence 28.651
Then the filesystem of the Persistent Storage was repaired 0.083
And persistence is successfully enabled 3.020
After features/support/hooks.rb:330 1.546
After features/support/hooks.rb:100 0.000
Tags: @product
49.204
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.727
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.970
When I try to enable persistence 0.399
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.214
When I repair the filesystem of the Persistent Storage 5.088
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.811
And the filesystem of the Persistent Storage was repaired 3.346
When I close the filesystem repair dialog 1.215
Then persistence is successfully enabled 1.430
After features/support/hooks.rb:330 1.547
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.301
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.307
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.094
When I try to enable persistence 0.318
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.853
When I repair the filesystem of the Persistent Storage 1.296
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 39.453
And all notifications have disappeared 9.232
# 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.319
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.489
When I close the "whisperback" window 1.879
Then the Tor Browser starts 19.048
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.935
After features/support/hooks.rb:330 1.725
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:56.388
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.566
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.781
And Tails detects disk read failures on the boot device 1.656
When I try to enable persistence 0.404
Then the Welcome Screen tells me that my hardware is probably failing 18.593
When I log in to a new session 48.570
And all notifications have disappeared 8.308
Then the Tor Browser starts 22.571
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.935
After features/support/hooks.rb:330 3.210
After features/support/hooks.rb:100 0.000