Project Number Date
test_Tails_ISO_test-snapshot-restore-improvements 12 24 Aug 2026, 13:34

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 159 1 3 0 0 163 20 1 21 21:29.027 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:26.963
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:11.778
And I update the APT lists using apt 8.003
And I install "python3-behave" using apt 6.276
Then the Tails Persistent Storage behave tests pass 0.905
After features/support/hooks.rb:339 0.766
After features/support/hooks.rb:108 0.000
Tags: @product
28.253
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 6.768
When I log in to a new session without activating the Persistent Storage 14.895
Then Tails is running from USB drive "__internal" 0.282
And persistence is disabled 0.114
But a Tails persistence partition exists on USB drive "__internal" 6.192
After features/support/hooks.rb:339 1.036
After features/support/hooks.rb:108 0.000
Tags: @product
1:38.327
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 6.836
Then Tails is running from USB drive "__internal" 0.310
When I create a file in the Persistent directory 0.097
And I create a persistent partition with the default settings 21.147
Then the file I created was copied to the Persistent Storage 0.042
When I shutdown Tails and wait for the computer to power off 5.404
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.295
Then persistence for "Persistent" is active 0.155
And the file I created in the Persistent directory exists 0.038
After features/support/hooks.rb:339 1.004
After features/support/hooks.rb:108 0.018
Tags: @product
29.683
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 5.187
And the system is very low on memory 6.087
When I create a file in the Persistent directory 0.182
When I try to create a persistent partition 4.525
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.133
When I close the Persistent Storage app 2.357
And I free up some memory 0.465
And I create a persistent partition with the default settings 10.688
Then the file I created was copied to the Persistent Storage 0.054
After features/support/hooks.rb:339 1.089
After features/support/hooks.rb:108 0.000
Tags: @product
1:52.055
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.000
Then Tails is running from USB drive "__internal" 0.316
And all tps features are active 8.364
And all persistent directories have safe access rights 1.782
When I disable the first tps feature 2.575
Then all tps features but the first one are active 7.989
And I shutdown Tails and wait for the computer to power off 5.356
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:11.765
Then all tps features but the first one are active 7.904
After features/support/hooks.rb:339 0.670
After features/support/hooks.rb:108 0.025
Tags: @product
12.028
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.203
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.062
Then the file I created was copied to the Persistent Storage 0.047
When I disable the first tps feature 2.950
Then persistence for "Persistent" is not active 0.067
And the Persistent directory does not exist 0.043
When I enable the first tps feature 2.469
Then persistence for "Persistent" is active 0.049
And the file I created in the Persistent directory exists 0.042
After features/support/hooks.rb:339 0.655
After features/support/hooks.rb:108 0.000
Tags: @product
10.916
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 4.740
Then persistence for "Persistent" is active 0.063
When I create a file in the Persistent directory 0.069
And I disable the first tps feature 2.530
And I delete the data of the Persistent Folder feature 3.450
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:339 0.882
After features/support/hooks.rb:108 0.000
Tags: @product
40.757
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 5.276
And the network is plugged 0.067
And Tor is ready 8.837
And I take note of which tps features are available 7.688
When I write some files expected to persist 1.092
And I shutdown Tails and wait for the computer to power off 5.356
# 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.439
After features/support/hooks.rb:339 0.550
After features/support/hooks.rb:108 0.000
Tags: @product
1:41.486
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5.027
And the network is plugged 0.041
And Tor is ready 8.735
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.180
And I shutdown Tails and wait for the computer to power off 7.161
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:8.553
And I capture all network traffic 0.002
And the network is plugged 0.025
And Tor is ready 11.180
And I switch to the "persistent-con-current" NetworkManager connection 0.422
And the 1st network device has a spoofed MAC address configured 0.071
And no network device leaked the real MAC address 0.085
After features/support/hooks.rb:339 0.740
After features/support/hooks.rb:108 0.105
Tags: @product
39.498
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 without a persistent partition and stopped at Tails Greeter's login screen 5.543
And I enable persistence creation in Tails Greeter 1.080
And I log in to a new session expecting no warning about the Persistent Storage not being activated 15.206
Then I create a persistent partition with the default settings using the wizard that was already open 17.667
After features/support/hooks.rb:339 0.947
After features/support/hooks.rb:108 0.000
Tags: @product
2:56.561
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.618
When I enable persistence 23.175
Then no persistent Greeter options were restored 13.982
When I set all Greeter options to non-default values 37.966
Then the Welcome Screen's language is set to English 0.315
And the Welcome Screen's formats is set to United States 0.311
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.508
When I log in to a new session in German (de) after having activated the Persistent Storage 22.854
Then all Persistent Greeter options are set to non-default values 0.154
When I cold reboot the computer 6.205
And the computer reboots Tails 35.173
Then the Welcome Screen's language is set to English 0.367
And the Welcome Screen's formats is set to United States 0.172
Given I enable persistence 17.665
Then persistent Greeter options were restored 0.089
And the Welcome Screen's formats is set to Belgium 0.342
When I log in to a new session after having activated the Persistent Storage 7.465
Then all Persistent Greeter options are set to non-default values 0.190
After features/support/hooks.rb:339 0.798
After features/support/hooks.rb:108 0.007
Tags: @product
17.453
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6.058
# 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 11.394
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/support/helpers/dogtail.rb:371:in `grabFocus'
./features/step_definitions/usb.rb:484:in `/^I change the passphrase of the Persistent Storage( back to the original)?$/'
features/persistence.feature:128:in `When I change the passphrase of the Persistent Storage'
And I shutdown Tails and wait for the computer to power off 0.000
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 0.000
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:339 5.064

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 02:38:03)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/12/artifact/build-artifacts/02:38:03_Changing_the_Persistent_Storage_passphrase.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/12/artifact/build-artifacts/02:38:03_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/12/artifact/build-artifacts/02:38:03_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/12/artifact/build-artifacts/02:38:03_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:108 0.000
Tags: @product
37.875
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.527
And I log in to a new session without activating the Persistent Storage 14.737
Then persistence is disabled 0.107
But a Tails persistence partition exists on USB drive "__internal" 6.569
And all notifications have disappeared 7.920
When I delete the persistent partition 2.649
Then there is no persistence partition on USB drive "__internal" 0.363
After features/support/hooks.rb:339 0.896
After features/support/hooks.rb:108 0.000
Tags: @product
1:18.686
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.356
When I write some dotfile expected to persist 0.052
And I shutdown Tails and wait for the computer to power off 5.467
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.541
Then the expected persistent dotfile is present in the filesystem 0.269
After features/support/hooks.rb:339 0.658
After features/support/hooks.rb:108 0.043
Tags: @product
59.671
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.986
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.059
When I try to enable persistence 1.168
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 16.363
When I log in to a new session after having activated the Persistent Storage 8.747
And all notifications have disappeared 8.285
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.301
And all tps features are enabled 8.625
And all tps features but the first one are active 9.133
After features/support/hooks.rb:339 0.673
After features/support/hooks.rb:108 0.000
Tags: @product
2:55.751
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 2:2.251
And I enable persistence 34.416
And I log in to a new session after having activated the Persistent Storage 8.248
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.572
And persistence is enabled 10.263
After features/support/hooks.rb:339 0.855
After features/support/hooks.rb:108 0.000
Tags: @product
29.397
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 5.164
And I enable persistence but something goes wrong during the LUKS header upgrade 23.649
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.583
After features/support/hooks.rb:339 0.816
After features/support/hooks.rb:108 0.000
Tags: @product
41.168
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.725
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.331
When I enable persistence 16.379
Then the filesystem of the Persistent Storage was repaired 0.048
And persistence is successfully enabled 8.683
After features/support/hooks.rb:339 0.506
After features/support/hooks.rb:108 0.000
Tags: @product
27.611
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.607
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.115
When I try to enable persistence 1.238
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.616
When I repair the filesystem of the Persistent Storage 1.162
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.668
And the filesystem of the Persistent Storage was repaired 0.055
When I close the filesystem repair dialog 1.238
Then persistence is successfully enabled 3.909
After features/support/hooks.rb:339 0.654
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.548
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.818
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.056
When I try to enable persistence 1.186
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 13.162
When I repair the filesystem of the Persistent Storage 1.183
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.044
When I log in to a new session 9.029
And all notifications have disappeared 8.265
# 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.250
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.101
When I close the "whisperback" window 1.215
Then the Tor Browser starts 1.216
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.017
After features/support/hooks.rb:339 0.780
After features/support/hooks.rb:108 0.000
Tags: @product @doc
42.330
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.860
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.239
And Tails detects disk read failures on the boot device 1.392
When I try to enable persistence 1.165
Then the Welcome Screen tells me that my hardware is probably failing 3.554
When I log in to a new session 8.091
And all notifications have disappeared 8.381
Then the Tor Browser starts 1.784
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.859
After features/support/hooks.rb:339 0.875
After features/support/hooks.rb:108 0.000