Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 43 30 Jun 2026, 20:02

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:43.819 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:32.463
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.538
And I update the APT lists using apt 6.763
And I install "python3-behave" using apt 6.279
Then the Tails Persistent Storage behave tests pass 0.881
After features/support/hooks.rb:339 0.807
After features/support/hooks.rb:108 0.000
Tags: @product
28.374
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.648
When I log in to a new session without activating the Persistent Storage 14.126
Then Tails is running from USB drive "__internal" 0.306
And persistence is disabled 0.081
But a Tails persistence partition exists on USB drive "__internal" 5.211
After features/support/hooks.rb:339 0.876
After features/support/hooks.rb:108 0.000
Tags: @product
1:35.783
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.324
Then Tails is running from USB drive "__internal" 0.304
When I create a file in the Persistent directory 0.097
And I create a persistent partition with the default settings 17.328
Then the file I created was copied to the Persistent Storage 0.037
When I shutdown Tails and wait for the computer to power off 6.911
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.530
Then persistence for "Persistent" is active 0.202
And the file I created in the Persistent directory exists 0.046
After features/support/hooks.rb:339 0.912
After features/support/hooks.rb:108 0.007
Tags: @product
27.632
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 7.409
And the system is very low on memory 3.237
When I create a file in the Persistent directory 0.138
When I try to create a persistent partition 4.419
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.088
When I close the Persistent Storage app 2.495
And I free up some memory 0.828
And I create a persistent partition with the default settings 8.955
Then the file I created was copied to the Persistent Storage 0.060
After features/support/hooks.rb:339 0.611
After features/support/hooks.rb:108 0.000
Tags: @product
1:41.799
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.061
Then Tails is running from USB drive "__internal" 0.349
And all tps features are active 5.169
And all persistent directories have safe access rights 2.024
When I disable the first tps feature 2.463
Then all tps features but the first one are active 4.600
And I shutdown Tails and wait for the computer to power off 8.012
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.464
Then all tps features but the first one are active 4.652
After features/support/hooks.rb:339 0.880
After features/support/hooks.rb:108 0.014
Tags: @product
12.611
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.212
Then persistence for "Persistent" is active 0.063
And I create a file in the Persistent directory 0.062
Then the file I created was copied to the Persistent Storage 0.059
When I disable the first tps feature 2.493
Then persistence for "Persistent" is not active 0.047
And the Persistent directory does not exist 0.038
When I enable the first tps feature 2.444
Then persistence for "Persistent" is active 0.101
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:339 0.589
After features/support/hooks.rb:108 0.000
Tags: @product
12.575
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.117
Then persistence for "Persistent" is active 0.075
When I create a file in the Persistent directory 0.053
And I disable the first tps feature 2.451
And I delete the data of the Persistent Folder feature 2.831
Then the file I created does not exist on the Persistent Storage 0.047
After features/support/hooks.rb:339 0.678
After features/support/hooks.rb:108 0.000
Tags: @product
39.243
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.238
And the network is plugged 0.015
And Tor is ready 9.791
And I take note of which tps features are available 4.109
When I write some files expected to persist 1.172
And I shutdown Tails and wait for the computer to power off 5.279
# 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.635
After features/support/hooks.rb:339 0.534
After features/support/hooks.rb:108 0.000
Tags: @product
1:39.332
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.224
And the network is plugged 0.016
And Tor is ready 9.767
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.131
And I shutdown Tails and wait for the computer to power off 6.918
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.271
And I capture all network traffic 0.003
And the network is plugged 0.018
And Tor is ready 11.414
And I switch to the "persistent-con-current" NetworkManager connection 0.371
And the 1st network device has a spoofed MAC address configured 0.081
And no network device leaked the real MAC address 0.114
After features/support/hooks.rb:339 0.997
After features/support/hooks.rb:108 0.075
Tags: @product
40.419
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.463
And I enable persistence creation in Tails Greeter 1.101
And I log in to a new session expecting no warning about the Persistent Storage not being activated 13.618
Then I create a persistent partition with the default settings using the wizard that was already open 17.235
After features/support/hooks.rb:339 1.109
After features/support/hooks.rb:108 0.000
Tags: @product
2:48.221
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.627
When I enable persistence 16.791
Then no persistent Greeter options were restored 12.706
When I set all Greeter options to non-default values 38.301
Then the Welcome Screen's language is set to English 0.350
And the Welcome Screen's formats is set to United States 0.256
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.479
When I log in to a new session in German (de) after having activated the Persistent Storage 24.658
Then all Persistent Greeter options are set to non-default values 0.179
When I cold reboot the computer 6.092
And the computer reboots Tails 35.805
Then the Welcome Screen's language is set to English 0.234
And the Welcome Screen's formats is set to United States 0.202
Given I enable persistence 10.449
Then persistent Greeter options were restored 0.098
And the Welcome Screen's formats is set to Belgium 0.238
When I log in to a new session after having activated the Persistent Storage 8.598
Then all Persistent Greeter options are set to non-default values 0.149
After features/support/hooks.rb:339 0.638
After features/support/hooks.rb:108 0.035
Tags: @product
2:8.908
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.105
# 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.218
And I shutdown Tails and wait for the computer to power off 6.995
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:6.001
And I change the passphrase of the Persistent Storage back to the original 22.586
After features/support/hooks.rb:339 1.160
After features/support/hooks.rb:108 0.007
Tags: @product
35.803
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.536
And I log in to a new session without activating the Persistent Storage 13.228
Then persistence is disabled 0.097
But a Tails persistence partition exists on USB drive "__internal" 4.259
And all notifications have disappeared 7.775
When I delete the persistent partition 2.621
Then there is no persistence partition on USB drive "__internal" 0.283
After features/support/hooks.rb:339 0.896
After features/support/hooks.rb:108 0.000
Tags: @product
1:17.428
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.466
When I write some dotfile expected to persist 0.065
And I shutdown Tails and wait for the computer to power off 6.878
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.813
Then the expected persistent dotfile is present in the filesystem 0.204
After features/support/hooks.rb:339 0.782
After features/support/hooks.rb:108 0.038
Tags: @product
46.978
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.432
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.064
When I try to enable persistence 1.180
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 9.361
When I log in to a new session after having activated the Persistent Storage 10.272
And all notifications have disappeared 7.710
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.259
And all tps features are enabled 4.593
And all tps features but the first one are active 5.102
After features/support/hooks.rb:339 0.700
After features/support/hooks.rb:108 0.000
Tags: @product
1:9.096
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 29.700
And I enable persistence 23.677
And I log in to a new session after having activated the Persistent Storage 10.102
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.494
And persistence is enabled 5.121
After features/support/hooks.rb:339 0.684
After features/support/hooks.rb:108 0.000
Tags: @product
25.892
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.048
And I enable persistence but something goes wrong during the LUKS header upgrade 18.256
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.587
After features/support/hooks.rb:339 0.881
After features/support/hooks.rb:108 0.000
Tags: @product
31.082
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.926
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.430
When I enable persistence 10.537
Then the filesystem of the Persistent Storage was repaired 0.043
And persistence is successfully enabled 5.145
After features/support/hooks.rb:339 0.636
After features/support/hooks.rb:108 0.000
Tags: @product
26.293
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.489
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.953
When I try to enable persistence 1.260
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.118
When I repair the filesystem of the Persistent Storage 1.139
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.250
And the filesystem of the Persistent Storage was repaired 0.055
When I close the filesystem repair dialog 1.151
Then persistence is successfully enabled 3.873
After features/support/hooks.rb:339 1.048
After features/support/hooks.rb:108 0.000
Tags: @product @doc
40.909
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.731
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.059
When I try to enable persistence 1.174
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.144
When I repair the filesystem of the Persistent Storage 1.182
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.028
When I log in to a new session 10.884
And all notifications have disappeared 8.207
# 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.169
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.085
When I close the "whisperback" window 1.157
Then the Tor Browser starts 1.340
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.741
After features/support/hooks.rb:339 1.089
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.969
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 I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.304
And Tails detects disk read failures on the boot device 1.311
When I try to enable persistence 1.202
Then the Welcome Screen tells me that my hardware is probably failing 3.249
When I log in to a new session 10.391
And all notifications have disappeared 8.943
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.721
After features/support/hooks.rb:339 0.822
After features/support/hooks.rb:108 0.000