Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 53 11 Jul 2026, 20:02

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:51.819 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:31.655
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.508
And I update the APT lists using apt 6.042
And I install "python3-behave" using apt 6.272
Then the Tails Persistent Storage behave tests pass 0.832
After features/support/hooks.rb:339 0.597
After features/support/hooks.rb:108 0.000
Tags: @product
27.052
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.392
When I log in to a new session without activating the Persistent Storage 13.611
Then Tails is running from USB drive "__internal" 0.247
And persistence is disabled 0.113
But a Tails persistence partition exists on USB drive "__internal" 4.688
After features/support/hooks.rb:339 0.694
After features/support/hooks.rb:108 0.000
Tags: @product
1:37.002
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.271
Then Tails is running from USB drive "__internal" 0.270
When I create a file in the Persistent directory 0.091
And I create a persistent partition with the default settings 18.284
Then the file I created was copied to the Persistent Storage 0.049
When I shutdown Tails and wait for the computer to power off 6.705
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.061
Then persistence for "Persistent" is active 0.211
And the file I created in the Persistent directory exists 0.056
After features/support/hooks.rb:339 0.717
After features/support/hooks.rb:108 0.005
Tags: @product
27.592
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.303
And the system is very low on memory 3.432
When I create a file in the Persistent directory 0.165
When I try to create a persistent partition 4.448
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.158
When I close the Persistent Storage app 2.331
And I free up some memory 0.833
And I create a persistent partition with the default settings 8.861
Then the file I created was copied to the Persistent Storage 0.058
After features/support/hooks.rb:339 0.708
After features/support/hooks.rb:108 0.000
Tags: @product
1:40.045
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.993
Then Tails is running from USB drive "__internal" 0.372
And all tps features are active 5.119
And all persistent directories have safe access rights 1.879
When I disable the first tps feature 2.508
Then all tps features but the first one are active 4.686
And I shutdown Tails and wait for the computer to power off 7.904
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.787
Then all tps features but the first one are active 4.796
After features/support/hooks.rb:339 0.718
After features/support/hooks.rb:108 0.006
Tags: @product
12.669
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.324
Then persistence for "Persistent" is active 0.068
And I create a file in the Persistent directory 0.061
Then the file I created was copied to the Persistent Storage 0.061
When I disable the first tps feature 2.519
Then persistence for "Persistent" is not active 0.038
And the Persistent directory does not exist 0.039
When I enable the first tps feature 2.450
Then persistence for "Persistent" is active 0.055
And the file I created in the Persistent directory exists 0.050
After features/support/hooks.rb:339 0.545
After features/support/hooks.rb:108 0.000
Tags: @product
12.571
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.050
Then persistence for "Persistent" is active 0.060
When I create a file in the Persistent directory 0.061
And I disable the first tps feature 2.447
And I delete the data of the Persistent Folder feature 2.911
Then the file I created does not exist on the Persistent Storage 0.039
After features/support/hooks.rb:339 0.686
After features/support/hooks.rb:108 0.000
Tags: @product
38.097
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.100
And the network is plugged 0.026
And Tor is ready 9.058
And I take note of which tps features are available 3.830
When I write some files expected to persist 1.004
And I shutdown Tails and wait for the computer to power off 5.395
# 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.680
After features/support/hooks.rb:339 0.186
After features/support/hooks.rb:108 0.000
Tags: @product
1:42.363
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.220
And the network is plugged 0.020
And Tor is ready 9.722
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.107
And I shutdown Tails and wait for the computer to power off 6.673
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.183
And I capture all network traffic 0.004
And the network is plugged 0.043
And Tor is ready 10.841
And I switch to the "persistent-con-current" NetworkManager connection 0.381
And the 1st network device has a spoofed MAC address configured 0.051
And no network device leaked the real MAC address 0.113
After features/support/hooks.rb:339 0.958
After features/support/hooks.rb:108 0.058
Tags: @product
38.034
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.540
And I enable persistence creation in Tails Greeter 1.081
And I log in to a new session expecting no warning about the Persistent Storage not being activated 13.565
Then I create a persistent partition with the default settings using the wizard that was already open 14.847
After features/support/hooks.rb:339 0.801
After features/support/hooks.rb:108 0.000
Tags: @product
2:48.425
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.743
When I enable persistence 16.439
Then no persistent Greeter options were restored 12.512
When I set all Greeter options to non-default values 38.253
Then the Welcome Screen's language is set to English 0.279
And the Welcome Screen's formats is set to United States 0.231
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.529
When I log in to a new session in German (de) after having activated the Persistent Storage 25.005
Then all Persistent Greeter options are set to non-default values 0.146
When I cold reboot the computer 6.239
And the computer reboots Tails 35.376
Then the Welcome Screen's language is set to English 0.331
And the Welcome Screen's formats is set to United States 0.190
Given I enable persistence 10.383
Then persistent Greeter options were restored 0.074
And the Welcome Screen's formats is set to Belgium 0.204
When I log in to a new session after having activated the Persistent Storage 9.358
Then all Persistent Greeter options are set to non-default values 0.124
After features/support/hooks.rb:339 0.893
After features/support/hooks.rb:108 0.023
Tags: @product
2:5.578
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.073
# 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 26.248
And I shutdown Tails and wait for the computer to power off 6.821
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:3.459
And I change the passphrase of the Persistent Storage back to the original 20.974
After features/support/hooks.rb:339 1.015
After features/support/hooks.rb:108 0.011
Tags: @product
38.773
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.297
And I log in to a new session without activating the Persistent Storage 14.527
Then persistence is disabled 0.126
But a Tails persistence partition exists on USB drive "__internal" 4.793
And all notifications have disappeared 7.997
When I delete the persistent partition 2.677
Then there is no persistence partition on USB drive "__internal" 0.354
After features/support/hooks.rb:339 1.076
After features/support/hooks.rb:108 0.000
Tags: @product
1:23.531
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.273
When I write some dotfile expected to persist 0.061
And I shutdown Tails and wait for the computer to power off 8.356
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.594
Then the expected persistent dotfile is present in the filesystem 0.245
After features/support/hooks.rb:339 0.728
After features/support/hooks.rb:108 0.065
Tags: @product
50.076
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.446
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.040
When I try to enable persistence 1.193
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 12.077
When I log in to a new session after having activated the Persistent Storage 9.966
And all notifications have disappeared 7.652
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.248
And all tps features are enabled 4.722
And all tps features but the first one are active 4.728
After features/support/hooks.rb:339 0.881
After features/support/hooks.rb:108 0.000
Tags: @product
1:9.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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 31.898
And I enable persistence 22.372
And I log in to a new session after having activated the Persistent Storage 9.467
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.553
And persistence is enabled 5.032
After features/support/hooks.rb:339 1.778
After features/support/hooks.rb:108 0.000
Tags: @product
25.436
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 7.093
And I enable persistence but something goes wrong during the LUKS header upgrade 17.763
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.579
After features/support/hooks.rb:339 0.795
After features/support/hooks.rb:108 0.000
Tags: @product
32.057
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.143
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.155
When I enable persistence 10.514
Then the filesystem of the Persistent Storage was repaired 0.047
And persistence is successfully enabled 5.196
After features/support/hooks.rb:339 0.636
After features/support/hooks.rb:108 0.000
Tags: @product
27.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 and stopped at Tails Greeter's login screen 8.215
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.252
When I try to enable persistence 1.292
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.086
When I repair the filesystem of the Persistent Storage 1.161
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.463
And the filesystem of the Persistent Storage was repaired 0.062
When I close the filesystem repair dialog 1.155
Then persistence is successfully enabled 3.764
After features/support/hooks.rb:339 0.812
After features/support/hooks.rb:108 0.000
Tags: @product @doc
41.996
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.559
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.051
When I try to enable persistence 1.162
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.647
When I repair the filesystem of the Persistent Storage 1.216
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.022
When I log in to a new session 10.583
And all notifications have disappeared 9.095
# 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.151
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.155
When I close the "whisperback" window 1.231
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.778
After features/support/hooks.rb:339 0.817
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.078
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.815
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.528
And Tails detects disk read failures on the boot device 0.373
When I try to enable persistence 1.176
Then the Welcome Screen tells me that my hardware is probably failing 3.169
When I log in to a new session 10.090
And all notifications have disappeared 9.004
Then the Tor Browser starts 1.244
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.675
After features/support/hooks.rb:339 0.691
After features/support/hooks.rb:108 0.000