Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 17 08 Jun 2026, 18:07

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:54.549 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:34.018
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:20.295
And I update the APT lists using apt 6.377
And I install "python3-behave" using apt 6.322
Then the Tails Persistent Storage behave tests pass 1.023
After features/support/hooks.rb:335 0.759
After features/support/hooks.rb:104 0.000
Tags: @product
28.479
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 with a persistent partition and stopped at Tails Greeter's login screen 8.671
When I log in to a new session without activating the Persistent Storage 14.601
Then Tails is running from USB drive "__internal" 0.276
And persistence is disabled 0.125
But a Tails persistence partition exists on USB drive "__internal" 4.805
After features/support/hooks.rb:335 0.803
After features/support/hooks.rb:104 0.000
Tags: @product
1:40.183
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.586
Then Tails is running from USB drive "__internal" 0.374
When I create a file in the Persistent directory 0.130
And I create a persistent partition with the default settings 18.984
Then the file I created was copied to the Persistent Storage 0.058
When I shutdown Tails and wait for the computer to power off 7.109
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.703
Then persistence for "Persistent" is active 0.184
And the file I created in the Persistent directory exists 0.050
After features/support/hooks.rb:335 0.607
After features/support/hooks.rb:104 0.019
Tags: @product
29.644
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 7.587
And the system is very low on memory 4.045
When I create a file in the Persistent directory 0.209
When I try to create a persistent partition 4.776
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.127
When I close the Persistent Storage app 2.419
And I free up some memory 0.793
And I create a persistent partition with the default settings 9.630
Then the file I created was copied to the Persistent Storage 0.055
After features/support/hooks.rb:335 0.676
After features/support/hooks.rb:104 0.000
Tags: @product
1:31.530
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.584
Then Tails is running from USB drive "__internal" 0.257
And all tps features are active 1.167
And all persistent directories have safe access rights 2.292
When I disable the first tps feature 2.491
Then all tps features but the first one are active 1.244
And I shutdown Tails and wait for the computer to power off 7.100
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.164
Then all tps features but the first one are active 1.227
After features/support/hooks.rb:335 0.782
After features/support/hooks.rb:104 0.015
Tags: @product
13.195
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.706
Then persistence for "Persistent" is active 0.073
And I create a file in the Persistent directory 0.063
Then the file I created was copied to the Persistent Storage 0.051
When I disable the first tps feature 2.596
Then persistence for "Persistent" is not active 0.052
And the Persistent directory does not exist 0.038
When I enable the first tps feature 2.464
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:335 1.050
After features/support/hooks.rb:104 0.000
Tags: @product
12.997
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.310
Then persistence for "Persistent" is active 0.084
When I create a file in the Persistent directory 0.047
And I disable the first tps feature 2.549
And I delete the data of the Persistent Folder feature 2.947
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:335 0.804
After features/support/hooks.rb:104 0.000
Tags: @product
40.883
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.251
And the network is plugged 0.023
And Tor is ready 12.331
And I take note of which tps features are available 0.195
When I write some files expected to persist 1.450
And I shutdown Tails and wait for the computer to power off 6.971
# 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.659
After features/support/hooks.rb:335 0.407
After features/support/hooks.rb:104 0.000
Tags: @product
1:42.659
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.567
And the network is plugged 0.022
And Tor is ready 10.373
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 6.881
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.993
And I capture all network traffic 0.026
And the network is plugged 0.022
And Tor is ready 12.066
And I switch to the "persistent-con-current" NetworkManager connection 0.388
And the 1st network device has a spoofed MAC address configured 0.085
And no network device leaked the real MAC address 0.104
After features/support/hooks.rb:335 0.736
After features/support/hooks.rb:104 0.055
Tags: @product
42.229
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 stopped at Tails Greeter's login screen 8.715
And I enable persistence creation in Tails Greeter 1.105
And I log in to a new session expecting no warning about the Persistent Storage not being activated 15.343
Then I create a persistent partition with the default settings using the wizard that was already open 17.064
After features/support/hooks.rb:335 1.378
After features/support/hooks.rb:104 0.000
Tags: @product
2:51.704
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.849
When I enable persistence 13.608
Then no persistent Greeter options were restored 13.163
When I set all Greeter options to non-default values 38.894
Then the Welcome Screen's language is set to English 0.345
And the Welcome Screen's formats is set to United States 0.297
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.632
When I log in to a new session in German (de) after having activated the Persistent Storage 26.157
Then all Persistent Greeter options are set to non-default values 0.162
When I cold reboot the computer 6.429
And the computer reboots Tails 38.159
Then the Welcome Screen's language is set to English 0.263
And the Welcome Screen's formats is set to United States 0.251
Given I enable persistence 8.452
Then persistent Greeter options were restored 0.075
And the Welcome Screen's formats is set to Belgium 0.257
When I log in to a new session after having activated the Persistent Storage 11.511
Then all Persistent Greeter options are set to non-default values 0.193
After features/support/hooks.rb:335 0.636
After features/support/hooks.rb:104 0.007
Tags: @product
2:13.343
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 with a persistent partition enabled and logged in 8.662
# 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.052
And I shutdown Tails and wait for the computer to power off 5.937
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:4.652
And I change the passphrase of the Persistent Storage back to the original 26.038
After features/support/hooks.rb:335 1.443
After features/support/hooks.rb:104 0.035
Tags: @product
40.288
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.013
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.987
And I log in to a new session without activating the Persistent Storage 14.990
Then persistence is disabled 0.115
But a Tails persistence partition exists on USB drive "__internal" 4.944
And all notifications have disappeared 7.947
When I delete the persistent partition 2.793
Then there is no persistence partition on USB drive "__internal" 0.510
After features/support/hooks.rb:335 1.067
After features/support/hooks.rb:104 0.000
Tags: @product
1:21.094
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.780
When I write some dotfile expected to persist 0.048
And I shutdown Tails and wait for the computer to power off 5.425
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.636
Then the expected persistent dotfile is present in the filesystem 0.203
After features/support/hooks.rb:335 0.785
After features/support/hooks.rb:104 0.016
Tags: @product
44.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.453
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 1.205
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 11.503
When I log in to a new session after having activated the Persistent Storage 11.071
And all notifications have disappeared 7.856
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.371
And all tps features are enabled 1.245
And all tps features but the first one are active 1.273
After features/support/hooks.rb:335 0.774
After features/support/hooks.rb:104 0.000
Tags: @product
1:6.808
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 31.651
And I enable persistence 21.103
And I log in to a new session after having activated the Persistent Storage 11.912
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.575
And persistence is enabled 1.566
After features/support/hooks.rb:335 1.134
After features/support/hooks.rb:104 0.000
Tags: @product
22.891
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.292
And I enable persistence but something goes wrong during the LUKS header upgrade 15.051
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.547
After features/support/hooks.rb:335 0.980
After features/support/hooks.rb:104 0.000
Tags: @product
25.257
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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 8.767
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.562
When I enable persistence 7.018
Then the filesystem of the Persistent Storage was repaired 0.045
And persistence is successfully enabled 1.864
After features/support/hooks.rb:335 1.027
After features/support/hooks.rb:104 0.000
Tags: @product
25.501
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 7.657
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.895
When I try to enable persistence 1.238
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.849
When I repair the filesystem of the Persistent Storage 1.224
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.462
And the filesystem of the Persistent Storage was repaired 0.081
When I close the filesystem repair dialog 1.159
Then persistence is successfully enabled 0.932
After features/support/hooks.rb:335 0.730
After features/support/hooks.rb:104 0.000
Tags: @product @doc
44.688
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 with a persistent partition and stopped at Tails Greeter's login screen 7.253
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.057
When I try to enable persistence 1.219
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 9.163
When I repair the filesystem of the Persistent Storage 1.166
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.032
When I log in to a new session 12.471
And all notifications have disappeared 9.447
# 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.230
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.387
When I close the "whisperback" window 1.167
Then the Tor Browser starts 1.334
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.756
After features/support/hooks.rb:335 0.648
After features/support/hooks.rb:104 0.000
Tags: @product @doc
43.090
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 7.892
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.747
And Tails detects disk read failures on the boot device 0.396
When I try to enable persistence 1.218
Then the Welcome Screen tells me that my hardware is probably failing 3.091
When I log in to a new session 11.067
And all notifications have disappeared 8.257
Then the Tor Browser starts 1.567
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.850
After features/support/hooks.rb:335 0.720
After features/support/hooks.rb:104 0.000