Project Number Date
test_Tails_ISO_devel 4636 25 Sep 2026, 12:15

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:1.897 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:4.442
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:4.442
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.931

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:00:24)

Boot log: https://jenkins.tails.net/job/test_Tails_ISO_devel/4636/artifact/build-artifacts/03:00:24_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.net/job/test_Tails_ISO_devel/4636/artifact/build-artifacts/03:00:24_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.net/job/test_Tails_ISO_devel/4636/artifact/build-artifacts/03:00:24_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.net/job/test_Tails_ISO_devel/4636/artifact/build-artifacts/03:00:24_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:108 0.000
Tags: @product
26.877
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.467
When I log in to a new session without activating the Persistent Storage 12.165
Then Tails is running from USB drive "__internal" 0.199
And persistence is disabled 0.078
But a Tails persistence partition exists on USB drive "__internal" 5.965
After features/support/hooks.rb:339 1.042
After features/support/hooks.rb:108 0.000
Tags: @product
1:39.154
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.407
Then Tails is running from USB drive "__internal" 0.294
When I create a file in the Persistent directory 0.087
And I create a persistent partition with the default settings 16.560
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 13.850
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 59.712
Then persistence for "Persistent" is active 0.156
And the file I created in the Persistent directory exists 0.043
After features/support/hooks.rb:339 0.578
After features/support/hooks.rb:108 0.005
Tags: @product
30.436
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.462
And the system is very low on memory 5.519
When I create a file in the Persistent directory 0.124
When I try to create a persistent partition 4.587
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.129
When I close the Persistent Storage app 2.335
And I free up some memory 0.414
And I create a persistent partition with the default settings 8.824
Then the file I created was copied to the Persistent Storage 0.038
After features/support/hooks.rb:339 0.726
After features/support/hooks.rb:108 0.000
Tags: @product
1:42.966
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.994
Then Tails is running from USB drive "__internal" 0.281
And all tps features are active 7.499
And all persistent directories have safe access rights 1.546
When I disable the first tps feature 2.446
Then all tps features but the first one are active 7.886
And I shutdown Tails and wait for the computer to power off 5.351
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.736
Then all tps features but the first one are active 7.223
After features/support/hooks.rb:339 0.733
After features/support/hooks.rb:108 0.005
Tags: @product
13.079
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.879
Then persistence for "Persistent" is active 0.069
And I create a file in the Persistent directory 0.060
Then the file I created was copied to the Persistent Storage 0.043
When I disable the first tps feature 2.438
Then persistence for "Persistent" is not active 0.047
And the Persistent directory does not exist 0.036
When I enable the first tps feature 2.426
Then persistence for "Persistent" is active 0.042
And the file I created in the Persistent directory exists 0.034
After features/support/hooks.rb:339 0.564
After features/support/hooks.rb:108 0.000
Tags: @product
12.830
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.416
Then persistence for "Persistent" is active 0.057
When I create a file in the Persistent directory 0.051
And I disable the first tps feature 2.470
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.051
After features/support/hooks.rb:339 0.849
After features/support/hooks.rb:108 0.000
Tags: @product
42.677
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.546
And the network is plugged 0.036
And Tor is ready 10.794
And I take note of which tps features are available 6.765
When I write some files expected to persist 0.967
And I shutdown Tails and wait for the computer to power off 5.183
# 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.384
After features/support/hooks.rb:339 0.125
After features/support/hooks.rb:108 0.000
Tags: @product
1:48.229
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 20.634
And the network is plugged 0.027
And Tor is ready 7.938
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.137
And I shutdown Tails and wait for the computer to power off 6.575
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:0.839
And I capture all network traffic 0.002
And the network is plugged 0.075
And Tor is ready 11.479
And I switch to the "persistent-con-current" NetworkManager connection 0.364
And the 1st network device has a spoofed MAC address configured 0.067
And no network device leaked the real MAC address 0.087
After features/support/hooks.rb:339 0.538
After features/support/hooks.rb:108 0.071
Tags: @product
37.110
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.537
And I enable persistence creation in Tails Greeter 1.102
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.889
Then I create a persistent partition with the default settings using the wizard that was already open 14.580
After features/support/hooks.rb:339 0.633
After features/support/hooks.rb:108 0.000
Tags: @product
2:47.044
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.399
When I enable persistence 22.594
Then no persistent Greeter options were restored 13.173
When I set all Greeter options to non-default values 38.312
Then the Welcome Screen's language is set to English 0.202
And the Welcome Screen's formats is set to United States 0.281
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.544
When I log in to a new session in German (de) after having activated the Persistent Storage 22.028
Then all Persistent Greeter options are set to non-default values 0.138
When I cold reboot the computer 5.813
And the computer reboots Tails 31.944
Then the Welcome Screen's language is set to English 0.367
And the Welcome Screen's formats is set to United States 0.230
Given I enable persistence 12.151
Then persistent Greeter options were restored 0.054
And the Welcome Screen's formats is set to Belgium 0.132
When I log in to a new session after having activated the Persistent Storage 6.574
Then all Persistent Greeter options are set to non-default values 0.099
After features/support/hooks.rb:339 0.679
After features/support/hooks.rb:108 0.034
Tags: @product
2:6.676
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.187
# 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 30.460
And I shutdown Tails and wait for the computer to power off 5.466
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:1.772
And I change the passphrase of the Persistent Storage back to the original 20.789
After features/support/hooks.rb:339 0.755
After features/support/hooks.rb:108 0.006
Tags: @product
36.396
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.238
And I log in to a new session without activating the Persistent Storage 12.010
Then persistence is disabled 0.075
But a Tails persistence partition exists on USB drive "__internal" 5.238
And all notifications have disappeared 7.952
When I delete the persistent partition 2.680
Then there is no persistence partition on USB drive "__internal" 0.201
After features/support/hooks.rb:339 0.767
After features/support/hooks.rb:108 0.000
Tags: @product
1:14.348
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.685
When I write some dotfile expected to persist 0.043
And I shutdown Tails and wait for the computer to power off 5.192
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.247
Then the expected persistent dotfile is present in the filesystem 0.178
After features/support/hooks.rb:339 0.854
After features/support/hooks.rb:108 0.005
Tags: @product
55.018
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.269
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.057
When I try to enable persistence 1.144
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 12.706
When I log in to a new session after having activated the Persistent Storage 7.420
And all notifications have disappeared 8.687
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.233
And all tps features are enabled 7.865
And all tps features but the first one are active 7.632
After features/support/hooks.rb:339 0.639
After features/support/hooks.rb:108 0.000
Tags: @product
2:33.615
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:53.308
And I enable persistence 25.098
And I log in to a new session after having activated the Persistent Storage 7.385
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.583
And persistence is enabled 7.240
After features/support/hooks.rb:339 0.656
After features/support/hooks.rb:108 0.000
Tags: @product
29.135
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.224
And I enable persistence but something goes wrong during the LUKS header upgrade 21.414
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.495
After features/support/hooks.rb:339 0.552
After features/support/hooks.rb:108 0.000
Tags: @product
37.814
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.117
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.126
When I enable persistence 12.737
Then the filesystem of the Persistent Storage was repaired 0.042
And persistence is successfully enabled 7.790
After features/support/hooks.rb:339 0.872
After features/support/hooks.rb:108 0.000
Tags: @product
26.752
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.792
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.566
When I try to enable persistence 1.199
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 2.560
When I repair the filesystem of the Persistent Storage 1.124
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.218
And the filesystem of the Persistent Storage was repaired 0.040
When I close the filesystem repair dialog 1.079
Then persistence is successfully enabled 3.170
After features/support/hooks.rb:339 0.928
After features/support/hooks.rb:108 0.000
Tags: @product @doc
38.856
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.655
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.061
When I try to enable persistence 1.140
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.089
When I repair the filesystem of the Persistent Storage 1.104
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.022
When I log in to a new session 8.194
And all notifications have disappeared 7.499
# 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.116
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.077
When I close the "whisperback" window 1.145
Then the Tor Browser starts 1.066
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.683
After features/support/hooks.rb:339 0.834
After features/support/hooks.rb:108 0.000
Tags: @product @doc
38.435
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.791
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.653
And Tails detects disk read failures on the boot device 1.287
When I try to enable persistence 1.151
Then the Welcome Screen tells me that my hardware is probably failing 2.240
When I log in to a new session 7.465
And all notifications have disappeared 6.996
Then the Tor Browser starts 1.099
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.750
After features/support/hooks.rb:339 0.806
After features/support/hooks.rb:108 0.000