Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 11 02 Jun 2026, 20:53

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:42.810 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:37.049
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:22.423
And I update the APT lists using apt 7.407
And I install "python3-behave" using apt 6.257
Then the Tails Persistent Storage behave tests pass 0.960
After features/support/hooks.rb:335 0.748
After features/support/hooks.rb:104 0.000
Tags: @product
31.756
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.806
When I log in to a new session without activating the Persistent Storage 17.263
Then Tails is running from USB drive "__internal" 0.258
And persistence is disabled 0.099
But a Tails persistence partition exists on USB drive "__internal" 5.328
After features/support/hooks.rb:335 1.449
After features/support/hooks.rb:104 0.000
Tags: @product
1:41.523
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 8.825
Then Tails is running from USB drive "__internal" 0.456
When I create a file in the Persistent directory 0.115
And I create a persistent partition with the default settings 19.936
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.302
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.536
Then persistence for "Persistent" is active 0.220
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:335 0.882
After features/support/hooks.rb:104 0.006
Tags: @product
31.745
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.251
And the system is very low on memory 4.279
When I create a file in the Persistent directory 0.258
When I try to create a persistent partition 5.187
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.134
When I close the Persistent Storage app 2.472
And I free up some memory 0.935
And I create a persistent partition with the default settings 11.176
Then the file I created was copied to the Persistent Storage 0.050
After features/support/hooks.rb:335 1.157
After features/support/hooks.rb:104 0.000
Tags: @product
1:37.993
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.988
Then Tails is running from USB drive "__internal" 0.343
And all tps features are active 1.302
And all persistent directories have safe access rights 2.232
When I disable the first tps feature 3.110
Then all tps features but the first one are active 1.584
And I shutdown Tails and wait for the computer to power off 8.556
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:10.072
Then all tps features but the first one are active 1.802
After features/support/hooks.rb:335 0.824
After features/support/hooks.rb:104 0.059
Tags: @product
13.196
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 7.713
Then persistence for "Persistent" is active 0.075
And I create a file in the Persistent directory 0.061
Then the file I created was copied to the Persistent Storage 0.060
When I disable the first tps feature 2.632
Then persistence for "Persistent" is not active 0.044
And the Persistent directory does not exist 0.033
When I enable the first tps feature 2.441
Then persistence for "Persistent" is active 0.053
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:335 1.045
After features/support/hooks.rb:104 0.000
Tags: @product
13.374
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 7.593
Then persistence for "Persistent" is active 0.064
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 2.673
And I delete the data of the Persistent Folder feature 2.916
Then the file I created does not exist on the Persistent Storage 0.046
After features/support/hooks.rb:335 1.089
After features/support/hooks.rb:104 0.000
Tags: @product
41.989
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 7.413
And the network is plugged 0.019
And Tor is ready 13.094
And I take note of which tps features are available 0.222
When I write some files expected to persist 1.266
And I shutdown Tails and wait for the computer to power off 6.958
# 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.014
After features/support/hooks.rb:335 0.298
After features/support/hooks.rb:104 0.000
Tags: @product
1:43.469
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.276
And the network is plugged 0.020
And Tor is ready 10.882
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.112
And I shutdown Tails and wait for the computer to power off 6.808
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.096
And I capture all network traffic 0.005
And the network is plugged 0.021
And Tor is ready 11.629
And I switch to the "persistent-con-current" NetworkManager connection 0.447
And the 1st network device has a spoofed MAC address configured 0.076
And no network device leaked the real MAC address 0.091
After features/support/hooks.rb:335 0.962
After features/support/hooks.rb:104 0.052
Tags: @product
45.296
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 without a persistent partition and stopped at Tails Greeter's login screen 8.929
And I enable persistence creation in Tails Greeter 1.083
And I log in to a new session expecting no warning about the Persistent Storage not being activated 16.921
Then I create a persistent partition with the default settings using the wizard that was already open 18.361
After features/support/hooks.rb:335 1.270
After features/support/hooks.rb:104 0.000
Tags: @product
2:52.292
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 9.584
When I enable persistence 15.093
Then no persistent Greeter options were restored 12.796
When I set all Greeter options to non-default values 38.634
Then the Welcome Screen's language is set to English 0.397
And the Welcome Screen's formats is set to United States 0.243
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.582
When I log in to a new session in German (de) after having activated the Persistent Storage 25.465
Then all Persistent Greeter options are set to non-default values 0.147
When I cold reboot the computer 6.265
And the computer reboots Tails 39.207
Then the Welcome Screen's language is set to English 0.321
And the Welcome Screen's formats is set to United States 0.193
Given I enable persistence 8.552
Then persistent Greeter options were restored 0.112
And the Welcome Screen's formats is set to Belgium 0.243
When I log in to a new session after having activated the Persistent Storage 10.291
Then all Persistent Greeter options are set to non-default values 0.159
After features/support/hooks.rb:335 1.082
After features/support/hooks.rb:104 0.006
Tags: @product
2:26.284
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 21.655
# 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 32.568
And I shutdown Tails and wait for the computer to power off 5.770
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:6.538
And I change the passphrase of the Persistent Storage back to the original 19.751
After features/support/hooks.rb:335 1.024
After features/support/hooks.rb:104 0.009
Tags: @product
38.950
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.335
And I log in to a new session without activating the Persistent Storage 15.405
Then persistence is disabled 0.090
But a Tails persistence partition exists on USB drive "__internal" 4.171
And all notifications have disappeared 7.760
When I delete the persistent partition 2.760
Then there is no persistence partition on USB drive "__internal" 0.427
After features/support/hooks.rb:335 0.868
After features/support/hooks.rb:104 0.000
Tags: @product
1:27.301
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 8.315
When I write some dotfile expected to persist 0.067
And I shutdown Tails and wait for the computer to power off 7.029
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:11.649
Then the expected persistent dotfile is present in the filesystem 0.240
After features/support/hooks.rb:335 0.959
After features/support/hooks.rb:104 0.007
Tags: @product
44.369
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.942
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.089
When I try to enable persistence 1.265
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 10.685
When I log in to a new session after having activated the Persistent Storage 12.235
And all notifications have disappeared 8.058
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.341
And all tps features are enabled 1.562
And all tps features but the first one are active 1.188
After features/support/hooks.rb:335 0.965
After features/support/hooks.rb:104 0.000
Tags: @product
1:5.846
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 32.123
And I enable persistence 20.872
And I log in to a new session after having activated the Persistent Storage 10.395
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.618
And persistence is enabled 1.835
After features/support/hooks.rb:335 1.090
After features/support/hooks.rb:104 0.000
Tags: @product
23.840
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.549
And I enable persistence but something goes wrong during the LUKS header upgrade 15.676
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.614
After features/support/hooks.rb:335 0.965
After features/support/hooks.rb:104 0.000
Tags: @product
26.566
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 8.381
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.439
When I enable persistence 7.673
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 1.983
After features/support/hooks.rb:335 0.745
After features/support/hooks.rb:104 0.000
Tags: @product
25.765
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.143
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.189
When I try to enable persistence 1.303
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.510
When I repair the filesystem of the Persistent Storage 1.245
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.732
And the filesystem of the Persistent Storage was repaired 0.062
When I close the filesystem repair dialog 1.303
Then persistence is successfully enabled 1.274
After features/support/hooks.rb:335 1.165
After features/support/hooks.rb:104 0.000
Tags: @product @doc
46.794
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.197
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.079
When I try to enable persistence 1.194
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 9.862
When I repair the filesystem of the Persistent Storage 1.170
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.032
When I log in to a new session 11.637
And all notifications have disappeared 10.233
# 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.160
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.584
When I close the "whisperback" window 1.208
Then the Tor Browser starts 1.500
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.935
After features/support/hooks.rb:335 1.013
After features/support/hooks.rb:104 0.000
Tags: @product @doc
47.403
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.092
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.631
And Tails detects disk read failures on the boot device 1.429
When I try to enable persistence 1.143
Then the Welcome Screen tells me that my hardware is probably failing 3.198
When I log in to a new session 12.681
And all notifications have disappeared 9.366
Then the Tor Browser starts 2.068
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.789
After features/support/hooks.rb:335 1.370
After features/support/hooks.rb:104 0.000