Project Number Date
test_Tails_ISO_test-snapshot-restore-improvements 1 20 Aug 2026, 15:05

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 22:32.596 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
56.178
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.004
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 56.178
The
The Dogtail init script raised: SearchError: descendant of [application | Tor Connection]: child with name='Connect to Tor automatically' roleName='radio 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:276:in `child'
./features/step_definitions/tor.rb:533:in `tca_configure'
./features/step_definitions/tor.rb:553:in `/^I configure a direct connection in the Tor Connection Assistant$/'
./features/step_definitions/common_steps.rb:713:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:667:in `/^Tor is ready$/'
./features/step_definitions/snapshots.rb:208:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:205:in `each'
./features/step_definitions/snapshots.rb:205:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:227:in `/^I\ have\ started\ Tails\ from\ DVD\ and\ logged\ in\ with\ an\ administration\ password\ and\ the\ network\ is\ connected$/'
features/persistence.feature:7:in `Given I have started Tails from DVD and logged in with an administration password and the network is connected'
And I update the APT lists using apt 0.000
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:339 4.859

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 02:19:00)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/1/artifact/build-artifacts/02:19:00_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/1/artifact/build-artifacts/02:19:00_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/1/artifact/build-artifacts/02:19:00_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-snapshot-restore-improvements/1/artifact/build-artifacts/02:19:00_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:108 0.000
Tags: @product
26.117
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.923
When I log in to a new session without activating the Persistent Storage 13.315
Then Tails is running from USB drive "__internal" 0.223
And persistence is disabled 0.087
But a Tails persistence partition exists on USB drive "__internal" 6.567
After features/support/hooks.rb:339 0.563
After features/support/hooks.rb:108 0.000
Tags: @product
1:36.720
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.958
Then Tails is running from USB drive "__internal" 0.384
When I create a file in the Persistent directory 0.125
And I create a persistent partition with the default settings 18.586
Then the file I created was copied to the Persistent Storage 0.055
When I shutdown Tails and wait for the computer to power off 5.399
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.938
Then persistence for "Persistent" is active 0.212
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:339 0.953
After features/support/hooks.rb:108 0.005
Tags: @product
28.792
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.979
And the system is very low on memory 5.388
When I create a file in the Persistent directory 0.245
When I try to create a persistent partition 4.422
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.085
When I close the Persistent Storage app 2.456
And I free up some memory 0.595
And I create a persistent partition with the default settings 9.538
Then the file I created was copied to the Persistent Storage 0.082
After features/support/hooks.rb:339 0.882
After features/support/hooks.rb:108 0.000
Tags: @product
1:54.874
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.594
Then Tails is running from USB drive "__internal" 0.361
And all tps features are active 9.747
And all persistent directories have safe access rights 2.239
When I disable the first tps feature 2.498
Then all tps features but the first one are active 9.057
And I shutdown Tails and wait for the computer to power off 6.834
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:10.476
Then all tps features but the first one are active 8.064
After features/support/hooks.rb:339 0.830
After features/support/hooks.rb:108 0.033
Tags: @product
11.025
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.408
Then persistence for "Persistent" is active 0.089
And I create a file in the Persistent directory 0.067
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 2.618
Then persistence for "Persistent" is not active 0.069
And the Persistent directory does not exist 0.048
When I enable the first tps feature 2.535
Then persistence for "Persistent" is active 0.051
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:339 0.668
After features/support/hooks.rb:108 0.000
Tags: @product
10.880
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.247
Then persistence for "Persistent" is active 0.100
When I create a file in the Persistent directory 0.094
And I disable the first tps feature 2.570
And I delete the data of the Persistent Folder feature 2.813
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:339 0.821
After features/support/hooks.rb:108 0.000
Tags: @product
43.466
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.167
And the network is plugged 0.042
And Tor is ready 10.564
And I take note of which tps features are available 7.961
When I write some files expected to persist 1.077
And I shutdown Tails and wait for the computer to power off 5.720
# 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.932
After features/support/hooks.rb:339 0.282
After features/support/hooks.rb:108 0.000
Tags: @product
1:40.013
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5.625
And the network is plugged 0.040
And Tor is ready 10.332
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.173
And I shutdown Tails and wait for the computer to power off 5.543
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.379
And I capture all network traffic 0.003
And the network is plugged 0.037
And Tor is ready 12.323
And I switch to the "persistent-con-current" NetworkManager connection 0.360
And the 1st network device has a spoofed MAC address configured 0.084
And no network device leaked the real MAC address 0.110
After features/support/hooks.rb:339 0.696
After features/support/hooks.rb:108 0.118
Tags: @product
38.216
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.620
And I enable persistence creation in Tails Greeter 1.097
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.857
Then I create a persistent partition with the default settings using the wizard that was already open 18.640
After features/support/hooks.rb:339 1.314
After features/support/hooks.rb:108 0.000
Tags: @product
2:54.572
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.575
When I enable persistence 23.441
Then no persistent Greeter options were restored 13.976
When I set all Greeter options to non-default values 38.441
Then the Welcome Screen's language is set to English 0.361
And the Welcome Screen's formats is set to United States 0.279
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.607
When I log in to a new session in German (de) after having activated the Persistent Storage 22.760
Then all Persistent Greeter options are set to non-default values 0.157
When I cold reboot the computer 6.063
And the computer reboots Tails 35.874
Then the Welcome Screen's language is set to English 0.376
And the Welcome Screen's formats is set to United States 0.248
Given I enable persistence 13.428
Then persistent Greeter options were restored 0.092
And the Welcome Screen's formats is set to Belgium 0.180
When I log in to a new session after having activated the Persistent Storage 8.540
Then all Persistent Greeter options are set to non-default values 0.164
After features/support/hooks.rb:339 0.679
After features/support/hooks.rb:108 0.010
Tags: @product
2:7.733
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 6.038
# 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 27.971
And I shutdown Tails and wait for the computer to power off 5.407
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:8.661
And I change the passphrase of the Persistent Storage back to the original 19.653
After features/support/hooks.rb:339 0.777
After features/support/hooks.rb:108 0.007
Tags: @product
39.497
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.168
And I log in to a new session without activating the Persistent Storage 15.258
Then persistence is disabled 0.100
But a Tails persistence partition exists on USB drive "__internal" 6.378
And all notifications have disappeared 8.674
When I delete the persistent partition 2.646
Then there is no persistence partition on USB drive "__internal" 0.270
After features/support/hooks.rb:339 0.720
After features/support/hooks.rb:108 0.000
Tags: @product
1:17.770
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.691
When I write some dotfile expected to persist 0.077
And I shutdown Tails and wait for the computer to power off 6.648
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.154
Then the expected persistent dotfile is present in the filesystem 0.199
After features/support/hooks.rb:339 0.932
After features/support/hooks.rb:108 0.006
Tags: @product
55.484
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.939
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.052
When I try to enable persistence 1.248
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 14.607
When I log in to a new session after having activated the Persistent Storage 8.604
And all notifications have disappeared 8.262
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.290
And all tps features are enabled 7.900
And all tps features but the first one are active 7.577
After features/support/hooks.rb:339 0.711
After features/support/hooks.rb:108 0.000
Tags: @product
2:53.011
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.896
And I enable persistence 33.162
And I log in to a new session after having activated the Persistent Storage 7.555
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.633
And persistence is enabled 8.763
After features/support/hooks.rb:339 0.814
After features/support/hooks.rb:108 0.000
Tags: @product
28.464
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.204
And I enable persistence but something goes wrong during the LUKS header upgrade 22.680
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.578
After features/support/hooks.rb:339 0.687
After features/support/hooks.rb:108 0.000
Tags: @product
39.735
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.035
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 11.174
When I enable persistence 13.903
Then the filesystem of the Persistent Storage was repaired 0.099
And persistence is successfully enabled 8.521
After features/support/hooks.rb:339 0.984
After features/support/hooks.rb:108 0.000
Tags: @product
29.224
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 7.219
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.802
When I try to enable persistence 1.250
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.900
When I repair the filesystem of the Persistent Storage 1.231
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.405
And the filesystem of the Persistent Storage was repaired 0.061
When I close the filesystem repair dialog 1.095
Then persistence is successfully enabled 4.256
After features/support/hooks.rb:339 1.184
After features/support/hooks.rb:108 0.000
Tags: @product @doc
41.167
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.688
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.066
When I try to enable persistence 1.173
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 12.789
When I repair the filesystem of the Persistent Storage 1.099
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.030
When I log in to a new session 9.513
And all notifications have disappeared 7.147
# 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.211
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.079
When I close the "whisperback" window 1.199
Then the Tor Browser starts 1.285
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.883
After features/support/hooks.rb:339 0.576
After features/support/hooks.rb:108 0.000
Tags: @product @doc
39.647
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.904
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.926
And Tails detects disk read failures on the boot device 1.296
When I try to enable persistence 1.156
Then the Welcome Screen tells me that my hardware is probably failing 2.943
When I log in to a new session 8.115
And all notifications have disappeared 7.183
Then the Tor Browser starts 1.307
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.813
After features/support/hooks.rb:339 0.550
After features/support/hooks.rb:108 0.000