Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 21 09 Jun 2026, 15:50

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:6.999 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:35.146
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:21.635
And I update the APT lists using apt 6.257
And I install "python3-behave" using apt 6.269
Then the Tails Persistent Storage behave tests pass 0.984
After features/support/hooks.rb:335 0.729
After features/support/hooks.rb:104 0.000
Tags: @product
29.057
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.837
When I log in to a new session without activating the Persistent Storage 14.990
Then Tails is running from USB drive "__internal" 0.303
And persistence is disabled 0.117
But a Tails persistence partition exists on USB drive "__internal" 4.809
After features/support/hooks.rb:335 1.531
After features/support/hooks.rb:104 0.000
Tags: @product
1:42.313
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.878
Then Tails is running from USB drive "__internal" 0.412
When I create a file in the Persistent directory 0.117
And I create a persistent partition with the default settings 19.251
Then the file I created was copied to the Persistent Storage 0.059
When I shutdown Tails and wait for the computer to power off 6.899
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.421
Then persistence for "Persistent" is active 0.210
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:335 0.933
After features/support/hooks.rb:104 0.007
Tags: @product
29.472
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 7.775
And the system is very low on memory 4.066
When I create a file in the Persistent directory 0.200
When I try to create a persistent partition 4.692
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.385
And I free up some memory 0.868
And I create a persistent partition with the default settings 9.290
Then the file I created was copied to the Persistent Storage 0.063
After features/support/hooks.rb:335 0.871
After features/support/hooks.rb:104 0.000
Tags: @product
1:33.083
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 enabled and logged in 8.627
Then Tails is running from USB drive "__internal" 0.416
And all tps features are active 1.320
And all persistent directories have safe access rights 2.247
When I disable the first tps feature 3.134
Then all tps features but the first one are active 1.217
And I shutdown Tails and wait for the computer to power off 7.153
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.437
Then all tps features but the first one are active 1.529
After features/support/hooks.rb:335 0.724
After features/support/hooks.rb:104 0.013
Tags: @product
13.477
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.958
Then persistence for "Persistent" is active 0.076
And I create a file in the Persistent directory 0.069
Then the file I created was copied to the Persistent Storage 0.060
When I disable the first tps feature 2.522
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.039
When I enable the first tps feature 2.525
Then persistence for "Persistent" is active 0.063
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:335 0.707
After features/support/hooks.rb:104 0.000
Tags: @product
13.694
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 enabled and logged in 7.575
Then persistence for "Persistent" is active 0.118
When I create a file in the Persistent directory 0.053
And I disable the first tps feature 3.059
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.048
After features/support/hooks.rb:335 0.568
After features/support/hooks.rb:104 0.000
Tags: @product
39.956
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.187
And the network is plugged 0.025
And Tor is ready 12.697
And I take note of which tps features are available 0.198
When I write some files expected to persist 1.265
And I shutdown Tails and wait for the computer to power off 5.565
# 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" 13.015
After features/support/hooks.rb:335 0.341
After features/support/hooks.rb:104 0.000
Tags: @product
1:47.080
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.424
And the network is plugged 0.027
And Tor is ready 10.821
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.124
And I shutdown Tails and wait for the computer to power off 7.309
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:8.901
And I capture all network traffic 0.005
And the network is plugged 0.028
And Tor is ready 11.874
And I switch to the "persistent-con-current" NetworkManager connection 0.389
And the 1st network device has a spoofed MAC address configured 0.073
And no network device leaked the real MAC address 0.098
After features/support/hooks.rb:335 0.884
After features/support/hooks.rb:104 0.046
Tags: @product
40.967
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 stopped at Tails Greeter's login screen 9.357
And I enable persistence creation in Tails Greeter 1.114
And I log in to a new session expecting no warning about the Persistent Storage not being activated 14.644
Then I create a persistent partition with the default settings using the wizard that was already open 15.851
After features/support/hooks.rb:335 1.213
After features/support/hooks.rb:104 0.000
Tags: @product
2:55.246
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 9.159
When I enable persistence 15.856
Then no persistent Greeter options were restored 13.404
When I set all Greeter options to non-default values 39.399
Then the Welcome Screen's language is set to English 0.392
And the Welcome Screen's formats is set to United States 0.300
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.642
When I log in to a new session in German (de) after having activated the Persistent Storage 26.585
Then all Persistent Greeter options are set to non-default values 0.166
When I cold reboot the computer 6.541
And the computer reboots Tails 40.508
Then the Welcome Screen's language is set to English 0.262
And the Welcome Screen's formats is set to United States 0.194
Given I enable persistence 7.377
Then persistent Greeter options were restored 0.083
And the Welcome Screen's formats is set to Belgium 0.253
When I log in to a new session after having activated the Persistent Storage 9.935
Then all Persistent Greeter options are set to non-default values 0.181
After features/support/hooks.rb:335 0.630
After features/support/hooks.rb:104 0.009
Tags: @product
2:6.634
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.431
# 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.851
And I shutdown Tails and wait for the computer to power off 5.540
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:4.523
And I change the passphrase of the Persistent Storage back to the original 20.287
After features/support/hooks.rb:335 1.001
After features/support/hooks.rb:104 0.006
Tags: @product
40.455
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 8.552
And I log in to a new session without activating the Persistent Storage 15.439
Then persistence is disabled 0.100
But a Tails persistence partition exists on USB drive "__internal" 4.605
And all notifications have disappeared 8.529
When I delete the persistent partition 2.866
Then there is no persistence partition on USB drive "__internal" 0.361
After features/support/hooks.rb:335 1.032
After features/support/hooks.rb:104 0.000
Tags: @product
1:25.503
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.830
When I write some dotfile expected to persist 0.079
And I shutdown Tails and wait for the computer to power off 7.270
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:9.066
Then the expected persistent dotfile is present in the filesystem 0.258
After features/support/hooks.rb:335 0.754
After features/support/hooks.rb:104 0.021
Tags: @product
43.298
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.465
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.068
When I try to enable persistence 1.200
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 10.771
When I log in to a new session after having activated the Persistent Storage 10.770
And all notifications have disappeared 8.226
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.290
And all tps features are enabled 1.319
And all tps features but the first one are active 1.184
After features/support/hooks.rb:335 0.965
After features/support/hooks.rb:104 0.000
Tags: @product
1:5.474
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 32.074
And I enable persistence 20.956
And I log in to a new session after having activated the Persistent Storage 9.443
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.793
And persistence is enabled 2.205
After features/support/hooks.rb:335 0.941
After features/support/hooks.rb:104 0.000
Tags: @product
23.641
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.343
And I enable persistence but something goes wrong during the LUKS header upgrade 15.657
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.641
After features/support/hooks.rb:335 0.642
After features/support/hooks.rb:104 0.000
Tags: @product
26.727
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 8.513
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.418
When I enable persistence 7.954
Then the filesystem of the Persistent Storage was repaired 0.047
And persistence is successfully enabled 1.793
After features/support/hooks.rb:335 1.315
After features/support/hooks.rb:104 0.000
Tags: @product
25.606
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.091
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.477
When I try to enable persistence 1.251
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.654
When I repair the filesystem of the Persistent Storage 1.250
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.291
And the filesystem of the Persistent Storage was repaired 0.075
When I close the filesystem repair dialog 1.163
Then persistence is successfully enabled 1.352
After features/support/hooks.rb:335 0.687
After features/support/hooks.rb:104 0.000
Tags: @product @doc
45.473
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 8.157
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.060
When I try to enable persistence 1.194
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.921
When I repair the filesystem of the Persistent Storage 1.334
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.039
When I log in to a new session 11.892
And all notifications have disappeared 9.449
# 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.163
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.654
When I close the "whisperback" window 1.251
Then the Tor Browser starts 1.446
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.907
After features/support/hooks.rb:335 1.077
After features/support/hooks.rb:104 0.000
Tags: @product @doc
44.687
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.016
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.489
And Tails detects disk read failures on the boot device 1.342
When I try to enable persistence 1.167
Then the Welcome Screen tells me that my hardware is probably failing 2.909
When I log in to a new session 11.555
And all notifications have disappeared 9.077
Then the Tor Browser starts 1.375
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.754
After features/support/hooks.rb:335 0.637
After features/support/hooks.rb:104 0.000