Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 22 09 Jun 2026, 19:01

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:26.534 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:38.176
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:23.186
And I update the APT lists using apt 7.777
And I install "python3-behave" using apt 6.272
Then the Tails Persistent Storage behave tests pass 0.940
After features/support/hooks.rb:335 0.643
After features/support/hooks.rb:104 0.000
Tags: @product
31.883
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.019
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.003
When I log in to a new session without activating the Persistent Storage 16.398
Then Tails is running from USB drive "__internal" 0.341
And persistence is disabled 0.174
But a Tails persistence partition exists on USB drive "__internal" 5.965
After features/support/hooks.rb:335 0.958
After features/support/hooks.rb:104 0.000
Tags: @product
1:44.443
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 9.372
Then Tails is running from USB drive "__internal" 0.443
When I create a file in the Persistent directory 0.087
And I create a persistent partition with the default settings 20.115
Then the file I created was copied to the Persistent Storage 0.049
When I shutdown Tails and wait for the computer to power off 7.087
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.018
Then persistence for "Persistent" is active 0.222
And the file I created in the Persistent directory exists 0.046
After features/support/hooks.rb:335 0.894
After features/support/hooks.rb:104 0.008
Tags: @product
30.139
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 7.844
And the system is very low on memory 3.957
When I create a file in the Persistent directory 0.170
When I try to create a persistent partition 5.007
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.171
When I close the Persistent Storage app 2.400
And I free up some memory 0.788
And I create a persistent partition with the default settings 9.762
Then the file I created was copied to the Persistent Storage 0.035
After features/support/hooks.rb:335 0.670
After features/support/hooks.rb:104 0.000
Tags: @product
1:35.797
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.359
Then Tails is running from USB drive "__internal" 0.342
And all tps features are active 1.331
And all persistent directories have safe access rights 2.135
When I disable the first tps feature 2.679
Then all tps features but the first one are active 1.522
And I shutdown Tails and wait for the computer to power off 8.412
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:9.030
Then all tps features but the first one are active 1.984
After features/support/hooks.rb:335 1.028
After features/support/hooks.rb:104 0.009
Tags: @product
13.961
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.510
Then persistence for "Persistent" is active 0.071
And I create a file in the Persistent directory 0.055
Then the file I created was copied to the Persistent Storage 0.067
When I disable the first tps feature 2.574
Then persistence for "Persistent" is not active 0.050
And the Persistent directory does not exist 0.060
When I enable the first tps feature 2.466
Then persistence for "Persistent" is active 0.054
And the file I created in the Persistent directory exists 0.048
After features/support/hooks.rb:335 0.837
After features/support/hooks.rb:104 0.000
Tags: @product
13.777
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 7.507
Then persistence for "Persistent" is active 0.076
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 3.107
And I delete the data of the Persistent Folder feature 2.943
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:335 1.003
After features/support/hooks.rb:104 0.000
Tags: @product
40.914
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 enabled and logged in 7.161
And the network is plugged 0.019
And Tor is ready 13.808
And I take note of which tps features are available 0.178
When I write some files expected to persist 1.183
And I shutdown Tails and wait for the computer to power off 5.595
# 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" 12.968
After features/support/hooks.rb:335 0.376
After features/support/hooks.rb:104 0.000
Tags: @product
1:47.292
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.551
And the network is plugged 0.019
And Tor is ready 10.626
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.133
And I shutdown Tails and wait for the computer to power off 6.931
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:8.723
And I capture all network traffic 0.005
And the network is plugged 0.017
And Tor is ready 12.426
And I switch to the "persistent-con-current" NetworkManager connection 0.478
And the 1st network device has a spoofed MAC address configured 0.130
And no network device leaked the real MAC address 0.249
After features/support/hooks.rb:335 1.112
After features/support/hooks.rb:104 0.063
Tags: @product
41.210
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.005
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 8.874
And I enable persistence creation in Tails Greeter 1.098
And I log in to a new session expecting no warning about the Persistent Storage not being activated 14.121
Then I create a persistent partition with the default settings using the wizard that was already open 17.115
After features/support/hooks.rb:335 1.364
After features/support/hooks.rb:104 0.000
Tags: @product
2:50.961
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.072
When I enable persistence 14.615
Then no persistent Greeter options were restored 12.661
When I set all Greeter options to non-default values 38.603
Then the Welcome Screen's language is set to English 0.302
And the Welcome Screen's formats is set to United States 0.236
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.514
When I log in to a new session in German (de) after having activated the Persistent Storage 25.649
Then all Persistent Greeter options are set to non-default values 0.140
When I cold reboot the computer 6.243
And the computer reboots Tails 38.159
Then the Welcome Screen's language is set to English 0.301
And the Welcome Screen's formats is set to United States 0.232
Given I enable persistence 8.632
Then persistent Greeter options were restored 0.069
And the Welcome Screen's formats is set to Belgium 0.249
When I log in to a new session after having activated the Persistent Storage 11.108
Then all Persistent Greeter options are set to non-default values 0.166
After features/support/hooks.rb:335 1.144
After features/support/hooks.rb:104 0.006
Tags: @product
2:17.307
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 enabled and logged in 8.757
# 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 31.771
And I shutdown Tails and wait for the computer to power off 7.120
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:6.646
And I change the passphrase of the Persistent Storage back to the original 23.011
After features/support/hooks.rb:335 1.333
After features/support/hooks.rb:104 0.008
Tags: @product
40.378
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.725
And I log in to a new session without activating the Persistent Storage 14.802
Then persistence is disabled 0.124
But a Tails persistence partition exists on USB drive "__internal" 5.150
And all notifications have disappeared 8.355
When I delete the persistent partition 2.824
Then there is no persistence partition on USB drive "__internal" 0.394
After features/support/hooks.rb:335 0.955
After features/support/hooks.rb:104 0.000
Tags: @product
1:25.160
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 enabled and logged in 7.772
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 6.978
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:10.003
Then the expected persistent dotfile is present in the filesystem 0.336
After features/support/hooks.rb:335 0.695
After features/support/hooks.rb:104 0.007
Tags: @product
45.462
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.877
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.056
When I try to enable persistence 1.161
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 11.404
When I log in to a new session after having activated the Persistent Storage 10.916
And all notifications have disappeared 8.279
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.815
And all tps features are enabled 1.756
And all tps features but the first one are active 1.194
After features/support/hooks.rb:335 0.830
After features/support/hooks.rb:104 0.000
Tags: @product
1:3.779
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 31.273
And I enable persistence 18.148
And I log in to a new session after having activated the Persistent Storage 12.134
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.689
And persistence is enabled 1.533
After features/support/hooks.rb:335 1.284
After features/support/hooks.rb:104 0.000
Tags: @product
20.827
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.392
And I enable persistence but something goes wrong during the LUKS header upgrade 12.866
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.568
After features/support/hooks.rb:335 1.050
After features/support/hooks.rb:104 0.000
Tags: @product
26.789
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.618
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.456
When I enable persistence 6.993
Then the filesystem of the Persistent Storage was repaired 0.067
And persistence is successfully enabled 2.653
After features/support/hooks.rb:335 1.001
After features/support/hooks.rb:104 0.000
Tags: @product
26.919
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.352
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.463
When I try to enable persistence 1.325
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.724
When I repair the filesystem of the Persistent Storage 1.244
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.450
And the filesystem of the Persistent Storage was repaired 0.046
When I close the filesystem repair dialog 1.172
Then persistence is successfully enabled 1.140
After features/support/hooks.rb:335 0.853
After features/support/hooks.rb:104 0.000
Tags: @product @doc
46.406
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 7.558
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.057
When I try to enable persistence 1.147
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.660
When I repair the filesystem of the Persistent Storage 1.180
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.024
When I log in to a new session 11.796
And all notifications have disappeared 9.839
# 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.514
When I close the "whisperback" window 1.185
Then the Tor Browser starts 1.473
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.813
After features/support/hooks.rb:335 0.916
After features/support/hooks.rb:104 0.000
Tags: @product @doc
44.943
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.477
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.009
And Tails detects disk read failures on the boot device 1.364
When I try to enable persistence 1.160
Then the Welcome Screen tells me that my hardware is probably failing 3.176
When I log in to a new session 11.115
And all notifications have disappeared 8.741
Then the Tor Browser starts 1.984
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.914
After features/support/hooks.rb:335 0.916
After features/support/hooks.rb:104 0.000