Project Number Date
test_Tails_ISO_closed-issues-design-doc 1 28 May 2026, 17:57

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:37.280 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:36.882
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:22.850
And I update the APT lists using apt 6.367
And I install "python3-behave" using apt 6.337
Then the Tails Persistent Storage behave tests pass 1.327
After features/support/hooks.rb:335 0.968
After features/support/hooks.rb:104 0.000
Tags: @product
30.793
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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 9.016
When I log in to a new session without activating the Persistent Storage 17.241
Then Tails is running from USB drive "__internal" 0.253
And persistence is disabled 0.085
But a Tails persistence partition exists on USB drive "__internal" 4.196
After features/support/hooks.rb:335 1.065
After features/support/hooks.rb:104 0.000
Tags: @product
1:42.921
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 8.695
Then Tails is running from USB drive "__internal" 0.297
When I create a file in the Persistent directory 0.109
And I create a persistent partition with the default settings 19.153
Then the file I created was copied to the Persistent Storage 0.082
When I shutdown Tails and wait for the computer to power off 9.869
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.408
Then persistence for "Persistent" is active 0.255
And the file I created in the Persistent directory exists 0.049
After features/support/hooks.rb:335 0.908
After features/support/hooks.rb:104 0.008
Tags: @product
32.503
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 8.472
And the system is very low on memory 4.521
When I create a file in the Persistent directory 0.168
When I try to create a persistent partition 4.562
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.114
When I close the Persistent Storage app 2.446
And I free up some memory 1.378
And I create a persistent partition with the default settings 10.771
Then the file I created was copied to the Persistent Storage 0.067
After features/support/hooks.rb:335 0.842
After features/support/hooks.rb:104 0.000
Tags: @product
1:35.486
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.530
Then Tails is running from USB drive "__internal" 0.380
And all tps features are active 1.621
And all persistent directories have safe access rights 2.291
When I disable the first tps feature 2.617
Then all tps features but the first one are active 1.371
And I shutdown Tails and wait for the computer to power off 9.788
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.465
Then all tps features but the first one are active 1.420
After features/support/hooks.rb:335 0.883
After features/support/hooks.rb:104 0.020
Tags: @product
14.203
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.133
Then persistence for "Persistent" is active 0.084
And I create a file in the Persistent directory 0.074
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 2.903
Then persistence for "Persistent" is not active 0.119
And the Persistent directory does not exist 0.084
When I enable the first tps feature 2.614
Then persistence for "Persistent" is active 0.057
And the file I created in the Persistent directory exists 0.050
After features/support/hooks.rb:335 1.076
After features/support/hooks.rb:104 0.000
Tags: @product
14.054
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.868
Then persistence for "Persistent" is active 0.072
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 3.021
And I delete the data of the Persistent Folder feature 2.980
Then the file I created does not exist on the Persistent Storage 0.041
After features/support/hooks.rb:335 0.772
After features/support/hooks.rb:104 0.000
Tags: @product
50.824
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.924
And the network is plugged 0.015
And Tor is ready 18.234
And I take note of which tps features are available 0.185
When I write some files expected to persist 1.221
And I shutdown Tails and wait for the computer to power off 10.064
# 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" 13.178
After features/support/hooks.rb:335 0.466
After features/support/hooks.rb:104 0.000
Tags: @product
1:49.352
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.356
And the network is plugged 0.021
And Tor is ready 10.404
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.170
And I shutdown Tails and wait for the computer to power off 9.595
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:9.493
And I capture all network traffic 0.005
And the network is plugged 0.018
And Tor is ready 11.635
And I switch to the "persistent-con-current" NetworkManager connection 0.412
And the 1st network device has a spoofed MAC address configured 0.108
And no network device leaked the real MAC address 0.129
After features/support/hooks.rb:335 1.103
After features/support/hooks.rb:104 0.118
Tags: @product
41.760
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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 9.007
And I enable persistence creation in Tails Greeter 1.099
And I log in to a new session expecting no warning about the Persistent Storage not being activated 13.881
Then I create a persistent partition with the default settings using the wizard that was already open 17.771
After features/support/hooks.rb:335 1.236
After features/support/hooks.rb:104 0.000
Tags: @product
2:56.970
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.132
When I enable persistence 14.736
Then no persistent Greeter options were restored 12.864
When I set all Greeter options to non-default values 38.883
Then the Welcome Screen's language is set to English 0.507
And the Welcome Screen's formats is set to United States 0.318
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.624
When I log in to a new session in German (de) after having activated the Persistent Storage 26.555
Then all Persistent Greeter options are set to non-default values 0.181
When I cold reboot the computer 10.858
And the computer reboots Tails 38.130
Then the Welcome Screen's language is set to English 0.353
And the Welcome Screen's formats is set to United States 0.182
Given I enable persistence 8.623
Then persistent Greeter options were restored 0.090
And the Welcome Screen's formats is set to Belgium 0.256
When I log in to a new session after having activated the Persistent Storage 10.463
Then all Persistent Greeter options are set to non-default values 0.206
After features/support/hooks.rb:335 0.884
After features/support/hooks.rb:104 0.031
Tags: @product
2:6.079
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.970
# 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 24.956
And I shutdown Tails and wait for the computer to power off 7.320
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:4.056
And I change the passphrase of the Persistent Storage back to the original 20.773
After features/support/hooks.rb:335 1.148
After features/support/hooks.rb:104 0.011
Tags: @product
40.125
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.377
And I log in to a new session without activating the Persistent Storage 15.127
Then persistence is disabled 0.135
But a Tails persistence partition exists on USB drive "__internal" 4.693
And all notifications have disappeared 8.526
When I delete the persistent partition 2.858
Then there is no persistence partition on USB drive "__internal" 0.406
After features/support/hooks.rb:335 0.723
After features/support/hooks.rb:104 0.000
Tags: @product
1:22.345
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.942
When I write some dotfile expected to persist 0.048
And I shutdown Tails and wait for the computer to power off 7.024
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.100
Then the expected persistent dotfile is present in the filesystem 0.228
After features/support/hooks.rb:335 0.905
After features/support/hooks.rb:104 0.008
Tags: @product
45.721
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.612
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 1.204
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 11.260
When I log in to a new session after having activated the Persistent Storage 12.456
And all notifications have disappeared 8.028
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.430
And all tps features are enabled 1.449
And all tps features but the first one are active 1.194
After features/support/hooks.rb:335 1.413
After features/support/hooks.rb:104 0.000
Tags: @product
1:9.753
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.018
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 34.547
And I enable persistence 20.963
And I log in to a new session after having activated the Persistent Storage 11.771
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.691
And persistence is enabled 1.779
After features/support/hooks.rb:335 0.782
After features/support/hooks.rb:104 0.000
Tags: @product
23.200
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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 7.259
And I enable persistence but something goes wrong during the LUKS header upgrade 15.355
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.585
After features/support/hooks.rb:335 0.709
After features/support/hooks.rb:104 0.000
Tags: @product
25.252
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.355
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.160
When I enable persistence 6.869
Then the filesystem of the Persistent Storage was repaired 0.042
And persistence is successfully enabled 1.824
After features/support/hooks.rb:335 1.021
After features/support/hooks.rb:104 0.000
Tags: @product
26.275
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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 8.399
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.057
When I try to enable persistence 1.338
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.162
When I repair the filesystem of the Persistent Storage 1.216
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.606
And the filesystem of the Persistent Storage was repaired 0.068
When I close the filesystem repair dialog 1.166
Then persistence is successfully enabled 1.258
After features/support/hooks.rb:335 1.284
After features/support/hooks.rb:104 0.000
Tags: @product @doc
47.153
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.791
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.058
When I try to enable persistence 1.237
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.048
When I repair the filesystem of the Persistent Storage 1.226
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.031
When I log in to a new session 12.144
And all notifications have disappeared 10.244
# 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.201
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.502
When I close the "whisperback" window 1.308
Then the Tor Browser starts 1.493
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:335 0.709
After features/support/hooks.rb:104 0.000
Tags: @product @doc
45.618
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.722
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.327
And Tails detects disk read failures on the boot device 1.376
When I try to enable persistence 1.167
Then the Welcome Screen tells me that my hardware is probably failing 3.043
When I log in to a new session 12.301
And all notifications have disappeared 8.014
Then the Tor Browser starts 1.877
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.786
After features/support/hooks.rb:335 0.970
After features/support/hooks.rb:104 0.000