Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 40 27 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:41.966 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:31.640
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:17.960
And I update the APT lists using apt 6.365
And I install "python3-behave" using apt 6.350
Then the Tails Persistent Storage behave tests pass 0.964
After features/support/hooks.rb:339 0.639
After features/support/hooks.rb:108 0.000
Tags: @product
27.687
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.503
When I log in to a new session without activating the Persistent Storage 14.427
Then Tails is running from USB drive "__internal" 0.224
And persistence is disabled 0.091
But a Tails persistence partition exists on USB drive "__internal" 4.440
After features/support/hooks.rb:339 0.868
After features/support/hooks.rb:108 0.000
Tags: @product
1:36.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 without a persistent partition and logged in 8.128
Then Tails is running from USB drive "__internal" 0.302
When I create a file in the Persistent directory 0.105
And I create a persistent partition with the default settings 17.839
Then the file I created was copied to the Persistent Storage 0.046
When I shutdown Tails and wait for the computer to power off 5.450
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.015
Then persistence for "Persistent" is active 0.166
And the file I created in the Persistent directory exists 0.059
After features/support/hooks.rb:339 0.614
After features/support/hooks.rb:108 0.005
Tags: @product
27.398
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.297
And the system is very low on memory 3.508
When I create a file in the Persistent directory 0.168
When I try to create a persistent partition 4.696
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.086
When I close the Persistent Storage app 2.374
And I free up some memory 0.831
And I create a persistent partition with the default settings 8.382
Then the file I created was copied to the Persistent Storage 0.052
After features/support/hooks.rb:339 0.843
After features/support/hooks.rb:108 0.000
Tags: @product
1:41.118
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.062
Then Tails is running from USB drive "__internal" 0.308
And all tps features are active 5.081
And all persistent directories have safe access rights 1.942
When I disable the first tps feature 2.537
Then all tps features but the first one are active 4.580
And I shutdown Tails and wait for the computer to power off 6.725
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.294
Then all tps features but the first one are active 4.585
After features/support/hooks.rb:339 0.621
After features/support/hooks.rb:108 0.052
Tags: @product
12.558
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.272
Then persistence for "Persistent" is active 0.057
And I create a file in the Persistent directory 0.058
Then the file I created was copied to the Persistent Storage 0.041
When I disable the first tps feature 2.497
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.042
When I enable the first tps feature 2.413
Then persistence for "Persistent" is active 0.058
And the file I created in the Persistent directory exists 0.045
After features/support/hooks.rb:339 0.631
After features/support/hooks.rb:108 0.000
Tags: @product
12.542
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.035
Then persistence for "Persistent" is active 0.057
When I create a file in the Persistent directory 0.092
And I disable the first tps feature 2.468
And I delete the data of the Persistent Folder feature 2.850
Then the file I created does not exist on the Persistent Storage 0.038
After features/support/hooks.rb:339 0.677
After features/support/hooks.rb:108 0.000
Tags: @product
39.394
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.156
And the network is plugged 0.015
And Tor is ready 9.562
And I take note of which tps features are available 3.972
When I write some files expected to persist 1.107
And I shutdown Tails and wait for the computer to power off 5.440
# 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.138
After features/support/hooks.rb:339 0.435
After features/support/hooks.rb:108 0.000
Tags: @product
1:38.903
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.042
And the network is plugged 0.022
And Tor is ready 8.376
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.140
And I shutdown Tails and wait for the computer to power off 6.765
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.360
And I capture all network traffic 0.006
And the network is plugged 0.020
And Tor is ready 11.648
And I switch to the "persistent-con-current" NetworkManager connection 0.361
And the 1st network device has a spoofed MAC address configured 0.050
And no network device leaked the real MAC address 0.108
After features/support/hooks.rb:339 0.891
After features/support/hooks.rb:108 0.083
Tags: @product
37.735
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 without a persistent partition and stopped at Tails Greeter's login screen 8.197
And I enable persistence creation in Tails Greeter 1.062
And I log in to a new session expecting no warning about the Persistent Storage not being activated 13.052
Then I create a persistent partition with the default settings using the wizard that was already open 15.423
After features/support/hooks.rb:339 1.308
After features/support/hooks.rb:108 0.000
Tags: @product
2:47.938
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.396
When I enable persistence 15.915
Then no persistent Greeter options were restored 12.633
When I set all Greeter options to non-default values 38.121
Then the Welcome Screen's language is set to English 0.354
And the Welcome Screen's formats is set to United States 0.215
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.538
When I log in to a new session in German (de) after having activated the Persistent Storage 25.114
Then all Persistent Greeter options are set to non-default values 0.131
When I cold reboot the computer 7.445
And the computer reboots Tails 35.822
Then the Welcome Screen's language is set to English 0.255
And the Welcome Screen's formats is set to United States 0.167
Given I enable persistence 9.716
Then persistent Greeter options were restored 0.071
And the Welcome Screen's formats is set to Belgium 0.252
When I log in to a new session after having activated the Persistent Storage 8.631
Then all Persistent Greeter options are set to non-default values 0.153
After features/support/hooks.rb:339 0.868
After features/support/hooks.rb:108 0.005
Tags: @product
2:6.682
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.592
# 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 28.066
And I shutdown Tails and wait for the computer to power off 5.454
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:4.015
And I change the passphrase of the Persistent Storage back to the original 21.554
After features/support/hooks.rb:339 0.941
After features/support/hooks.rb:108 0.005
Tags: @product
36.610
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.567
And I log in to a new session without activating the Persistent Storage 13.286
Then persistence is disabled 0.111
But a Tails persistence partition exists on USB drive "__internal" 4.565
And all notifications have disappeared 8.050
When I delete the persistent partition 2.677
Then there is no persistence partition on USB drive "__internal" 0.352
After features/support/hooks.rb:339 0.627
After features/support/hooks.rb:108 0.000
Tags: @product
1:20.102
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.896
When I write some dotfile expected to persist 0.043
And I shutdown Tails and wait for the computer to power off 6.918
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.038
Then the expected persistent dotfile is present in the filesystem 0.205
After features/support/hooks.rb:339 0.704
After features/support/hooks.rb:108 0.005
Tags: @product
47.836
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.493
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.060
When I try to enable persistence 1.156
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 9.646
When I log in to a new session after having activated the Persistent Storage 10.222
And all notifications have disappeared 7.979
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.278
And all tps features are enabled 4.779
And all tps features but the first one are active 5.219
After features/support/hooks.rb:339 0.905
After features/support/hooks.rb:108 0.000
Tags: @product
1:7.830
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.404
And I enable persistence 23.465
And I log in to a new session after having activated the Persistent Storage 9.340
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.591
And persistence is enabled 5.028
After features/support/hooks.rb:339 1.009
After features/support/hooks.rb:108 0.000
Tags: @product
25.010
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.897
And I enable persistence but something goes wrong during the LUKS header upgrade 17.616
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.497
After features/support/hooks.rb:339 0.834
After features/support/hooks.rb:108 0.000
Tags: @product
32.202
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.286
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.843
When I enable persistence 10.553
Then the filesystem of the Persistent Storage was repaired 0.045
And persistence is successfully enabled 5.473
After features/support/hooks.rb:339 0.982
After features/support/hooks.rb:108 0.000
Tags: @product
26.465
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.409
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.079
When I try to enable persistence 1.270
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.306
When I repair the filesystem of the Persistent Storage 1.186
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.243
And the filesystem of the Persistent Storage was repaired 0.057
When I close the filesystem repair dialog 1.145
Then persistence is successfully enabled 3.765
After features/support/hooks.rb:339 1.036
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.915
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.639
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.057
When I try to enable persistence 1.167
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.642
When I repair the filesystem of the Persistent Storage 1.158
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.024
When I log in to a new session 11.299
And all notifications have disappeared 9.025
# 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.206
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.467
When I close the "whisperback" window 1.174
Then the Tor Browser starts 1.290
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.763
After features/support/hooks.rb:339 0.832
After features/support/hooks.rb:108 0.000
Tags: @product @doc
43.275
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.389
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.968
And Tails detects disk read failures on the boot device 1.332
When I try to enable persistence 1.165
Then the Welcome Screen tells me that my hardware is probably failing 2.984
When I log in to a new session 10.418
And all notifications have disappeared 8.999
Then the Tor Browser starts 1.390
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.626
After features/support/hooks.rb:339 1.385
After features/support/hooks.rb:108 0.000