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

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:35.711 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:33.102
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:19.642
And I update the APT lists using apt 6.336
And I install "python3-behave" using apt 6.265
Then the Tails Persistent Storage behave tests pass 0.858
After features/support/hooks.rb:335 0.820
After features/support/hooks.rb:104 0.000
Tags: @product
29.778
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.944
When I log in to a new session without activating the Persistent Storage 15.432
Then Tails is running from USB drive "__internal" 0.271
And persistence is disabled 0.099
But a Tails persistence partition exists on USB drive "__internal" 5.031
After features/support/hooks.rb:335 0.959
After features/support/hooks.rb:104 0.000
Tags: @product
1:36.853
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 without a persistent partition and logged in 8.384
Then Tails is running from USB drive "__internal" 0.552
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 18.418
Then the file I created was copied to the Persistent Storage 0.049
When I shutdown Tails and wait for the computer to power off 7.176
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.898
Then persistence for "Persistent" is active 0.188
And the file I created in the Persistent directory exists 0.052
After features/support/hooks.rb:335 0.947
After features/support/hooks.rb:104 0.007
Tags: @product
29.653
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.683
And the system is very low on memory 4.072
When I create a file in the Persistent directory 0.266
When I try to create a persistent partition 4.660
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.091
When I close the Persistent Storage app 2.419
And I free up some memory 1.006
And I create a persistent partition with the default settings 9.398
Then the file I created was copied to the Persistent Storage 0.055
After features/support/hooks.rb:335 0.612
After features/support/hooks.rb:104 0.000
Tags: @product
1:31.757
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.030
Then Tails is running from USB drive "__internal" 0.319
And all tps features are active 1.241
And all persistent directories have safe access rights 1.839
When I disable the first tps feature 2.478
Then all tps features but the first one are active 1.173
And I shutdown Tails and wait for the computer to power off 8.655
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.724
Then all tps features but the first one are active 1.296
After features/support/hooks.rb:335 1.040
After features/support/hooks.rb:104 0.006
Tags: @product
13.258
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 7.449
Then persistence for "Persistent" is active 0.096
And I create a file in the Persistent directory 0.078
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 2.737
Then persistence for "Persistent" is not active 0.052
And the Persistent directory does not exist 0.059
When I enable the first tps feature 2.494
Then persistence for "Persistent" is active 0.097
And the file I created in the Persistent directory exists 0.123
After features/support/hooks.rb:335 0.909
After features/support/hooks.rb:104 0.000
Tags: @product
12.913
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.314
Then persistence for "Persistent" is active 0.052
When I create a file in the Persistent directory 0.052
And I disable the first tps feature 2.576
And I delete the data of the Persistent Folder feature 2.873
Then the file I created does not exist on the Persistent Storage 0.045
After features/support/hooks.rb:335 1.019
After features/support/hooks.rb:104 0.000
Tags: @product
42.611
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.024
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.598
And the network is plugged 0.015
And Tor is ready 13.704
And I take note of which tps features are available 0.180
When I write some files expected to persist 1.356
And I shutdown Tails and wait for the computer to power off 7.313
# 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.443
After features/support/hooks.rb:335 0.277
After features/support/hooks.rb:104 0.000
Tags: @product
1:42.454
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.350
And the network is plugged 0.017
And Tor is ready 9.966
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.119
And I shutdown Tails and wait for the computer to power off 6.826
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.182
And I capture all network traffic 0.003
And the network is plugged 0.016
And Tor is ready 11.350
And I switch to the "persistent-con-current" NetworkManager connection 0.452
And the 1st network device has a spoofed MAC address configured 0.077
And no network device leaked the real MAC address 0.090
After features/support/hooks.rb:335 0.997
After features/support/hooks.rb:104 0.076
Tags: @product
41.828
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.009
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 8.543
And I enable persistence creation in Tails Greeter 1.063
And I log in to a new session expecting no warning about the Persistent Storage not being activated 15.371
Then I create a persistent partition with the default settings using the wizard that was already open 16.850
After features/support/hooks.rb:335 1.067
After features/support/hooks.rb:104 0.000
Tags: @product
2:48.491
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.528
When I enable persistence 14.379
Then no persistent Greeter options were restored 12.767
When I set all Greeter options to non-default values 38.807
Then the Welcome Screen's language is set to English 0.365
And the Welcome Screen's formats is set to United States 0.226
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.582
When I log in to a new session in German (de) after having activated the Persistent Storage 24.925
Then all Persistent Greeter options are set to non-default values 0.177
When I cold reboot the computer 6.356
And the computer reboots Tails 37.801
Then the Welcome Screen's language is set to English 0.246
And the Welcome Screen's formats is set to United States 0.172
Given I enable persistence 8.722
Then persistent Greeter options were restored 0.093
And the Welcome Screen's formats is set to Belgium 0.284
When I log in to a new session after having activated the Persistent Storage 9.852
Then all Persistent Greeter options are set to non-default values 0.202
After features/support/hooks.rb:335 0.803
After features/support/hooks.rb:104 0.009
Tags: @product
2:10.076
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 8.970
# 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 25.443
And I shutdown Tails and wait for the computer to power off 6.921
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:4.289
And I change the passphrase of the Persistent Storage back to the original 24.451
After features/support/hooks.rb:335 1.016
After features/support/hooks.rb:104 0.006
Tags: @product
38.775
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 and stopped at Tails Greeter's login screen 8.043
And I log in to a new session without activating the Persistent Storage 15.054
Then persistence is disabled 0.100
But a Tails persistence partition exists on USB drive "__internal" 4.200
And all notifications have disappeared 8.202
When I delete the persistent partition 2.801
Then there is no persistence partition on USB drive "__internal" 0.371
After features/support/hooks.rb:335 1.004
After features/support/hooks.rb:104 0.000
Tags: @product
1:20.014
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.517
When I write some dotfile expected to persist 0.050
And I shutdown Tails and wait for the computer to power off 7.115
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.078
Then the expected persistent dotfile is present in the filesystem 0.252
After features/support/hooks.rb:335 0.745
After features/support/hooks.rb:104 0.006
Tags: @product
42.457
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 and stopped at Tails Greeter's login screen 7.842
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.045
When I try to enable persistence 1.164
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 11.627
When I log in to a new session after having activated the Persistent Storage 10.724
And all notifications have disappeared 7.727
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.263
And all tps features are enabled 0.978
And all tps features but the first one are active 1.082
After features/support/hooks.rb:335 0.754
After features/support/hooks.rb:104 0.000
Tags: @product
1:2.384
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 30.141
And I enable persistence 20.061
And I log in to a new session after having activated the Persistent Storage 9.949
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.625
And persistence is enabled 1.606
After features/support/hooks.rb:335 1.077
After features/support/hooks.rb:104 0.000
Tags: @product
22.250
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.009
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.064
And I enable persistence but something goes wrong during the LUKS header upgrade 14.640
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.545
After features/support/hooks.rb:335 1.084
After features/support/hooks.rb:104 0.000
Tags: @product
26.444
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.247
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.597
When I enable persistence 7.590
Then the filesystem of the Persistent Storage was repaired 0.061
And persistence is successfully enabled 1.946
After features/support/hooks.rb:335 1.017
After features/support/hooks.rb:104 0.000
Tags: @product
24.399
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.815
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.818
When I try to enable persistence 1.288
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.618
When I repair the filesystem of the Persistent Storage 1.220
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.414
And the filesystem of the Persistent Storage was repaired 0.058
When I close the filesystem repair dialog 1.167
Then persistence is successfully enabled 0.997
After features/support/hooks.rb:335 0.860
After features/support/hooks.rb:104 0.000
Tags: @product @doc
42.334
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.581
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.066
When I try to enable persistence 1.176
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 9.067
When I repair the filesystem of the Persistent Storage 1.266
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.027
When I log in to a new session 10.900
And all notifications have disappeared 8.836
# 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.160
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.092
When I close the "whisperback" window 1.179
Then the Tor Browser starts 1.299
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.680
After features/support/hooks.rb:335 1.076
After features/support/hooks.rb:104 0.000
Tags: @product @doc
43.869
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.733
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.759
And Tails detects disk read failures on the boot device 1.334
When I try to enable persistence 1.168
Then the Welcome Screen tells me that my hardware is probably failing 3.240
When I log in to a new session 11.535
And all notifications have disappeared 7.704
Then the Tor Browser starts 1.394
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.998
After features/support/hooks.rb:335 1.310
After features/support/hooks.rb:104 0.000