Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 16 07 Jun 2026, 19:46

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 19:24.214 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:30.783
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:17.216
And I update the APT lists using apt 6.437
And I install "python3-behave" using apt 6.333
Then the Tails Persistent Storage behave tests pass 0.796
After features/support/hooks.rb:335 0.915
After features/support/hooks.rb:104 0.000
Tags: @product
26.932
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.224
When I log in to a new session without activating the Persistent Storage 13.661
Then Tails is running from USB drive "__internal" 0.220
And persistence is disabled 0.101
But a Tails persistence partition exists on USB drive "__internal" 4.724
After features/support/hooks.rb:335 1.043
After features/support/hooks.rb:104 0.000
Tags: @product
1:30.903
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 logged in 8.326
Then Tails is running from USB drive "__internal" 0.249
When I create a file in the Persistent directory 0.089
And I create a persistent partition with the default settings 17.116
Then the file I created was copied to the Persistent Storage 0.053
When I shutdown Tails and wait for the computer to power off 5.357
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 59.454
Then persistence for "Persistent" is active 0.210
And the file I created in the Persistent directory exists 0.045
After features/support/hooks.rb:335 0.765
After features/support/hooks.rb:104 0.006
Tags: @product
27.921
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails without network from a USB drive without a persistent partition and logged in 7.163
And the system is very low on memory 3.829
When I create a file in the Persistent directory 0.203
When I try to create a persistent partition 4.468
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.110
When I close the Persistent Storage app 2.358
And I free up some memory 0.796
And I create a persistent partition with the default settings 8.946
Then the file I created was copied to the Persistent Storage 0.045
After features/support/hooks.rb:335 0.864
After features/support/hooks.rb:104 0.000
Tags: @product
1:24.791
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.122
Then Tails is running from USB drive "__internal" 0.283
And all tps features are active 1.064
And all persistent directories have safe access rights 1.842
When I disable the first tps feature 2.490
Then all tps features but the first one are active 1.041
And I shutdown Tails and wait for the computer to power off 6.769
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.054
Then all tps features but the first one are active 1.121
After features/support/hooks.rb:335 0.950
After features/support/hooks.rb:104 0.006
Tags: @product
12.534
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.284
Then persistence for "Persistent" is active 0.060
And I create a file in the Persistent directory 0.050
Then the file I created was copied to the Persistent Storage 0.061
When I disable the first tps feature 2.459
Then persistence for "Persistent" is not active 0.050
And the Persistent directory does not exist 0.039
When I enable the first tps feature 2.421
Then persistence for "Persistent" is active 0.044
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:335 0.708
After features/support/hooks.rb:104 0.000
Tags: @product
12.582
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.191
Then persistence for "Persistent" is active 0.060
When I create a file in the Persistent directory 0.055
And I disable the first tps feature 2.462
And I delete the data of the Persistent Folder feature 2.772
Then the file I created does not exist on the Persistent Storage 0.039
After features/support/hooks.rb:335 0.670
After features/support/hooks.rb:104 0.000
Tags: @product
36.285
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.054
And the network is plugged 0.047
And Tor is ready 9.628
And I take note of which tps features are available 0.153
When I write some files expected to persist 1.079
And I shutdown Tails and wait for the computer to power off 6.639
# 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.682
After features/support/hooks.rb:335 0.465
After features/support/hooks.rb:104 0.000
Tags: @product
1:38.312
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 6.988
And the network is plugged 0.013
And Tor is ready 11.346
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.111
And I shutdown Tails and wait for the computer to power off 6.886
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.039
And I capture all network traffic 0.003
And the network is plugged 0.022
And Tor is ready 11.370
And I switch to the "persistent-con-current" NetworkManager connection 0.394
And the 1st network device has a spoofed MAC address configured 0.060
And no network device leaked the real MAC address 0.075
After features/support/hooks.rb:335 0.942
After features/support/hooks.rb:104 0.049
Tags: @product
38.922
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.200
And I enable persistence creation in Tails Greeter 1.115
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.899
Then I create a persistent partition with the default settings using the wizard that was already open 16.707
After features/support/hooks.rb:335 1.280
After features/support/hooks.rb:104 0.000
Tags: @product
2:42.459
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 8.310
When I enable persistence 14.797
Then no persistent Greeter options were restored 12.597
When I set all Greeter options to non-default values 38.294
Then the Welcome Screen's language is set to English 0.313
And the Welcome Screen's formats is set to United States 0.220
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.488
When I log in to a new session in German (de) after having activated the Persistent Storage 24.274
Then all Persistent Greeter options are set to non-default values 0.177
When I cold reboot the computer 6.038
And the computer reboots Tails 35.978
Then the Welcome Screen's language is set to English 0.263
And the Welcome Screen's formats is set to United States 0.177
Given I enable persistence 6.982
Then persistent Greeter options were restored 0.071
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.081
Then all Persistent Greeter options are set to non-default values 0.153
After features/support/hooks.rb:335 0.840
After features/support/hooks.rb:104 0.025
Tags: @product
2:0.960
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.088
# 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 29.135
And I shutdown Tails and wait for the computer to power off 5.337
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 58.525
And I change the passphrase of the Persistent Storage back to the original 19.873
After features/support/hooks.rb:335 1.137
After features/support/hooks.rb:104 0.006
Tags: @product
36.341
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.622
And I log in to a new session without activating the Persistent Storage 13.663
Then persistence is disabled 0.125
But a Tails persistence partition exists on USB drive "__internal" 4.115
And all notifications have disappeared 7.618
When I delete the persistent partition 2.887
Then there is no persistence partition on USB drive "__internal" 0.309
After features/support/hooks.rb:335 0.937
After features/support/hooks.rb:104 0.000
Tags: @product
1:15.834
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.417
When I write some dotfile expected to persist 0.054
And I shutdown Tails and wait for the computer to power off 6.955
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.197
Then the expected persistent dotfile is present in the filesystem 0.209
After features/support/hooks.rb:335 0.906
After features/support/hooks.rb:104 0.006
Tags: @product
39.157
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.139
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 1.171
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 10.216
When I log in to a new session after having activated the Persistent Storage 9.346
And all notifications have disappeared 7.829
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.292
And all tps features are enabled 0.974
And all tps features but the first one are active 1.105
After features/support/hooks.rb:335 0.610
After features/support/hooks.rb:104 0.000
Tags: @product
1:0.025
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 28.586
And I enable persistence 19.369
And I log in to a new session after having activated the Persistent Storage 9.922
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.602
And persistence is enabled 1.544
After features/support/hooks.rb:335 0.793
After features/support/hooks.rb:104 0.000
Tags: @product
21.920
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 6.806
And I enable persistence but something goes wrong during the LUKS header upgrade 14.596
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.517
After features/support/hooks.rb:335 0.845
After features/support/hooks.rb:104 0.000
Tags: @product
23.192
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.653
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.401
When I enable persistence 6.441
Then the filesystem of the Persistent Storage was repaired 0.055
And persistence is successfully enabled 1.640
After features/support/hooks.rb:335 1.250
After features/support/hooks.rb:104 0.000
Tags: @product
22.945
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.661
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.341
When I try to enable persistence 1.263
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.003
When I repair the filesystem of the Persistent Storage 1.162
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.385
And the filesystem of the Persistent Storage was repaired 0.044
When I close the filesystem repair dialog 1.152
Then persistence is successfully enabled 0.931
After features/support/hooks.rb:335 0.858
After features/support/hooks.rb:104 0.000
Tags: @product @doc
41.829
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.419
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.075
When I try to enable persistence 1.139
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.792
When I repair the filesystem of the Persistent Storage 1.157
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.028
When I log in to a new session 10.735
And all notifications have disappeared 9.750
# 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.380
When I close the "whisperback" window 1.143
Then the Tor Browser starts 1.306
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.770
After features/support/hooks.rb:335 0.932
After features/support/hooks.rb:104 0.000
Tags: @product @doc
39.575
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.323
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.148
And Tails detects disk read failures on the boot device 1.355
When I try to enable persistence 1.172
Then the Welcome Screen tells me that my hardware is probably failing 2.878
When I log in to a new session 8.944
And all notifications have disappeared 8.251
Then the Tor Browser starts 1.309
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.191
After features/support/hooks.rb:335 0.721
After features/support/hooks.rb:104 0.000