Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 13 04 Jun 2026, 20:03

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 20:18.269 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:33.336
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:19.953
And I update the APT lists using apt 6.217
And I install "python3-behave" using apt 6.322
Then the Tails Persistent Storage behave tests pass 0.843
After features/support/hooks.rb:335 0.915
After features/support/hooks.rb:104 0.000
Tags: @product
28.508
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.712
When I log in to a new session without activating the Persistent Storage 15.052
Then Tails is running from USB drive "__internal" 0.223
And persistence is disabled 0.102
But a Tails persistence partition exists on USB drive "__internal" 4.418
After features/support/hooks.rb:335 0.882
After features/support/hooks.rb:104 0.000
Tags: @product
1:33.853
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 logged in 8.281
Then Tails is running from USB drive "__internal" 0.433
When I create a file in the Persistent directory 0.091
And I create a persistent partition with the default settings 17.231
Then the file I created was copied to the Persistent Storage 0.046
When I shutdown Tails and wait for the computer to power off 5.895
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.581
Then persistence for "Persistent" is active 0.192
And the file I created in the Persistent directory exists 0.099
After features/support/hooks.rb:335 0.986
After features/support/hooks.rb:104 0.021
Tags: @product
29.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.602
And the system is very low on memory 3.494
When I create a file in the Persistent directory 0.195
When I try to create a persistent partition 4.671
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.129
When I close the Persistent Storage app 2.506
And I free up some memory 0.881
And I create a persistent partition with the default settings 9.556
Then the file I created was copied to the Persistent Storage 0.102
After features/support/hooks.rb:335 0.730
After features/support/hooks.rb:104 0.000
Tags: @product
1:28.212
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.726
Then Tails is running from USB drive "__internal" 0.319
And all tps features are active 1.196
And all persistent directories have safe access rights 2.052
When I disable the first tps feature 2.500
Then all tps features but the first one are active 1.094
And I shutdown Tails and wait for the computer to power off 6.832
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.203
Then all tps features but the first one are active 1.285
After features/support/hooks.rb:335 1.033
After features/support/hooks.rb:104 0.006
Tags: @product
13.115
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.721
Then persistence for "Persistent" is active 0.052
And I create a file in the Persistent directory 0.056
Then the file I created was copied to the Persistent Storage 0.045
When I disable the first tps feature 2.559
Then persistence for "Persistent" is not active 0.051
And the Persistent directory does not exist 0.064
When I enable the first tps feature 2.438
Then persistence for "Persistent" is active 0.086
And the file I created in the Persistent directory exists 0.039
After features/support/hooks.rb:335 0.927
After features/support/hooks.rb:104 0.000
Tags: @product
13.145
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.568
Then persistence for "Persistent" is active 0.071
When I create a file in the Persistent directory 0.052
And I disable the first tps feature 2.569
And I delete the data of the Persistent Folder feature 2.838
Then the file I created does not exist on the Persistent Storage 0.046
After features/support/hooks.rb:335 0.630
After features/support/hooks.rb:104 0.000
Tags: @product
40.933
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.368
And the network is plugged 0.015
And Tor is ready 12.902
And I take note of which tps features are available 0.210
When I write some files expected to persist 1.223
And I shutdown Tails and wait for the computer to power off 7.176
# 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.036
After features/support/hooks.rb:335 0.390
After features/support/hooks.rb:104 0.000
Tags: @product
1:40.872
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 7.286
And the network is plugged 0.015
And Tor is ready 9.386
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.156
And I shutdown Tails and wait for the computer to power off 6.894
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.101
And I capture all network traffic 0.005
And the network is plugged 0.019
And Tor is ready 11.375
And I switch to the "persistent-con-current" NetworkManager connection 0.429
And the 1st network device has a spoofed MAC address configured 0.108
And no network device leaked the real MAC address 0.092
After features/support/hooks.rb:335 1.015
After features/support/hooks.rb:104 0.104
Tags: @product
40.506
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 8.984
And I enable persistence creation in Tails Greeter 1.095
And I log in to a new session expecting no warning about the Persistent Storage not being activated 13.207
Then I create a persistent partition with the default settings using the wizard that was already open 17.219
After features/support/hooks.rb:335 1.128
After features/support/hooks.rb:104 0.000
Tags: @product
2:48.043
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.947
When I enable persistence 13.304
Then no persistent Greeter options were restored 12.807
When I set all Greeter options to non-default values 38.628
Then the Welcome Screen's language is set to English 0.326
And the Welcome Screen's formats is set to United States 0.234
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.503
When I log in to a new session in German (de) after having activated the Persistent Storage 25.136
Then all Persistent Greeter options are set to non-default values 0.181
When I cold reboot the computer 6.405
And the computer reboots Tails 38.558
Then the Welcome Screen's language is set to English 0.297
And the Welcome Screen's formats is set to United States 0.196
Given I enable persistence 7.016
Then persistent Greeter options were restored 0.077
And the Welcome Screen's formats is set to Belgium 0.242
When I log in to a new session after having activated the Persistent Storage 11.026
Then all Persistent Greeter options are set to non-default values 0.152
After features/support/hooks.rb:335 0.747
After features/support/hooks.rb:104 0.007
Tags: @product
2:6.973
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.475
# 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 25.004
And I shutdown Tails and wait for the computer to power off 6.893
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:3.719
And I change the passphrase of the Persistent Storage back to the original 22.881
After features/support/hooks.rb:335 1.284
After features/support/hooks.rb:104 0.009
Tags: @product
38.004
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.504
And I log in to a new session without activating the Persistent Storage 13.748
Then persistence is disabled 0.113
But a Tails persistence partition exists on USB drive "__internal" 4.705
And all notifications have disappeared 7.897
When I delete the persistent partition 2.721
Then there is no persistence partition on USB drive "__internal" 0.314
After features/support/hooks.rb:335 0.797
After features/support/hooks.rb:104 0.000
Tags: @product
1:22.635
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.892
When I write some dotfile expected to persist 0.100
And I shutdown Tails and wait for the computer to power off 7.196
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.186
Then the expected persistent dotfile is present in the filesystem 0.259
After features/support/hooks.rb:335 0.590
After features/support/hooks.rb:104 0.013
Tags: @product
40.578
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.973
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.047
When I try to enable persistence 1.243
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 9.483
When I log in to a new session after having activated the Persistent Storage 10.870
And all notifications have disappeared 7.612
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.261
And all tps features are enabled 1.019
And all tps features but the first one are active 1.065
After features/support/hooks.rb:335 0.688
After features/support/hooks.rb:104 0.000
Tags: @product
1:5.030
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 30.741
And I enable persistence 20.203
And I log in to a new session after having activated the Persistent Storage 11.829
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.610
And persistence is enabled 1.645
After features/support/hooks.rb:335 0.814
After features/support/hooks.rb:104 0.000
Tags: @product
22.907
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.252
And I enable persistence but something goes wrong during the LUKS header upgrade 15.010
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.644
After features/support/hooks.rb:335 0.872
After features/support/hooks.rb:104 0.000
Tags: @product
23.287
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.464
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.570
When I enable persistence 6.549
Then the filesystem of the Persistent Storage was repaired 0.046
And persistence is successfully enabled 1.657
After features/support/hooks.rb:335 1.167
After features/support/hooks.rb:104 0.000
Tags: @product
23.265
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 7.499
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.693
When I try to enable persistence 1.296
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.015
When I repair the filesystem of the Persistent Storage 1.142
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.468
And the filesystem of the Persistent Storage was repaired 0.059
When I close the filesystem repair dialog 1.142
Then persistence is successfully enabled 0.947
After features/support/hooks.rb:335 1.150
After features/support/hooks.rb:104 0.000
Tags: @product @doc
43.355
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.582
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.054
When I try to enable persistence 1.200
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.511
When I repair the filesystem of the Persistent Storage 1.182
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.027
When I log in to a new session 12.078
And all notifications have disappeared 8.690
# 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.143
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.453
When I close the "whisperback" window 1.177
Then the Tor Browser starts 1.557
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.696
After features/support/hooks.rb:335 1.011
After features/support/hooks.rb:104 0.000
Tags: @product @doc
42.559
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.390
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.612
And Tails detects disk read failures on the boot device 1.342
When I try to enable persistence 1.149
Then the Welcome Screen tells me that my hardware is probably failing 3.686
When I log in to a new session 10.405
And all notifications have disappeared 8.149
Then the Tor Browser starts 1.900
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.922
After features/support/hooks.rb:335 0.690
After features/support/hooks.rb:104 0.000