Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 45 02 Jul 2026, 20:12

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:43.058 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:32.253
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:18.810
And I update the APT lists using apt 6.349
And I install "python3-behave" using apt 6.275
Then the Tails Persistent Storage behave tests pass 0.818
After features/support/hooks.rb:339 1.019
After features/support/hooks.rb:108 0.000
Tags: @product
28.986
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 8.788
When I log in to a new session without activating the Persistent Storage 14.874
Then Tails is running from USB drive "__internal" 0.279
And persistence is disabled 0.094
But a Tails persistence partition exists on USB drive "__internal" 4.950
After features/support/hooks.rb:339 0.991
After features/support/hooks.rb:108 0.000
Tags: @product
1:42.384
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 without a persistent partition and logged in 8.616
Then Tails is running from USB drive "__internal" 0.302
When I create a file in the Persistent directory 0.095
And I create a persistent partition with the default settings 18.615
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.942
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.503
Then persistence for "Persistent" is active 0.216
And the file I created in the Persistent directory exists 0.044
After features/support/hooks.rb:339 0.934
After features/support/hooks.rb:108 0.007
Tags: @product
28.839
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 without a persistent partition and logged in 7.588
And the system is very low on memory 3.636
When I create a file in the Persistent directory 0.165
When I try to create a persistent partition 4.915
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.106
When I close the Persistent Storage app 2.430
And I free up some memory 0.906
And I create a persistent partition with the default settings 9.019
Then the file I created was copied to the Persistent Storage 0.071
After features/support/hooks.rb:339 0.974
After features/support/hooks.rb:108 0.000
Tags: @product
1:47.489
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 8.596
Then Tails is running from USB drive "__internal" 0.384
And all tps features are active 5.450
And all persistent directories have safe access rights 1.929
When I disable the first tps feature 2.521
Then all tps features but the first one are active 5.785
And I shutdown Tails and wait for the computer to power off 6.934
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:9.994
Then all tps features but the first one are active 5.892
After features/support/hooks.rb:339 0.779
After features/support/hooks.rb:108 0.006
Tags: @product
12.994
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 enabled and logged in 7.550
Then persistence for "Persistent" is active 0.070
And I create a file in the Persistent directory 0.056
Then the file I created was copied to the Persistent Storage 0.065
When I disable the first tps feature 2.494
Then persistence for "Persistent" is not active 0.070
And the Persistent directory does not exist 0.042
When I enable the first tps feature 2.548
Then persistence for "Persistent" is active 0.054
And the file I created in the Persistent directory exists 0.042
After features/support/hooks.rb:339 0.731
After features/support/hooks.rb:108 0.000
Tags: @product
13.254
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.619
Then persistence for "Persistent" is active 0.066
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 2.560
And I delete the data of the Persistent Folder feature 2.889
Then the file I created does not exist on the Persistent Storage 0.047
After features/support/hooks.rb:339 0.989
After features/support/hooks.rb:108 0.000
Tags: @product
43.593
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.049
And the network is plugged 0.020
And Tor is ready 12.019
And I take note of which tps features are available 3.939
When I write some files expected to persist 1.199
And I shutdown Tails and wait for the computer to power off 7.212
# 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.153
After features/support/hooks.rb:339 0.232
After features/support/hooks.rb:108 0.000
Tags: @product
1:46.349
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.321
And the network is plugged 0.022
And Tor is ready 10.120
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.134
And I shutdown Tails and wait for the computer to power off 6.999
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:9.575
And I capture all network traffic 0.003
And the network is plugged 0.019
And Tor is ready 11.603
And I switch to the "persistent-con-current" NetworkManager connection 0.374
And the 1st network device has a spoofed MAC address configured 0.057
And no network device leaked the real MAC address 0.116
After features/support/hooks.rb:339 1.125
After features/support/hooks.rb:108 0.108
Tags: @product
40.318
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.617
And I enable persistence creation in Tails Greeter 1.073
And I log in to a new session expecting no warning about the Persistent Storage not being activated 13.627
Then I create a persistent partition with the default settings using the wizard that was already open 16.999
After features/support/hooks.rb:339 1.219
After features/support/hooks.rb:108 0.000
Tags: @product
2:55.059
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 and stopped at Tails Greeter's login screen 8.837
When I enable persistence 17.957
Then no persistent Greeter options were restored 12.865
When I set all Greeter options to non-default values 38.675
Then the Welcome Screen's language is set to English 0.349
And the Welcome Screen's formats is set to United States 0.285
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.573
When I log in to a new session in German (de) after having activated the Persistent Storage 25.594
Then all Persistent Greeter options are set to non-default values 0.155
When I cold reboot the computer 6.228
And the computer reboots Tails 37.485
Then the Welcome Screen's language is set to English 0.380
And the Welcome Screen's formats is set to United States 0.188
Given I enable persistence 11.299
Then persistent Greeter options were restored 0.080
And the Welcome Screen's formats is set to Belgium 0.231
When I log in to a new session after having activated the Persistent Storage 9.669
Then all Persistent Greeter options are set to non-default values 0.200
After features/support/hooks.rb:339 0.818
After features/support/hooks.rb:108 0.006
Tags: @product
2:14.116
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 enabled and logged in 8.367
# 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 29.120
And I shutdown Tails and wait for the computer to power off 5.578
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:8.415
And I change the passphrase of the Persistent Storage back to the original 22.634
After features/support/hooks.rb:339 1.080
After features/support/hooks.rb:108 0.006
Tags: @product
37.835
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.107
And I log in to a new session without activating the Persistent Storage 13.806
Then persistence is disabled 0.301
But a Tails persistence partition exists on USB drive "__internal" 4.588
And all notifications have disappeared 8.026
When I delete the persistent partition 2.603
Then there is no persistence partition on USB drive "__internal" 0.400
After features/support/hooks.rb:339 0.892
After features/support/hooks.rb:108 0.000
Tags: @product
1:21.177
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 7.554
When I write some dotfile expected to persist 0.091
And I shutdown Tails and wait for the computer to power off 6.968
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.331
Then the expected persistent dotfile is present in the filesystem 0.230
After features/support/hooks.rb:339 0.512
After features/support/hooks.rb:108 0.006
Tags: @product
49.204
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 7.699
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.065
When I try to enable persistence 1.207
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 9.894
When I log in to a new session after having activated the Persistent Storage 10.320
And all notifications have disappeared 7.848
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.255
And all tps features are enabled 5.731
And all tps features but the first one are active 5.181
After features/support/hooks.rb:339 0.612
After features/support/hooks.rb:108 0.000
Tags: @product
1:10.215
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.763
And I enable persistence 23.512
And I log in to a new session after having activated the Persistent Storage 11.089
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.520
And persistence is enabled 5.329
After features/support/hooks.rb:339 0.644
After features/support/hooks.rb:108 0.000
Tags: @product
26.246
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.307
And I enable persistence but something goes wrong during the LUKS header upgrade 18.379
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.560
After features/support/hooks.rb:339 1.028
After features/support/hooks.rb:108 0.000
Tags: @product
34.487
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.643
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.229
When I enable persistence 10.503
Then the filesystem of the Persistent Storage was repaired 0.063
And persistence is successfully enabled 6.046
After features/support/hooks.rb:339 1.031
After features/support/hooks.rb:108 0.000
Tags: @product
28.529
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 and stopped at Tails Greeter's login screen 8.559
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.778
When I try to enable persistence 1.304
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.580
When I repair the filesystem of the Persistent Storage 1.173
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.514
And the filesystem of the Persistent Storage was repaired 0.063
When I close the filesystem repair dialog 1.205
Then persistence is successfully enabled 4.350
After features/support/hooks.rb:339 0.797
After features/support/hooks.rb:108 0.000
Tags: @product @doc
44.790
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.528
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.053
When I try to enable persistence 1.147
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 9.843
When I repair the filesystem of the Persistent Storage 1.153
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.688
And all notifications have disappeared 9.395
# 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.180
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.552
When I close the "whisperback" window 1.163
Then the Tor Browser starts 1.317
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.737
After features/support/hooks.rb:339 0.948
After features/support/hooks.rb:108 0.000
Tags: @product @doc
44.931
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.698
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.071
And Tails detects disk read failures on the boot device 1.357
When I try to enable persistence 1.172
Then the Welcome Screen tells me that my hardware is probably failing 2.811
When I log in to a new session 12.369
And all notifications have disappeared 8.577
Then the Tor Browser starts 1.851
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.021
After features/support/hooks.rb:339 1.400
After features/support/hooks.rb:108 0.000