Project Number Date
test_Tails_ISO_21565-flatpak-safe 49 23 Sep 2026, 16:53

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:35.289 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:5.278
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:5.278
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 4.623

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:31:13)

Boot log: https://jenkins.tails.net/job/test_Tails_ISO_21565-flatpak-safe/49/artifact/build-artifacts/03:31:13_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.net/job/test_Tails_ISO_21565-flatpak-safe/49/artifact/build-artifacts/03:31:13_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.net/job/test_Tails_ISO_21565-flatpak-safe/49/artifact/build-artifacts/03:31:13_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.net/job/test_Tails_ISO_21565-flatpak-safe/49/artifact/build-artifacts/03:31:13_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:108 0.000
Tags: @product
26.884
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.387
When I log in to a new session without activating the Persistent Storage 13.303
Then Tails is running from USB drive "__internal" 0.237
And persistence is disabled 0.116
But a Tails persistence partition exists on USB drive "__internal" 4.840
After features/support/hooks.rb:339 1.022
After features/support/hooks.rb:108 0.000
Tags: @product
1:28.924
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 without a persistent partition and logged in 8.644
Then Tails is running from USB drive "__internal" 0.240
When I create a file in the Persistent directory 0.073
And I create a persistent partition with the default settings 16.927
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.125
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 57.659
Then persistence for "Persistent" is active 0.170
And the file I created in the Persistent directory exists 0.038
After features/support/hooks.rb:339 0.734
After features/support/hooks.rb:108 0.005
Tags: @product
28.113
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 without a persistent partition and logged in 7.831
And the system is very low on memory 4.099
When I create a file in the Persistent directory 0.150
When I try to create a persistent partition 4.373
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.089
When I close the Persistent Storage app 2.417
And I free up some memory 0.440
And I create a persistent partition with the default settings 8.669
Then the file I created was copied to the Persistent Storage 0.041
After features/support/hooks.rb:339 0.604
After features/support/hooks.rb:108 0.000
Tags: @product
1:43.501
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.049
Then Tails is running from USB drive "__internal" 0.264
And all tps features are active 7.782
And all persistent directories have safe access rights 1.907
When I disable the first tps feature 2.501
Then all tps features but the first one are active 7.545
And I shutdown Tails and wait for the computer to power off 6.530
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.124
Then all tps features but the first one are active 7.795
After features/support/hooks.rb:339 0.684
After features/support/hooks.rb:108 0.068
Tags: @product
13.073
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 7.709
Then persistence for "Persistent" is active 0.067
And I create a file in the Persistent directory 0.047
Then the file I created was copied to the Persistent Storage 0.054
When I disable the first tps feature 2.521
Then persistence for "Persistent" is not active 0.046
And the Persistent directory does not exist 0.032
When I enable the first tps feature 2.485
Then persistence for "Persistent" is active 0.054
And the file I created in the Persistent directory exists 0.053
After features/support/hooks.rb:339 0.591
After features/support/hooks.rb:108 0.000
Tags: @product
12.694
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.684
Then persistence for "Persistent" is active 0.081
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 2.454
And I delete the data of the Persistent Folder feature 2.336
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:339 0.990
After features/support/hooks.rb:108 0.000
Tags: @product
41.051
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 7.462
And the network is plugged 0.033
And Tor is ready 9.690
And I take note of which tps features are available 6.291
When I write some files expected to persist 1.019
And I shutdown Tails and wait for the computer to power off 5.544
# 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.009
After features/support/hooks.rb:339 0.218
After features/support/hooks.rb:108 0.000
Tags: @product
1:32.609
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 7.566
And the network is plugged 0.025
And Tor is ready 7.897
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.111
And I shutdown Tails and wait for the computer to power off 5.219
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:0.684
And I capture all network traffic 0.002
And the network is plugged 0.025
And Tor is ready 10.548
And I switch to the "persistent-con-current" NetworkManager connection 0.380
And the 1st network device has a spoofed MAC address configured 0.056
And no network device leaked the real MAC address 0.090
After features/support/hooks.rb:339 0.632
After features/support/hooks.rb:108 0.045
Tags: @product
37.418
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.018
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 8.197
And I enable persistence creation in Tails Greeter 1.092
And I log in to a new session expecting no warning about the Persistent Storage not being activated 11.197
Then I create a persistent partition with the default settings using the wizard that was already open 16.931
After features/support/hooks.rb:339 0.908
After features/support/hooks.rb:108 0.000
Tags: @product
2:48.142
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.304
When I enable persistence 21.047
Then no persistent Greeter options were restored 13.904
When I set all Greeter options to non-default values 38.150
Then the Welcome Screen's language is set to English 0.207
And the Welcome Screen's formats is set to United States 0.132
# 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.457
Then all Persistent Greeter options are set to non-default values 0.146
When I cold reboot the computer 7.086
And the computer reboots Tails 32.068
Then the Welcome Screen's language is set to English 0.180
And the Welcome Screen's formats is set to United States 0.210
Given I enable persistence 13.381
Then persistent Greeter options were restored 0.058
And the Welcome Screen's formats is set to Belgium 0.137
When I log in to a new session after having activated the Persistent Storage 7.149
Then all Persistent Greeter options are set to non-default values 0.086
After features/support/hooks.rb:339 0.673
After features/support/hooks.rb:108 0.005
Tags: @product
2:1.638
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.079
# 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 28.371
And I shutdown Tails and wait for the computer to power off 5.389
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 59.364
And I change the passphrase of the Persistent Storage back to the original 20.433
After features/support/hooks.rb:339 0.778
After features/support/hooks.rb:108 0.005
Tags: @product
35.907
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 and stopped at Tails Greeter's login screen 7.979
And I log in to a new session without activating the Persistent Storage 12.372
Then persistence is disabled 0.069
But a Tails persistence partition exists on USB drive "__internal" 4.785
And all notifications have disappeared 7.898
When I delete the persistent partition 2.564
Then there is no persistence partition on USB drive "__internal" 0.238
After features/support/hooks.rb:339 0.738
After features/support/hooks.rb:108 0.000
Tags: @product
1:15.234
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 7.619
When I write some dotfile expected to persist 0.036
And I shutdown Tails and wait for the computer to power off 5.182
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.213
Then the expected persistent dotfile is present in the filesystem 0.182
After features/support/hooks.rb:339 0.921
After features/support/hooks.rb:108 0.014
Tags: @product
52.561
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 and stopped at Tails Greeter's login screen 7.733
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 1.153
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 12.491
When I log in to a new session after having activated the Persistent Storage 7.217
And all notifications have disappeared 8.248
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.219
And all tps features are enabled 7.017
And all tps features but the first one are active 7.392
After features/support/hooks.rb:339 0.546
After features/support/hooks.rb:108 0.000
Tags: @product
3:35.553
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 2:51.588
And I enable persistence 27.551
And I log in to a new session after having activated the Persistent Storage 6.788
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.448
And persistence is enabled 9.175
After features/support/hooks.rb:339 1.104
After features/support/hooks.rb:108 0.000
Tags: @product
31.143
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 7.465
And I enable persistence but something goes wrong during the LUKS header upgrade 23.213
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.464
After features/support/hooks.rb:339 0.564
After features/support/hooks.rb:108 0.000
Tags: @product
40.849
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 and stopped at Tails Greeter's login screen 7.993
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.020
When I enable persistence 14.663
Then the filesystem of the Persistent Storage was repaired 0.040
And persistence is successfully enabled 9.132
After features/support/hooks.rb:339 0.852
After features/support/hooks.rb:108 0.000
Tags: @product
27.321
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 7.794
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.414
When I try to enable persistence 1.179
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.207
When I repair the filesystem of the Persistent Storage 1.221
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.251
And the filesystem of the Persistent Storage was repaired 0.043
When I close the filesystem repair dialog 1.078
Then persistence is successfully enabled 3.130
After features/support/hooks.rb:339 0.846
After features/support/hooks.rb:108 0.000
Tags: @product @doc
38.016
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 and stopped at Tails Greeter's login screen 7.734
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.071
When I try to enable persistence 1.148
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.016
When I repair the filesystem of the Persistent Storage 1.126
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.046
When I log in to a new session 7.385
And all notifications have disappeared 7.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.189
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.094
When I close the "whisperback" window 1.153
Then the Tor Browser starts 1.020
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.763
After features/support/hooks.rb:339 0.704
After features/support/hooks.rb:108 0.000
Tags: @product @doc
39.373
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 7.718
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.748
And Tails detects disk read failures on the boot device 1.285
When I try to enable persistence 1.120
Then the Welcome Screen tells me that my hardware is probably failing 2.902
When I log in to a new session 7.277
And all notifications have disappeared 7.439
Then the Tor Browser starts 1.087
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.794
After features/support/hooks.rb:339 0.781
After features/support/hooks.rb:108 0.000