Project Number Date
test_Tails_ISO_test-snapshot-restore-improvements 3 21 Aug 2026, 21:48

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:2.598 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:21.728
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:7.095
And I update the APT lists using apt 7.586
And I install "python3-behave" using apt 6.312
Then the Tails Persistent Storage behave tests pass 0.732
After features/support/hooks.rb:339 0.918
After features/support/hooks.rb:108 0.000
Tags: @product
25.363
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.740
When I log in to a new session without activating the Persistent Storage 13.145
Then Tails is running from USB drive "__internal" 0.221
And persistence is disabled 0.093
But a Tails persistence partition exists on USB drive "__internal" 6.161
After features/support/hooks.rb:339 0.856
After features/support/hooks.rb:108 0.000
Tags: @product
1:32.539
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.638
Then Tails is running from USB drive "__internal" 0.293
When I create a file in the Persistent directory 0.077
And I create a persistent partition with the default settings 19.832
Then the file I created was copied to the Persistent Storage 0.057
When I shutdown Tails and wait for the computer to power off 5.434
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:0.996
Then persistence for "Persistent" is active 0.167
And the file I created in the Persistent directory exists 0.041
After features/support/hooks.rb:339 0.624
After features/support/hooks.rb:108 0.005
Tags: @product
28.178
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 4.950
And the system is very low on memory 5.066
When I create a file in the Persistent directory 0.157
When I try to create a persistent partition 5.482
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.089
When I close the Persistent Storage app 2.356
And I free up some memory 0.490
And I create a persistent partition with the default settings 9.531
Then the file I created was copied to the Persistent Storage 0.052
After features/support/hooks.rb:339 1.032
After features/support/hooks.rb:108 0.000
Tags: @product
1:45.988
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5.575
Then Tails is running from USB drive "__internal" 0.285
And all tps features are active 7.983
And all persistent directories have safe access rights 2.099
When I disable the first tps feature 2.533
Then all tps features but the first one are active 8.107
And I shutdown Tails and wait for the computer to power off 6.520
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.678
Then all tps features but the first one are active 8.205
After features/support/hooks.rb:339 0.747
After features/support/hooks.rb:108 0.038
Tags: @product
10.176
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.797
Then persistence for "Persistent" is active 0.084
And I create a file in the Persistent directory 0.067
Then the file I created was copied to the Persistent Storage 0.053
When I disable the first tps feature 2.561
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.437
Then persistence for "Persistent" is active 0.040
And the file I created in the Persistent directory exists 0.046
After features/support/hooks.rb:339 0.956
After features/support/hooks.rb:108 0.000
Tags: @product
10.548
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5.072
Then persistence for "Persistent" is active 0.066
When I create a file in the Persistent directory 0.069
And I disable the first tps feature 2.517
And I delete the data of the Persistent Folder feature 2.786
Then the file I created does not exist on the Persistent Storage 0.035
After features/support/hooks.rb:339 0.629
After features/support/hooks.rb:108 0.000
Tags: @product
40.366
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.920
And the network is plugged 0.034
And Tor is ready 11.234
And I take note of which tps features are available 6.494
When I write some files expected to persist 1.049
And I shutdown Tails and wait for the computer to power off 5.399
# 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.232
After features/support/hooks.rb:339 0.378
After features/support/hooks.rb:108 0.000
Tags: @product
1:36.456
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
And the network is plugged 0.030
And Tor is ready 10.281
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.122
And I shutdown Tails and wait for the computer to power off 5.238
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.794
And I capture all network traffic 0.002
And the network is plugged 0.027
And Tor is ready 11.371
And I switch to the "persistent-con-current" NetworkManager connection 0.439
And the 1st network device has a spoofed MAC address configured 0.086
And no network device leaked the real MAC address 0.091
After features/support/hooks.rb:339 0.842
After features/support/hooks.rb:108 0.078
Tags: @product
38.308
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.435
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 14.219
Then I create a persistent partition with the default settings using the wizard that was already open 17.566
After features/support/hooks.rb:339 1.061
After features/support/hooks.rb:108 0.000
Tags: @product
2:49.852
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.456
When I enable persistence 24.038
Then no persistent Greeter options were restored 13.698
When I set all Greeter options to non-default values 38.457
Then the Welcome Screen's language is set to English 0.386
And the Welcome Screen's formats is set to United States 0.286
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.494
When I log in to a new session in German (de) after having activated the Persistent Storage 21.845
Then all Persistent Greeter options are set to non-default values 0.129
When I cold reboot the computer 6.066
And the computer reboots Tails 33.843
Then the Welcome Screen's language is set to English 0.224
And the Welcome Screen's formats is set to United States 0.198
Given I enable persistence 12.803
Then persistent Greeter options were restored 0.076
And the Welcome Screen's formats is set to Belgium 0.161
When I log in to a new session after having activated the Persistent Storage 7.552
Then all Persistent Greeter options are set to non-default values 0.131
After features/support/hooks.rb:339 0.881
After features/support/hooks.rb:108 0.033
Tags: @product
2:4.739
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.747
# 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.769
And I shutdown Tails and wait for the computer to power off 5.261
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:2.094
And I change the passphrase of the Persistent Storage back to the original 23.866
After features/support/hooks.rb:339 0.735
After features/support/hooks.rb:108 0.005
Tags: @product
36.810
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.093
And I log in to a new session without activating the Persistent Storage 13.359
Then persistence is disabled 0.080
But a Tails persistence partition exists on USB drive "__internal" 6.254
And all notifications have disappeared 9.062
When I delete the persistent partition 2.727
Then there is no persistence partition on USB drive "__internal" 0.232
After features/support/hooks.rb:339 0.965
After features/support/hooks.rb:108 0.000
Tags: @product
1:15.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 enabled and logged in 5.517
When I write some dotfile expected to persist 0.058
And I shutdown Tails and wait for the computer to power off 5.303
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.834
Then the expected persistent dotfile is present in the filesystem 0.196
After features/support/hooks.rb:339 0.778
After features/support/hooks.rb:108 0.020
Tags: @product
52.975
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 5.249
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.054
When I try to enable persistence 1.169
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 13.799
When I log in to a new session after having activated the Persistent Storage 7.649
And all notifications have disappeared 7.711
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.264
And all tps features are enabled 8.542
And all tps features but the first one are active 7.534
After features/support/hooks.rb:339 0.751
After features/support/hooks.rb:108 0.000
Tags: @product
2:45.287
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:55.715
And I enable persistence 33.156
And I log in to a new session after having activated the Persistent Storage 7.600
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.460
And persistence is enabled 8.355
After features/support/hooks.rb:339 1.185
After features/support/hooks.rb:108 0.000
Tags: @product
27.496
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.561
And I enable persistence but something goes wrong during the LUKS header upgrade 22.460
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.473
After features/support/hooks.rb:339 0.674
After features/support/hooks.rb:108 0.000
Tags: @product
38.061
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.075
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.870
When I enable persistence 13.379
Then the filesystem of the Persistent Storage was repaired 0.132
And persistence is successfully enabled 8.604
After features/support/hooks.rb:339 0.833
After features/support/hooks.rb:108 0.000
Tags: @product
25.644
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.910
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.051
When I try to enable persistence 1.299
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.691
When I repair the filesystem of the Persistent Storage 1.197
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.113
And the filesystem of the Persistent Storage was repaired 0.067
When I close the filesystem repair dialog 1.099
Then persistence is successfully enabled 3.213
After features/support/hooks.rb:339 0.573
After features/support/hooks.rb:108 0.000
Tags: @product @doc
38.157
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.850
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.052
When I try to enable persistence 1.169
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 11.364
When I repair the filesystem of the Persistent Storage 1.217
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.023
When I log in to a new session 8.302
And all notifications have disappeared 8.007
# 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.141
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.081
When I close the "whisperback" window 1.180
Then the Tor Browser starts 1.025
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.740
After features/support/hooks.rb:339 0.717
After features/support/hooks.rb:108 0.000
Tags: @product @doc
38.005
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.420
And Tails detects disk read failures on the boot device 1.340
When I try to enable persistence 1.185
Then the Welcome Screen tells me that my hardware is probably failing 2.382
When I log in to a new session 8.005
And all notifications have disappeared 7.461
Then the Tor Browser starts 1.364
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.793
After features/support/hooks.rb:339 0.714
After features/support/hooks.rb:108 0.000