Project Number Date
test_Tails_ISO_devel 4638 27 Sep 2026, 11:54

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 27:47.779 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:7.919
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:7.919
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/step_definitions/common_steps.rb:764:in `/^available upgrades have been checked$/'
./features/step_definitions/snapshots.rb:206:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:203:in `each'
./features/step_definitions/snapshots.rb:203:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:226: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 5.183

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

Boot log: https://jenkins.tails.net/job/test_Tails_ISO_devel/4638/artifact/build-artifacts/02:50:00_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.net/job/test_Tails_ISO_devel/4638/artifact/build-artifacts/02:50:00_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.net/job/test_Tails_ISO_devel/4638/artifact/build-artifacts/02:50:00_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.net/job/test_Tails_ISO_devel/4638/artifact/build-artifacts/02:50:00_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:108 0.000
Tags: @product
29.161
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 8.448
When I log in to a new session without activating the Persistent Storage 13.375
Then Tails is running from USB drive "__internal" 0.216
And persistence is disabled 0.077
But a Tails persistence partition exists on USB drive "__internal" 7.043
After features/support/hooks.rb:339 0.610
After features/support/hooks.rb:108 0.000
Tags: @product
1:32.012
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 without a persistent partition and logged in 9.285
Then Tails is running from USB drive "__internal" 0.260
When I create a file in the Persistent directory 0.089
And I create a persistent partition with the default settings 17.542
Then the file I created was copied to the Persistent Storage 0.041
When I shutdown Tails and wait for the computer to power off 4.084
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:0.518
Then persistence for "Persistent" is active 0.151
And the file I created in the Persistent directory exists 0.038
After features/support/hooks.rb:339 0.677
After features/support/hooks.rb:108 0.006
Tags: @product
29.221
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 7.884
And the system is very low on memory 4.262
When I create a file in the Persistent directory 0.245
When I try to create a persistent partition 4.437
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.394
And I free up some memory 0.423
And I create a persistent partition with the default settings 9.425
Then the file I created was copied to the Persistent Storage 0.044
After features/support/hooks.rb:339 0.971
After features/support/hooks.rb:108 0.000
Tags: @product
1:47.665
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 8.302
Then Tails is running from USB drive "__internal" 0.273
And all tps features are active 7.756
And all persistent directories have safe access rights 2.067
When I disable the first tps feature 2.475
Then all tps features but the first one are active 7.994
And I shutdown Tails and wait for the computer to power off 5.281
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:5.295
Then all tps features but the first one are active 8.217
After features/support/hooks.rb:339 0.530
After features/support/hooks.rb:108 0.026
Tags: @product
13.292
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 7.900
Then persistence for "Persistent" is active 0.062
And I create a file in the Persistent directory 0.046
Then the file I created was copied to the Persistent Storage 0.064
When I disable the first tps feature 2.581
Then persistence for "Persistent" is not active 0.056
And the Persistent directory does not exist 0.045
When I enable the first tps feature 2.446
Then persistence for "Persistent" is active 0.054
And the file I created in the Persistent directory exists 0.033
After features/support/hooks.rb:339 0.890
After features/support/hooks.rb:108 0.000
Tags: @product
13.177
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 7.753
Then persistence for "Persistent" is active 0.060
When I create a file in the Persistent directory 0.069
And I disable the first tps feature 2.477
And I delete the data of the Persistent Folder feature 2.781
Then the file I created does not exist on the Persistent Storage 0.035
After features/support/hooks.rb:339 0.979
After features/support/hooks.rb:108 0.000
Tags: @product
45.818
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 8.136
And the network is plugged 0.035
And Tor is ready 12.514
And I take note of which tps features are available 6.954
When I write some files expected to persist 1.017
And I shutdown Tails and wait for the computer to power off 5.411
# 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.747
After features/support/hooks.rb:339 0.454
After features/support/hooks.rb:108 0.000
Tags: @product
1:39.853
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 7.750
And the network is plugged 0.038
And Tor is ready 10.134
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.118
And I shutdown Tails and wait for the computer to power off 5.343
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.005
And I capture all network traffic 0.003
And the network is plugged 0.025
And Tor is ready 11.817
And I switch to the "persistent-con-current" NetworkManager connection 0.425
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.098
After features/support/hooks.rb:339 0.897
After features/support/hooks.rb:108 0.062
Tags: @product
42.159
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 8.764
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 14.801
Then I create a persistent partition with the default settings using the wizard that was already open 17.502
After features/support/hooks.rb:339 0.538
After features/support/hooks.rb:108 0.000
Tags: @product
2:50.293
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 8.282
When I enable persistence 21.724
Then no persistent Greeter options were restored 13.304
When I set all Greeter options to non-default values 38.441
Then the Welcome Screen's language is set to English 0.312
And the Welcome Screen's formats is set to United States 0.329
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.485
When I log in to a new session in German (de) after having activated the Persistent Storage 21.354
Then all Persistent Greeter options are set to non-default values 0.141
When I cold reboot the computer 6.001
And the computer reboots Tails 33.804
Then the Welcome Screen's language is set to English 0.336
And the Welcome Screen's formats is set to United States 0.223
Given I enable persistence 14.378
Then persistent Greeter options were restored 0.072
And the Welcome Screen's formats is set to Belgium 0.277
When I log in to a new session after having activated the Persistent Storage 6.714
Then all Persistent Greeter options are set to non-default values 0.106
After features/support/hooks.rb:339 1.037
After features/support/hooks.rb:108 0.008
Tags: @product
2:3.218
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 8.469
# 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 25.430
And I shutdown Tails and wait for the computer to power off 5.533
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:4.671
And I change the passphrase of the Persistent Storage back to the original 19.112
After features/support/hooks.rb:339 0.841
After features/support/hooks.rb:108 0.006
Tags: @product
1:4.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 34.817
And I log in to a new session without activating the Persistent Storage 13.709
Then persistence is disabled 0.088
But a Tails persistence partition exists on USB drive "__internal" 4.933
And all notifications have disappeared 8.230
When I delete the persistent partition 2.556
Then there is no persistence partition on USB drive "__internal" 0.237
After features/support/hooks.rb:339 0.639
After features/support/hooks.rb:108 0.000
Tags: @product
1:17.087
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 7.622
When I write some dotfile expected to persist 0.054
And I shutdown Tails and wait for the computer to power off 5.245
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.984
Then the expected persistent dotfile is present in the filesystem 0.179
After features/support/hooks.rb:339 0.542
After features/support/hooks.rb:108 0.064
Tags: @product
57.131
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 8.206
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.085
When I try to enable persistence 1.180
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 13.436
When I log in to a new session after having activated the Persistent Storage 7.262
And all notifications have disappeared 8.271
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.355
And all tps features are enabled 7.323
And all tps features but the first one are active 10.008
After features/support/hooks.rb:339 0.559
After features/support/hooks.rb:108 0.000
Tags: @product
2:38.652
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.273
And I enable persistence 25.382
And I log in to a new session after having activated the Persistent Storage 7.337
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.513
And persistence is enabled 8.144
After features/support/hooks.rb:339 0.601
After features/support/hooks.rb:108 0.000
Tags: @product
29.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 with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 7.692
And I enable persistence but something goes wrong during the LUKS header upgrade 21.489
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.468
After features/support/hooks.rb:339 0.531
After features/support/hooks.rb:108 0.000
Tags: @product
38.791
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 8.474
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.243
When I enable persistence 13.101
Then the filesystem of the Persistent Storage was repaired 0.047
And persistence is successfully enabled 7.923
After features/support/hooks.rb:339 0.992
After features/support/hooks.rb:108 0.000
Tags: @product
27.484
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 8.260
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.617
When I try to enable persistence 1.214
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.229
When I repair the filesystem of the Persistent Storage 1.163
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.307
And the filesystem of the Persistent Storage was repaired 0.047
When I close the filesystem repair dialog 1.139
Then persistence is successfully enabled 3.503
After features/support/hooks.rb:339 0.864
After features/support/hooks.rb:108 0.000
Tags: @product @doc
40.271
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.014
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.067
When I try to enable persistence 1.176
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.263
When I repair the filesystem of the Persistent Storage 1.176
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.038
When I log in to a new session 8.985
And all notifications have disappeared 6.792
# 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.237
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.179
When I close the "whisperback" window 1.167
Then the Tor Browser starts 1.181
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.990
After features/support/hooks.rb:339 1.248
After features/support/hooks.rb:108 0.000
Tags: @product @doc
40.345
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 8.049
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.062
And Tails detects disk read failures on the boot device 1.297
When I try to enable persistence 1.167
Then the Welcome Screen tells me that my hardware is probably failing 2.727
When I log in to a new session 7.601
And all notifications have disappeared 6.863
Then the Tor Browser starts 1.650
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.926
After features/support/hooks.rb:339 0.903
After features/support/hooks.rb:108 0.000