Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 42 29 Jun 2026, 20:04

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:30.562 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:31.468
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:18.498
And I update the APT lists using apt 5.875
And I install "python3-behave" using apt 6.233
Then the Tails Persistent Storage behave tests pass 0.861
After features/support/hooks.rb:339 1.139
After features/support/hooks.rb:108 0.000
Tags: @product
30.156
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 8.907
When I log in to a new session without activating the Persistent Storage 15.732
Then Tails is running from USB drive "__internal" 0.335
And persistence is disabled 0.086
But a Tails persistence partition exists on USB drive "__internal" 5.093
After features/support/hooks.rb:339 0.921
After features/support/hooks.rb:108 0.000
Tags: @product
1:38.122
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.232
Then Tails is running from USB drive "__internal" 0.320
When I create a file in the Persistent directory 0.172
And I create a persistent partition with the default settings 17.446
Then the file I created was copied to the Persistent Storage 0.099
When I shutdown Tails and wait for the computer to power off 5.691
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.931
Then persistence for "Persistent" is active 0.182
And the file I created in the Persistent directory exists 0.045
After features/support/hooks.rb:339 0.677
After features/support/hooks.rb:108 0.006
Tags: @product
28.371
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.270
And the system is very low on memory 3.795
When I create a file in the Persistent directory 0.169
When I try to create a persistent partition 4.747
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.093
When I close the Persistent Storage app 2.347
And I free up some memory 0.826
And I create a persistent partition with the default settings 9.075
Then the file I created was copied to the Persistent Storage 0.046
After features/support/hooks.rb:339 0.901
After features/support/hooks.rb:108 0.000
Tags: @product
1:43.822
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.033
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.764
Then Tails is running from USB drive "__internal" 0.290
And all tps features are active 5.042
And all persistent directories have safe access rights 1.949
When I disable the first tps feature 2.532
Then all tps features but the first one are active 5.537
And I shutdown Tails and wait for the computer to power off 7.183
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.128
Then all tps features but the first one are active 5.393
After features/support/hooks.rb:339 1.161
After features/support/hooks.rb:108 0.006
Tags: @product
12.877
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 7.492
Then persistence for "Persistent" is active 0.059
And I create a file in the Persistent directory 0.056
Then the file I created was copied to the Persistent Storage 0.047
When I disable the first tps feature 2.505
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.069
When I enable the first tps feature 2.455
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.044
After features/support/hooks.rb:339 0.841
After features/support/hooks.rb:108 0.000
Tags: @product
12.981
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.352
Then persistence for "Persistent" is active 0.075
When I create a file in the Persistent directory 0.067
And I disable the first tps feature 2.568
And I delete the data of the Persistent Folder feature 2.883
Then the file I created does not exist on the Persistent Storage 0.034
After features/support/hooks.rb:339 0.774
After features/support/hooks.rb:108 0.000
Tags: @product
42.880
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.017
And the network is plugged 0.016
And Tor is ready 13.222
And I take note of which tps features are available 3.886
When I write some files expected to persist 1.188
And I shutdown Tails and wait for the computer to power off 5.738
# 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" 11.811
After features/support/hooks.rb:339 0.409
After features/support/hooks.rb:108 0.000
Tags: @product
1:46.054
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.236
And the network is plugged 0.018
And Tor is ready 10.056
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.115
And I shutdown Tails and wait for the computer to power off 7.056
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:9.100
And I capture all network traffic 0.006
And the network is plugged 0.021
And Tor is ready 11.760
And I switch to the "persistent-con-current" NetworkManager connection 0.411
And the 1st network device has a spoofed MAC address configured 0.123
And no network device leaked the real MAC address 0.150
After features/support/hooks.rb:339 0.883
After features/support/hooks.rb:108 0.066
Tags: @product
40.055
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 without a persistent partition and stopped at Tails Greeter's login screen 8.719
And I enable persistence creation in Tails Greeter 1.079
And I log in to a new session expecting no warning about the Persistent Storage not being activated 13.370
Then I create a persistent partition with the default settings using the wizard that was already open 16.886
After features/support/hooks.rb:339 0.734
After features/support/hooks.rb:108 0.000
Tags: @product
2:55.965
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.753
When I enable persistence 18.139
Then no persistent Greeter options were restored 12.740
When I set all Greeter options to non-default values 38.455
Then the Welcome Screen's language is set to English 0.346
And the Welcome Screen's formats is set to United States 0.223
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.518
When I log in to a new session in German (de) after having activated the Persistent Storage 25.643
Then all Persistent Greeter options are set to non-default values 0.164
When I cold reboot the computer 7.416
And the computer reboots Tails 36.996
Then the Welcome Screen's language is set to English 0.267
And the Welcome Screen's formats is set to United States 0.180
Given I enable persistence 12.582
Then persistent Greeter options were restored 0.075
And the Welcome Screen's formats is set to Belgium 0.227
When I log in to a new session after having activated the Persistent Storage 9.078
Then all Persistent Greeter options are set to non-default values 0.155
After features/support/hooks.rb:339 0.983
After features/support/hooks.rb:108 0.015
Tags: @product
2:9.819
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 8.553
# 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.312
And I shutdown Tails and wait for the computer to power off 7.011
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:6.046
And I change the passphrase of the Persistent Storage back to the original 19.893
After features/support/hooks.rb:339 1.344
After features/support/hooks.rb:108 0.006
Tags: @product
37.395
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 7.343
And I log in to a new session without activating the Persistent Storage 13.654
Then persistence is disabled 0.114
But a Tails persistence partition exists on USB drive "__internal" 4.793
And all notifications have disappeared 8.254
When I delete the persistent partition 2.805
Then there is no persistence partition on USB drive "__internal" 0.429
After features/support/hooks.rb:339 0.820
After features/support/hooks.rb:108 0.000
Tags: @product
1:21.121
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.281
When I write some dotfile expected to persist 0.051
And I shutdown Tails and wait for the computer to power off 7.197
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.383
Then the expected persistent dotfile is present in the filesystem 0.207
After features/support/hooks.rb:339 0.660
After features/support/hooks.rb:108 0.007
Tags: @product
48.759
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.318
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.050
When I try to enable persistence 1.161
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 10.617
When I log in to a new session after having activated the Persistent Storage 10.574
And all notifications have disappeared 7.946
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.250
And all tps features are enabled 4.678
And all tps features but the first one are active 5.160
After features/support/hooks.rb:339 0.996
After features/support/hooks.rb:108 0.000
Tags: @product
1:11.282
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 29.846
And I enable persistence 23.950
And I log in to a new session after having activated the Persistent Storage 11.460
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.619
And persistence is enabled 5.405
After features/support/hooks.rb:339 1.085
After features/support/hooks.rb:108 0.000
Tags: @product
26.789
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 6.988
And I enable persistence but something goes wrong during the LUKS header upgrade 19.046
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.754
After features/support/hooks.rb:339 0.970
After features/support/hooks.rb:108 0.000
Tags: @product
32.725
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.460
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.056
When I enable persistence 11.144
Then the filesystem of the Persistent Storage was repaired 0.043
And persistence is successfully enabled 5.020
After features/support/hooks.rb:339 1.096
After features/support/hooks.rb:108 0.000
Tags: @product
29.618
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.214
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.673
When I try to enable persistence 1.258
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.349
When I repair the filesystem of the Persistent Storage 1.190
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.301
And the filesystem of the Persistent Storage was repaired 0.059
When I close the filesystem repair dialog 1.136
Then persistence is successfully enabled 4.435
After features/support/hooks.rb:339 0.846
After features/support/hooks.rb:108 0.000
Tags: @product @doc
46.330
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.761
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.062
When I try to enable persistence 1.156
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 11.471
When I repair the filesystem of the Persistent Storage 1.224
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.026
When I log in to a new session 10.784
And all notifications have disappeared 9.971
# 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.193
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.502
When I close the "whisperback" window 1.157
Then the Tor Browser starts 1.286
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.732
After features/support/hooks.rb:339 1.023
After features/support/hooks.rb:108 0.000
Tags: @product @doc
43.964
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.793
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.471
And Tails detects disk read failures on the boot device 1.345
When I try to enable persistence 1.186
Then the Welcome Screen tells me that my hardware is probably failing 3.074
When I log in to a new session 11.567
And all notifications have disappeared 8.413
Then the Tor Browser starts 1.367
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.744
After features/support/hooks.rb:339 0.866
After features/support/hooks.rb:108 0.000