Project Number Date
test_Tails_ISO_test-snapshot-restore-improvements 4 21 Aug 2026, 22:02

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 21:54.014 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:17.336
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:5.503
And I update the APT lists using apt 7.532
And I install "python3-behave" using apt 3.175
Then the Tails Persistent Storage behave tests pass 1.124
After features/support/hooks.rb:339 0.891
After features/support/hooks.rb:108 0.000
Tags: @product
26.207
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.912
When I log in to a new session without activating the Persistent Storage 14.521
Then Tails is running from USB drive "__internal" 0.249
And persistence is disabled 0.086
But a Tails persistence partition exists on USB drive "__internal" 5.436
After features/support/hooks.rb:339 1.039
After features/support/hooks.rb:108 0.000
Tags: @product
1:28.674
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.703
Then Tails is running from USB drive "__internal" 0.360
When I create a file in the Persistent directory 0.120
And I create a persistent partition with the default settings 17.945
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.311
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 58.992
Then persistence for "Persistent" is active 0.147
And the file I created in the Persistent directory exists 0.043
After features/support/hooks.rb:339 0.499
After features/support/hooks.rb:108 0.035
Tags: @product
26.199
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.011
And the system is very low on memory 4.787
When I create a file in the Persistent directory 0.223
When I try to create a persistent partition 4.356
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.103
When I close the Persistent Storage app 2.419
And I free up some memory 0.513
And I create a persistent partition with the default settings 8.740
Then the file I created was copied to the Persistent Storage 0.043
After features/support/hooks.rb:339 0.984
After features/support/hooks.rb:108 0.000
Tags: @product
1:43.337
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.808
Then Tails is running from USB drive "__internal" 0.361
And all tps features are active 8.221
And all persistent directories have safe access rights 1.914
When I disable the first tps feature 2.485
Then all tps features but the first one are active 9.099
And I shutdown Tails and wait for the computer to power off 5.328
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.285
Then all tps features but the first one are active 7.830
After features/support/hooks.rb:339 0.888
After features/support/hooks.rb:108 0.013
Tags: @product
11.036
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.738
Then persistence for "Persistent" is active 0.078
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.057
When I disable the first tps feature 2.509
Then persistence for "Persistent" is not active 0.045
And the Persistent directory does not exist 0.046
When I enable the first tps feature 2.399
Then persistence for "Persistent" is active 0.054
And the file I created in the Persistent directory exists 0.041
After features/support/hooks.rb:339 0.671
After features/support/hooks.rb:108 0.000
Tags: @product
10.506
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4.815
Then persistence for "Persistent" is active 0.087
When I create a file in the Persistent directory 0.056
And I disable the first tps feature 2.602
And I delete the data of the Persistent Folder feature 2.905
Then the file I created does not exist on the Persistent Storage 0.039
After features/support/hooks.rb:339 0.674
After features/support/hooks.rb:108 0.000
Tags: @product
43.897
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.962
And the network is plugged 0.030
And Tor is ready 13.461
And I take note of which tps features are available 7.319
When I write some files expected to persist 1.005
And I shutdown Tails and wait for the computer to power off 5.257
# 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.860
After features/support/hooks.rb:339 0.387
After features/support/hooks.rb:108 0.000
Tags: @product
1:36.522
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.999
And the network is plugged 0.034
And Tor is ready 9.701
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.154
And I shutdown Tails and wait for the computer to power off 5.598
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.594
And I capture all network traffic 0.015
And the network is plugged 0.035
And Tor is ready 10.764
And I switch to the "persistent-con-current" NetworkManager connection 0.395
And the 1st network device has a spoofed MAC address configured 0.103
And no network device leaked the real MAC address 0.125
After features/support/hooks.rb:339 0.707
After features/support/hooks.rb:108 0.057
Tags: @product
36.085
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 5.254
And I enable persistence creation in Tails Greeter 1.088
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.877
Then I create a persistent partition with the default settings using the wizard that was already open 16.864
After features/support/hooks.rb:339 0.823
After features/support/hooks.rb:108 0.000
Tags: @product
2:47.500
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.695
When I enable persistence 22.746
Then no persistent Greeter options were restored 13.609
When I set all Greeter options to non-default values 38.240
Then the Welcome Screen's language is set to English 0.232
And the Welcome Screen's formats is set to United States 0.179
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.526
When I log in to a new session in German (de) after having activated the Persistent Storage 21.827
Then all Persistent Greeter options are set to non-default values 0.125
When I cold reboot the computer 5.855
And the computer reboots Tails 33.212
Then the Welcome Screen's language is set to English 0.190
And the Welcome Screen's formats is set to United States 0.139
Given I enable persistence 14.176
Then persistent Greeter options were restored 0.066
And the Welcome Screen's formats is set to Belgium 0.132
When I log in to a new session after having activated the Persistent Storage 6.429
Then all Persistent Greeter options are set to non-default values 0.113
After features/support/hooks.rb:339 0.741
After features/support/hooks.rb:108 0.005
Tags: @product
2:4.897
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.593
# 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 28.087
And I shutdown Tails and wait for the computer to power off 5.219
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:4.720
And I change the passphrase of the Persistent Storage back to the original 21.275
After features/support/hooks.rb:339 1.179
After features/support/hooks.rb:108 0.033
Tags: @product
37.703
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 6.009
And I log in to a new session without activating the Persistent Storage 13.077
Then persistence is disabled 0.118
But a Tails persistence partition exists on USB drive "__internal" 6.986
And all notifications have disappeared 8.555
When I delete the persistent partition 2.672
Then there is no persistence partition on USB drive "__internal" 0.284
After features/support/hooks.rb:339 0.752
After features/support/hooks.rb:108 0.000
Tags: @product
1:16.585
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 6.110
When I write some dotfile expected to persist 0.062
And I shutdown Tails and wait for the computer to power off 6.641
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.581
Then the expected persistent dotfile is present in the filesystem 0.190
After features/support/hooks.rb:339 0.579
After features/support/hooks.rb:108 0.020
Tags: @product
53.777
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 5.398
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.054
When I try to enable persistence 1.132
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 14.331
When I log in to a new session after having activated the Persistent Storage 8.193
And all notifications have disappeared 7.854
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.196
And all tps features are enabled 7.754
And all tps features but the first one are active 7.862
After features/support/hooks.rb:339 0.896
After features/support/hooks.rb:108 0.000
Tags: @product
2:47.213
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:58.776
And I enable persistence 32.132
And I log in to a new session after having activated the Persistent Storage 8.025
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.531
And persistence is enabled 7.747
After features/support/hooks.rb:339 0.787
After features/support/hooks.rb:108 0.000
Tags: @product
27.046
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.820
And I enable persistence but something goes wrong during the LUKS header upgrade 21.681
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.544
After features/support/hooks.rb:339 0.827
After features/support/hooks.rb:108 0.000
Tags: @product
38.305
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.761
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.461
When I enable persistence 13.370
Then the filesystem of the Persistent Storage was repaired 0.047
And persistence is successfully enabled 8.664
After features/support/hooks.rb:339 0.913
After features/support/hooks.rb:108 0.000
Tags: @product
26.214
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.449
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.767
When I try to enable persistence 1.298
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.128
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.198
And the filesystem of the Persistent Storage was repaired 0.077
When I close the filesystem repair dialog 1.283
Then persistence is successfully enabled 3.211
After features/support/hooks.rb:339 0.995
After features/support/hooks.rb:108 0.000
Tags: @product @doc
38.592
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.972
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.090
When I try to enable persistence 1.159
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 11.765
When I repair the filesystem of the Persistent Storage 1.216
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.027
When I log in to a new session 8.323
And all notifications have disappeared 7.680
# 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.163
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.100
When I close the "whisperback" window 1.208
Then the Tor Browser starts 1.039
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.845
After features/support/hooks.rb:339 0.657
After features/support/hooks.rb:108 0.000
Tags: @product @doc
36.374
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.050
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.276
And Tails detects disk read failures on the boot device 0.247
When I try to enable persistence 1.138
Then the Welcome Screen tells me that my hardware is probably failing 2.304
When I log in to a new session 7.700
And all notifications have disappeared 7.479
Then the Tor Browser starts 1.269
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.907
After features/support/hooks.rb:339 1.641
After features/support/hooks.rb:108 0.000