Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 28 14 Jun 2026, 20:01

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:44.818 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:31.162
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.015
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:17.943
And I update the APT lists using apt 6.095
And I install "python3-behave" using apt 6.309
Then the Tails Persistent Storage behave tests pass 0.814
After features/support/hooks.rb:339 0.543
After features/support/hooks.rb:108 0.000
Tags: @product
27.739
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.882
When I log in to a new session without activating the Persistent Storage 13.646
Then Tails is running from USB drive "__internal" 0.298
And persistence is disabled 0.110
But a Tails persistence partition exists on USB drive "__internal" 4.802
After features/support/hooks.rb:339 1.009
After features/support/hooks.rb:108 0.000
Tags: @product
1:35.413
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.015
Given I have started Tails without network from a USB drive without a persistent partition and logged in 8.655
Then Tails is running from USB drive "__internal" 0.356
When I create a file in the Persistent directory 0.120
And I create a persistent partition with the default settings 16.763
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.670
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.560
Then persistence for "Persistent" is active 0.187
And the file I created in the Persistent directory exists 0.045
After features/support/hooks.rb:339 0.787
After features/support/hooks.rb:108 0.018
Tags: @product
27.976
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.013
Given I have started Tails without network from a USB drive without a persistent partition and logged in 7.513
And the system is very low on memory 3.981
When I create a file in the Persistent directory 0.249
When I try to create a persistent partition 4.411
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.164
When I close the Persistent Storage app 2.356
And I free up some memory 0.831
And I create a persistent partition with the default settings 8.421
Then the file I created was copied to the Persistent Storage 0.046
After features/support/hooks.rb:339 0.795
After features/support/hooks.rb:108 0.000
Tags: @product
1:39.918
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.577
Then Tails is running from USB drive "__internal" 0.271
And all tps features are active 4.887
And all persistent directories have safe access rights 1.712
When I disable the first tps feature 2.462
Then all tps features but the first one are active 4.786
And I shutdown Tails and wait for the computer to power off 6.960
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.669
Then all tps features but the first one are active 4.590
After features/support/hooks.rb:339 0.775
After features/support/hooks.rb:108 0.018
Tags: @product
12.998
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.012
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.562
Then persistence for "Persistent" is active 0.061
And I create a file in the Persistent directory 0.051
Then the file I created was copied to the Persistent Storage 0.056
When I disable the first tps feature 2.514
Then persistence for "Persistent" is not active 0.053
And the Persistent directory does not exist 0.049
When I enable the first tps feature 2.555
Then persistence for "Persistent" is active 0.051
And the file I created in the Persistent directory exists 0.042
After features/support/hooks.rb:339 0.701
After features/support/hooks.rb:108 0.000
Tags: @product
13.008
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.288
Then persistence for "Persistent" is active 0.066
When I create a file in the Persistent directory 0.053
And I disable the first tps feature 2.644
And I delete the data of the Persistent Folder feature 2.908
Then the file I created does not exist on the Persistent Storage 0.046
After features/support/hooks.rb:339 0.733
After features/support/hooks.rb:108 0.000
Tags: @product
38.823
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.468
And the network is plugged 0.018
And Tor is ready 8.595
And I take note of which tps features are available 4.123
When I write some files expected to persist 1.044
And I shutdown Tails and wait for the computer to power off 5.528
# 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.045
After features/support/hooks.rb:339 0.483
After features/support/hooks.rb:108 0.000
Tags: @product
1:39.113
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.565
And the network is plugged 0.020
And Tor is ready 9.448
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.148
And I shutdown Tails and wait for the computer to power off 7.162
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.904
And I capture all network traffic 0.016
And the network is plugged 0.017
And Tor is ready 11.318
And I switch to the "persistent-con-current" NetworkManager connection 0.323
And the 1st network device has a spoofed MAC address configured 0.077
And no network device leaked the real MAC address 0.111
After features/support/hooks.rb:339 0.692
After features/support/hooks.rb:108 0.057
Tags: @product
37.308
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.014
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 8.631
And I enable persistence creation in Tails Greeter 1.082
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.717
Then I create a persistent partition with the default settings using the wizard that was already open 14.878
After features/support/hooks.rb:339 0.869
After features/support/hooks.rb:108 0.000
Tags: @product
2:48.271
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.016
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.711
When I enable persistence 15.549
Then no persistent Greeter options were restored 12.601
When I set all Greeter options to non-default values 38.269
Then the Welcome Screen's language is set to English 0.327
And the Welcome Screen's formats is set to United States 0.217
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 5.463
When I log in to a new session in German (de) after having activated the Persistent Storage 25.014
Then all Persistent Greeter options are set to non-default values 0.122
When I cold reboot the computer 6.266
And the computer reboots Tails 35.358
Then the Welcome Screen's language is set to English 0.274
And the Welcome Screen's formats is set to United States 0.176
Given I enable persistence 10.986
Then persistent Greeter options were restored 0.066
And the Welcome Screen's formats is set to Belgium 0.217
When I log in to a new session after having activated the Persistent Storage 8.506
Then all Persistent Greeter options are set to non-default values 0.140
After features/support/hooks.rb:339 1.045
After features/support/hooks.rb:108 0.018
Tags: @product
2:9.394
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.223
# 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 25.106
And I shutdown Tails and wait for the computer to power off 6.993
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:4.277
And I change the passphrase of the Persistent Storage back to the original 24.793
After features/support/hooks.rb:339 1.315
After features/support/hooks.rb:108 0.019
Tags: @product
37.594
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.556
And I log in to a new session without activating the Persistent Storage 13.571
Then persistence is disabled 0.105
But a Tails persistence partition exists on USB drive "__internal" 4.489
And all notifications have disappeared 7.805
When I delete the persistent partition 2.760
Then there is no persistence partition on USB drive "__internal" 0.305
After features/support/hooks.rb:339 0.623
After features/support/hooks.rb:108 0.000
Tags: @product
1:21.329
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.043
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.808
When I write some dotfile expected to persist 0.052
And I shutdown Tails and wait for the computer to power off 5.496
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.706
Then the expected persistent dotfile is present in the filesystem 0.264
After features/support/hooks.rb:339 0.950
After features/support/hooks.rb:108 0.018
Tags: @product
47.827
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.407
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.058
When I try to enable persistence 1.193
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 9.595
When I log in to a new session after having activated the Persistent Storage 9.477
And all notifications have disappeared 7.872
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.272
And all tps features are enabled 4.992
And all tps features but the first one are active 4.959
After features/support/hooks.rb:339 0.875
After features/support/hooks.rb:108 0.000
Tags: @product
1:8.766
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.016
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 30.084
And I enable persistence 22.975
And I log in to a new session after having activated the Persistent Storage 9.626
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.600
And persistence is enabled 5.479
After features/support/hooks.rb:339 1.124
After features/support/hooks.rb:108 0.000
Tags: @product
26.238
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.016
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.362
And I enable persistence but something goes wrong during the LUKS header upgrade 18.377
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.498
After features/support/hooks.rb:339 1.030
After features/support/hooks.rb:108 0.000
Tags: @product
31.973
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.016
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.206
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.110
When I enable persistence 10.253
Then the filesystem of the Persistent Storage was repaired 0.043
And persistence is successfully enabled 5.360
After features/support/hooks.rb:339 0.714
After features/support/hooks.rb:108 0.000
Tags: @product
25.299
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.478
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.054
When I try to enable persistence 1.265
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.056
When I repair the filesystem of the Persistent Storage 1.207
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.424
And the filesystem of the Persistent Storage was repaired 0.077
When I close the filesystem repair dialog 1.152
Then persistence is successfully enabled 3.582
After features/support/hooks.rb:339 1.281
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.144
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.327
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.052
When I try to enable persistence 1.154
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.939
When I repair the filesystem of the Persistent Storage 1.215
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.029
When I log in to a new session 10.076
And all notifications have disappeared 9.712
# 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.111
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.373
When I close the "whisperback" window 1.154
Then the Tor Browser starts 1.327
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.668
After features/support/hooks.rb:339 0.808
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.515
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.447
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.402
And Tails detects disk read failures on the boot device 1.328
When I try to enable persistence 1.138
Then the Welcome Screen tells me that my hardware is probably failing 2.579
When I log in to a new session 10.308
And all notifications have disappeared 9.236
Then the Tor Browser starts 1.361
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.712
After features/support/hooks.rb:339 0.783
After features/support/hooks.rb:108 0.000