Project Number Date
test_Tails_ISO_21734-bump-snapshot-restore-timeout 3 18 Aug 2026, 15:52

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 159 1 3 0 0 163 20 1 21 20:34.221 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:19.616
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:5.158
And I update the APT lists using apt 7.449
And I install "python3-behave" using apt 6.344
Then the Tails Persistent Storage behave tests pass 0.663
After features/support/hooks.rb:339 0.585
After features/support/hooks.rb:108 0.000
Tags: @product
24.902
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 5.236
When I log in to a new session without activating the Persistent Storage 13.037
Then Tails is running from USB drive "__internal" 0.254
And persistence is disabled 0.087
But a Tails persistence partition exists on USB drive "__internal" 6.286
After features/support/hooks.rb:339 1.013
After features/support/hooks.rb:108 0.000
Tags: @product
1:33.819
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 5.585
Then Tails is running from USB drive "__internal" 0.282
When I create a file in the Persistent directory 0.111
And I create a persistent partition with the default settings 17.860
Then the file I created was copied to the Persistent Storage 0.041
When I shutdown Tails and wait for the computer to power off 6.655
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.059
Then persistence for "Persistent" is active 0.153
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:339 0.896
After features/support/hooks.rb:108 0.007
Tags: @product
27.718
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 5.078
And the system is very low on memory 5.109
When I create a file in the Persistent directory 0.261
When I try to create a persistent partition 4.552
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.209
When I close the Persistent Storage app 2.406
And I free up some memory 0.536
And I create a persistent partition with the default settings 9.516
Then the file I created was copied to the Persistent Storage 0.047
After features/support/hooks.rb:339 1.062
After features/support/hooks.rb:108 0.000
Tags: @product
1:49.924
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5.410
Then Tails is running from USB drive "__internal" 0.317
And all tps features are active 8.150
And all persistent directories have safe access rights 1.706
When I disable the first tps feature 2.500
Then all tps features but the first one are active 8.423
And I shutdown Tails and wait for the computer to power off 5.254
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.795
Then all tps features but the first one are active 10.364
After features/support/hooks.rb:339 0.782
After features/support/hooks.rb:108 0.026
Tags: @product
10.228
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4.780
Then persistence for "Persistent" is active 0.087
And I create a file in the Persistent directory 0.064
Then the file I created was copied to the Persistent Storage 0.056
When I disable the first tps feature 2.557
Then persistence for "Persistent" is not active 0.057
And the Persistent directory does not exist 0.034
When I enable the first tps feature 2.452
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.048
After features/support/hooks.rb:339 0.924
After features/support/hooks.rb:108 0.000
Tags: @product
10.312
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4.702
Then persistence for "Persistent" is active 0.109
When I create a file in the Persistent directory 0.058
And I disable the first tps feature 2.502
And I delete the data of the Persistent Folder feature 2.895
Then the file I created does not exist on the Persistent Storage 0.043
After features/support/hooks.rb:339 0.924
After features/support/hooks.rb:108 0.000
Tags: @product
39.787
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4.501
And the network is plugged 0.047
And Tor is ready 9.472
And I take note of which tps features are available 6.938
When I write some files expected to persist 1.075
And I shutdown Tails and wait for the computer to power off 6.759
# 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? (tails/tails#10330)
Then only the expected files are present on the persistence partition on USB drive "__internal" 10.991
After features/support/hooks.rb:339 0.487
After features/support/hooks.rb:108 0.000
Tags: @product
1:36.628
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4.308
And the network is plugged 0.058
And Tor is ready 9.375
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.108
And I shutdown Tails and wait for the computer to power off 5.340
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.506
And I capture all network traffic 0.030
And the network is plugged 0.053
And Tor is ready 12.359
And I switch to the "persistent-con-current" NetworkManager connection 0.339
And the 1st network device has a spoofed MAC address configured 0.056
And no network device leaked the real MAC address 0.090
After features/support/hooks.rb:339 0.599
After features/support/hooks.rb:108 0.052
Tags: @product
37.028
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 5.332
And I enable persistence creation in Tails Greeter 1.086
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.043
Then I create a persistent partition with the default settings using the wizard that was already open 18.566
After features/support/hooks.rb:339 0.877
After features/support/hooks.rb:108 0.000
Tags: @product
2:49.958
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 5.256
When I enable persistence 23.425
Then no persistent Greeter options were restored 13.542
When I set all Greeter options to non-default values 38.399
Then the Welcome Screen's language is set to English 0.378
And the Welcome Screen's formats is set to United States 0.298
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.517
When I log in to a new session in German (de) after having activated the Persistent Storage 21.887
Then all Persistent Greeter options are set to non-default values 0.132
When I cold reboot the computer 5.948
And the computer reboots Tails 33.733
Then the Welcome Screen's language is set to English 0.213
And the Welcome Screen's formats is set to United States 0.236
Given I enable persistence 14.093
Then persistent Greeter options were restored 0.077
And the Welcome Screen's formats is set to Belgium 0.319
When I log in to a new session after having activated the Persistent Storage 7.337
Then all Persistent Greeter options are set to non-default values 0.162
After features/support/hooks.rb:339 0.800
After features/support/hooks.rb:108 0.029
Tags: @product
16.605
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5.143
# 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 11.462
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/support/helpers/dogtail.rb:371:in `grabFocus'
./features/step_definitions/usb.rb:484:in `/^I change the passphrase of the Persistent Storage( back to the original)?$/'
features/persistence.feature:128:in `When I change the passphrase of the Persistent Storage'
And I shutdown Tails and wait for the computer to power off 0.000
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 0.000
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:339 4.940

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 02:33:15)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21734-bump-snapshot-restore-timeout/3/artifact/build-artifacts/02:33:15_Changing_the_Persistent_Storage_passphrase.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21734-bump-snapshot-restore-timeout/3/artifact/build-artifacts/02:33:15_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21734-bump-snapshot-restore-timeout/3/artifact/build-artifacts/02:33:15_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21734-bump-snapshot-restore-timeout/3/artifact/build-artifacts/02:33:15_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:108 0.000
Tags: @product
36.174
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 5.258
And I log in to a new session without activating the Persistent Storage 13.260
Then persistence is disabled 0.109
But a Tails persistence partition exists on USB drive "__internal" 6.978
And all notifications have disappeared 7.598
When I delete the persistent partition 2.687
Then there is no persistence partition on USB drive "__internal" 0.281
After features/support/hooks.rb:339 0.844
After features/support/hooks.rb:108 0.000
Tags: @product
1:16.607
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4.970
When I write some dotfile expected to persist 0.053
And I shutdown Tails and wait for the computer to power off 5.415
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.957
Then the expected persistent dotfile is present in the filesystem 0.210
After features/support/hooks.rb:339 0.608
After features/support/hooks.rb:108 0.031
Tags: @product
58.677
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 5.042
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.050
When I try to enable persistence 1.179
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 14.827
When I log in to a new session after having activated the Persistent Storage 8.287
And all notifications have disappeared 8.368
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.339
And all tps features are enabled 10.325
And all tps features but the first one are active 9.254
After features/support/hooks.rb:339 0.556
After features/support/hooks.rb:108 0.000
Tags: @product
2:53.577
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 1:59.180
And I enable persistence 36.391
And I log in to a new session after having activated the Persistent Storage 8.542
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.632
And persistence is enabled 8.831
After features/support/hooks.rb:339 1.061
After features/support/hooks.rb:108 0.000
Tags: @product
26.770
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 4.401
And I enable persistence but something goes wrong during the LUKS header upgrade 21.916
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.452
After features/support/hooks.rb:339 0.972
After features/support/hooks.rb:108 0.000
Tags: @product
40.855
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 5.762
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 11.321
When I enable persistence 15.028
Then the filesystem of the Persistent Storage was repaired 0.045
And persistence is successfully enabled 8.697
After features/support/hooks.rb:339 0.888
After features/support/hooks.rb:108 0.000
Tags: @product
26.655
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 5.398
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.550
When I try to enable persistence 1.197
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.798
When I repair the filesystem of the Persistent Storage 1.261
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.259
And the filesystem of the Persistent Storage was repaired 0.046
When I close the filesystem repair dialog 1.104
Then persistence is successfully enabled 4.037
After features/support/hooks.rb:339 0.562
After features/support/hooks.rb:108 0.000
Tags: @product @doc
38.271
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 4.937
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.074
When I try to enable persistence 1.197
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 11.618
When I repair the filesystem of the Persistent Storage 1.245
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.026
When I log in to a new session 8.017
And all notifications have disappeared 7.679
# 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.126
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.084
When I close the "whisperback" window 1.181
Then the Tor Browser starts 1.088
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.992
After features/support/hooks.rb:339 0.867
After features/support/hooks.rb:108 0.000
Tags: @product @doc
40.101
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 4.929
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.551
And Tails detects disk read failures on the boot device 1.370
When I try to enable persistence 1.255
Then the Welcome Screen tells me that my hardware is probably failing 2.410
When I log in to a new session 9.085
And all notifications have disappeared 7.499
Then the Tor Browser starts 1.187
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.812
After features/support/hooks.rb:339 0.684
After features/support/hooks.rb:108 0.000