Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 44 01 Jul 2026, 20:08

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:41.577 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:33.006
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:19.644
And I update the APT lists using apt 6.240
And I install "python3-behave" using apt 6.260
Then the Tails Persistent Storage behave tests pass 0.861
After features/support/hooks.rb:339 0.834
After features/support/hooks.rb:108 0.000
Tags: @product
29.304
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.776
When I log in to a new session without activating the Persistent Storage 14.880
Then Tails is running from USB drive "__internal" 0.291
And persistence is disabled 0.102
But a Tails persistence partition exists on USB drive "__internal" 5.253
After features/support/hooks.rb:339 1.181
After features/support/hooks.rb:108 0.000
Tags: @product
1:42.189
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 8.327
Then Tails is running from USB drive "__internal" 0.338
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 18.081
Then the file I created was copied to the Persistent Storage 0.043
When I shutdown Tails and wait for the computer to power off 9.639
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.359
Then persistence for "Persistent" is active 0.217
And the file I created in the Persistent directory exists 0.051
After features/support/hooks.rb:339 0.558
After features/support/hooks.rb:108 0.005
Tags: @product
29.703
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails without network from a USB drive without a persistent partition and logged in 7.205
And the system is very low on memory 5.063
When I create a file in the Persistent directory 0.186
When I try to create a persistent partition 4.976
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.084
When I close the Persistent Storage app 2.396
And I free up some memory 0.752
And I create a persistent partition with the default settings 8.991
Then the file I created was copied to the Persistent Storage 0.047
After features/support/hooks.rb:339 1.080
After features/support/hooks.rb:108 0.000
Tags: @product
1:46.011
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.425
Then Tails is running from USB drive "__internal" 0.308
And all tps features are active 4.834
And all persistent directories have safe access rights 2.121
When I disable the first tps feature 2.652
Then all tps features but the first one are active 5.263
And I shutdown Tails and wait for the computer to power off 8.120
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:8.958
Then all tps features but the first one are active 5.325
After features/support/hooks.rb:339 0.777
After features/support/hooks.rb:108 0.007
Tags: @product
12.825
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.469
Then persistence for "Persistent" is active 0.073
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.054
When I disable the first tps feature 2.496
Then persistence for "Persistent" is not active 0.048
And the Persistent directory does not exist 0.039
When I enable the first tps feature 2.463
Then persistence for "Persistent" is active 0.051
And the file I created in the Persistent directory exists 0.056
After features/support/hooks.rb:339 0.922
After features/support/hooks.rb:108 0.000
Tags: @product
13.060
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.526
Then persistence for "Persistent" is active 0.057
When I create a file in the Persistent directory 0.063
And I disable the first tps feature 2.539
And I delete the data of the Persistent Folder feature 2.828
Then the file I created does not exist on the Persistent Storage 0.045
After features/support/hooks.rb:339 0.753
After features/support/hooks.rb:108 0.000
Tags: @product
43.715
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.207
And the network is plugged 0.016
And Tor is ready 12.066
And I take note of which tps features are available 4.230
When I write some files expected to persist 1.439
And I shutdown Tails and wait for the computer to power off 6.688
# 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.066
After features/support/hooks.rb:339 0.586
After features/support/hooks.rb:108 0.000
Tags: @product
1:45.198
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.445
And the network is plugged 0.023
And Tor is ready 11.185
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.150
And I shutdown Tails and wait for the computer to power off 7.283
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.751
And I capture all network traffic 0.003
And the network is plugged 0.016
And Tor is ready 11.689
And I switch to the "persistent-con-current" NetworkManager connection 0.371
And the 1st network device has a spoofed MAC address configured 0.139
And no network device leaked the real MAC address 0.138
After features/support/hooks.rb:339 0.606
After features/support/hooks.rb:108 0.062
Tags: @product
41.783
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.676
And I enable persistence creation in Tails Greeter 1.092
And I log in to a new session expecting no warning about the Persistent Storage not being activated 14.569
Then I create a persistent partition with the default settings using the wizard that was already open 17.444
After features/support/hooks.rb:339 0.957
After features/support/hooks.rb:108 0.000
Tags: @product
2:53.703
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.380
When I enable persistence 17.416
Then no persistent Greeter options were restored 12.733
When I set all Greeter options to non-default values 38.489
Then the Welcome Screen's language is set to English 0.415
And the Welcome Screen's formats is set to United States 0.251
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.602
When I log in to a new session in German (de) after having activated the Persistent Storage 24.852
Then all Persistent Greeter options are set to non-default values 0.143
When I cold reboot the computer 6.426
And the computer reboots Tails 37.913
Then the Welcome Screen's language is set to English 0.271
And the Welcome Screen's formats is set to United States 0.206
Given I enable persistence 11.319
Then persistent Greeter options were restored 0.095
And the Welcome Screen's formats is set to Belgium 0.238
When I log in to a new session after having activated the Persistent Storage 9.761
Then all Persistent Greeter options are set to non-default values 0.184
After features/support/hooks.rb:339 0.675
After features/support/hooks.rb:108 0.007
Tags: @product
2:14.062
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.255
# 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 27.784
And I shutdown Tails and wait for the computer to power off 8.764
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:6.054
And I change the passphrase of the Persistent Storage back to the original 23.203
After features/support/hooks.rb:339 1.121
After features/support/hooks.rb:108 0.006
Tags: @product
39.012
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.305
And I log in to a new session without activating the Persistent Storage 15.329
Then persistence is disabled 0.088
But a Tails persistence partition exists on USB drive "__internal" 4.319
And all notifications have disappeared 7.972
When I delete the persistent partition 2.670
Then there is no persistence partition on USB drive "__internal" 0.325
After features/support/hooks.rb:339 0.680
After features/support/hooks.rb:108 0.000
Tags: @product
1:24.569
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.153
When I write some dotfile expected to persist 0.052
And I shutdown Tails and wait for the computer to power off 6.664
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:9.459
Then the expected persistent dotfile is present in the filesystem 0.239
After features/support/hooks.rb:339 0.681
After features/support/hooks.rb:108 0.046
Tags: @product
49.227
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.685
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.045
When I try to enable persistence 1.176
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 10.631
When I log in to a new session after having activated the Persistent Storage 10.071
And all notifications have disappeared 8.039
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.320
And all tps features are enabled 5.110
And all tps features but the first one are active 5.146
After features/support/hooks.rb:339 0.971
After features/support/hooks.rb:108 0.000
Tags: @product
1:11.672
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.447
And I enable persistence 24.114
And I log in to a new session after having activated the Persistent Storage 9.441
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.723
And persistence is enabled 5.944
After features/support/hooks.rb:339 0.669
After features/support/hooks.rb:108 0.000
Tags: @product
26.454
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 7.132
And I enable persistence but something goes wrong during the LUKS header upgrade 18.821
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.500
After features/support/hooks.rb:339 0.760
After features/support/hooks.rb:108 0.000
Tags: @product
31.930
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.806
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.044
When I enable persistence 10.292
Then the filesystem of the Persistent Storage was repaired 0.107
And persistence is successfully enabled 5.679
After features/support/hooks.rb:339 0.877
After features/support/hooks.rb:108 0.000
Tags: @product
28.603
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.486
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.623
When I try to enable persistence 1.237
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.479
When I repair the filesystem of the Persistent Storage 1.192
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.553
And the filesystem of the Persistent Storage was repaired 0.063
When I close the filesystem repair dialog 1.202
Then persistence is successfully enabled 3.764
After features/support/hooks.rb:339 0.720
After features/support/hooks.rb:108 0.000
Tags: @product @doc
43.089
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.228
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.065
When I try to enable persistence 1.270
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.717
When I repair the filesystem of the Persistent Storage 1.162
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.023
When I log in to a new session 11.051
And all notifications have disappeared 9.586
# 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.179
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.465
When I close the "whisperback" window 1.219
Then the Tor Browser starts 1.340
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.779
After features/support/hooks.rb:339 0.876
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.452
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.589
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.962
And Tails detects disk read failures on the boot device 1.347
When I try to enable persistence 1.160
Then the Welcome Screen tells me that my hardware is probably failing 2.664
When I log in to a new session 10.096
And all notifications have disappeared 9.515
Then the Tor Browser starts 1.354
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.761
After features/support/hooks.rb:339 0.884
After features/support/hooks.rb:108 0.000