Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 50 07 Jul 2026, 20:09

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:47.195 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:33.773
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.036
And I update the APT lists using apt 6.570
And I install "python3-behave" using apt 6.242
Then the Tails Persistent Storage behave tests pass 0.924
After features/support/hooks.rb:339 1.044
After features/support/hooks.rb:108 0.000
Tags: @product
28.933
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 9.151
When I log in to a new session without activating the Persistent Storage 14.887
Then Tails is running from USB drive "__internal" 0.217
And persistence is disabled 0.083
But a Tails persistence partition exists on USB drive "__internal" 4.593
After features/support/hooks.rb:339 0.818
After features/support/hooks.rb:108 0.000
Tags: @product
1:40.392
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.368
Then Tails is running from USB drive "__internal" 0.315
When I create a file in the Persistent directory 0.106
And I create a persistent partition with the default settings 18.086
Then the file I created was copied to the Persistent Storage 0.048
When I shutdown Tails and wait for the computer to power off 6.849
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.376
Then persistence for "Persistent" is active 0.198
And the file I created in the Persistent directory exists 0.043
After features/support/hooks.rb:339 0.840
After features/support/hooks.rb:108 0.029
Tags: @product
28.399
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 7.377
And the system is very low on memory 3.324
When I create a file in the Persistent directory 0.344
When I try to create a persistent partition 4.969
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.110
When I close the Persistent Storage app 2.342
And I free up some memory 0.891
And I create a persistent partition with the default settings 8.990
Then the file I created was copied to the Persistent Storage 0.047
After features/support/hooks.rb:339 0.847
After features/support/hooks.rb:108 0.000
Tags: @product
1:46.592
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.526
Then Tails is running from USB drive "__internal" 0.314
And all tps features are active 5.125
And all persistent directories have safe access rights 1.858
When I disable the first tps feature 2.505
Then all tps features but the first one are active 5.490
And I shutdown Tails and wait for the computer to power off 8.155
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:9.024
Then all tps features but the first one are active 5.591
After features/support/hooks.rb:339 0.690
After features/support/hooks.rb:108 0.032
Tags: @product
13.081
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.640
Then persistence for "Persistent" is active 0.080
And I create a file in the Persistent directory 0.051
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 2.632
Then persistence for "Persistent" is not active 0.047
And the Persistent directory does not exist 0.047
When I enable the first tps feature 2.422
Then persistence for "Persistent" is active 0.051
And the file I created in the Persistent directory exists 0.041
After features/support/hooks.rb:339 0.821
After features/support/hooks.rb:108 0.000
Tags: @product
12.989
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.361
Then persistence for "Persistent" is active 0.059
When I create a file in the Persistent directory 0.062
And I disable the first tps feature 2.581
And I delete the data of the Persistent Folder feature 2.876
Then the file I created does not exist on the Persistent Storage 0.048
After features/support/hooks.rb:339 0.812
After features/support/hooks.rb:108 0.000
Tags: @product
44.954
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.435
And the network is plugged 0.018
And Tor is ready 13.166
And I take note of which tps features are available 4.061
When I write some files expected to persist 1.267
And I shutdown Tails and wait for the computer to power off 7.116
# 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.888
After features/support/hooks.rb:339 0.331
After features/support/hooks.rb:108 0.000
Tags: @product
1:46.119
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.838
And the network is plugged 0.025
And Tor is ready 10.790
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.144
And I shutdown Tails and wait for the computer to power off 6.996
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:8.245
And I capture all network traffic 0.004
And the network is plugged 0.018
And Tor is ready 11.407
And I switch to the "persistent-con-current" NetworkManager connection 0.390
And the 1st network device has a spoofed MAC address configured 0.061
And no network device leaked the real MAC address 0.194
After features/support/hooks.rb:339 0.720
After features/support/hooks.rb:108 0.075
Tags: @product
41.916
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.622
And I enable persistence creation in Tails Greeter 1.074
And I log in to a new session expecting no warning about the Persistent Storage not being activated 14.880
Then I create a persistent partition with the default settings using the wizard that was already open 17.337
After features/support/hooks.rb:339 1.018
After features/support/hooks.rb:108 0.000
Tags: @product
2:56.470
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.534
When I enable persistence 18.357
Then no persistent Greeter options were restored 12.923
When I set all Greeter options to non-default values 38.604
Then the Welcome Screen's language is set to English 0.367
And the Welcome Screen's formats is set to United States 0.288
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.540
When I log in to a new session in German (de) after having activated the Persistent Storage 24.688
Then all Persistent Greeter options are set to non-default values 0.184
When I cold reboot the computer 7.780
And the computer reboots Tails 38.115
Then the Welcome Screen's language is set to English 0.241
And the Welcome Screen's formats is set to United States 0.207
Given I enable persistence 10.824
Then persistent Greeter options were restored 0.140
And the Welcome Screen's formats is set to Belgium 0.274
When I log in to a new session after having activated the Persistent Storage 10.235
Then all Persistent Greeter options are set to non-default values 0.161
After features/support/hooks.rb:339 0.960
After features/support/hooks.rb:108 0.066
Tags: @product
2:12.965
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 8.400
# 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.325
And I shutdown Tails and wait for the computer to power off 7.026
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:6.932
And I change the passphrase of the Persistent Storage back to the original 22.279
After features/support/hooks.rb:339 1.539
After features/support/hooks.rb:108 0.029
Tags: @product
39.337
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.634
And I log in to a new session without activating the Persistent Storage 15.060
Then persistence is disabled 0.092
But a Tails persistence partition exists on USB drive "__internal" 4.448
And all notifications have disappeared 7.881
When I delete the persistent partition 2.670
Then there is no persistence partition on USB drive "__internal" 0.548
After features/support/hooks.rb:339 1.122
After features/support/hooks.rb:108 0.000
Tags: @product
1:26.622
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 8.219
When I write some dotfile expected to persist 0.100
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:11.259
Then the expected persistent dotfile is present in the filesystem 0.242
After features/support/hooks.rb:339 0.630
After features/support/hooks.rb:108 0.006
Tags: @product
49.564
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.235
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.047
When I try to enable persistence 1.188
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 11.194
When I log in to a new session after having activated the Persistent Storage 9.545
And all notifications have disappeared 8.141
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.318
And all tps features are enabled 4.627
And all tps features but the first one are active 5.264
After features/support/hooks.rb:339 0.869
After features/support/hooks.rb:108 0.000
Tags: @product
1:11.653
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 29.801
And I enable persistence 24.385
And I log in to a new session after having activated the Persistent Storage 11.506
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.557
And persistence is enabled 5.402
After features/support/hooks.rb:339 0.693
After features/support/hooks.rb:108 0.000
Tags: @product
27.102
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.040
And I enable persistence but something goes wrong during the LUKS header upgrade 19.486
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.575
After features/support/hooks.rb:339 0.596
After features/support/hooks.rb:108 0.000
Tags: @product
33.156
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.786
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.593
When I enable persistence 11.000
Then the filesystem of the Persistent Storage was repaired 0.049
And persistence is successfully enabled 5.725
After features/support/hooks.rb:339 0.574
After features/support/hooks.rb:108 0.000
Tags: @product
27.541
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.197
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.957
When I try to enable persistence 1.229
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.259
When I repair the filesystem of the Persistent Storage 1.158
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.376
And the filesystem of the Persistent Storage was repaired 0.060
When I close the filesystem repair dialog 1.160
Then persistence is successfully enabled 4.141
After features/support/hooks.rb:339 0.689
After features/support/hooks.rb:108 0.000
Tags: @product @doc
43.415
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.589
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.061
When I try to enable persistence 1.165
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.613
When I repair the filesystem of the Persistent Storage 1.170
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.028
When I log in to a new session 11.876
And all notifications have disappeared 8.579
# 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.441
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.532
When I close the "whisperback" window 1.209
Then the Tor Browser starts 1.351
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.795
After features/support/hooks.rb:339 0.884
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.211
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.391
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.851
And Tails detects disk read failures on the boot device 0.371
When I try to enable persistence 1.178
Then the Welcome Screen tells me that my hardware is probably failing 3.149
When I log in to a new session 10.322
And all notifications have disappeared 9.270
Then the Tor Browser starts 1.925
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.750
After features/support/hooks.rb:339 1.086
After features/support/hooks.rb:108 0.000