Project Number Date
test_Tails_ISO_devel 4321 06 Apr 2026, 11: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 25:53.538 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:49.588
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:32.170
And I update APT using apt 7.928
And I install "python3-behave" using apt 6.643
Then the Tails Persistent Storage behave tests pass 2.845
After features/support/hooks.rb:331 0.969
After features/support/hooks.rb:100 0.000
Tags: @product
49.788
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 22.294
When I log in to a new session without activating the Persistent Storage 19.295
Then Tails is running from USB drive "__internal" 0.289
And persistence is disabled 0.081
But a Tails persistence partition exists on USB drive "__internal" 7.826
After features/support/hooks.rb:331 1.234
After features/support/hooks.rb:100 0.000
Tags: @product
1:56.382
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 9.262
Then Tails is running from USB drive "__internal" 0.393
When I create a file in the Persistent directory 0.153
And I create a persistent partition with the default settings 22.948
Then the file I created was copied to the Persistent Storage 0.473
When I shutdown Tails and wait for the computer to power off 17.481
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.418
Then persistence for "Persistent" is active 0.192
And the file I created in the Persistent directory exists 0.058
After features/support/hooks.rb:331 0.696
After features/support/hooks.rb:100 0.007
Tags: @product
57.186
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 20.859
And the system is very low on memory 16.536
When I create a file in the Persistent directory 2.123
When I try to create a persistent partition 4.722
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.127
When I close the Persistent Storage app 2.455
And I free up some memory 0.903
And I create a persistent partition with the default settings 9.382
Then the file I created was copied to the Persistent Storage 0.076
After features/support/hooks.rb:331 0.793
After features/support/hooks.rb:100 0.000
Tags: @product
1:50.382
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.206
Then Tails is running from USB drive "__internal" 0.909
And all tps features are active 1.167
And all persistent directories have safe access rights 1.992
When I disable the first tps feature 2.831
Then all tps features but the first one are active 1.251
And I shutdown Tails and wait for the computer to power off 15.889
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:16.077
Then all tps features but the first one are active 1.056
After features/support/hooks.rb:331 0.969
After features/support/hooks.rb:100 0.007
Tags: @product
13.221
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.481
Then persistence for "Persistent" is active 0.119
And I create a file in the Persistent directory 0.086
Then the file I created was copied to the Persistent Storage 0.051
When I disable the first tps feature 2.788
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.046
When I enable the first tps feature 2.450
Then persistence for "Persistent" is active 0.061
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:331 0.973
After features/support/hooks.rb:100 0.000
Tags: @product
12.996
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.307
Then persistence for "Persistent" is active 0.101
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 2.618
And I delete the data of the Persistent Folder feature 2.846
Then the file I created does not exist on the Persistent Storage 0.047
After features/support/hooks.rb:331 0.885
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.516
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.584
And the network is plugged 0.015
And Tor is ready 20.760
And I take note of which tps features are available 0.225
When I write some files expected to persist 1.401
And I shutdown Tails and wait for the computer to power off 20.643
# 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?
Then only the expected files are present on the persistence partition on USB drive "__internal" 12.886
After features/support/hooks.rb:331 0.324
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.642
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.718
And the network is plugged 0.015
And Tor is ready 17.275
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.149
And I shutdown Tails and wait for the computer to power off 16.352
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:16.762
And I capture all network traffic 0.004
And the network is plugged 0.016
And Tor is ready 23.655
And I switch to the "persistent-con-current" NetworkManager connection 0.455
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.146
After features/support/hooks.rb:331 0.670
After features/support/hooks.rb:100 0.047
Tags: @product
47.134
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.603
And I enable persistence creation in Tails Greeter 1.116
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.578
Then I create a persistent partition with the default settings using the wizard that was already open 18.836
After features/support/hooks.rb:331 1.211
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.794
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.845
When I enable persistence 24.960
Then no persistent Greeter options were restored 13.420
When I set all Greeter options to non-default values 38.755
Then the Welcome Screen's language is set to English 0.408
And the Welcome Screen's formats is set to United States 0.292
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.622
When I log in to a new session in German (de) after having activated the Persistent Storage 26.860
Then all Persistent Greeter options are set to non-default values 0.142
When I cold reboot the computer 10.687
And the computer reboots Tails 38.474
Then the Welcome Screen's language is set to English 0.336
And the Welcome Screen's formats is set to United States 0.256
Given I enable persistence 7.136
Then persistent Greeter options were restored 0.077
And the Welcome Screen's formats is set to Belgium 0.275
When I log in to a new session after having activated the Persistent Storage 10.105
Then all Persistent Greeter options are set to non-default values 0.136
After features/support/hooks.rb:331 0.548
After features/support/hooks.rb:100 0.017
Tags: @product
2:38.526
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.284
# 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 44.571
And I shutdown Tails and wait for the computer to power off 19.247
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:6.525
And I change the passphrase of the Persistent Storage back to the original 19.898
After features/support/hooks.rb:331 1.242
After features/support/hooks.rb:100 0.009
Tags: @product
53.407
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.352
And I log in to a new session without activating the Persistent Storage 19.872
Then persistence is disabled 0.111
But a Tails persistence partition exists on USB drive "__internal" 12.967
And all notifications have disappeared 9.013
When I delete the persistent partition 2.701
Then there is no persistence partition on USB drive "__internal" 0.387
After features/support/hooks.rb:331 1.169
After features/support/hooks.rb:100 0.000
Tags: @product
1:25.155
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.787
When I write some dotfile expected to persist 0.105
And I shutdown Tails and wait for the computer to power off 9.797
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.220
Then the expected persistent dotfile is present in the filesystem 0.244
After features/support/hooks.rb:331 0.684
After features/support/hooks.rb:100 0.006
Tags: @product
54.530
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.022
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 1.160
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 19.931
When I log in to a new session after having activated the Persistent Storage 13.567
And all notifications have disappeared 8.070
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.262
And all tps features are enabled 1.163
And all tps features but the first one are active 1.273
After features/support/hooks.rb:331 1.984
After features/support/hooks.rb:100 0.000
Tags: @product
1:26.138
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 41.174
And I enable persistence 30.879
And I log in to a new session after having activated the Persistent Storage 11.582
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.653
And persistence is enabled 1.847
After features/support/hooks.rb:331 1.028
After features/support/hooks.rb:100 0.000
Tags: @product
23.989
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
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.414
And I enable persistence but something goes wrong during the LUKS header upgrade 15.988
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.586
After features/support/hooks.rb:331 1.043
After features/support/hooks.rb:100 0.000
Tags: @product
37.929
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.347
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 20.646
When I enable persistence 6.896
Then the filesystem of the Persistent Storage was repaired 0.046
And persistence is successfully enabled 1.991
After features/support/hooks.rb:331 1.477
After features/support/hooks.rb:100 0.000
Tags: @product
37.873
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 20.132
When I try to enable persistence 1.289
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.529
When I repair the filesystem of the Persistent Storage 1.201
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.475
And the filesystem of the Persistent Storage was repaired 0.064
When I close the filesystem repair dialog 1.196
Then persistence is successfully enabled 1.115
After features/support/hooks.rb:331 0.995
After features/support/hooks.rb:100 0.000
Tags: @product @doc
50.943
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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.090
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.077
When I try to enable persistence 1.186
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 14.573
When I repair the filesystem of the Persistent Storage 1.159
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.030
When I log in to a new session 12.920
And all notifications have disappeared 9.125
# 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.154
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.116
When I close the "whisperback" window 1.176
Then the Tor Browser starts 1.403
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.927
After features/support/hooks.rb:331 1.252
After features/support/hooks.rb:100 0.000
Tags: @product @doc
56.410
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 7.869
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 18.587
And Tails detects disk read failures on the boot device 1.446
When I try to enable persistence 1.214
Then the Welcome Screen tells me that my hardware is probably failing 2.963
When I log in to a new session 12.830
And all notifications have disappeared 9.286
Then the Tor Browser starts 1.392
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.819
After features/support/hooks.rb:331 1.100
After features/support/hooks.rb:100 0.000