Project Number Date
test_Tails_ISO_21734-bump-snapshot-restore-timeout 8 22 Aug 2026, 15:56

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 160 1 2 0 0 163 20 1 21 23:30.749 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:32.100
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:18.721
And I update the APT lists using apt 6.455
And I install "python3-behave" using apt 6.205
Then the Tails Persistent Storage behave tests pass 0.717
After features/support/hooks.rb:339 0.652
After features/support/hooks.rb:108 0.000
Tags: @product
28.148
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 8.504
When I log in to a new session without activating the Persistent Storage 13.902
Then Tails is running from USB drive "__internal" 0.288
And persistence is disabled 0.109
But a Tails persistence partition exists on USB drive "__internal" 5.343
After features/support/hooks.rb:339 0.610
After features/support/hooks.rb:108 0.000
Tags: @product
1:29.956
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 8.373
Then Tails is running from USB drive "__internal" 0.250
When I create a file in the Persistent directory 0.077
And I create a persistent partition with the default settings 17.099
Then the file I created was copied to the Persistent Storage 0.048
When I shutdown Tails and wait for the computer to power off 5.302
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 58.619
Then persistence for "Persistent" is active 0.146
And the file I created in the Persistent directory exists 0.036
After features/support/hooks.rb:339 0.676
After features/support/hooks.rb:108 0.005
Tags: @product
28.732
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 8.035
And the system is very low on memory 4.469
When I create a file in the Persistent directory 0.153
When I try to create a persistent partition 4.285
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.108
When I close the Persistent Storage app 2.326
And I free up some memory 0.457
And I create a persistent partition with the default settings 8.846
Then the file I created was copied to the Persistent Storage 0.048
After features/support/hooks.rb:339 1.000
After features/support/hooks.rb:108 0.000
Tags: @product
1:44.597
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 8.081
Then Tails is running from USB drive "__internal" 0.293
And all tps features are active 8.151
And all persistent directories have safe access rights 1.569
When I disable the first tps feature 2.454
Then all tps features but the first one are active 7.202
And I shutdown Tails and wait for the computer to power off 6.460
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.019
Then all tps features but the first one are active 7.363
After features/support/hooks.rb:339 0.550
After features/support/hooks.rb:108 0.053
Tags: @product
12.945
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.668
Then persistence for "Persistent" is active 0.066
And I create a file in the Persistent directory 0.053
Then the file I created was copied to the Persistent Storage 0.050
When I disable the first tps feature 2.505
Then persistence for "Persistent" is not active 0.048
And the Persistent directory does not exist 0.038
When I enable the first tps feature 2.436
Then persistence for "Persistent" is active 0.042
And the file I created in the Persistent directory exists 0.034
After features/support/hooks.rb:339 0.736
After features/support/hooks.rb:108 0.000
Tags: @product
13.048
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 7.592
Then persistence for "Persistent" is active 0.075
When I create a file in the Persistent directory 0.049
And I disable the first tps feature 2.451
And I delete the data of the Persistent Folder feature 2.838
Then the file I created does not exist on the Persistent Storage 0.041
After features/support/hooks.rb:339 0.645
After features/support/hooks.rb:108 0.000
Tags: @product
39.565
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 7.747
And the network is plugged 0.036
And Tor is ready 8.195
And I take note of which tps features are available 6.430
When I write some files expected to persist 1.070
And I shutdown Tails and wait for the computer to power off 5.190
# 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.894
After features/support/hooks.rb:339 0.166
After features/support/hooks.rb:108 0.000
Tags: @product
1:36.741
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 7.675
And the network is plugged 0.045
And Tor is ready 9.223
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.100
And I shutdown Tails and wait for the computer to power off 5.233
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.935
And I capture all network traffic 0.002
And the network is plugged 0.041
And Tor is ready 11.972
And I switch to the "persistent-con-current" NetworkManager connection 0.373
And the 1st network device has a spoofed MAC address configured 0.055
And no network device leaked the real MAC address 0.084
After features/support/hooks.rb:339 0.917
After features/support/hooks.rb:108 0.053
Tags: @product
36.743
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 8.217
And I enable persistence creation in Tails Greeter 1.094
And I log in to a new session expecting no warning about the Persistent Storage not being activated 11.027
Then I create a persistent partition with the default settings using the wizard that was already open 16.404
After features/support/hooks.rb:339 0.906
After features/support/hooks.rb:108 0.000
Tags: @product
2:46.910
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 8.259
When I enable persistence 21.086
Then no persistent Greeter options were restored 13.561
When I set all Greeter options to non-default values 38.384
Then the Welcome Screen's language is set to English 0.227
And the Welcome Screen's formats is set to United States 0.290
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.625
When I log in to a new session in German (de) after having activated the Persistent Storage 21.907
Then all Persistent Greeter options are set to non-default values 0.141
When I cold reboot the computer 5.760
And the computer reboots Tails 33.290
Then the Welcome Screen's language is set to English 0.310
And the Welcome Screen's formats is set to United States 0.103
Given I enable persistence 12.121
Then persistent Greeter options were restored 0.075
And the Welcome Screen's formats is set to Belgium 0.366
When I log in to a new session after having activated the Persistent Storage 6.312
Then all Persistent Greeter options are set to non-default values 0.086
After features/support/hooks.rb:339 0.784
After features/support/hooks.rb:108 0.005
Tags: @product
2:7.537
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.099
# 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 29.276
And I shutdown Tails and wait for the computer to power off 5.288
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:3.641
And I change the passphrase of the Persistent Storage back to the original 21.231
After features/support/hooks.rb:339 0.811
After features/support/hooks.rb:108 0.005
Tags: @product
38.115
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.023
And I log in to a new session without activating the Persistent Storage 12.516
Then persistence is disabled 0.077
But a Tails persistence partition exists on USB drive "__internal" 6.483
And all notifications have disappeared 8.181
When I delete the persistent partition 2.599
Then there is no persistence partition on USB drive "__internal" 0.233
After features/support/hooks.rb:339 0.568
After features/support/hooks.rb:108 0.000
Tags: @product
1:17.320
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 8.060
When I write some dotfile expected to persist 0.061
And I shutdown Tails and wait for the computer to power off 5.392
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.603
Then the expected persistent dotfile is present in the filesystem 0.203
After features/support/hooks.rb:339 0.887
After features/support/hooks.rb:108 0.005
Tags: @product
54.310
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.181
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.045
When I try to enable persistence 1.184
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 13.485
When I log in to a new session after having activated the Persistent Storage 6.911
And all notifications have disappeared 8.648
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.292
And all tps features are enabled 7.217
And all tps features but the first one are active 7.340
After features/support/hooks.rb:339 0.860
After features/support/hooks.rb:108 0.000
Tags: @product
2:37.635
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 1:57.993
And I enable persistence 24.824
And I log in to a new session after having activated the Persistent Storage 6.850
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.489
And persistence is enabled 7.478
After features/support/hooks.rb:339 0.631
After features/support/hooks.rb:108 0.000
Tags: @product
1:5.326
Scenario LUKS backup header is restored if something goes wrong during upgrade
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Steps
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:5.326
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:53:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:36:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:220:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:59:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:36:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:220:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:226:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ LUKS\ 1\ persistent\ partition\ and\ stopped\ at\ Tails\ Greeter's\ login\ screen$/'
features/persistence.feature:168:in `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'
And I enable persistence but something goes wrong during the LUKS header upgrade 0.000
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.000
After features/support/hooks.rb:339 5.218

SCENARIO FAILED: 'LUKS backup header is restored if something goes wrong during upgrade' (at time 02:37:42)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21734-bump-snapshot-restore-timeout/8/artifact/build-artifacts/02:37:42_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21734-bump-snapshot-restore-timeout/8/artifact/build-artifacts/02:37:42_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21734-bump-snapshot-restore-timeout/8/artifact/build-artifacts/02:37:42_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21734-bump-snapshot-restore-timeout/8/artifact/build-artifacts/02:37:42_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.journal

After features/support/hooks.rb:108 0.000
Tags: @product
1:11.676
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 41.976
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.105
When I enable persistence 11.939
Then the filesystem of the Persistent Storage was repaired 0.039
And persistence is successfully enabled 7.615
After features/support/hooks.rb:339 0.519
After features/support/hooks.rb:108 0.000
Tags: @product
28.670
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 7.861
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.725
When I try to enable persistence 1.172
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.438
When I repair the filesystem of the Persistent Storage 1.082
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.121
And the filesystem of the Persistent Storage was repaired 0.068
When I close the filesystem repair dialog 1.095
Then persistence is successfully enabled 3.104
After features/support/hooks.rb:339 0.442
After features/support/hooks.rb:108 0.000
Tags: @product @doc
40.656
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 7.819
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.069
When I try to enable persistence 1.160
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 11.741
When I repair the filesystem of the Persistent Storage 1.206
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.025
When I log in to a new session 7.866
And all notifications have disappeared 7.757
# 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.147
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.074
When I close the "whisperback" window 1.135
Then the Tor Browser starts 0.999
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.652
After features/support/hooks.rb:339 0.555
After features/support/hooks.rb:108 0.000
Tags: @product @doc
40.009
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 7.828
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.419
And Tails detects disk read failures on the boot device 1.265
When I try to enable persistence 1.152
Then the Welcome Screen tells me that my hardware is probably failing 1.910
When I log in to a new session 8.225
And all notifications have disappeared 7.593
Then the Tor Browser starts 1.029
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.585
After features/support/hooks.rb:339 0.698
After features/support/hooks.rb:108 0.000