Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 34 21 Jun 2026, 20:20

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:25.896 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:31.373
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.927
And I update the APT lists using apt 6.353
And I install "python3-behave" using apt 6.236
Then the Tails Persistent Storage behave tests pass 0.854
After features/support/hooks.rb:339 0.877
After features/support/hooks.rb:108 0.000
Tags: @product
29.255
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 9.134
When I log in to a new session without activating the Persistent Storage 14.980
Then Tails is running from USB drive "__internal" 0.245
And persistence is disabled 0.082
But a Tails persistence partition exists on USB drive "__internal" 4.812
After features/support/hooks.rb:339 1.207
After features/support/hooks.rb:108 0.000
Tags: @product
1:37.952
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.773
Then Tails is running from USB drive "__internal" 0.319
When I create a file in the Persistent directory 0.097
And I create a persistent partition with the default settings 17.642
Then the file I created was copied to the Persistent Storage 0.041
When I shutdown Tails and wait for the computer to power off 5.823
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.025
Then persistence for "Persistent" is active 0.172
And the file I created in the Persistent directory exists 0.055
After features/support/hooks.rb:339 0.799
After features/support/hooks.rb:108 0.021
Tags: @product
28.884
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.019
Given I have started Tails without network from a USB drive without a persistent partition and logged in 7.783
And the system is very low on memory 3.511
When I create a file in the Persistent directory 0.170
When I try to create a persistent partition 4.736
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.097
When I close the Persistent Storage app 2.443
And I free up some memory 0.936
And I create a persistent partition with the default settings 9.154
Then the file I created was copied to the Persistent Storage 0.051
After features/support/hooks.rb:339 1.148
After features/support/hooks.rb:108 0.000
Tags: @product
1:45.019
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 9.040
Then Tails is running from USB drive "__internal" 0.339
And all tps features are active 4.906
And all persistent directories have safe access rights 2.014
When I disable the first tps feature 2.557
Then all tps features but the first one are active 5.366
And I shutdown Tails and wait for the computer to power off 7.157
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:8.653
Then all tps features but the first one are active 4.982
After features/support/hooks.rb:339 0.757
After features/support/hooks.rb:108 0.020
Tags: @product
13.072
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.753
Then persistence for "Persistent" is active 0.062
And I create a file in the Persistent directory 0.053
Then the file I created was copied to the Persistent Storage 0.064
When I disable the first tps feature 2.471
Then persistence for "Persistent" is not active 0.050
And the Persistent directory does not exist 0.036
When I enable the first tps feature 2.473
Then persistence for "Persistent" is active 0.056
And the file I created in the Persistent directory exists 0.049
After features/support/hooks.rb:339 0.794
After features/support/hooks.rb:108 0.000
Tags: @product
13.138
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.018
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.618
Then persistence for "Persistent" is active 0.068
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 2.508
And I delete the data of the Persistent Folder feature 2.834
Then the file I created does not exist on the Persistent Storage 0.040
After features/support/hooks.rb:339 0.654
After features/support/hooks.rb:108 0.000
Tags: @product
39.732
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.557
And the network is plugged 0.017
And Tor is ready 9.704
And I take note of which tps features are available 3.833
When I write some files expected to persist 1.134
And I shutdown Tails and wait for the computer to power off 5.585
# 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.899
After features/support/hooks.rb:339 0.561
After features/support/hooks.rb:108 0.000
Tags: @product
1:44.928
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.512
And the network is plugged 0.022
And Tor is ready 10.146
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.127
And I shutdown Tails and wait for the computer to power off 5.677
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:9.577
And I capture all network traffic 0.021
And the network is plugged 0.021
And Tor is ready 11.307
And I switch to the "persistent-con-current" NetworkManager connection 0.392
And the 1st network device has a spoofed MAC address configured 0.049
And no network device leaked the real MAC address 0.073
After features/support/hooks.rb:339 1.043
After features/support/hooks.rb:108 0.073
Tags: @product
40.446
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.017
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 8.964
And I enable persistence creation in Tails Greeter 1.087
And I log in to a new session expecting no warning about the Persistent Storage not being activated 13.299
Then I create a persistent partition with the default settings using the wizard that was already open 17.095
After features/support/hooks.rb:339 1.067
After features/support/hooks.rb:108 0.000
Tags: @product
2:51.925
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.989
When I enable persistence 16.998
Then no persistent Greeter options were restored 12.634
When I set all Greeter options to non-default values 38.316
Then the Welcome Screen's language is set to English 0.323
And the Welcome Screen's formats is set to United States 0.234
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.623
When I log in to a new session in German (de) after having activated the Persistent Storage 24.418
Then all Persistent Greeter options are set to non-default values 0.156
When I cold reboot the computer 6.318
And the computer reboots Tails 37.222
Then the Welcome Screen's language is set to English 0.283
And the Welcome Screen's formats is set to United States 0.178
Given I enable persistence 11.363
Then persistent Greeter options were restored 0.100
And the Welcome Screen's formats is set to Belgium 0.242
When I log in to a new session after having activated the Persistent Storage 9.367
Then all Persistent Greeter options are set to non-default values 0.154
After features/support/hooks.rb:339 0.907
After features/support/hooks.rb:108 0.021
Tags: @product
2:12.833
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 8.679
# 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.395
And I shutdown Tails and wait for the computer to power off 5.796
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:8.807
And I change the passphrase of the Persistent Storage back to the original 21.154
After features/support/hooks.rb:339 1.357
After features/support/hooks.rb:108 0.016
Tags: @product
39.822
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.018
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.969
And I log in to a new session without activating the Persistent Storage 14.456
Then persistence is disabled 0.111
But a Tails persistence partition exists on USB drive "__internal" 4.737
And all notifications have disappeared 8.400
When I delete the persistent partition 2.784
Then there is no persistence partition on USB drive "__internal" 0.362
After features/support/hooks.rb:339 1.166
After features/support/hooks.rb:108 0.000
Tags: @product
1:24.516
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.018
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.259
When I write some dotfile expected to persist 0.057
And I shutdown Tails and wait for the computer to power off 5.832
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:10.120
Then the expected persistent dotfile is present in the filesystem 0.246
After features/support/hooks.rb:339 0.734
After features/support/hooks.rb:108 0.024
Tags: @product
51.152
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.233
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.062
When I try to enable persistence 1.159
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 10.298
When I log in to a new session after having activated the Persistent Storage 11.562
And all notifications have disappeared 8.065
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.283
And all tps features are enabled 5.143
And all tps features but the first one are active 5.343
After features/support/hooks.rb:339 0.576
After features/support/hooks.rb:108 0.000
Tags: @product
1:12.104
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.025
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.391
And I enable persistence 23.895
And I log in to a new session after having activated the Persistent Storage 10.319
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.545
And persistence is enabled 4.952
After features/support/hooks.rb:339 0.963
After features/support/hooks.rb:108 0.000
Tags: @product
25.410
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 7.323
And I enable persistence but something goes wrong during the LUKS header upgrade 17.406
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.680
After features/support/hooks.rb:339 0.825
After features/support/hooks.rb:108 0.000
Tags: @product
32.190
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.262
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.524
When I enable persistence 10.425
Then the filesystem of the Persistent Storage was repaired 0.049
And persistence is successfully enabled 5.927
After features/support/hooks.rb:339 1.315
After features/support/hooks.rb:108 0.000
Tags: @product
29.334
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.019
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.329
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.139
When I try to enable persistence 1.239
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.565
When I repair the filesystem of the Persistent Storage 1.175
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.428
And the filesystem of the Persistent Storage was repaired 0.059
When I close the filesystem repair dialog 1.186
Then persistence is successfully enabled 4.211
After features/support/hooks.rb:339 0.905
After features/support/hooks.rb:108 0.000
Tags: @product @doc
41.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 persistent partition and stopped at Tails Greeter's login screen 7.648
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.059
When I try to enable persistence 1.148
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.575
When I repair the filesystem of the Persistent Storage 1.161
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.024
When I log in to a new session 10.205
And all notifications have disappeared 8.790
# 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.220
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.104
When I close the "whisperback" window 1.186
Then the Tor Browser starts 1.400
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 1.029
After features/support/hooks.rb:108 0.000
Tags: @product @doc
41.562
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.608
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.496
And Tails detects disk read failures on the boot device 1.346
When I try to enable persistence 1.144
Then the Welcome Screen tells me that my hardware is probably failing 2.583
When I log in to a new session 9.925
And all notifications have disappeared 9.411
Then the Tor Browser starts 1.405
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.640
After features/support/hooks.rb:339 0.681
After features/support/hooks.rb:108 0.000