Project Number Date
test_Tails_ISO_test-snapshot-restore-improvements 2 21 Aug 2026, 16:21

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 157 1 5 0 0 163 20 1 21 20:33.522 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:22.384
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:8.216
And I update the APT lists using apt 7.193
And I install "python3-behave" using apt 6.182
Then the Tails Persistent Storage behave tests pass 0.792
After features/support/hooks.rb:339 0.838
After features/support/hooks.rb:108 0.000
Tags: @product
24.974
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.740
When I log in to a new session without activating the Persistent Storage 12.420
Then Tails is running from USB drive "__internal" 0.208
And persistence is disabled 0.079
But a Tails persistence partition exists on USB drive "__internal" 6.525
After features/support/hooks.rb:339 0.903
After features/support/hooks.rb:108 0.000
Tags: @product
19.575
Scenario Creating a Persistent Storage
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.004
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 5.867
Then Tails is running from USB drive "__internal" 0.289
When I create a file in the Persistent directory 0.085
And I create a persistent partition with the default settings 13.333
The
The Dogtail init script raised: SearchError: descendant of [frame | Persistent Storage]: 'Create Persistent Storage' button
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:339:in `initialize'
./features/support/helpers/dogtail.rb:268:in `new'
./features/support/helpers/dogtail.rb:268:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:272:in `button'
./features/step_definitions/usb.rb:386:in `/^I try to create a persistent partition( for Additional Software)?( using the wizard that was already open)?$/'
./features/step_definitions/usb.rb:355:in `/^I create a persistent partition( with the default settings)?( for Additional Software)?( using the wizard that was already open)?$/'
features/persistence.feature:23:in `And I create a persistent partition with the default settings'
Then the file I created was copied to the Persistent Storage 0.000
When I shutdown Tails and wait for the computer to power off 0.000
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 0.000
Then persistence for "Persistent" is active 0.000
And the file I created in the Persistent directory exists 0.000
After features/support/hooks.rb:339 4.985

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 02:37:39)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/2/artifact/build-artifacts/02:37:39_Creating_a_Persistent_Storage.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/2/artifact/build-artifacts/02:37:39_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/2/artifact/build-artifacts/02:37:39_Creating_a_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/2/artifact/build-artifacts/02:37:39_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:108 0.000
Tags: @product
27.097
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 4.948
And the system is very low on memory 4.955
When I create a file in the Persistent directory 0.333
When I try to create a persistent partition 4.309
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.104
When I close the Persistent Storage app 2.343
And I free up some memory 0.496
And I create a persistent partition with the default settings 9.558
Then the file I created was copied to the Persistent Storage 0.046
After features/support/hooks.rb:339 0.755
After features/support/hooks.rb:108 0.000
Tags: @product
1:39.811
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.377
Then Tails is running from USB drive "__internal" 0.453
And all tps features are active 8.149
And all persistent directories have safe access rights 1.636
When I disable the first tps feature 2.449
Then all tps features but the first one are active 6.585
And I shutdown Tails and wait for the computer to power off 5.311
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.067
Then all tps features but the first one are active 6.780
After features/support/hooks.rb:339 0.882
After features/support/hooks.rb:108 0.047
Tags: @product
10.431
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.001
Then persistence for "Persistent" is active 0.074
And I create a file in the Persistent directory 0.106
Then the file I created was copied to the Persistent Storage 0.064
When I disable the first tps feature 2.517
Then persistence for "Persistent" is not active 0.045
And the Persistent directory does not exist 0.038
When I enable the first tps feature 2.492
Then persistence for "Persistent" is active 0.051
And the file I created in the Persistent directory exists 0.039
After features/support/hooks.rb:339 0.733
After features/support/hooks.rb:108 0.000
Tags: @product
10.401
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.858
Then persistence for "Persistent" is active 0.071
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 2.462
And I delete the data of the Persistent Folder feature 2.889
Then the file I created does not exist on the Persistent Storage 0.048
After features/support/hooks.rb:339 0.867
After features/support/hooks.rb:108 0.000
Tags: @product
41.445
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.158
And the network is plugged 0.030
And Tor is ready 11.599
And I take note of which tps features are available 7.014
When I write some files expected to persist 1.070
And I shutdown Tails and wait for the computer to power off 5.259
# 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.312
After features/support/hooks.rb:339 0.298
After features/support/hooks.rb:108 0.000
Tags: @product
1:34.105
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.081
And the network is plugged 0.026
And Tor is ready 8.494
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.134
And I shutdown Tails and wait for the computer to power off 5.241
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.311
And I capture all network traffic 0.006
And the network is plugged 0.032
And Tor is ready 12.270
And I switch to the "persistent-con-current" NetworkManager connection 0.356
And the 1st network device has a spoofed MAC address configured 0.055
And no network device leaked the real MAC address 0.095
After features/support/hooks.rb:339 0.636
After features/support/hooks.rb:108 0.080
Tags: @product
36.271
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.614
And I enable persistence creation in Tails Greeter 1.091
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.355
Then I create a persistent partition with the default settings using the wizard that was already open 17.210
After features/support/hooks.rb:339 0.948
After features/support/hooks.rb:108 0.000
Tags: @product
2:47.197
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.322
When I enable persistence 22.192
Then no persistent Greeter options were restored 13.990
When I set all Greeter options to non-default values 38.495
Then the Welcome Screen's language is set to English 0.214
And the Welcome Screen's formats is set to United States 0.291
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.432
When I log in to a new session in German (de) after having activated the Persistent Storage 21.779
Then all Persistent Greeter options are set to non-default values 0.125
When I cold reboot the computer 5.900
And the computer reboots Tails 33.694
Then the Welcome Screen's language is set to English 0.251
And the Welcome Screen's formats is set to United States 0.259
Given I enable persistence 13.566
Then persistent Greeter options were restored 0.063
And the Welcome Screen's formats is set to Belgium 0.152
When I log in to a new session after having activated the Persistent Storage 6.355
Then all Persistent Greeter options are set to non-default values 0.107
After features/support/hooks.rb:339 0.590
After features/support/hooks.rb:108 0.005
Tags: @product
2:6.081
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 5.647
# 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.529
And I shutdown Tails and wait for the computer to power off 3.971
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:3.931
And I change the passphrase of the Persistent Storage back to the original 20.001
After features/support/hooks.rb:339 0.871
After features/support/hooks.rb:108 0.005
Tags: @product
35.395
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.474
And I log in to a new session without activating the Persistent Storage 13.173
Then persistence is disabled 0.081
But a Tails persistence partition exists on USB drive "__internal" 5.763
And all notifications have disappeared 7.908
When I delete the persistent partition 2.721
Then there is no persistence partition on USB drive "__internal" 0.273
After features/support/hooks.rb:339 0.730
After features/support/hooks.rb:108 0.000
Tags: @product
1:13.847
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.185
When I write some dotfile expected to persist 0.046
And I shutdown Tails and wait for the computer to power off 5.200
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.218
Then the expected persistent dotfile is present in the filesystem 0.196
After features/support/hooks.rb:339 0.819
After features/support/hooks.rb:108 0.058
Tags: @product
54.198
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.361
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.059
When I try to enable persistence 1.160
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 14.681
When I log in to a new session after having activated the Persistent Storage 8.235
And all notifications have disappeared 7.425
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.251
And all tps features are enabled 7.971
And all tps features but the first one are active 8.051
After features/support/hooks.rb:339 0.518
After features/support/hooks.rb:108 0.000
Tags: @product
2:45.447
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:57.119
And I enable persistence 32.408
And I log in to a new session after having activated the Persistent Storage 7.904
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.569
And persistence is enabled 7.444
After features/support/hooks.rb:339 0.965
After features/support/hooks.rb:108 0.000
Tags: @product
27.049
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 4.845
And I enable persistence but something goes wrong during the LUKS header upgrade 21.575
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.628
After features/support/hooks.rb:339 0.616
After features/support/hooks.rb:108 0.000
Tags: @product
37.008
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.660
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.881
When I enable persistence 13.532
Then the filesystem of the Persistent Storage was repaired 0.044
And persistence is successfully enabled 7.889
After features/support/hooks.rb:339 0.656
After features/support/hooks.rb:108 0.000
Tags: @product
25.886
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.482
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.099
When I try to enable persistence 1.322
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.777
When I repair the filesystem of the Persistent Storage 1.176
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.164
And the filesystem of the Persistent Storage was repaired 0.055
When I close the filesystem repair dialog 1.196
Then persistence is successfully enabled 3.610
After features/support/hooks.rb:339 0.768
After features/support/hooks.rb:108 0.000
Tags: @product @doc
37.952
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 4.892
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.075
When I try to enable persistence 1.220
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 11.435
When I repair the filesystem of the Persistent Storage 1.228
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.031
When I log in to a new session 7.950
And all notifications have disappeared 7.621
# 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.213
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.081
When I close the "whisperback" window 1.176
Then the Tor Browser starts 1.188
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.838
After features/support/hooks.rb:339 0.754
After features/support/hooks.rb:108 0.000
Tags: @product @doc
36.955
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.049
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.198
And Tails detects disk read failures on the boot device 1.334
When I try to enable persistence 1.189
Then the Welcome Screen tells me that my hardware is probably failing 2.452
When I log in to a new session 7.494
And all notifications have disappeared 7.019
Then the Tor Browser starts 1.426
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.791
After features/support/hooks.rb:339 0.730
After features/support/hooks.rb:108 0.000