Project Number Date
test_Tails_ISO_update-design-doc 1 17 Sep 2026, 19:12

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 23:45.996 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:33.963
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:20.211
And I update the APT lists using apt 6.789
And I install "python3-behave" using apt 6.234
Then the Tails Persistent Storage behave tests pass 0.726
After features/support/hooks.rb:339 1.145
After features/support/hooks.rb:108 0.000
Tags: @product
29.503
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.643
When I log in to a new session without activating the Persistent Storage 14.038
Then Tails is running from USB drive "__internal" 0.207
And persistence is disabled 0.098
But a Tails persistence partition exists on USB drive "__internal" 6.516
After features/support/hooks.rb:339 0.926
After features/support/hooks.rb:108 0.000
Tags: @product
1:36.844
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 9.285
Then Tails is running from USB drive "__internal" 0.306
When I create a file in the Persistent directory 0.117
And I create a persistent partition with the default settings 19.375
Then the file I created was copied to the Persistent Storage 0.042
When I shutdown Tails and wait for the computer to power off 5.249
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.211
Then persistence for "Persistent" is active 0.193
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:339 0.932
After features/support/hooks.rb:108 0.005
Tags: @product
29.279
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.207
And the system is very low on memory 4.151
When I create a file in the Persistent directory 0.161
When I try to create a persistent partition 4.204
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.124
When I close the Persistent Storage app 2.367
And I free up some memory 0.486
And I create a persistent partition with the default settings 9.536
Then the file I created was copied to the Persistent Storage 0.041
After features/support/hooks.rb:339 0.893
After features/support/hooks.rb:108 0.000
Tags: @product
1:59.876
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.259
Then Tails is running from USB drive "__internal" 0.248
And all tps features are active 8.348
And all persistent directories have safe access rights 1.972
When I disable the first tps feature 2.519
Then all tps features but the first one are active 7.550
And I shutdown Tails and wait for the computer to power off 5.339
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.198
Then all tps features but the first one are active 7.440
After features/support/hooks.rb:339 0.832
After features/support/hooks.rb:108 0.006
Tags: @product
39.751
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 34.423
Then persistence for "Persistent" is active 0.070
And I create a file in the Persistent directory 0.062
Then the file I created was copied to the Persistent Storage 0.064
When I disable the first tps feature 2.565
Then persistence for "Persistent" is not active 0.053
And the Persistent directory does not exist 0.035
When I enable the first tps feature 2.380
Then persistence for "Persistent" is active 0.044
And the file I created in the Persistent directory exists 0.051
After features/support/hooks.rb:339 0.920
After features/support/hooks.rb:108 0.000
Tags: @product
13.176
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.606
Then persistence for "Persistent" is active 0.071
When I create a file in the Persistent directory 0.083
And I disable the first tps feature 2.518
And I delete the data of the Persistent Folder feature 2.858
Then the file I created does not exist on the Persistent Storage 0.037
After features/support/hooks.rb:339 1.224
After features/support/hooks.rb:108 0.000
Tags: @product
53.339
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 7.721
And the network is plugged 0.046
And Tor is ready 20.768
And I take note of which tps features are available 7.163
When I write some files expected to persist 0.884
And I shutdown Tails and wait for the computer to power off 5.492
# 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.263
After features/support/hooks.rb:339 0.472
After features/support/hooks.rb:108 0.000
Tags: @product
1:40.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 persistent partition enabled and logged in 7.898
And the network is plugged 0.044
And Tor is ready 9.579
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.103
And I shutdown Tails and wait for the computer to power off 5.662
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.317
And I capture all network traffic 0.002
And the network is plugged 0.031
And Tor is ready 10.841
And I switch to the "persistent-con-current" NetworkManager connection 0.418
And the 1st network device has a spoofed MAC address configured 0.074
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:339 0.620
After features/support/hooks.rb:108 0.064
Tags: @product
38.312
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 8.569
And I enable persistence creation in Tails Greeter 1.087
And I log in to a new session expecting no warning about the Persistent Storage not being activated 13.715
Then I create a persistent partition with the default settings using the wizard that was already open 14.938
After features/support/hooks.rb:339 1.051
After features/support/hooks.rb:108 0.000
Tags: @product
2:52.111
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.957
When I enable persistence 22.980
Then no persistent Greeter options were restored 14.068
When I set all Greeter options to non-default values 38.499
Then the Welcome Screen's language is set to English 0.284
And the Welcome Screen's formats is set to United States 0.178
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.567
When I log in to a new session in German (de) after having activated the Persistent Storage 21.804
Then all Persistent Greeter options are set to non-default values 0.129
When I cold reboot the computer 5.797
And the computer reboots Tails 33.774
Then the Welcome Screen's language is set to English 0.201
And the Welcome Screen's formats is set to United States 0.226
Given I enable persistence 13.353
Then persistent Greeter options were restored 0.078
And the Welcome Screen's formats is set to Belgium 0.309
When I log in to a new session after having activated the Persistent Storage 6.785
Then all Persistent Greeter options are set to non-default values 0.114
After features/support/hooks.rb:339 0.643
After features/support/hooks.rb:108 0.006
Tags: @product
2:6.687
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.426
# 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.048
And I shutdown Tails and wait for the computer to power off 5.377
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:4.233
And I change the passphrase of the Persistent Storage back to the original 20.602
After features/support/hooks.rb:339 0.946
After features/support/hooks.rb:108 0.007
Tags: @product
39.847
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 8.624
And I log in to a new session without activating the Persistent Storage 13.113
Then persistence is disabled 0.083
But a Tails persistence partition exists on USB drive "__internal" 6.044
And all notifications have disappeared 8.626
When I delete the persistent partition 2.949
Then there is no persistence partition on USB drive "__internal" 0.405
After features/support/hooks.rb:339 0.875
After features/support/hooks.rb:108 0.000
Tags: @product
1:20.389
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 8.213
When I write some dotfile expected to persist 0.057
And I shutdown Tails and wait for the computer to power off 5.420
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.499
Then the expected persistent dotfile is present in the filesystem 0.198
After features/support/hooks.rb:339 0.834
After features/support/hooks.rb:108 0.021
Tags: @product
55.435
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.540
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.051
When I try to enable persistence 1.152
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 13.361
When I log in to a new session after having activated the Persistent Storage 7.266
And all notifications have disappeared 8.091
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.240
And all tps features are enabled 8.111
And all tps features but the first one are active 7.617
After features/support/hooks.rb:339 0.936
After features/support/hooks.rb:108 0.000
Tags: @product
2:37.467
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.533
And I enable persistence 25.724
And I log in to a new session after having activated the Persistent Storage 8.205
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.484
And persistence is enabled 7.519
After features/support/hooks.rb:339 0.886
After features/support/hooks.rb:108 0.000
Tags: @product
30.498
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.747
And I enable persistence but something goes wrong during the LUKS header upgrade 22.307
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.443
After features/support/hooks.rb:339 0.710
After features/support/hooks.rb:108 0.000
Tags: @product
39.468
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.374
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.383
When I enable persistence 13.173
Then the filesystem of the Persistent Storage was repaired 0.068
And persistence is successfully enabled 8.468
After features/support/hooks.rb:339 0.656
After features/support/hooks.rb:108 0.000
Tags: @product
28.244
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.145
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.361
When I try to enable persistence 1.265
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.793
When I repair the filesystem of the Persistent Storage 1.091
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.140
And the filesystem of the Persistent Storage was repaired 0.073
When I close the filesystem repair dialog 1.081
Then persistence is successfully enabled 3.293
After features/support/hooks.rb:339 0.883
After features/support/hooks.rb:108 0.000
Tags: @product @doc
39.503
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.992
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.055
When I try to enable persistence 1.148
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 9.898
When I repair the filesystem of the Persistent Storage 1.221
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.055
When I log in to a new session 8.526
And all notifications have disappeared 7.288
# 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.310
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.077
When I close the "whisperback" window 1.195
Then the Tor Browser starts 1.059
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.672
After features/support/hooks.rb:339 0.632
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.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 and stopped at Tails Greeter's login screen 8.566
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.583
And Tails detects disk read failures on the boot device 1.308
When I try to enable persistence 1.212
Then the Welcome Screen tells me that my hardware is probably failing 3.106
When I log in to a new session 8.493
And all notifications have disappeared 7.443
Then the Tor Browser starts 1.496
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.975
After features/support/hooks.rb:339 0.994
After features/support/hooks.rb:108 0.000