Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 18 08 Jun 2026, 19:37

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:28.042 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:34.246
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:20.780
And I update the APT lists using apt 6.251
And I install "python3-behave" using apt 6.269
Then the Tails Persistent Storage behave tests pass 0.945
After features/support/hooks.rb:335 1.081
After features/support/hooks.rb:104 0.000
Tags: @product
29.483
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 and stopped at Tails Greeter's login screen 8.662
When I log in to a new session without activating the Persistent Storage 15.304
Then Tails is running from USB drive "__internal" 0.247
And persistence is disabled 0.110
But a Tails persistence partition exists on USB drive "__internal" 5.158
After features/support/hooks.rb:335 0.920
After features/support/hooks.rb:104 0.000
Tags: @product
1:35.915
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 without a persistent partition and logged in 8.723
Then Tails is running from USB drive "__internal" 0.360
When I create a file in the Persistent directory 0.113
And I create a persistent partition with the default settings 17.745
Then the file I created was copied to the Persistent Storage 0.060
When I shutdown Tails and wait for the computer to power off 7.336
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.333
Then persistence for "Persistent" is active 0.201
And the file I created in the Persistent directory exists 0.042
After features/support/hooks.rb:335 0.873
After features/support/hooks.rb:104 0.006
Tags: @product
29.255
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails without network from a USB drive without a persistent partition and logged in 7.564
And the system is very low on memory 3.891
When I create a file in the Persistent directory 0.199
When I try to create a persistent partition 4.544
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.271
When I close the Persistent Storage app 2.384
And I free up some memory 0.779
And I create a persistent partition with the default settings 9.571
Then the file I created was copied to the Persistent Storage 0.049
After features/support/hooks.rb:335 1.037
After features/support/hooks.rb:104 0.000
Tags: @product
1:30.791
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.493
Then Tails is running from USB drive "__internal" 0.284
And all tps features are active 1.171
And all persistent directories have safe access rights 1.992
When I disable the first tps feature 2.561
Then all tps features but the first one are active 1.187
And I shutdown Tails and wait for the computer to power off 8.505
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.443
Then all tps features but the first one are active 1.150
After features/support/hooks.rb:335 0.977
After features/support/hooks.rb:104 0.006
Tags: @product
12.815
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.517
Then persistence for "Persistent" is active 0.067
And I create a file in the Persistent directory 0.099
Then the file I created was copied to the Persistent Storage 0.052
When I disable the first tps feature 2.457
Then persistence for "Persistent" is not active 0.049
And the Persistent directory does not exist 0.027
When I enable the first tps feature 2.434
Then persistence for "Persistent" is active 0.051
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:335 0.941
After features/support/hooks.rb:104 0.000
Tags: @product
13.457
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.312
Then persistence for "Persistent" is active 0.066
When I create a file in the Persistent directory 0.055
And I disable the first tps feature 2.593
And I delete the data of the Persistent Folder feature 3.383
Then the file I created does not exist on the Persistent Storage 0.046
After features/support/hooks.rb:335 0.927
After features/support/hooks.rb:104 0.000
Tags: @product
39.679
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.234
And the network is plugged 0.018
And Tor is ready 12.911
And I take note of which tps features are available 0.212
When I write some files expected to persist 1.303
And I shutdown Tails and wait for the computer to power off 5.528
# 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.470
After features/support/hooks.rb:335 0.179
After features/support/hooks.rb:104 0.000
Tags: @product
1:43.150
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.822
And the network is plugged 0.013
And Tor is ready 9.658
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.155
And I shutdown Tails and wait for the computer to power off 7.258
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.690
And I capture all network traffic 0.003
And the network is plugged 0.020
And Tor is ready 12.928
And I switch to the "persistent-con-current" NetworkManager connection 0.368
And the 1st network device has a spoofed MAC address configured 0.076
And no network device leaked the real MAC address 0.153
After features/support/hooks.rb:335 0.775
After features/support/hooks.rb:104 0.045
Tags: @product
39.475
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.562
And I enable persistence creation in Tails Greeter 1.125
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.731
Then I create a persistent partition with the default settings using the wizard that was already open 17.056
After features/support/hooks.rb:335 1.014
After features/support/hooks.rb:104 0.000
Tags: @product
2:46.587
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.649
When I enable persistence 14.177
Then no persistent Greeter options were restored 12.952
When I set all Greeter options to non-default values 38.289
Then the Welcome Screen's language is set to English 0.316
And the Welcome Screen's formats is set to United States 0.202
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.642
When I log in to a new session in German (de) after having activated the Persistent Storage 25.094
Then all Persistent Greeter options are set to non-default values 0.168
When I cold reboot the computer 6.209
And the computer reboots Tails 37.694
Then the Welcome Screen's language is set to English 0.277
And the Welcome Screen's formats is set to United States 0.171
Given I enable persistence 7.424
Then persistent Greeter options were restored 0.082
And the Welcome Screen's formats is set to Belgium 0.215
When I log in to a new session after having activated the Persistent Storage 9.854
Then all Persistent Greeter options are set to non-default values 0.162
After features/support/hooks.rb:335 0.729
After features/support/hooks.rb:104 0.007
Tags: @product
2:2.837
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.498
# 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 27.791
And I shutdown Tails and wait for the computer to power off 5.481
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:2.501
And I change the passphrase of the Persistent Storage back to the original 18.564
After features/support/hooks.rb:335 1.364
After features/support/hooks.rb:104 0.007
Tags: @product
38.283
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 and stopped at Tails Greeter's login screen 8.120
And I log in to a new session without activating the Persistent Storage 14.730
Then persistence is disabled 0.123
But a Tails persistence partition exists on USB drive "__internal" 4.540
And all notifications have disappeared 7.633
When I delete the persistent partition 2.753
Then there is no persistence partition on USB drive "__internal" 0.382
After features/support/hooks.rb:335 1.001
After features/support/hooks.rb:104 0.000
Tags: @product
1:22.001
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.241
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 7.190
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.224
Then the expected persistent dotfile is present in the filesystem 0.268
After features/support/hooks.rb:335 0.854
After features/support/hooks.rb:104 0.008
Tags: @product
41.942
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 and stopped at Tails Greeter's login screen 8.238
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 1.182
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 9.921
When I log in to a new session after having activated the Persistent Storage 10.913
And all notifications have disappeared 7.713
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.323
And all tps features are enabled 1.272
And all tps features but the first one are active 1.294
After features/support/hooks.rb:335 0.837
After features/support/hooks.rb:104 0.000
Tags: @product
1:4.866
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.404
And I enable persistence 20.110
And I log in to a new session after having activated the Persistent Storage 11.045
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.761
And persistence is enabled 1.544
After features/support/hooks.rb:335 0.896
After features/support/hooks.rb:104 0.000
Tags: @product
22.874
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 6.931
And I enable persistence but something goes wrong during the LUKS header upgrade 15.416
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.526
After features/support/hooks.rb:335 0.848
After features/support/hooks.rb:104 0.000
Tags: @product
25.283
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.485
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.499
When I enable persistence 6.635
Then the filesystem of the Persistent Storage was repaired 0.046
And persistence is successfully enabled 1.616
After features/support/hooks.rb:335 1.466
After features/support/hooks.rb:104 0.000
Tags: @product
26.237
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 and stopped at Tails Greeter's login screen 8.328
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.708
When I try to enable persistence 1.246
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.052
When I repair the filesystem of the Persistent Storage 1.189
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.434
And the filesystem of the Persistent Storage was repaired 0.059
When I close the filesystem repair dialog 1.183
Then persistence is successfully enabled 1.034
After features/support/hooks.rb:335 1.242
After features/support/hooks.rb:104 0.000
Tags: @product @doc
44.616
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.475
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.052
When I try to enable persistence 1.166
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 9.921
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.034
When I log in to a new session 11.384
And all notifications have disappeared 9.267
# 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.188
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.725
When I close the "whisperback" window 1.211
Then the Tor Browser starts 1.277
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.745
After features/support/hooks.rb:335 0.699
After features/support/hooks.rb:104 0.000
Tags: @product @doc
44.240
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.656
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.235
And Tails detects disk read failures on the boot device 1.351
When I try to enable persistence 1.179
Then the Welcome Screen tells me that my hardware is probably failing 2.760
When I log in to a new session 11.726
And all notifications have disappeared 9.184
Then the Tor Browser starts 1.378
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.768
After features/support/hooks.rb:335 1.204
After features/support/hooks.rb:104 0.000