Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 47 04 Jul 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:36.683 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:32.095
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:18.227
And I update the APT lists using apt 6.776
And I install "python3-behave" using apt 6.240
Then the Tails Persistent Storage behave tests pass 0.851
After features/support/hooks.rb:339 0.737
After features/support/hooks.rb:108 0.000
Tags: @product
27.171
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.257
When I log in to a new session without activating the Persistent Storage 13.991
Then Tails is running from USB drive "__internal" 0.253
And persistence is disabled 0.112
But a Tails persistence partition exists on USB drive "__internal" 4.556
After features/support/hooks.rb:339 0.741
After features/support/hooks.rb:108 0.000
Tags: @product
1:35.266
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.459
Then Tails is running from USB drive "__internal" 0.287
When I create a file in the Persistent directory 0.089
And I create a persistent partition with the default settings 17.526
Then the file I created was copied to the Persistent Storage 0.051
When I shutdown Tails and wait for the computer to power off 6.729
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.899
Then persistence for "Persistent" is active 0.170
And the file I created in the Persistent directory exists 0.051
After features/support/hooks.rb:339 0.474
After features/support/hooks.rb:108 0.009
Tags: @product
28.183
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.430
And the system is very low on memory 3.746
When I create a file in the Persistent directory 0.183
When I try to create a persistent partition 4.498
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.116
When I close the Persistent Storage app 2.351
And I free up some memory 0.843
And I create a persistent partition with the default settings 8.967
Then the file I created was copied to the Persistent Storage 0.045
After features/support/hooks.rb:339 1.001
After features/support/hooks.rb:108 0.000
Tags: @product
1:39.325
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.212
Then Tails is running from USB drive "__internal" 0.309
And all tps features are active 4.638
And all persistent directories have safe access rights 1.915
When I disable the first tps feature 2.621
Then all tps features but the first one are active 4.909
And I shutdown Tails and wait for the computer to power off 6.698
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.141
Then all tps features but the first one are active 4.877
After features/support/hooks.rb:339 0.966
After features/support/hooks.rb:108 0.007
Tags: @product
12.938
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.671
Then persistence for "Persistent" is active 0.062
And I create a file in the Persistent directory 0.054
Then the file I created was copied to the Persistent Storage 0.056
When I disable the first tps feature 2.463
Then persistence for "Persistent" is not active 0.059
And the Persistent directory does not exist 0.038
When I enable the first tps feature 2.429
Then persistence for "Persistent" is active 0.048
And the file I created in the Persistent directory exists 0.051
After features/support/hooks.rb:339 0.841
After features/support/hooks.rb:108 0.000
Tags: @product
12.455
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 6.911
Then persistence for "Persistent" is active 0.074
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 2.472
And I delete the data of the Persistent Folder feature 2.880
Then the file I created does not exist on the Persistent Storage 0.039
After features/support/hooks.rb:339 0.772
After features/support/hooks.rb:108 0.000
Tags: @product
38.570
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 6.871
And the network is plugged 0.018
And Tor is ready 9.373
And I take note of which tps features are available 3.971
When I write some files expected to persist 1.161
And I shutdown Tails and wait for the computer to power off 5.323
# 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.849
After features/support/hooks.rb:339 0.183
After features/support/hooks.rb:108 0.000
Tags: @product
1:41.357
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.150
And the network is plugged 0.035
And Tor is ready 10.749
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 5.368
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.187
And I capture all network traffic 0.004
And the network is plugged 0.016
And Tor is ready 12.188
And I switch to the "persistent-con-current" NetworkManager connection 0.357
And the 1st network device has a spoofed MAC address configured 0.051
And no network device leaked the real MAC address 0.109
After features/support/hooks.rb:339 0.898
After features/support/hooks.rb:108 0.058
Tags: @product
36.665
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.126
And I enable persistence creation in Tails Greeter 1.089
And I log in to a new session expecting no warning about the Persistent Storage not being activated 11.978
Then I create a persistent partition with the default settings using the wizard that was already open 15.470
After features/support/hooks.rb:339 0.806
After features/support/hooks.rb:108 0.000
Tags: @product
2:46.170
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.135
When I enable persistence 15.885
Then no persistent Greeter options were restored 12.652
When I set all Greeter options to non-default values 38.234
Then the Welcome Screen's language is set to English 0.300
And the Welcome Screen's formats is set to United States 0.212
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.588
When I log in to a new session in German (de) after having activated the Persistent Storage 23.635
Then all Persistent Greeter options are set to non-default values 0.175
When I cold reboot the computer 5.967
And the computer reboots Tails 35.518
Then the Welcome Screen's language is set to English 0.296
And the Welcome Screen's formats is set to United States 0.162
Given I enable persistence 10.930
Then persistent Greeter options were restored 0.083
And the Welcome Screen's formats is set to Belgium 0.271
When I log in to a new session after having activated the Persistent Storage 8.969
Then all Persistent Greeter options are set to non-default values 0.150
After features/support/hooks.rb:339 0.568
After features/support/hooks.rb:108 0.006
Tags: @product
2:9.768
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.006
# 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.572
And I shutdown Tails and wait for the computer to power off 5.383
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:4.544
And I change the passphrase of the Persistent Storage back to the original 23.261
After features/support/hooks.rb:339 1.416
After features/support/hooks.rb:108 0.006
Tags: @product
38.717
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.415
And I log in to a new session without activating the Persistent Storage 14.639
Then persistence is disabled 0.095
But a Tails persistence partition exists on USB drive "__internal" 4.487
And all notifications have disappeared 8.059
When I delete the persistent partition 2.712
Then there is no persistence partition on USB drive "__internal" 0.306
After features/support/hooks.rb:339 1.000
After features/support/hooks.rb:108 0.000
Tags: @product
1:18.201
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.672
When I write some dotfile expected to persist 0.048
And I shutdown Tails and wait for the computer to power off 5.336
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.920
Then the expected persistent dotfile is present in the filesystem 0.223
After features/support/hooks.rb:339 0.589
After features/support/hooks.rb:108 0.005
Tags: @product
47.843
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.909
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.053
When I try to enable persistence 1.148
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 10.257
When I log in to a new session after having activated the Persistent Storage 9.794
And all notifications have disappeared 7.846
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.265
And all tps features are enabled 4.914
And all tps features but the first one are active 4.653
After features/support/hooks.rb:339 0.882
After features/support/hooks.rb:108 0.000
Tags: @product
1:6.299
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 28.447
And I enable persistence 22.604
And I log in to a new session after having activated the Persistent Storage 9.429
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.559
And persistence is enabled 5.259
After features/support/hooks.rb:339 0.985
After features/support/hooks.rb:108 0.000
Tags: @product
24.665
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.876
And I enable persistence but something goes wrong during the LUKS header upgrade 17.299
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.489
After features/support/hooks.rb:339 0.562
After features/support/hooks.rb:108 0.000
Tags: @product
31.196
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.521
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.504
When I enable persistence 10.128
Then the filesystem of the Persistent Storage was repaired 0.046
And persistence is successfully enabled 4.995
After features/support/hooks.rb:339 0.986
After features/support/hooks.rb:108 0.000
Tags: @product
26.074
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.568
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.594
When I try to enable persistence 1.214
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.911
When I repair the filesystem of the Persistent Storage 1.230
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.404
And the filesystem of the Persistent Storage was repaired 0.054
When I close the filesystem repair dialog 1.134
Then persistence is successfully enabled 3.961
After features/support/hooks.rb:339 0.693
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.502
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.299
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.053
When I try to enable persistence 1.146
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.915
When I repair the filesystem of the Persistent Storage 1.130
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.025
When I log in to a new session 10.683
And all notifications have disappeared 9.567
# 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.129
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.468
When I close the "whisperback" window 1.194
Then the Tor Browser starts 1.220
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.665
After features/support/hooks.rb:339 0.778
After features/support/hooks.rb:108 0.000
Tags: @product @doc
41.212
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.438
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.699
And Tails detects disk read failures on the boot device 1.308
When I try to enable persistence 1.204
Then the Welcome Screen tells me that my hardware is probably failing 3.048
When I log in to a new session 10.073
And all notifications have disappeared 8.265
Then the Tor Browser starts 1.339
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.837
After features/support/hooks.rb:339 1.551
After features/support/hooks.rb:108 0.000