Project Number Date
test_Tails_ISO_update-design-doc 3 19 Sep 2026, 06:34

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:31.540 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:29.403
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:15.977
And I update the APT lists using apt 6.458
And I install "python3-behave" using apt 6.259
Then the Tails Persistent Storage behave tests pass 0.707
After features/support/hooks.rb:339 0.763
After features/support/hooks.rb:108 0.000
Tags: @product
27.223
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.288
When I log in to a new session without activating the Persistent Storage 14.034
Then Tails is running from USB drive "__internal" 0.224
And persistence is disabled 0.074
But a Tails persistence partition exists on USB drive "__internal" 4.600
After features/support/hooks.rb:339 0.940
After features/support/hooks.rb:108 0.000
Tags: @product
1:29.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 without a persistent partition and logged in 8.436
Then Tails is running from USB drive "__internal" 0.255
When I create a file in the Persistent directory 0.103
And I create a persistent partition with the default settings 15.247
Then the file I created was copied to the Persistent Storage 0.079
When I shutdown Tails and wait for the computer to power off 5.441
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 59.311
Then persistence for "Persistent" is active 0.147
And the file I created in the Persistent directory exists 0.038
After features/support/hooks.rb:339 0.587
After features/support/hooks.rb:108 0.005
Tags: @product
40.809
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 21.315
And the system is very low on memory 3.768
When I create a file in the Persistent directory 0.184
When I try to create a persistent partition 4.073
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.068
When I close the Persistent Storage app 2.280
And I free up some memory 0.395
And I create a persistent partition with the default settings 8.677
Then the file I created was copied to the Persistent Storage 0.043
After features/support/hooks.rb:339 0.881
After features/support/hooks.rb:108 0.000
Tags: @product
1:55.188
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 21.456
Then Tails is running from USB drive "__internal" 0.267
And all tps features are active 7.299
And all persistent directories have safe access rights 1.521
When I disable the first tps feature 2.444
Then all tps features but the first one are active 7.871
And I shutdown Tails and wait for the computer to power off 5.159
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.566
Then all tps features but the first one are active 7.601
After features/support/hooks.rb:339 0.431
After features/support/hooks.rb:108 0.009
Tags: @product
13.040
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 7.765
Then persistence for "Persistent" is active 0.088
And I create a file in the Persistent directory 0.060
Then the file I created was copied to the Persistent Storage 0.053
When I disable the first tps feature 2.455
Then persistence for "Persistent" is not active 0.056
And the Persistent directory does not exist 0.047
When I enable the first tps feature 2.424
Then persistence for "Persistent" is active 0.052
And the file I created in the Persistent directory exists 0.036
After features/support/hooks.rb:339 0.639
After features/support/hooks.rb:108 0.000
Tags: @product
13.063
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.597
Then persistence for "Persistent" is active 0.083
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 2.477
And I delete the data of the Persistent Folder feature 2.794
Then the file I created does not exist on the Persistent Storage 0.039
After features/support/hooks.rb:339 0.624
After features/support/hooks.rb:108 0.000
Tags: @product
42.202
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.523
And the network is plugged 0.030
And Tor is ready 9.851
And I take note of which tps features are available 6.271
When I write some files expected to persist 0.998
And I shutdown Tails and wait for the computer to power off 6.428
# 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.097
After features/support/hooks.rb:339 0.533
After features/support/hooks.rb:108 0.000
Tags: @product
1:37.094
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.577
And the network is plugged 0.023
And Tor is ready 9.441
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.111
And I shutdown Tails and wait for the computer to power off 5.138
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.621
And I capture all network traffic 0.013
And the network is plugged 0.041
And Tor is ready 11.590
And I switch to the "persistent-con-current" NetworkManager connection 0.361
And the 1st network device has a spoofed MAC address configured 0.054
And no network device leaked the real MAC address 0.116
After features/support/hooks.rb:339 0.558
After features/support/hooks.rb:108 0.078
Tags: @product
35.645
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 8.245
And I enable persistence creation in Tails Greeter 1.104
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.431
Then I create a persistent partition with the default settings using the wizard that was already open 13.864
After features/support/hooks.rb:339 0.785
After features/support/hooks.rb:108 0.000
Tags: @product
2:45.970
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.489
When I enable persistence 21.211
Then no persistent Greeter options were restored 13.921
When I set all Greeter options to non-default values 38.278
Then the Welcome Screen's language is set to English 0.380
And the Welcome Screen's formats is set to United States 0.289
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.445
When I log in to a new session in German (de) after having activated the Persistent Storage 21.615
Then all Persistent Greeter options are set to non-default values 0.106
When I cold reboot the computer 5.791
And the computer reboots Tails 31.698
Then the Welcome Screen's language is set to English 0.285
And the Welcome Screen's formats is set to United States 0.224
Given I enable persistence 12.415
Then persistent Greeter options were restored 0.079
And the Welcome Screen's formats is set to Belgium 0.143
When I log in to a new session after having activated the Persistent Storage 6.482
Then all Persistent Greeter options are set to non-default values 0.109
After features/support/hooks.rb:339 0.742
After features/support/hooks.rb:108 0.005
Tags: @product
2:1.084
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 8.137
# 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 26.198
And I shutdown Tails and wait for the computer to power off 5.322
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:0.862
And I change the passphrase of the Persistent Storage back to the original 20.562
After features/support/hooks.rb:339 0.787
After features/support/hooks.rb:108 0.005
Tags: @product
37.418
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.332
And I log in to a new session without activating the Persistent Storage 12.431
Then persistence is disabled 0.099
But a Tails persistence partition exists on USB drive "__internal" 5.821
And all notifications have disappeared 7.917
When I delete the persistent partition 2.572
Then there is no persistence partition on USB drive "__internal" 0.242
After features/support/hooks.rb:339 0.762
After features/support/hooks.rb:108 0.000
Tags: @product
1:26.474
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 20.725
When I write some dotfile expected to persist 0.056
And I shutdown Tails and wait for the computer to power off 5.203
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:0.323
Then the expected persistent dotfile is present in the filesystem 0.165
After features/support/hooks.rb:339 0.679
After features/support/hooks.rb:108 0.029
Tags: @product
53.439
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.211
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.047
When I try to enable persistence 1.148
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 12.507
When I log in to a new session after having activated the Persistent Storage 7.554
And all notifications have disappeared 8.332
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.228
And all tps features are enabled 7.277
And all tps features but the first one are active 7.130
After features/support/hooks.rb:339 0.702
After features/support/hooks.rb:108 0.000
Tags: @product
2:33.945
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:54.370
And I enable persistence 23.980
And I log in to a new session after having activated the Persistent Storage 7.630
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.513
And persistence is enabled 7.450
After features/support/hooks.rb:339 0.844
After features/support/hooks.rb:108 0.000
Tags: @product
28.628
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.286
And I enable persistence but something goes wrong during the LUKS header upgrade 20.764
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.577
After features/support/hooks.rb:339 0.535
After features/support/hooks.rb:108 0.000
Tags: @product
38.291
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.558
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.175
When I enable persistence 12.938
Then the filesystem of the Persistent Storage was repaired 0.041
And persistence is successfully enabled 7.577
After features/support/hooks.rb:339 0.851
After features/support/hooks.rb:108 0.000
Tags: @product
26.567
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.266
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.995
When I try to enable persistence 1.211
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.336
When I repair the filesystem of the Persistent Storage 1.083
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.268
And the filesystem of the Persistent Storage was repaired 0.052
When I close the filesystem repair dialog 1.207
Then persistence is successfully enabled 3.145
After features/support/hooks.rb:339 0.584
After features/support/hooks.rb:108 0.000
Tags: @product @doc
38.103
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 7.754
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.061
When I try to enable persistence 1.149
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.217
When I repair the filesystem of the Persistent Storage 1.231
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.029
When I log in to a new session 6.922
And all notifications have disappeared 7.335
# 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.172
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.084
When I close the "whisperback" window 1.198
Then the Tor Browser starts 1.127
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.818
After features/support/hooks.rb:339 0.626
After features/support/hooks.rb:108 0.000
Tags: @product @doc
38.885
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 7.868
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.593
And Tails detects disk read failures on the boot device 1.277
When I try to enable persistence 1.224
Then the Welcome Screen tells me that my hardware is probably failing 2.143
When I log in to a new session 7.919
And all notifications have disappeared 6.913
Then the Tor Browser starts 1.140
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.804
After features/support/hooks.rb:339 0.826
After features/support/hooks.rb:108 0.000