Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 8 02 Jun 2026, 20:10

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:6.033 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:38.478
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:24.234
And I update the APT lists using apt 6.616
And I install "python3-behave" using apt 6.321
Then the Tails Persistent Storage behave tests pass 1.305
After features/support/hooks.rb:335 0.959
After features/support/hooks.rb:104 0.000
Tags: @product
31.013
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.243
When I log in to a new session without activating the Persistent Storage 16.437
Then Tails is running from USB drive "__internal" 0.303
And persistence is disabled 0.104
But a Tails persistence partition exists on USB drive "__internal" 4.925
After features/support/hooks.rb:335 1.079
After features/support/hooks.rb:104 0.000
Tags: @product
1:39.866
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.849
Then Tails is running from USB drive "__internal" 0.339
When I create a file in the Persistent directory 0.104
And I create a persistent partition with the default settings 19.434
Then the file I created was copied to the Persistent Storage 0.100
When I shutdown Tails and wait for the computer to power off 7.293
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.443
Then persistence for "Persistent" is active 0.249
And the file I created in the Persistent directory exists 0.052
After features/support/hooks.rb:335 0.924
After features/support/hooks.rb:104 0.009
Tags: @product
29.337
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 7.618
And the system is very low on memory 3.598
When I create a file in the Persistent directory 0.222
When I try to create a persistent partition 4.682
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.088
When I close the Persistent Storage app 2.398
And I free up some memory 0.869
And I create a persistent partition with the default settings 9.820
Then the file I created was copied to the Persistent Storage 0.040
After features/support/hooks.rb:335 0.963
After features/support/hooks.rb:104 0.000
Tags: @product
1:32.924
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.643
Then Tails is running from USB drive "__internal" 0.406
And all tps features are active 1.411
And all persistent directories have safe access rights 2.454
When I disable the first tps feature 3.051
Then all tps features but the first one are active 1.542
And I shutdown Tails and wait for the computer to power off 7.182
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.813
Then all tps features but the first one are active 1.418
After features/support/hooks.rb:335 0.965
After features/support/hooks.rb:104 0.039
Tags: @product
13.455
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.981
Then persistence for "Persistent" is active 0.090
And I create a file in the Persistent directory 0.056
Then the file I created was copied to the Persistent Storage 0.048
When I disable the first tps feature 2.614
Then persistence for "Persistent" is not active 0.065
And the Persistent directory does not exist 0.044
When I enable the first tps feature 2.431
Then persistence for "Persistent" is active 0.055
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:335 0.787
After features/support/hooks.rb:104 0.000
Tags: @product
13.885
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.550
Then persistence for "Persistent" is active 0.085
When I create a file in the Persistent directory 0.064
And I disable the first tps feature 3.086
And I delete the data of the Persistent Folder feature 3.050
Then the file I created does not exist on the Persistent Storage 0.047
After features/support/hooks.rb:335 0.948
After features/support/hooks.rb:104 0.000
Tags: @product
41.281
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.463
And the network is plugged 0.016
And Tor is ready 13.756
And I take note of which tps features are available 0.229
When I write some files expected to persist 1.118
And I shutdown Tails and wait for the computer to power off 5.610
# 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.087
After features/support/hooks.rb:335 0.491
After features/support/hooks.rb:104 0.000
Tags: @product
1:43.474
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.412
And the network is plugged 0.019
And Tor is ready 10.974
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.138
And I shutdown Tails and wait for the computer to power off 7.204
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.432
And I capture all network traffic 0.003
And the network is plugged 0.019
And Tor is ready 11.707
And I switch to the "persistent-con-current" NetworkManager connection 0.402
And the 1st network device has a spoofed MAC address configured 0.069
And no network device leaked the real MAC address 0.091
After features/support/hooks.rb:335 1.055
After features/support/hooks.rb:104 0.063
Tags: @product
42.666
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.427
And I enable persistence creation in Tails Greeter 1.086
And I log in to a new session expecting no warning about the Persistent Storage not being activated 15.082
Then I create a persistent partition with the default settings using the wizard that was already open 17.069
After features/support/hooks.rb:335 1.051
After features/support/hooks.rb:104 0.000
Tags: @product
2:52.815
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.482
When I enable persistence 14.648
Then no persistent Greeter options were restored 12.940
When I set all Greeter options to non-default values 39.054
Then the Welcome Screen's language is set to English 0.372
And the Welcome Screen's formats is set to United States 0.267
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.629
When I log in to a new session in German (de) after having activated the Persistent Storage 27.025
Then all Persistent Greeter options are set to non-default values 0.166
When I cold reboot the computer 6.471
And the computer reboots Tails 38.851
Then the Welcome Screen's language is set to English 0.233
And the Welcome Screen's formats is set to United States 0.184
Given I enable persistence 7.712
Then persistent Greeter options were restored 0.105
And the Welcome Screen's formats is set to Belgium 0.281
When I log in to a new session after having activated the Persistent Storage 10.206
Then all Persistent Greeter options are set to non-default values 0.180
After features/support/hooks.rb:335 1.056
After features/support/hooks.rb:104 0.007
Tags: @product
2:5.707
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.331
# 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.455
And I shutdown Tails and wait for the computer to power off 5.609
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:4.862
And I change the passphrase of the Persistent Storage back to the original 18.448
After features/support/hooks.rb:335 1.276
After features/support/hooks.rb:104 0.020
Tags: @product
40.912
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.093
And I log in to a new session without activating the Persistent Storage 16.368
Then persistence is disabled 0.121
But a Tails persistence partition exists on USB drive "__internal" 4.816
And all notifications have disappeared 8.111
When I delete the persistent partition 3.047
Then there is no persistence partition on USB drive "__internal" 0.352
After features/support/hooks.rb:335 0.927
After features/support/hooks.rb:104 0.000
Tags: @product
1:20.837
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.889
When I write some dotfile expected to persist 0.068
And I shutdown Tails and wait for the computer to power off 5.684
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.914
Then the expected persistent dotfile is present in the filesystem 0.281
After features/support/hooks.rb:335 1.054
After features/support/hooks.rb:104 0.007
Tags: @product
45.732
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.838
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.049
When I try to enable persistence 1.174
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 12.135
When I log in to a new session after having activated the Persistent Storage 11.778
And all notifications have disappeared 8.336
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.464
And all tps features are enabled 1.588
And all tps features but the first one are active 1.366
After features/support/hooks.rb:335 1.064
After features/support/hooks.rb:104 0.000
Tags: @product
1:5.856
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 30.913
And I enable persistence 20.709
And I log in to a new session after having activated the Persistent Storage 11.849
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.643
And persistence is enabled 1.740
After features/support/hooks.rb:335 1.065
After features/support/hooks.rb:104 0.000
Tags: @product
24.068
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 7.935
And I enable persistence but something goes wrong during the LUKS header upgrade 15.388
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.745
After features/support/hooks.rb:335 0.742
After features/support/hooks.rb:104 0.000
Tags: @product
27.243
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.957
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.127
When I enable persistence 8.153
Then the filesystem of the Persistent Storage was repaired 0.048
And persistence is successfully enabled 1.955
After features/support/hooks.rb:335 0.993
After features/support/hooks.rb:104 0.000
Tags: @product
25.368
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.646
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.393
When I try to enable persistence 1.309
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.098
When I repair the filesystem of the Persistent Storage 1.162
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.357
And the filesystem of the Persistent Storage was repaired 0.091
When I close the filesystem repair dialog 1.167
Then persistence is successfully enabled 1.141
After features/support/hooks.rb:335 1.527
After features/support/hooks.rb:104 0.000
Tags: @product @doc
45.804
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 and stopped at Tails Greeter's login screen 7.969
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.077
When I try to enable persistence 1.193
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.642
When I repair the filesystem of the Persistent Storage 1.222
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.379
And all notifications have disappeared 9.573
# 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.359
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.620
When I close the "whisperback" window 1.218
Then the Tor Browser starts 1.530
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.986
After features/support/hooks.rb:335 0.987
After features/support/hooks.rb:104 0.000
Tags: @product @doc
45.303
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.766
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.173
And Tails detects disk read failures on the boot device 1.409
When I try to enable persistence 1.202
Then the Welcome Screen tells me that my hardware is probably failing 2.982
When I log in to a new session 11.561
And all notifications have disappeared 9.703
Then the Tor Browser starts 1.853
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.651
After features/support/hooks.rb:335 1.084
After features/support/hooks.rb:104 0.000