Project Number Date
test_Tails_ISO_devel 4116 11 Dec 2025, 23:30

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 36:53.228 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:33.050
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:33.050
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:708:in `/^available upgrades have been checked$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173: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 APT 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:331 5.522

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:01:04)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/4116/artifact/build-artifacts/04:01:04_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/4116/artifact/build-artifacts/04:01:04_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/4116/artifact/build-artifacts/04:01:04_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/4116/artifact/build-artifacts/04:01:04_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
38.059
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.828
When I log in to a new session without activating the Persistent Storage 19.269
Then Tails is running from USB drive "__internal" 0.409
And persistence is disabled 0.131
But a Tails persistence partition exists on USB drive "__internal" 6.420
After features/support/hooks.rb:331 1.024
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.447
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 14.966
Then Tails is running from USB drive "__internal" 0.428
When I create a file in the Persistent directory 0.121
And I create a persistent partition with the default settings 33.420
Then the file I created was copied to the Persistent Storage 0.598
When I shutdown Tails and wait for the computer to power off 11.551
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:35.580
Then persistence for "Persistent" is active 0.697
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:331 1.341
After features/support/hooks.rb:100 0.008
Tags: @product
43.058
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.256
And the system is very low on memory 5.956
When I create a file in the Persistent directory 0.362
When I try to create a persistent partition 6.656
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.141
When I close the Persistent Storage app 2.567
And I free up some memory 1.032
And I create a persistent partition with the default settings 14.380
Then the file I created was copied to the Persistent Storage 0.705
After features/support/hooks.rb:331 0.871
After features/support/hooks.rb:100 0.000
Tags: @product
1:58.620
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.857
Then Tails is running from USB drive "__internal" 0.446
And all tps features are active 2.791
And all persistent directories have safe access rights 2.389
When I disable the first tps feature 2.901
Then all tps features but the first one are active 2.128
And I shutdown Tails and wait for the computer to power off 12.030
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:20.071
Then all tps features but the first one are active 2.001
After features/support/hooks.rb:331 0.920
After features/support/hooks.rb:100 0.009
Tags: @product
19.030
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.572
Then persistence for "Persistent" is active 0.108
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.062
When I disable the first tps feature 3.305
Then persistence for "Persistent" is not active 0.083
And the Persistent directory does not exist 0.050
When I enable the first tps feature 2.628
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:331 0.891
After features/support/hooks.rb:100 0.000
Tags: @product
17.413
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.994
Then persistence for "Persistent" is active 0.233
When I create a file in the Persistent directory 0.210
And I disable the first tps feature 3.193
And I delete the data of the Persistent Folder feature 3.716
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:331 1.066
After features/support/hooks.rb:100 0.000
Tags: @product
52.406
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.406
And the network is plugged 0.070
And Tor is ready 14.821
And I take note of which tps features are available 0.601
When I write some files expected to persist 1.396
And I shutdown Tails and wait for the computer to power off 6.521
# 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?
Then only the expected files are present on the persistence partition on USB drive "__internal" 18.589
After features/support/hooks.rb:331 0.477
After features/support/hooks.rb:100 0.000
Tags: @product
2:7.984
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.674
And the network is plugged 0.063
And Tor is ready 11.751
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.183
And I shutdown Tails and wait for the computer to power off 8.077
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:23.236
And I capture all network traffic 0.003
And the network is plugged 0.058
And Tor is ready 13.135
And I switch to the "persistent-con-current" NetworkManager connection 0.466
And the 1st network device has a spoofed MAC address configured 0.138
And no network device leaked the real MAC address 0.194
After features/support/hooks.rb:331 1.310
After features/support/hooks.rb:100 0.076
Tags: @product
54.196
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 12.302
And I enable persistence creation in Tails Greeter 1.158
And I log in to a new session expecting no warning about the Persistent Storage not being activated 17.998
Then I create a persistent partition with the default settings using the wizard that was already open 22.737
After features/support/hooks.rb:331 1.412
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.418
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 13.302
When I enable persistence 22.502
Then no persistent Greeter options were restored 14.934
When I set all Greeter options to non-default values 40.735
And I log in to a new session in German (de) after having activated the Persistent Storage 29.901
Then all Greeter options are set to non-default values 0.160
When I cold reboot the computer 10.751
And the computer reboots Tails 42.274
Given I enable persistence 11.168
Then persistent Greeter options were restored 0.544
When I log in to a new session after having activated the Persistent Storage 11.970
Then all Greeter options are set to non-default values 0.171
After features/support/hooks.rb:331 1.119
After features/support/hooks.rb:100 0.009
Tags: @product
2:33.869
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.875
# 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 29.482
And I shutdown Tails and wait for the computer to power off 9.343
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:18.416
And I change the passphrase of the Persistent Storage back to the original 23.751
After features/support/hooks.rb:331 1.444
After features/support/hooks.rb:100 0.014
Tags: @product
52.228
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.702
And I log in to a new session without activating the Persistent Storage 18.211
Then persistence is disabled 0.104
But a Tails persistence partition exists on USB drive "__internal" 6.112
And all notifications have disappeared 11.720
When I delete the persistent partition 2.961
Then there is no persistence partition on USB drive "__internal" 0.414
After features/support/hooks.rb:331 0.710
After features/support/hooks.rb:100 0.000
Tags: @product
1:47.471
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.296
When I write some dotfile expected to persist 0.095
And I shutdown Tails and wait for the computer to power off 11.098
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:23.640
Then the expected persistent dotfile is present in the filesystem 0.340
After features/support/hooks.rb:331 1.037
After features/support/hooks.rb:100 0.018
Tags: @product
58.848
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 10.730
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.067
When I try to enable persistence 1.331
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 17.746
When I log in to a new session after having activated the Persistent Storage 12.565
And all notifications have disappeared 9.954
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.951
And all tps features are enabled 2.299
And all tps features but the first one are active 2.201
After features/support/hooks.rb:331 1.262
After features/support/hooks.rb:100 0.000
Tags: @product
6:8.576
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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:25.933
And I enable persistence 26.592
And I log in to a new session after having activated the Persistent Storage 13.081
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.671
And persistence is enabled 2.297
After features/support/hooks.rb:331 1.164
After features/support/hooks.rb:100 0.000
Tags: @product
29.370
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
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 9.530
And I enable persistence but something goes wrong during the LUKS header upgrade 19.055
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.783
After features/support/hooks.rb:331 1.252
After features/support/hooks.rb:100 0.000
Tags: @product
37.409
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.761
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 11.928
When I enable persistence 9.752
Then the filesystem of the Persistent Storage was repaired 0.064
And persistence is successfully enabled 2.902
After features/support/hooks.rb:331 1.264
After features/support/hooks.rb:100 0.000
Tags: @product
33.951
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.108
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.183
When I try to enable persistence 1.541
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.968
When I repair the filesystem of the Persistent Storage 1.243
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.278
And the filesystem of the Persistent Storage was repaired 0.069
When I close the filesystem repair dialog 1.249
Then persistence is successfully enabled 1.308
After features/support/hooks.rb:331 1.218
After features/support/hooks.rb:100 0.000
Tags: @product @doc
58.562
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 10.566
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.118
When I try to enable persistence 1.312
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 13.705
When I repair the filesystem of the Persistent Storage 1.243
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.068
When I log in to a new session 14.311
And all notifications have disappeared 11.582
# 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.377
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.737
When I close the "whisperback" window 1.234
Then the Tor Browser starts 2.231
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.071
After features/support/hooks.rb:331 3.145
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:33.254
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 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 18.209
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 36.625
And Tails detects disk read failures on the boot device 1.364
When I try to enable persistence 1.297
Then the Welcome Screen tells me that my hardware is probably failing 5.561
When I log in to a new session 14.569
And all notifications have disappeared 11.167
Then the Tor Browser starts 3.210
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.248
After features/support/hooks.rb:331 1.003
After features/support/hooks.rb:100 0.000