Project Number Date
test_Tails_ISO_test-snapshot-restore-improvements 10 24 Aug 2026, 12:04

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 23:37.956 Passed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:27.692
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:13.188
And I update the APT lists using apt 7.385
And I install "python3-behave" using apt 6.248
Then the Tails Persistent Storage behave tests pass 0.869
After features/support/hooks.rb:339 0.631
After features/support/hooks.rb:108 0.000
Tags: @product
26.569
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 5.788
When I log in to a new session without activating the Persistent Storage 14.832
Then Tails is running from USB drive "__internal" 0.217
And persistence is disabled 0.128
But a Tails persistence partition exists on USB drive "__internal" 5.601
After features/support/hooks.rb:339 0.846
After features/support/hooks.rb:108 0.000
Tags: @product
1:38.311
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.009
Given I have started Tails without network from a USB drive without a persistent partition and logged in 6.618
Then Tails is running from USB drive "__internal" 0.313
When I create a file in the Persistent directory 0.106
And I create a persistent partition with the default settings 20.030
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 5.478
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.496
Then persistence for "Persistent" is active 0.171
And the file I created in the Persistent directory exists 0.049
After features/support/hooks.rb:339 0.934
After features/support/hooks.rb:108 0.040
Tags: @product
32.447
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 logged in 6.002
And the system is very low on memory 5.251
When I create a file in the Persistent directory 0.195
When I try to create a persistent partition 4.530
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.105
When I close the Persistent Storage app 2.353
And I free up some memory 0.653
And I create a persistent partition with the default settings 13.307
Then the file I created was copied to the Persistent Storage 0.048
After features/support/hooks.rb:339 0.755
After features/support/hooks.rb:108 0.000
Tags: @product
2:0.803
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 6.020
Then Tails is running from USB drive "__internal" 0.393
And all tps features are active 10.899
And all persistent directories have safe access rights 2.088
When I disable the first tps feature 2.631
Then all tps features but the first one are active 10.612
And I shutdown Tails and wait for the computer to power off 5.601
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:11.194
Then all tps features but the first one are active 11.360
After features/support/hooks.rb:339 0.907
After features/support/hooks.rb:108 0.007
Tags: @product
12.287
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 6.657
Then persistence for "Persistent" is active 0.074
And I create a file in the Persistent directory 0.089
Then the file I created was copied to the Persistent Storage 0.062
When I disable the first tps feature 2.631
Then persistence for "Persistent" is not active 0.117
And the Persistent directory does not exist 0.080
When I enable the first tps feature 2.452
Then persistence for "Persistent" is active 0.061
And the file I created in the Persistent directory exists 0.060
After features/support/hooks.rb:339 0.915
After features/support/hooks.rb:108 0.000
Tags: @product
10.949
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 5.397
Then persistence for "Persistent" is active 0.056
When I create a file in the Persistent directory 0.076
And I disable the first tps feature 2.539
And I delete the data of the Persistent Folder feature 2.823
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:339 0.824
After features/support/hooks.rb:108 0.000
Tags: @product
40.392
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 5.035
And the network is plugged 0.053
And Tor is ready 10.387
And I take note of which tps features are available 6.476
When I write some files expected to persist 1.029
And I shutdown Tails and wait for the computer to power off 5.545
# 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.864
After features/support/hooks.rb:339 0.421
After features/support/hooks.rb:108 0.000
Tags: @product
1:45.257
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 5.118
And the network is plugged 0.053
And Tor is ready 11.928
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.126
And I shutdown Tails and wait for the computer to power off 5.421
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:9.971
And I capture all network traffic 0.003
And the network is plugged 0.035
And Tor is ready 11.884
And I switch to the "persistent-con-current" NetworkManager connection 0.392
And the 1st network device has a spoofed MAC address configured 0.190
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:339 1.122
After features/support/hooks.rb:108 0.046
Tags: @product
39.134
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 6.366
And I enable persistence creation in Tails Greeter 1.082
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.777
Then I create a persistent partition with the default settings using the wizard that was already open 18.908
After features/support/hooks.rb:339 0.861
After features/support/hooks.rb:108 0.000
Tags: @product
2:58.434
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 6.536
When I enable persistence 26.396
Then no persistent Greeter options were restored 13.475
When I set all Greeter options to non-default values 38.816
Then the Welcome Screen's language is set to English 0.383
And the Welcome Screen's formats is set to United States 0.341
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.470
When I log in to a new session in German (de) after having activated the Persistent Storage 22.477
Then all Persistent Greeter options are set to non-default values 0.150
When I cold reboot the computer 6.208
And the computer reboots Tails 35.581
Then the Welcome Screen's language is set to English 0.314
And the Welcome Screen's formats is set to United States 0.294
Given I enable persistence 14.678
Then persistent Greeter options were restored 0.076
And the Welcome Screen's formats is set to Belgium 0.166
When I log in to a new session after having activated the Persistent Storage 7.893
Then all Persistent Greeter options are set to non-default values 0.170
After features/support/hooks.rb:339 0.921
After features/support/hooks.rb:108 0.019
Tags: @product
2:7.472
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 enabled and logged in 5.788
# 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 32.775
And I shutdown Tails and wait for the computer to power off 4.086
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:6.692
And I change the passphrase of the Persistent Storage back to the original 18.128
After features/support/hooks.rb:339 1.035
After features/support/hooks.rb:108 0.006
Tags: @product
37.398
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 5.162
And I log in to a new session without activating the Persistent Storage 14.602
Then persistence is disabled 0.093
But a Tails persistence partition exists on USB drive "__internal" 6.545
And all notifications have disappeared 8.054
When I delete the persistent partition 2.648
Then there is no persistence partition on USB drive "__internal" 0.291
After features/support/hooks.rb:339 1.066
After features/support/hooks.rb:108 0.000
Tags: @product
1:21.374
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 5.253
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 5.294
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:10.558
Then the expected persistent dotfile is present in the filesystem 0.201
After features/support/hooks.rb:339 0.779
After features/support/hooks.rb:108 0.023
Tags: @product
57.947
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 5.124
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.048
When I try to enable persistence 1.208
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 14.771
When I log in to a new session after having activated the Persistent Storage 8.195
And all notifications have disappeared 8.878
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.328
And all tps features are enabled 9.651
And all tps features but the first one are active 8.741
After features/support/hooks.rb:339 0.757
After features/support/hooks.rb:108 0.000
Tags: @product
2:59.050
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 1:58.101
And I enable persistence 40.189
And I log in to a new session after having activated the Persistent Storage 8.733
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.720
And persistence is enabled 11.305
After features/support/hooks.rb:339 0.820
After features/support/hooks.rb:108 0.000
Tags: @product
30.506
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 4.488
And I enable persistence but something goes wrong during the LUKS header upgrade 25.204
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.813
After features/support/hooks.rb:339 0.731
After features/support/hooks.rb:108 0.000
Tags: @product
42.732
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 6.496
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.611
When I enable persistence 16.613
Then the filesystem of the Persistent Storage was repaired 0.050
And persistence is successfully enabled 8.960
After features/support/hooks.rb:339 0.970
After features/support/hooks.rb:108 0.000
Tags: @product
26.889
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 5.473
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.772
When I try to enable persistence 1.283
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.209
When I repair the filesystem of the Persistent Storage 1.208
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.224
And the filesystem of the Persistent Storage was repaired 0.067
When I close the filesystem repair dialog 1.150
Then persistence is successfully enabled 3.500
After features/support/hooks.rb:339 0.805
After features/support/hooks.rb:108 0.000
Tags: @product @doc
40.282
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 5.006
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.052
When I try to enable persistence 1.202
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 12.621
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.025
When I log in to a new session 8.979
And all notifications have disappeared 7.765
# 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.201
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.126
When I close the "whisperback" window 1.190
Then the Tor Browser starts 1.152
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.736
After features/support/hooks.rb:339 1.116
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.018
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 5.672
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.409
And Tails detects disk read failures on the boot device 1.296
When I try to enable persistence 1.240
Then the Welcome Screen tells me that my hardware is probably failing 3.229
When I log in to a new session 9.959
And all notifications have disappeared 7.079
Then the Tor Browser starts 1.279
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.853
After features/support/hooks.rb:339 1.172
After features/support/hooks.rb:108 0.000