Project Number Date
test_Tails_ISO_21565-flatpak-safe 53 27 Sep 2026, 03:39

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 26:53.756 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:8.039
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:8.039
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.805

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 02:37:53)

Boot log: https://jenkins.tails.net/job/test_Tails_ISO_21565-flatpak-safe/53/artifact/build-artifacts/02:37:53_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.net/job/test_Tails_ISO_21565-flatpak-safe/53/artifact/build-artifacts/02:37:53_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.net/job/test_Tails_ISO_21565-flatpak-safe/53/artifact/build-artifacts/02:37:53_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.net/job/test_Tails_ISO_21565-flatpak-safe/53/artifact/build-artifacts/02:37:53_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:108 0.000
Tags: @product
26.475
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 8.505
When I log in to a new session without activating the Persistent Storage 12.616
Then Tails is running from USB drive "__internal" 0.230
And persistence is disabled 0.102
But a Tails persistence partition exists on USB drive "__internal" 5.019
After features/support/hooks.rb:339 0.670
After features/support/hooks.rb:108 0.000
Tags: @product
1:29.320
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 8.428
Then Tails is running from USB drive "__internal" 0.332
When I create a file in the Persistent directory 0.075
And I create a persistent partition with the default settings 16.896
Then the file I created was copied to the Persistent Storage 0.045
When I shutdown Tails and wait for the computer to power off 5.191
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 58.168
Then persistence for "Persistent" is active 0.136
And the file I created in the Persistent directory exists 0.043
After features/support/hooks.rb:339 0.847
After features/support/hooks.rb:108 0.035
Tags: @product
28.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 without a persistent partition and logged in 7.919
And the system is very low on memory 4.838
When I create a file in the Persistent directory 0.151
When I try to create a persistent partition 4.403
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.101
When I close the Persistent Storage app 2.320
And I free up some memory 0.430
And I create a persistent partition with the default settings 8.191
Then the file I created was copied to the Persistent Storage 0.043
After features/support/hooks.rb:339 0.794
After features/support/hooks.rb:108 0.000
Tags: @product
1:41.374
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.374
Then Tails is running from USB drive "__internal" 0.253
And all tps features are active 7.566
And all persistent directories have safe access rights 1.695
When I disable the first tps feature 2.511
Then all tps features but the first one are active 7.730
And I shutdown Tails and wait for the computer to power off 5.238
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:0.547
Then all tps features but the first one are active 7.455
After features/support/hooks.rb:339 0.829
After features/support/hooks.rb:108 0.005
Tags: @product
13.205
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.059
Then persistence for "Persistent" is active 0.063
And I create a file in the Persistent directory 0.062
Then the file I created was copied to the Persistent Storage 0.060
When I disable the first tps feature 2.451
Then persistence for "Persistent" is not active 0.043
And the Persistent directory does not exist 0.026
When I enable the first tps feature 2.361
Then persistence for "Persistent" is active 0.050
And the file I created in the Persistent directory exists 0.026
After features/support/hooks.rb:339 0.946
After features/support/hooks.rb:108 0.000
Tags: @product
13.192
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.794
Then persistence for "Persistent" is active 0.056
When I create a file in the Persistent directory 0.047
And I disable the first tps feature 2.479
And I delete the data of the Persistent Folder feature 2.777
Then the file I created does not exist on the Persistent Storage 0.036
After features/support/hooks.rb:339 0.983
After features/support/hooks.rb:108 0.000
Tags: @product
39.492
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.493
And the network is plugged 0.031
And Tor is ready 7.949
And I take note of which tps features are available 6.511
When I write some files expected to persist 0.866
And I shutdown Tails and wait for the computer to power off 5.747
# 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" 10.892
After features/support/hooks.rb:339 0.306
After features/support/hooks.rb:108 0.000
Tags: @product
1:48.972
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 20.612
And the network is plugged 0.035
And Tor is ready 9.903
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.123
And I shutdown Tails and wait for the computer to power off 5.164
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:0.984
And I capture all network traffic 0.002
And the network is plugged 0.036
And Tor is ready 11.600
And I switch to the "persistent-con-current" NetworkManager connection 0.361
And the 1st network device has a spoofed MAC address configured 0.047
And no network device leaked the real MAC address 0.099
After features/support/hooks.rb:339 0.802
After features/support/hooks.rb:108 0.074
Tags: @product
37.141
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.147
And I enable persistence creation in Tails Greeter 1.062
And I log in to a new session expecting no warning about the Persistent Storage not being activated 11.367
Then I create a persistent partition with the default settings using the wizard that was already open 16.564
After features/support/hooks.rb:339 0.594
After features/support/hooks.rb:108 0.000
Tags: @product
2:45.207
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 8.357
When I enable persistence 21.191
Then no persistent Greeter options were restored 13.737
When I set all Greeter options to non-default values 38.161
Then the Welcome Screen's language is set to English 0.299
And the Welcome Screen's formats is set to United States 0.203
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.486
When I log in to a new session in German (de) after having activated the Persistent Storage 22.138
Then all Persistent Greeter options are set to non-default values 0.130
When I cold reboot the computer 5.699
And the computer reboots Tails 32.106
Then the Welcome Screen's language is set to English 0.254
And the Welcome Screen's formats is set to United States 0.163
Given I enable persistence 11.772
Then persistent Greeter options were restored 0.055
And the Welcome Screen's formats is set to Belgium 0.291
When I log in to a new session after having activated the Persistent Storage 6.027
Then all Persistent Greeter options are set to non-default values 0.129
After features/support/hooks.rb:339 0.537
After features/support/hooks.rb:108 0.005
Tags: @product
2:0.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 with a persistent partition enabled and logged in 8.057
# 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 26.637
And I shutdown Tails and wait for the computer to power off 5.106
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 59.987
And I change the passphrase of the Persistent Storage back to the original 21.135
After features/support/hooks.rb:339 1.043
After features/support/hooks.rb:108 0.005
Tags: @product
36.552
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.767
And I log in to a new session without activating the Persistent Storage 13.438
Then persistence is disabled 0.078
But a Tails persistence partition exists on USB drive "__internal" 4.435
And all notifications have disappeared 8.011
When I delete the persistent partition 2.600
Then there is no persistence partition on USB drive "__internal" 0.219
After features/support/hooks.rb:339 0.613
After features/support/hooks.rb:108 0.000
Tags: @product
1:28.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 enabled and logged in 20.864
When I write some dotfile expected to persist 0.046
And I shutdown Tails and wait for the computer to power off 6.368
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.378
Then the expected persistent dotfile is present in the filesystem 0.190
After features/support/hooks.rb:339 0.870
After features/support/hooks.rb:108 0.021
Tags: @product
53.398
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.852
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.053
When I try to enable persistence 1.191
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 12.930
When I log in to a new session after having activated the Persistent Storage 7.074
And all notifications have disappeared 8.506
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.268
And all tps features are enabled 7.326
And all tps features but the first one are active 7.193
After features/support/hooks.rb:339 0.709
After features/support/hooks.rb:108 0.000
Tags: @product
2:34.302
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 1:52.779
And I enable persistence 25.943
And I log in to a new session after having activated the Persistent Storage 7.292
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.415
And persistence is enabled 7.872
After features/support/hooks.rb:339 0.936
After features/support/hooks.rb:108 0.000
Tags: @product
28.554
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.291
And I enable persistence but something goes wrong during the LUKS header upgrade 20.811
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.451
After features/support/hooks.rb:339 0.596
After features/support/hooks.rb:108 0.000
Tags: @product
37.087
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.910
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.475
When I enable persistence 12.319
Then the filesystem of the Persistent Storage was repaired 0.041
And persistence is successfully enabled 7.340
After features/support/hooks.rb:339 0.560
After features/support/hooks.rb:108 0.000
Tags: @product
26.869
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.700
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.551
When I try to enable persistence 1.177
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.553
When I repair the filesystem of the Persistent Storage 1.212
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.209
And the filesystem of the Persistent Storage was repaired 0.055
When I close the filesystem repair dialog 1.078
Then persistence is successfully enabled 3.330
After features/support/hooks.rb:339 0.831
After features/support/hooks.rb:108 0.000
Tags: @product @doc
39.930
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.894
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.070
When I try to enable persistence 1.164
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.557
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.058
When I log in to a new session 8.466
And all notifications have disappeared 7.197
# 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.111
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.097
When I close the "whisperback" window 1.155
Then the Tor Browser starts 1.140
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.786
After features/support/hooks.rb:339 0.846
After features/support/hooks.rb:108 0.000
Tags: @product @doc
36.465
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.021
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.677
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.321
And Tails detects disk read failures on the boot device 0.220
When I try to enable persistence 1.148
Then the Welcome Screen tells me that my hardware is probably failing 2.163
When I log in to a new session 7.964
And all notifications have disappeared 6.187
Then the Tor Browser starts 1.044
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.737
After features/support/hooks.rb:339 0.720
After features/support/hooks.rb:108 0.000