Project Number Date
test_Tails_ISO_21734-bump-snapshot-restore-timeout 9 23 Aug 2026, 15:51

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 145 1 17 0 0 163 20 1 21 22:38.994 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:33.162
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:19.049
And I update the APT lists using apt 7.072
And I install "python3-behave" using apt 6.262
Then the Tails Persistent Storage behave tests pass 0.777
After features/support/hooks.rb:339 0.595
After features/support/hooks.rb:108 0.000
Tags: @product
27.462
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.514
When I log in to a new session without activating the Persistent Storage 13.036
Then Tails is running from USB drive "__internal" 0.242
And persistence is disabled 0.098
But a Tails persistence partition exists on USB drive "__internal" 5.570
After features/support/hooks.rb:339 0.691
After features/support/hooks.rb:108 0.000
Tags: @product
1:34.078
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.773
Then Tails is running from USB drive "__internal" 0.305
When I create a file in the Persistent directory 0.085
And I create a persistent partition with the default settings 17.682
Then the file I created was copied to the Persistent Storage 0.050
When I shutdown Tails and wait for the computer to power off 5.292
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.682
Then persistence for "Persistent" is active 0.152
And the file I created in the Persistent directory exists 0.055
After features/support/hooks.rb:339 0.660
After features/support/hooks.rb:108 0.021
Tags: @product
1:3.060
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 41.530
And the system is very low on memory 4.459
When I create a file in the Persistent directory 0.285
When I try to create a persistent partition 4.133
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.112
When I close the Persistent Storage app 2.392
And I free up some memory 0.483
And I create a persistent partition with the default settings 9.612
Then the file I created was copied to the Persistent Storage 0.050
After features/support/hooks.rb:339 0.744
After features/support/hooks.rb:108 0.000
Tags: @product
1:51.067
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.264
Then Tails is running from USB drive "__internal" 0.248
And all tps features are active 8.847
And all persistent directories have safe access rights 1.969
When I disable the first tps feature 2.587
Then all tps features but the first one are active 7.793
And I shutdown Tails and wait for the computer to power off 6.593
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.404
Then all tps features but the first one are active 9.358
After features/support/hooks.rb:339 0.687
After features/support/hooks.rb:108 0.053
Tags: @product
13.442
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.185
Then persistence for "Persistent" is active 0.052
And I create a file in the Persistent directory 0.059
Then the file I created was copied to the Persistent Storage 0.041
When I disable the first tps feature 2.430
Then persistence for "Persistent" is not active 0.172
And the Persistent directory does not exist 0.023
When I enable the first tps feature 2.387
Then persistence for "Persistent" is active 0.047
And the file I created in the Persistent directory exists 0.042
After features/support/hooks.rb:339 0.696
After features/support/hooks.rb:108 0.000
Tags: @product
13.236
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.674
Then persistence for "Persistent" is active 0.056
When I create a file in the Persistent directory 0.046
And I disable the first tps feature 2.577
And I delete the data of the Persistent Folder feature 2.841
Then the file I created does not exist on the Persistent Storage 0.039
After features/support/hooks.rb:339 0.924
After features/support/hooks.rb:108 0.000
Tags: @product
42.899
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.848
And the network is plugged 0.121
And Tor is ready 10.050
And I take note of which tps features are available 6.968
When I write some files expected to persist 0.904
And I shutdown Tails and wait for the computer to power off 5.342
# 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" 11.662
After features/support/hooks.rb:339 0.372
After features/support/hooks.rb:108 0.000
Tags: @product
1:39.062
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.629
And the network is plugged 0.037
And Tor is ready 8.678
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.128
And I shutdown Tails and wait for the computer to power off 5.199
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.442
And I capture all network traffic 0.003
And the network is plugged 0.026
And Tor is ready 12.424
And I switch to the "persistent-con-current" NetworkManager connection 0.338
And the 1st network device has a spoofed MAC address configured 0.066
And no network device leaked the real MAC address 0.087
After features/support/hooks.rb:339 0.605
After features/support/hooks.rb:108 0.044
Tags: @product
39.078
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 stopped at Tails Greeter's login screen 8.318
And I enable persistence creation in Tails Greeter 1.110
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.225
Then I create a persistent partition with the default settings using the wizard that was already open 17.423
After features/support/hooks.rb:339 0.845
After features/support/hooks.rb:108 0.000
Tags: @product
1:6.632
Scenario Persistent Greeter options
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 and stopped at Tails Greeter's login screen 1:6.632
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\ persistent\ partition\ and\ stopped\ at\ Tails\ Greeter's\ login\ screen$/'
features/persistence.feature:103:in `Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen'
When I enable persistence 0.000
Then no persistent Greeter options were restored 0.000
When I set all Greeter options to non-default values 0.000
Then the Welcome Screen's language is set to English 0.000
And the Welcome Screen's formats is set to United States 0.000
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 0.000
When I log in to a new session in German (de) after having activated the Persistent Storage 0.000
Then all Persistent Greeter options are set to non-default values 0.000
When I cold reboot the computer 0.000
And the computer reboots Tails 0.000
Then the Welcome Screen's language is set to English 0.000
And the Welcome Screen's formats is set to United States 0.000
Given I enable persistence 0.000
Then persistent Greeter options were restored 0.000
And the Welcome Screen's formats is set to Belgium 0.000
When I log in to a new session after having activated the Persistent Storage 0.000
Then all Persistent Greeter options are set to non-default values 0.000
After features/support/hooks.rb:339 5.023

SCENARIO FAILED: 'Persistent Greeter options' (at time 02:28:15)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21734-bump-snapshot-restore-timeout/9/artifact/build-artifacts/02:28:15_Persistent_Greeter_options.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21734-bump-snapshot-restore-timeout/9/artifact/build-artifacts/02:28:15_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21734-bump-snapshot-restore-timeout/9/artifact/build-artifacts/02:28:15_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21734-bump-snapshot-restore-timeout/9/artifact/build-artifacts/02:28:15_Persistent_Greeter_options.journal

After features/support/hooks.rb:108 0.000
Tags: @product
2:6.588
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 8.781
# 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 27.910
And I shutdown Tails and wait for the computer to power off 6.849
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:1.905
And I change the passphrase of the Persistent Storage back to the original 21.141
After features/support/hooks.rb:339 0.998
After features/support/hooks.rb:108 0.005
Tags: @product
38.630
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.429
And I log in to a new session without activating the Persistent Storage 13.709
Then persistence is disabled 0.076
But a Tails persistence partition exists on USB drive "__internal" 5.886
And all notifications have disappeared 7.646
When I delete the persistent partition 2.592
Then there is no persistence partition on USB drive "__internal" 0.290
After features/support/hooks.rb:339 0.611
After features/support/hooks.rb:108 0.000
Tags: @product
1:20.729
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.043
When I write some dotfile expected to persist 0.049
And I shutdown Tails and wait for the computer to power off 5.285
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.901
Then the expected persistent dotfile is present in the filesystem 0.449
After features/support/hooks.rb:339 0.977
After features/support/hooks.rb:108 0.019
Tags: @product
56.243
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.140
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.057
When I try to enable persistence 1.163
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 13.954
When I log in to a new session after having activated the Persistent Storage 8.023
And all notifications have disappeared 7.914
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.203
And all tps features are enabled 7.423
And all tps features but the first one are active 8.361
After features/support/hooks.rb:339 0.977
After features/support/hooks.rb:108 0.000
Tags: @product
3:31.857
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 2:43.319
And I enable persistence 30.298
And I log in to a new session after having activated the Persistent Storage 7.465
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.505
And persistence is enabled 10.268
After features/support/hooks.rb:339 1.038
After features/support/hooks.rb:108 0.000
Tags: @product
30.249
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 7.532
And I enable persistence but something goes wrong during the LUKS header upgrade 22.180
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.537
After features/support/hooks.rb:339 0.983
After features/support/hooks.rb:108 0.000
Tags: @product
40.792
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 8.526
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.848
When I enable persistence 14.049
Then the filesystem of the Persistent Storage was repaired 0.039
And persistence is successfully enabled 8.329
After features/support/hooks.rb:339 0.905
After features/support/hooks.rb:108 0.000
Tags: @product
28.750
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 8.200
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.784
When I try to enable persistence 1.226
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.250
When I repair the filesystem of the Persistent Storage 1.131
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.150
And the filesystem of the Persistent Storage was repaired 0.056
When I close the filesystem repair dialog 1.082
Then persistence is successfully enabled 3.869
After features/support/hooks.rb:339 0.985
After features/support/hooks.rb:108 0.000
Tags: @product @doc
41.427
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 7.859
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.044
When I try to enable persistence 1.154
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 12.051
When I repair the filesystem of the Persistent Storage 1.101
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.031
When I log in to a new session 7.895
And all notifications have disappeared 7.796
# 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.222
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.082
When I close the "whisperback" window 1.192
Then the Tor Browser starts 1.128
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.865
After features/support/hooks.rb:339 0.773
After features/support/hooks.rb:108 0.000
Tags: @product @doc
40.541
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 9.086
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.115
And Tails detects disk read failures on the boot device 0.225
When I try to enable persistence 1.194
Then the Welcome Screen tells me that my hardware is probably failing 2.330
When I log in to a new session 8.174
And all notifications have disappeared 7.513
Then the Tor Browser starts 1.104
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.797
After features/support/hooks.rb:339 0.654
After features/support/hooks.rb:108 0.000