Project Number Date
test_Tails_ISO_ruff-lint 1 02 Dec 2026, 13:42

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 24:18.712 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:3.391
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:20.697
And I update the APT lists using apt 35.421
And I install "python3-behave" using apt 6.570
Then the Tails Persistent Storage behave tests pass 0.701
After features/support/hooks.rb:339 0.856
After features/support/hooks.rb:108 0.000
Tags: @product
28.791
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.684
When I log in to a new session without activating the Persistent Storage 14.399
Then Tails is running from USB drive "__internal" 0.170
And persistence is disabled 0.077
But a Tails persistence partition exists on USB drive "__internal" 5.459
After features/support/hooks.rb:339 0.950
After features/support/hooks.rb:108 0.000
Tags: @product
1:35.668
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 without a persistent partition and logged in 8.840
Then Tails is running from USB drive "__internal" 0.271
When I create a file in the Persistent directory 0.080
And I create a persistent partition with the default settings 18.991
Then the file I created was copied to the Persistent Storage 0.033
When I shutdown Tails and wait for the computer to power off 5.388
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.836
Then persistence for "Persistent" is active 0.173
And the file I created in the Persistent directory exists 0.051
After features/support/hooks.rb:339 0.532
After features/support/hooks.rb:108 0.007
Tags: @product
29.088
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 8.237
And the system is very low on memory 4.181
When I create a file in the Persistent directory 0.165
When I try to create a persistent partition 4.443
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.098
When I close the Persistent Storage app 2.294
And I free up some memory 0.440
And I create a persistent partition with the default settings 9.194
Then the file I created was copied to the Persistent Storage 0.031
After features/support/hooks.rb:339 0.642
After features/support/hooks.rb:108 0.000
Tags: @product
1:49.631
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.415
Then Tails is running from USB drive "__internal" 0.317
And all tps features are active 8.021
And all persistent directories have safe access rights 2.130
When I disable the first tps feature 2.526
Then all tps features but the first one are active 8.022
And I shutdown Tails and wait for the computer to power off 6.596
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.094
Then all tps features but the first one are active 7.506
After features/support/hooks.rb:339 0.524
After features/support/hooks.rb:108 0.013
Tags: @product
13.468
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.024
Then persistence for "Persistent" is active 0.087
And I create a file in the Persistent directory 0.045
Then the file I created was copied to the Persistent Storage 0.062
When I disable the first tps feature 2.591
Then persistence for "Persistent" is not active 0.064
And the Persistent directory does not exist 0.039
When I enable the first tps feature 2.434
Then persistence for "Persistent" is active 0.066
And the file I created in the Persistent directory exists 0.051
After features/support/hooks.rb:339 0.717
After features/support/hooks.rb:108 0.000
Tags: @product
13.411
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.874
Then persistence for "Persistent" is active 0.049
When I create a file in the Persistent directory 0.055
And I disable the first tps feature 2.560
And I delete the data of the Persistent Folder feature 2.836
Then the file I created does not exist on the Persistent Storage 0.035
After features/support/hooks.rb:339 0.784
After features/support/hooks.rb:108 0.000
Tags: @product
48.891
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.075
And the network is plugged 0.029
And Tor is ready 13.791
And I take note of which tps features are available 8.564
When I write some files expected to persist 0.889
And I shutdown Tails and wait for the computer to power off 5.340
# 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.202
After features/support/hooks.rb:339 0.373
After features/support/hooks.rb:108 0.000
Tags: @product
1:41.260
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.656
And the network is plugged 0.033
And Tor is ready 8.927
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.155
And I shutdown Tails and wait for the computer to power off 6.545
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.243
And I capture all network traffic 0.007
And the network is plugged 0.029
And Tor is ready 12.161
And I switch to the "persistent-con-current" NetworkManager connection 0.326
And the 1st network device has a spoofed MAC address configured 0.076
And no network device leaked the real MAC address 0.098
After features/support/hooks.rb:339 0.488
After features/support/hooks.rb:108 0.074
Tags: @product
40.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 without a persistent partition and stopped at Tails Greeter's login screen 8.525
And I enable persistence creation in Tails Greeter 1.096
And I log in to a new session expecting no warning about the Persistent Storage not being activated 11.801
Then I create a persistent partition with the default settings using the wizard that was already open 19.169
After features/support/hooks.rb:339 0.713
After features/support/hooks.rb:108 0.000
Tags: @product
2:57.073
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.804
When I enable persistence 25.748
Then no persistent Greeter options were restored 13.372
When I set all Greeter options to non-default values 38.800
Then the Welcome Screen's language is set to English 0.284
And the Welcome Screen's formats is set to United States 0.182
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.574
When I log in to a new session in German (de) after having activated the Persistent Storage 22.461
Then all Persistent Greeter options are set to non-default values 0.147
When I cold reboot the computer 5.832
And the computer reboots Tails 33.810
Then the Welcome Screen's language is set to English 0.273
And the Welcome Screen's formats is set to United States 0.269
Given I enable persistence 14.402
Then persistent Greeter options were restored 0.121
And the Welcome Screen's formats is set to Belgium 0.279
When I log in to a new session after having activated the Persistent Storage 7.563
Then all Persistent Greeter options are set to non-default values 0.143
After features/support/hooks.rb:339 0.675
After features/support/hooks.rb:108 0.011
Tags: @product
2:13.787
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.123
# 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 31.325
And I shutdown Tails and wait for the computer to power off 5.432
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:6.162
And I change the passphrase of the Persistent Storage back to the original 22.742
After features/support/hooks.rb:339 1.217
After features/support/hooks.rb:108 0.010
Tags: @product
38.783
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.142
And I log in to a new session without activating the Persistent Storage 13.575
Then persistence is disabled 0.123
But a Tails persistence partition exists on USB drive "__internal" 5.390
And all notifications have disappeared 8.636
When I delete the persistent partition 2.558
Then there is no persistence partition on USB drive "__internal" 0.356
After features/support/hooks.rb:339 1.141
After features/support/hooks.rb:108 0.000
Tags: @product
1:22.804
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.205
When I write some dotfile expected to persist 0.046
And I shutdown Tails and wait for the computer to power off 6.855
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.475
Then the expected persistent dotfile is present in the filesystem 0.221
After features/support/hooks.rb:339 0.898
After features/support/hooks.rb:108 0.033
Tags: @product
58.912
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.984
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.059
When I try to enable persistence 1.195
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 14.018
When I log in to a new session after having activated the Persistent Storage 8.511
And all notifications have disappeared 8.059
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.285
And all tps features are enabled 8.613
And all tps features but the first one are active 9.184
After features/support/hooks.rb:339 0.877
After features/support/hooks.rb:108 0.000
Tags: @product
2:43.879
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 1:59.598
And I enable persistence 27.475
And I log in to a new session after having activated the Persistent Storage 8.223
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.527
And persistence is enabled 8.055
After features/support/hooks.rb:339 1.256
After features/support/hooks.rb:108 0.000
Tags: @product
44.331
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 20.820
And I enable persistence but something goes wrong during the LUKS header upgrade 22.857
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.653
After features/support/hooks.rb:339 0.976
After features/support/hooks.rb:108 0.000
Tags: @product
41.534
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.760
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.615
When I enable persistence 14.300
Then the filesystem of the Persistent Storage was repaired 0.050
And persistence is successfully enabled 8.807
After features/support/hooks.rb:339 0.689
After features/support/hooks.rb:108 0.000
Tags: @product
29.405
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.123
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.046
When I try to enable persistence 1.294
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.326
When I repair the filesystem of the Persistent Storage 1.237
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.391
And the filesystem of the Persistent Storage was repaired 0.071
When I close the filesystem repair dialog 1.300
Then persistence is successfully enabled 3.614
After features/support/hooks.rb:339 0.753
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.452
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 7.951
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.061
When I try to enable persistence 1.209
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.860
When I repair the filesystem of the Persistent Storage 1.223
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.034
When I log in to a new session 9.639
And all notifications have disappeared 8.348
# 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.105
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.086
When I close the "whisperback" window 1.147
Then the Tor Browser starts 1.083
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.700
After features/support/hooks.rb:339 0.740
After features/support/hooks.rb:108 0.000
Tags: @product @doc
41.549
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.135
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.877
And Tails detects disk read failures on the boot device 1.304
When I try to enable persistence 1.223
Then the Welcome Screen tells me that my hardware is probably failing 3.017
When I log in to a new session 8.826
And all notifications have disappeared 7.229
Then the Tor Browser starts 1.117
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.818
After features/support/hooks.rb:339 0.632
After features/support/hooks.rb:108 0.000