Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 37 24 Jun 2026, 20:13

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 22:1.219 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:33.691
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:20.628
And I update the APT lists using apt 5.855
And I install "python3-behave" using apt 6.257
Then the Tails Persistent Storage behave tests pass 0.951
After features/support/hooks.rb:339 0.766
After features/support/hooks.rb:108 0.000
Tags: @product
28.825
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 and stopped at Tails Greeter's login screen 8.611
When I log in to a new session without activating the Persistent Storage 15.251
Then Tails is running from USB drive "__internal" 0.325
And persistence is disabled 0.100
But a Tails persistence partition exists on USB drive "__internal" 4.535
After features/support/hooks.rb:339 1.179
After features/support/hooks.rb:108 0.000
Tags: @product
1:41.831
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 without a persistent partition and logged in 8.877
Then Tails is running from USB drive "__internal" 0.324
When I create a file in the Persistent directory 0.102
And I create a persistent partition with the default settings 19.693
Then the file I created was copied to the Persistent Storage 0.076
When I shutdown Tails and wait for the computer to power off 6.834
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.679
Then persistence for "Persistent" is active 0.190
And the file I created in the Persistent directory exists 0.051
After features/support/hooks.rb:339 0.894
After features/support/hooks.rb:108 0.021
Tags: @product
31.388
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.834
And the system is very low on memory 4.377
When I create a file in the Persistent directory 0.163
When I try to create a persistent partition 4.557
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.100
When I close the Persistent Storage app 2.519
And I free up some memory 0.914
And I create a persistent partition with the default settings 10.866
Then the file I created was copied to the Persistent Storage 0.054
After features/support/hooks.rb:339 0.949
After features/support/hooks.rb:108 0.000
Tags: @product
1:48.108
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.093
Then Tails is running from USB drive "__internal" 0.442
And all tps features are active 6.137
And all persistent directories have safe access rights 2.078
When I disable the first tps feature 2.524
Then all tps features but the first one are active 4.652
And I shutdown Tails and wait for the computer to power off 8.481
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:10.397
Then all tps features but the first one are active 5.301
After features/support/hooks.rb:339 0.881
After features/support/hooks.rb:108 0.022
Tags: @product
13.516
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.072
Then persistence for "Persistent" is active 0.070
And I create a file in the Persistent directory 0.059
Then the file I created was copied to the Persistent Storage 0.067
When I disable the first tps feature 2.590
Then persistence for "Persistent" is not active 0.051
And the Persistent directory does not exist 0.043
When I enable the first tps feature 2.449
Then persistence for "Persistent" is active 0.051
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:339 0.701
After features/support/hooks.rb:108 0.000
Tags: @product
13.148
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.314
Then persistence for "Persistent" is active 0.098
When I create a file in the Persistent directory 0.054
And I disable the first tps feature 2.606
And I delete the data of the Persistent Folder feature 2.979
Then the file I created does not exist on the Persistent Storage 0.094
After features/support/hooks.rb:339 0.701
After features/support/hooks.rb:108 0.000
Tags: @product
44.638
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.443
And the network is plugged 0.016
And Tor is ready 12.661
And I take note of which tps features are available 4.146
When I write some files expected to persist 1.125
And I shutdown Tails and wait for the computer to power off 7.048
# 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.197
After features/support/hooks.rb:339 0.125
After features/support/hooks.rb:108 0.000
Tags: @product
1:50.637
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.137
And the network is plugged 0.020
And Tor is ready 9.742
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.141
And I shutdown Tails and wait for the computer to power off 8.226
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:11.262
And I capture all network traffic 0.004
And the network is plugged 0.042
And Tor is ready 13.557
And I switch to the "persistent-con-current" NetworkManager connection 0.326
And the 1st network device has a spoofed MAC address configured 0.064
And no network device leaked the real MAC address 0.112
After features/support/hooks.rb:339 0.812
After features/support/hooks.rb:108 0.084
Tags: @product
41.084
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.482
And I enable persistence creation in Tails Greeter 1.085
And I log in to a new session expecting no warning about the Persistent Storage not being activated 14.349
Then I create a persistent partition with the default settings using the wizard that was already open 17.166
After features/support/hooks.rb:339 0.728
After features/support/hooks.rb:108 0.000
Tags: @product
2:56.852
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.020
When I enable persistence 19.064
Then no persistent Greeter options were restored 13.144
When I set all Greeter options to non-default values 38.689
Then the Welcome Screen's language is set to English 0.270
And the Welcome Screen's formats is set to United States 0.244
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.503
When I log in to a new session in German (de) after having activated the Persistent Storage 24.953
Then all Persistent Greeter options are set to non-default values 0.148
When I cold reboot the computer 6.603
And the computer reboots Tails 38.114
Then the Welcome Screen's language is set to English 0.267
And the Welcome Screen's formats is set to United States 0.220
Given I enable persistence 11.268
Then persistent Greeter options were restored 0.069
And the Welcome Screen's formats is set to Belgium 0.198
When I log in to a new session after having activated the Persistent Storage 9.910
Then all Persistent Greeter options are set to non-default values 0.159
After features/support/hooks.rb:339 1.096
After features/support/hooks.rb:108 0.023
Tags: @product
2:14.761
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 8.423
# 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.623
And I shutdown Tails and wait for the computer to power off 7.084
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:7.586
And I change the passphrase of the Persistent Storage back to the original 23.044
After features/support/hooks.rb:339 1.666
After features/support/hooks.rb:108 0.006
Tags: @product
38.136
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.095
And I log in to a new session without activating the Persistent Storage 14.189
Then persistence is disabled 0.114
But a Tails persistence partition exists on USB drive "__internal" 4.300
And all notifications have disappeared 8.213
When I delete the persistent partition 2.838
Then there is no persistence partition on USB drive "__internal" 0.384
After features/support/hooks.rb:339 0.811
After features/support/hooks.rb:108 0.000
Tags: @product
1:25.645
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 8.283
When I write some dotfile expected to persist 0.071
And I shutdown Tails and wait for the computer to power off 6.800
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:10.274
Then the expected persistent dotfile is present in the filesystem 0.215
After features/support/hooks.rb:339 0.631
After features/support/hooks.rb:108 0.050
Tags: @product
50.104
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.123
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.051
When I try to enable persistence 1.192
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 10.380
When I log in to a new session after having activated the Persistent Storage 10.437
And all notifications have disappeared 8.285
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.298
And all tps features are enabled 5.173
And all tps features but the first one are active 5.161
After features/support/hooks.rb:339 0.690
After features/support/hooks.rb:108 0.000
Tags: @product
1:12.258
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 30.638
And I enable persistence 23.976
And I log in to a new session after having activated the Persistent Storage 11.167
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.655
And persistence is enabled 5.820
After features/support/hooks.rb:339 1.314
After features/support/hooks.rb:108 0.000
Tags: @product
26.640
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 6.868
And I enable persistence but something goes wrong during the LUKS header upgrade 19.160
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.611
After features/support/hooks.rb:339 0.597
After features/support/hooks.rb:108 0.000
Tags: @product
34.289
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 and stopped at Tails Greeter's login screen 8.465
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.941
When I enable persistence 11.874
Then the filesystem of the Persistent Storage was repaired 0.059
And persistence is successfully enabled 5.949
After features/support/hooks.rb:339 0.923
After features/support/hooks.rb:108 0.000
Tags: @product
27.088
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.386
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.189
When I try to enable persistence 1.341
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.265
When I repair the filesystem of the Persistent Storage 1.185
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.377
And the filesystem of the Persistent Storage was repaired 0.064
When I close the filesystem repair dialog 1.180
Then persistence is successfully enabled 4.095
After features/support/hooks.rb:339 0.846
After features/support/hooks.rb:108 0.000
Tags: @product @doc
43.482
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 and stopped at Tails Greeter's login screen 7.464
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.050
When I try to enable persistence 1.160
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.869
When I repair the filesystem of the Persistent Storage 1.237
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.026
When I log in to a new session 11.549
And all notifications have disappeared 8.829
# 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.206
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.577
When I close the "whisperback" window 1.178
Then the Tor Browser starts 1.472
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.859
After features/support/hooks.rb:339 0.863
After features/support/hooks.rb:108 0.000
Tags: @product @doc
45.088
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 and stopped at Tails Greeter's login screen 7.463
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.161
And Tails detects disk read failures on the boot device 1.347
When I try to enable persistence 1.178
Then the Welcome Screen tells me that my hardware is probably failing 3.387
When I log in to a new session 11.235
And all notifications have disappeared 9.686
Then the Tor Browser starts 1.871
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.755
After features/support/hooks.rb:339 0.658
After features/support/hooks.rb:108 0.000