Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 55 14 Jul 2026, 00: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:35.410 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:31.723
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.789
And I update the APT lists using apt 5.820
And I install "python3-behave" using apt 6.249
Then the Tails Persistent Storage behave tests pass 0.864
After features/support/hooks.rb:339 0.988
After features/support/hooks.rb:108 0.000
Tags: @product
27.968
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.522
When I log in to a new session without activating the Persistent Storage 14.619
Then Tails is running from USB drive "__internal" 0.251
And persistence is disabled 0.088
But a Tails persistence partition exists on USB drive "__internal" 4.487
After features/support/hooks.rb:339 0.974
After features/support/hooks.rb:108 0.000
Tags: @product
1:35.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 without a persistent partition and logged in 8.400
Then Tails is running from USB drive "__internal" 0.323
When I create a file in the Persistent directory 0.094
And I create a persistent partition with the default settings 17.412
Then the file I created was copied to the Persistent Storage 0.065
When I shutdown Tails and wait for the computer to power off 6.715
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.291
Then persistence for "Persistent" is active 0.221
And the file I created in the Persistent directory exists 0.051
After features/support/hooks.rb:339 0.671
After features/support/hooks.rb:108 0.005
Tags: @product
27.262
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.051
And the system is very low on memory 3.269
When I create a file in the Persistent directory 0.148
When I try to create a persistent partition 4.613
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.090
When I close the Persistent Storage app 2.432
And I free up some memory 0.791
And I create a persistent partition with the default settings 8.819
Then the file I created was copied to the Persistent Storage 0.045
After features/support/hooks.rb:339 1.162
After features/support/hooks.rb:108 0.000
Tags: @product
1:38.583
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.363
Then Tails is running from USB drive "__internal" 0.267
And all tps features are active 4.992
And all persistent directories have safe access rights 1.803
When I disable the first tps feature 2.497
Then all tps features but the first one are active 4.783
And I shutdown Tails and wait for the computer to power off 6.787
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.401
Then all tps features but the first one are active 4.687
After features/support/hooks.rb:339 0.623
After features/support/hooks.rb:108 0.005
Tags: @product
12.805
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.342
Then persistence for "Persistent" is active 0.120
And I create a file in the Persistent directory 0.051
Then the file I created was copied to the Persistent Storage 0.053
When I disable the first tps feature 2.503
Then persistence for "Persistent" is not active 0.055
And the Persistent directory does not exist 0.040
When I enable the first tps feature 2.523
Then persistence for "Persistent" is active 0.055
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:339 0.949
After features/support/hooks.rb:108 0.000
Tags: @product
12.505
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 6.935
Then persistence for "Persistent" is active 0.071
When I create a file in the Persistent directory 0.059
And I disable the first tps feature 2.534
And I delete the data of the Persistent Folder feature 2.866
Then the file I created does not exist on the Persistent Storage 0.038
After features/support/hooks.rb:339 0.841
After features/support/hooks.rb:108 0.000
Tags: @product
40.798
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.082
And the network is plugged 0.016
And Tor is ready 11.608
And I take note of which tps features are available 3.926
When I write some files expected to persist 1.066
And I shutdown Tails and wait for the computer to power off 5.315
# 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.781
After features/support/hooks.rb:339 0.512
After features/support/hooks.rb:108 0.000
Tags: @product
1:37.897
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.073
And the network is plugged 0.020
And Tor is ready 9.335
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.118
And I shutdown Tails and wait for the computer to power off 5.459
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.742
And I capture all network traffic 0.003
And the network is plugged 0.026
And Tor is ready 11.587
And I switch to the "persistent-con-current" NetworkManager connection 0.357
And the 1st network device has a spoofed MAC address configured 0.063
And no network device leaked the real MAC address 0.109
After features/support/hooks.rb:339 0.893
After features/support/hooks.rb:108 0.041
Tags: @product
39.189
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.299
And I enable persistence creation in Tails Greeter 1.075
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.797
Then I create a persistent partition with the default settings using the wizard that was already open 17.017
After features/support/hooks.rb:339 1.270
After features/support/hooks.rb:108 0.000
Tags: @product
2:46.628
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.363
When I enable persistence 16.289
Then no persistent Greeter options were restored 12.558
When I set all Greeter options to non-default values 38.333
Then the Welcome Screen's language is set to English 0.335
And the Welcome Screen's formats is set to United States 0.241
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.532
When I log in to a new session in German (de) after having activated the Persistent Storage 24.356
Then all Persistent Greeter options are set to non-default values 0.140
When I cold reboot the computer 5.993
And the computer reboots Tails 35.370
Then the Welcome Screen's language is set to English 0.254
And the Welcome Screen's formats is set to United States 0.190
Given I enable persistence 10.558
Then persistent Greeter options were restored 0.072
And the Welcome Screen's formats is set to Belgium 0.228
When I log in to a new session after having activated the Persistent Storage 8.651
Then all Persistent Greeter options are set to non-default values 0.157
After features/support/hooks.rb:339 0.693
After features/support/hooks.rb:108 0.006
Tags: @product
2:5.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 with a persistent partition enabled and logged in 7.889
# 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 26.491
And I shutdown Tails and wait for the computer to power off 5.349
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:3.891
And I change the passphrase of the Persistent Storage back to the original 22.217
After features/support/hooks.rb:339 1.451
After features/support/hooks.rb:108 0.007
Tags: @product
37.565
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.803
And I log in to a new session without activating the Persistent Storage 14.401
Then persistence is disabled 0.109
But a Tails persistence partition exists on USB drive "__internal" 4.422
And all notifications have disappeared 7.812
When I delete the persistent partition 2.632
Then there is no persistence partition on USB drive "__internal" 0.383
After features/support/hooks.rb:339 0.638
After features/support/hooks.rb:108 0.000
Tags: @product
1:20.116
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.825
When I write some dotfile expected to persist 0.060
And I shutdown Tails and wait for the computer to power off 6.694
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.315
Then the expected persistent dotfile is present in the filesystem 0.220
After features/support/hooks.rb:339 0.545
After features/support/hooks.rb:108 0.041
Tags: @product
47.188
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.662
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.052
When I try to enable persistence 1.149
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 9.797
When I log in to a new session after having activated the Persistent Storage 10.053
And all notifications have disappeared 7.664
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.309
And all tps features are enabled 4.600
And all tps features but the first one are active 4.899
After features/support/hooks.rb:339 0.588
After features/support/hooks.rb:108 0.000
Tags: @product
1:7.912
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 28.903
And I enable persistence 22.957
And I log in to a new session after having activated the Persistent Storage 9.430
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.576
And persistence is enabled 6.045
After features/support/hooks.rb:339 0.872
After features/support/hooks.rb:108 0.000
Tags: @product
25.954
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 6.935
And I enable persistence but something goes wrong during the LUKS header upgrade 18.468
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.550
After features/support/hooks.rb:339 0.792
After features/support/hooks.rb:108 0.000
Tags: @product
31.488
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.092
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.765
When I enable persistence 10.444
Then the filesystem of the Persistent Storage was repaired 0.065
And persistence is successfully enabled 5.119
After features/support/hooks.rb:339 0.766
After features/support/hooks.rb:108 0.000
Tags: @product
25.983
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.358
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.765
When I try to enable persistence 1.277
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.011
When I repair the filesystem of the Persistent Storage 1.190
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.299
And the filesystem of the Persistent Storage was repaired 0.058
When I close the filesystem repair dialog 1.170
Then persistence is successfully enabled 3.852
After features/support/hooks.rb:339 1.007
After features/support/hooks.rb:108 0.000
Tags: @product @doc
41.233
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.335
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.051
When I try to enable persistence 1.175
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.285
When I repair the filesystem of the Persistent Storage 1.154
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.024
When I log in to a new session 10.768
And all notifications have disappeared 8.385
# 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.421
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.444
When I close the "whisperback" window 1.200
Then the Tor Browser starts 1.242
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.743
After features/support/hooks.rb:339 1.057
After features/support/hooks.rb:108 0.000
Tags: @product @doc
41.186
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.419
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.448
And Tails detects disk read failures on the boot device 1.425
When I try to enable persistence 1.156
Then the Welcome Screen tells me that my hardware is probably failing 2.908
When I log in to a new session 10.178
And all notifications have disappeared 8.657
Then the Tor Browser starts 1.333
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.658
After features/support/hooks.rb:339 0.794
After features/support/hooks.rb:108 0.000