Project Number Date
test_Tails_ISO_test-snapshot-restore-improvements 11 24 Aug 2026, 13:09

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 3 7 0 0 163 18 3 21 25:3.728 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:24.280
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:9.532
And I update the APT lists using apt 7.577
And I install "python3-behave" using apt 6.220
Then the Tails Persistent Storage behave tests pass 0.950
After features/support/hooks.rb:339 1.159
After features/support/hooks.rb:108 0.000
Tags: @product
3:8.280
Scenario Booting Tails from a USB drive with a disabled persistent partition
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 and stopped at Tails Greeter's login screen 6.411
When I log in to a new session without activating the Persistent Storage 3:1.869
cannot find GnomeApplicationsMenu.png on the screen (FindFailed)
./features/support/helpers/screen.rb:181:in `rescue in wait'
./features/support/helpers/screen.rb:165:in `wait'
./features/step_definitions/common_steps.rb:617:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:558:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
features/persistence.feature:14:in `When I log in to a new session without activating the Persistent Storage'
Then Tails is running from USB drive "__internal" 0.000
And persistence is disabled 0.000
But a Tails persistence partition exists on USB drive "__internal" 0.000
After features/support/hooks.rb:339 5.078

SCENARIO FAILED: 'Booting Tails from a USB drive with a disabled persistent partition' (at time 02:39:56)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/11/artifact/build-artifacts/02:39:56_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/11/artifact/build-artifacts/02:39:56_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/11/artifact/build-artifacts/02:39:56_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/11/artifact/build-artifacts/02:39:56_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.journal

After features/support/hooks.rb:108 0.000
Tags: @product
1:37.567
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 5.925
Then Tails is running from USB drive "__internal" 0.329
When I create a file in the Persistent directory 0.080
And I create a persistent partition with the default settings 20.738
Then the file I created was copied to the Persistent Storage 0.051
When I shutdown Tails and wait for the computer to power off 5.400
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.814
Then persistence for "Persistent" is active 0.173
And the file I created in the Persistent directory exists 0.053
After features/support/hooks.rb:339 0.634
After features/support/hooks.rb:108 0.008
Tags: @product
27.650
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.596
And the system is very low on memory 4.751
When I create a file in the Persistent directory 0.237
When I try to create a persistent partition 4.653
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.112
When I close the Persistent Storage app 2.393
And I free up some memory 0.529
And I create a persistent partition with the default settings 9.308
Then the file I created was copied to the Persistent Storage 0.065
After features/support/hooks.rb:339 0.569
After features/support/hooks.rb:108 0.000
Tags: @product
1:51.060
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.224
Then Tails is running from USB drive "__internal" 0.355
And all tps features are active 9.075
And all persistent directories have safe access rights 1.732
When I disable the first tps feature 2.473
Then all tps features but the first one are active 8.889
And I shutdown Tails and wait for the computer to power off 6.609
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.878
Then all tps features but the first one are active 8.822
After features/support/hooks.rb:339 0.669
After features/support/hooks.rb:108 0.063
Tags: @product
10.396
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5.021
Then persistence for "Persistent" is active 0.075
And I create a file in the Persistent directory 0.068
Then the file I created was copied to the Persistent Storage 0.055
When I disable the first tps feature 2.494
Then persistence for "Persistent" is not active 0.051
And the Persistent directory does not exist 0.030
When I enable the first tps feature 2.490
Then persistence for "Persistent" is active 0.051
And the file I created in the Persistent directory exists 0.055
After features/support/hooks.rb:339 0.809
After features/support/hooks.rb:108 0.000
Tags: @product
18.303
Scenario Deleting data of a Persistent Storage feature
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5.321
Then persistence for "Persistent" is active 0.126
When I create a file in the Persistent directory 0.060
And I disable the first tps feature 2.541
And I delete the data of the Persistent Folder feature 10.254
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:1761:in `/^I delete the data of the Persistent Folder feature$/'
features/persistence.feature:69:in `And I delete the data of the Persistent Folder feature'
Then the file I created does not exist on the Persistent Storage 0.000
After features/support/hooks.rb:339 5.347

SCENARIO FAILED: 'Deleting data of a Persistent Storage feature' (at time 02:44:29)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/11/artifact/build-artifacts/02:44:29_Deleting_data_of_a_Persistent_Storage_feature.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/11/artifact/build-artifacts/02:44:29_Deleting_data_of_a_Persistent_Storage_feature.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/11/artifact/build-artifacts/02:44:29_Deleting_data_of_a_Persistent_Storage_feature.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/11/artifact/build-artifacts/02:44:29_Deleting_data_of_a_Persistent_Storage_feature.journal

After features/support/hooks.rb:108 0.000
Tags: @product
43.797
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.913
And the network is plugged 0.049
And Tor is ready 12.125
And I take note of which tps features are available 7.201
When I write some files expected to persist 1.105
And I shutdown Tails and wait for the computer to power off 5.391
# 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.010
After features/support/hooks.rb:339 0.161
After features/support/hooks.rb:108 0.000
Tags: @product
1:39.210
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.089
And the network is plugged 0.050
And Tor is ready 10.165
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.109
And I shutdown Tails and wait for the computer to power off 5.320
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.870
And I capture all network traffic 0.003
And the network is plugged 0.030
And Tor is ready 10.995
And I switch to the "persistent-con-current" NetworkManager connection 0.379
And the 1st network device has a spoofed MAC address configured 0.061
And no network device leaked the real MAC address 0.134
After features/support/hooks.rb:339 0.664
After features/support/hooks.rb:108 0.083
Tags: @product
39.503
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 5.845
And I enable persistence creation in Tails Greeter 1.089
And I log in to a new session expecting no warning about the Persistent Storage not being activated 14.826
Then I create a persistent partition with the default settings using the wizard that was already open 17.742
After features/support/hooks.rb:339 0.967
After features/support/hooks.rb:108 0.000
Tags: @product
2:51.327
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.722
When I enable persistence 23.702
Then no persistent Greeter options were restored 14.250
When I set all Greeter options to non-default values 37.993
Then the Welcome Screen's language is set to English 0.217
And the Welcome Screen's formats is set to United States 0.299
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.543
When I log in to a new session in German (de) after having activated the Persistent Storage 21.841
Then all Persistent Greeter options are set to non-default values 0.172
When I cold reboot the computer 6.140
And the computer reboots Tails 34.756
Then the Welcome Screen's language is set to English 0.364
And the Welcome Screen's formats is set to United States 0.151
Given I enable persistence 14.167
Then persistent Greeter options were restored 0.064
And the Welcome Screen's formats is set to Belgium 0.146
When I log in to a new session after having activated the Persistent Storage 6.666
Then all Persistent Greeter options are set to non-default values 0.125
After features/support/hooks.rb:339 0.947
After features/support/hooks.rb:108 0.010
Tags: @product
17.222
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5.837
# 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.385
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.359

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 02:50:49)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/11/artifact/build-artifacts/02:50:49_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/11/artifact/build-artifacts/02:50:49_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/11/artifact/build-artifacts/02:50:49_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/11/artifact/build-artifacts/02:50:49_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:108 0.000
Tags: @product
35.127
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.460
And I log in to a new session without activating the Persistent Storage 13.219
Then persistence is disabled 0.094
But a Tails persistence partition exists on USB drive "__internal" 6.390
And all notifications have disappeared 7.213
When I delete the persistent partition 2.698
Then there is no persistence partition on USB drive "__internal" 0.049
After features/support/hooks.rb:339 0.605
After features/support/hooks.rb:108 0.000
Tags: @product
1:18.222
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.977
When I write some dotfile expected to persist 0.065
And I shutdown Tails and wait for the computer to power off 5.451
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:6.507
Then the expected persistent dotfile is present in the filesystem 0.219
After features/support/hooks.rb:339 0.516
After features/support/hooks.rb:108 0.042
Tags: @product
56.615
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.467
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.058
When I try to enable persistence 1.228
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 14.900
When I log in to a new session after having activated the Persistent Storage 8.122
And all notifications have disappeared 8.697
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.273
And all tps features are enabled 8.619
And all tps features but the first one are active 8.248
After features/support/hooks.rb:339 0.568
After features/support/hooks.rb:108 0.000
Tags: @product
4:3.564
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 3:6.671
And I enable persistence 37.720
And I log in to a new session after having activated the Persistent Storage 8.368
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.652
And persistence is enabled 10.150
After features/support/hooks.rb:339 0.714
After features/support/hooks.rb:108 0.000
Tags: @product
30.578
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.013
And I enable persistence but something goes wrong during the LUKS header upgrade 25.109
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.455
After features/support/hooks.rb:339 0.612
After features/support/hooks.rb:108 0.000
Tags: @product
43.619
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 5.652
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.990
When I enable persistence 16.428
Then the filesystem of the Persistent Storage was repaired 0.050
And persistence is successfully enabled 10.498
After features/support/hooks.rb:339 0.644
After features/support/hooks.rb:108 0.000
Tags: @product
28.121
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 5.807
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.680
When I try to enable persistence 1.293
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.559
When I repair the filesystem of the Persistent Storage 1.139
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.404
And the filesystem of the Persistent Storage was repaired 0.082
When I close the filesystem repair dialog 1.118
Then persistence is successfully enabled 4.035
After features/support/hooks.rb:339 0.668
After features/support/hooks.rb:108 0.000
Tags: @product @doc
40.770
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.684
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.070
When I try to enable persistence 1.189
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 13.159
When I repair the filesystem of the Persistent Storage 1.198
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.366
And all notifications have disappeared 7.617
# 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.165
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.105
When I close the "whisperback" window 1.202
Then the Tor Browser starts 1.122
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.861
After features/support/hooks.rb:339 0.975
After features/support/hooks.rb:108 0.000
Tags: @product @doc
38.509
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.549
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.782
And Tails detects disk read failures on the boot device 0.266
When I try to enable persistence 1.161
Then the Welcome Screen tells me that my hardware is probably failing 2.595
When I log in to a new session 8.464
And all notifications have disappeared 7.619
Then the Tor Browser starts 1.213
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.857
After features/support/hooks.rb:339 0.752
After features/support/hooks.rb:108 0.000