Project Number Date
test_Tails_ISO_test-snapshot-restore-improvements 5 23 Aug 2026, 13:08

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 163 0 0 0 0 163 21 0 21 22:17.023 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:23.671
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:9.206
And I update the APT lists using apt 7.562
And I install "python3-behave" using apt 6.216
Then the Tails Persistent Storage behave tests pass 0.686
After features/support/hooks.rb:339 0.559
After features/support/hooks.rb:108 0.000
Tags: @product
24.783
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.677
When I log in to a new session without activating the Persistent Storage 12.781
Then Tails is running from USB drive "__internal" 0.202
And persistence is disabled 0.077
But a Tails persistence partition exists on USB drive "__internal" 6.044
After features/support/hooks.rb:339 0.904
After features/support/hooks.rb:108 0.000
Tags: @product
1:33.323
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 6.369
Then Tails is running from USB drive "__internal" 0.273
When I create a file in the Persistent directory 0.162
And I create a persistent partition with the default settings 19.171
Then the file I created was copied to the Persistent Storage 0.033
When I shutdown Tails and wait for the computer to power off 5.388
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.717
Then persistence for "Persistent" is active 0.157
And the file I created in the Persistent directory exists 0.048
After features/support/hooks.rb:339 0.857
After features/support/hooks.rb:108 0.005
Tags: @product
27.939
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 logged in 5.369
And the system is very low on memory 4.865
When I create a file in the Persistent directory 0.166
When I try to create a persistent partition 4.504
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.128
When I close the Persistent Storage app 2.433
And I free up some memory 0.475
And I create a persistent partition with the default settings 9.907
Then the file I created was copied to the Persistent Storage 0.089
After features/support/hooks.rb:339 0.838
After features/support/hooks.rb:108 0.000
Tags: @product
1:44.913
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 5.742
Then Tails is running from USB drive "__internal" 0.342
And all tps features are active 7.980
And all persistent directories have safe access rights 1.766
When I disable the first tps feature 2.512
Then all tps features but the first one are active 8.435
And I shutdown Tails and wait for the computer to power off 5.220
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.290
Then all tps features but the first one are active 8.623
After features/support/hooks.rb:339 0.829
After features/support/hooks.rb:108 0.006
Tags: @product
10.668
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 5.350
Then persistence for "Persistent" is active 0.057
And I create a file in the Persistent directory 0.058
Then the file I created was copied to the Persistent Storage 0.055
When I disable the first tps feature 2.452
Then persistence for "Persistent" is not active 0.056
And the Persistent directory does not exist 0.042
When I enable the first tps feature 2.461
Then persistence for "Persistent" is active 0.082
And the file I created in the Persistent directory exists 0.049
After features/support/hooks.rb:339 1.046
After features/support/hooks.rb:108 0.000
Tags: @product
10.425
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.888
Then persistence for "Persistent" is active 0.059
When I create a file in the Persistent directory 0.060
And I disable the first tps feature 2.531
And I delete the data of the Persistent Folder feature 2.821
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:339 0.730
After features/support/hooks.rb:108 0.000
Tags: @product
40.371
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.485
And the network is plugged 0.043
And Tor is ready 11.222
And I take note of which tps features are available 6.730
When I write some files expected to persist 1.018
And I shutdown Tails and wait for the computer to power off 5.248
# 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.622
After features/support/hooks.rb:339 0.366
After features/support/hooks.rb:108 0.000
Tags: @product
1:35.099
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 5.082
And the network is plugged 0.038
And Tor is ready 8.627
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.159
And I shutdown Tails and wait for the computer to power off 5.328
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.430
And I capture all network traffic 0.002
And the network is plugged 0.032
And Tor is ready 10.888
And I switch to the "persistent-con-current" NetworkManager connection 0.371
And the 1st network device has a spoofed MAC address configured 0.040
And no network device leaked the real MAC address 0.096
After features/support/hooks.rb:339 0.652
After features/support/hooks.rb:108 0.107
Tags: @product
38.074
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.532
And I enable persistence creation in Tails Greeter 1.075
And I log in to a new session expecting no warning about the Persistent Storage not being activated 14.434
Then I create a persistent partition with the default settings using the wizard that was already open 17.032
After features/support/hooks.rb:339 0.653
After features/support/hooks.rb:108 0.000
Tags: @product
2:48.765
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.799
When I enable persistence 22.132
Then no persistent Greeter options were restored 13.504
When I set all Greeter options to non-default values 37.886
Then the Welcome Screen's language is set to English 0.414
And the Welcome Screen's formats is set to United States 0.150
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.666
When I log in to a new session in German (de) after having activated the Persistent Storage 22.512
Then all Persistent Greeter options are set to non-default values 0.129
When I cold reboot the computer 5.874
And the computer reboots Tails 34.144
Then the Welcome Screen's language is set to English 0.324
And the Welcome Screen's formats is set to United States 0.254
Given I enable persistence 13.611
Then persistent Greeter options were restored 0.107
And the Welcome Screen's formats is set to Belgium 0.145
When I log in to a new session after having activated the Persistent Storage 6.989
Then all Persistent Greeter options are set to non-default values 0.116
After features/support/hooks.rb:339 0.499
After features/support/hooks.rb:108 0.006
Tags: @product
2:7.284
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 5.510
# 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 31.287
And I shutdown Tails and wait for the computer to power off 5.248
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:3.900
And I change the passphrase of the Persistent Storage back to the original 21.337
After features/support/hooks.rb:339 1.323
After features/support/hooks.rb:108 0.014
Tags: @product
38.730
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 7.285
And I log in to a new session without activating the Persistent Storage 12.946
Then persistence is disabled 0.089
But a Tails persistence partition exists on USB drive "__internal" 6.406
And all notifications have disappeared 8.832
When I delete the persistent partition 2.782
Then there is no persistence partition on USB drive "__internal" 0.386
After features/support/hooks.rb:339 0.996
After features/support/hooks.rb:108 0.000
Tags: @product
1:18.603
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.601
When I write some dotfile expected to persist 0.056
And I shutdown Tails and wait for the computer to power off 5.327
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.383
Then the expected persistent dotfile is present in the filesystem 0.234
After features/support/hooks.rb:339 0.596
After features/support/hooks.rb:108 0.011
Tags: @product
58.495
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.965
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.049
When I try to enable persistence 1.164
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 14.615
When I log in to a new session after having activated the Persistent Storage 8.701
And all notifications have disappeared 8.326
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.315
And all tps features are enabled 9.732
And all tps features but the first one are active 8.625
After features/support/hooks.rb:339 0.716
After features/support/hooks.rb:108 0.000
Tags: @product
2:51.106
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 2:1.042
And I enable persistence 33.352
And I log in to a new session after having activated the Persistent Storage 8.493
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.465
And persistence is enabled 7.752
After features/support/hooks.rb:339 0.648
After features/support/hooks.rb:108 0.000
Tags: @product
26.662
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 4.657
And I enable persistence but something goes wrong during the LUKS header upgrade 21.394
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.610
After features/support/hooks.rb:339 0.506
After features/support/hooks.rb:108 0.000
Tags: @product
36.811
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.838
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.750
When I enable persistence 13.445
Then the filesystem of the Persistent Storage was repaired 0.046
And persistence is successfully enabled 7.730
After features/support/hooks.rb:339 0.867
After features/support/hooks.rb:108 0.000
Tags: @product
25.963
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.772
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.071
When I try to enable persistence 1.244
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.891
When I repair the filesystem of the Persistent Storage 1.087
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.343
And the filesystem of the Persistent Storage was repaired 0.063
When I close the filesystem repair dialog 1.135
Then persistence is successfully enabled 3.355
After features/support/hooks.rb:339 0.950
After features/support/hooks.rb:108 0.000
Tags: @product @doc
37.427
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.467
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.062
When I try to enable persistence 1.142
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.881
When I repair the filesystem of the Persistent Storage 1.140
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.024
When I log in to a new session 8.913
And all notifications have disappeared 6.203
# 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.250
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.081
When I close the "whisperback" window 1.238
Then the Tor Browser starts 1.113
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.906
After features/support/hooks.rb:339 0.806
After features/support/hooks.rb:108 0.000
Tags: @product @doc
37.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.519
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.710
And Tails detects disk read failures on the boot device 1.361
When I try to enable persistence 1.186
Then the Welcome Screen tells me that my hardware is probably failing 2.404
When I log in to a new session 7.854
And all notifications have disappeared 7.645
Then the Tor Browser starts 1.240
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.979
After features/support/hooks.rb:339 0.823
After features/support/hooks.rb:108 0.000