Project Number Date
test_Tails_ISO_devel 3872 17 Jun 2025, 22:53

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 130 4 23 0 0 157 17 4 21 59:44.865 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:14.145
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:14.145
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:89:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:137: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:330 5.295

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/04:42:19_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/04:42:19_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/04:42:19_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/04:42:19_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:41.973
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 25.108
When I log in to a new session without activating the Persistent Storage 57.444
Then Tails is running from USB drive "__internal" 0.823
And persistence is disabled 0.373
But a Tails persistence partition exists on USB drive "__internal" 18.223
After features/support/hooks.rb:330 2.412
After features/support/hooks.rb:100 0.000
Tags: @product
6:40.120
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 without a persistent partition and logged in 52.184
Then Tails is running from USB drive "__internal" 1.156
When I create a file in the Persistent directory 0.283
And I create a persistent partition with the default settings 1:0.913
Then the file I created was copied to the Persistent Storage 2.300
When I shutdown Tails and wait for the computer to power off 19.663
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:22.820
Then persistence for "Persistent" is active 0.730
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 2.595
After features/support/hooks.rb:100 0.313
Tags: @product
2:11.359
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.116
Given I have started Tails without network from a USB drive without a persistent partition and logged in 44.489
And the system is very low on memory 9.562
When I create a file in the Persistent directory 1.366
When I try to create a persistent partition 35.005
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.193
When I close the Persistent Storage app 2.877
And I free up some memory 3.023
And I create a persistent partition with the default settings 34.504
Then the file I created was copied to the Persistent Storage 0.337
After features/support/hooks.rb:330 1.821
After features/support/hooks.rb:100 0.000
Tags: @product
5:22.232
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.042
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 26.290
Then Tails is running from USB drive "__internal" 8.664
And all tps features are active 3.831
And all persistent directories have safe access rights 4.010
When I disable the first tps feature 14.463
Then all tps features but the first one are active 2.565
And I shutdown Tails and wait for the computer to power off 19.630
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:59.450
Then all tps features but the first one are active 3.325
After features/support/hooks.rb:330 1.146
After features/support/hooks.rb:100 0.012
Tags: @product
1:30.486
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 enabled and logged in 1:10.102
Then persistence for "Persistent" is active 2.096
And I create a file in the Persistent directory 0.218
Then the file I created was copied to the Persistent Storage 0.162
When I disable the first tps feature 6.299
Then persistence for "Persistent" is not active 0.135
And the Persistent directory does not exist 0.072
When I enable the first tps feature 10.058
Then persistence for "Persistent" is active 0.929
And the file I created in the Persistent directory exists 0.411
After features/support/hooks.rb:330 2.853
After features/support/hooks.rb:100 0.000
Tags: @product
37.099
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.167
Then persistence for "Persistent" is active 0.320
When I create a file in the Persistent directory 0.465
And I disable the first tps feature 8.570
And I delete the data of the Persistent Folder feature 10.816
Then the file I created does not exist on the Persistent Storage 1.758
After features/support/hooks.rb:330 2.652
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.860
Scenario Writing files to a read/write-enabled persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.020
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:18.860
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:89:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/persistence.feature:73:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And the network is plugged 0.000
And Tor is ready 0.000
And I take note of which tps features are available 0.000
When I write some files expected to persist 0.000
And I shutdown Tails and wait for the computer to power off 0.000
# 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" 0.000
After features/support/hooks.rb:330 7.373

SCENARIO FAILED: 'Writing files to a read/write-enabled persistent partition' (at time 05:02:01)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/05:02:01_Writing_files_to_a_read_write-enabled_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/05:02:01_Writing_files_to_a_read_write-enabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/05:02:01_Writing_files_to_a_read_write-enabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/05:02:01_Writing_files_to_a_read_write-enabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
5:45.404
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 20.621
And the network is plugged 0.081
And Tor is ready 37.045
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.402
And I shutdown Tails and wait for the computer to power off 18.725
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:12.733
And I capture all network traffic 0.079
And the network is plugged 0.570
And Tor is ready 15.144
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/tor.rb:828:in `click_connect_to_tor'
./features/step_definitions/tor.rb:502:in `tca_configure'
./features/step_definitions/tor.rb:512:in `/^I configure a direct connection in the Tor Connection Assistant$/'
./features/step_definitions/common_steps.rb:653:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:607:in `/^Tor is ready$/'
features/persistence.feature:91:in `And Tor is ready'
And I switch to the "persistent-con-current" NetworkManager connection 0.000
And the 1st network device has a spoofed MAC address configured 0.000
And no network device leaked the real MAC address 0.000
After features/support/hooks.rb:330 7.302

SCENARIO FAILED: 'Creating and using a persistent NetworkManager connection' (at time 05:07:55)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/05:07:55_Creating_and_using_a_persistent_NetworkManager_connection.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/05:07:55_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/05:07:55_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/05:07:55_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:100 0.091
Tags: @product
2:24.544
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 50.450
And I enable persistence creation in Tails Greeter 4.695
And I log in to a new session expecting no warning about the Persistent Storage not being activated 46.553
Then I create a persistent partition with the default settings using the wizard that was already open 42.844
After features/support/hooks.rb:330 7.952
After features/support/hooks.rb:100 0.000
Tags: @product
1:27.381
Scenario Persistent Greeter options
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.130
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 1:27.381
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:89:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ and\ stopped\ at\ Tails\ Greeter's\ login\ screen$/'
features/persistence.feature:103:in `Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen'
When I enable persistence 0.000
Then no persistent Greeter options were restored 0.000
When I set all Greeter options to non-default values 0.000
And I log in to a new session in German (de) after having activated the Persistent Storage 0.000
Then all Greeter options are set to non-default values 0.000
When I cold reboot the computer 0.000
And the computer reboots Tails 0.000
Given I enable persistence 0.000
Then persistent Greeter options were restored 0.000
When I log in to a new session after having activated the Persistent Storage 0.000
Then all Greeter options are set to non-default values 0.000
After features/support/hooks.rb:330 5.839

SCENARIO FAILED: 'Persistent Greeter options' (at time 05:12:02)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/05:12:02_Persistent_Greeter_options.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/05:12:02_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/05:12:02_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3872/artifact/build-artifacts/05:12:02_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.000
Tags: @product
5:46.155
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 22.426
# 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 59.048
And I shutdown Tails and wait for the computer to power off 19.324
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:21.251
And I change the passphrase of the Persistent Storage back to the original 44.104
After features/support/hooks.rb:330 5.179
After features/support/hooks.rb:100 0.024
Tags: @product
1:21.606
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 9.847
And I log in to a new session without activating the Persistent Storage 34.660
Then persistence is disabled 0.238
But a Tails persistence partition exists on USB drive "__internal" 7.841
And all notifications have disappeared 12.197
When I delete the persistent partition 15.216
Then there is no persistence partition on USB drive "__internal" 1.603
After features/support/hooks.rb:330 1.601
After features/support/hooks.rb:100 0.000
Tags: @product
4:3.983
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 46.623
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 13.730
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:2.301
Then the expected persistent dotfile is present in the filesystem 1.254
After features/support/hooks.rb:330 1.978
After features/support/hooks.rb:100 0.012
Tags: @product
2:33.145
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 15.562
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.140
When I try to enable persistence 0.408
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 52.386
When I log in to a new session after having activated the Persistent Storage 1:1.088
And all notifications have disappeared 8.836
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 7.943
And all tps features are enabled 4.214
And all tps features but the first one are active 2.564
After features/support/hooks.rb:330 4.721
After features/support/hooks.rb:100 0.000
Tags: @product
6:21.906
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
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 4:18.722
And I enable persistence 58.581
And I log in to a new session after having activated the Persistent Storage 58.492
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.238
And persistence is enabled 3.870
After features/support/hooks.rb:330 3.022
After features/support/hooks.rb:100 0.000
Tags: @product
50.892
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.031
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 12.115
And I enable persistence but something goes wrong during the LUKS header upgrade 37.862
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.913
After features/support/hooks.rb:330 1.014
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.652
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.055
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.060
When I enable persistence 50.136
Then the filesystem of the Persistent Storage was repaired 0.131
And persistence is successfully enabled 4.268
After features/support/hooks.rb:330 1.984
After features/support/hooks.rb:100 0.000
Tags: @product
1:26.895
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.032
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.368
When I try to enable persistence 0.441
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 51.386
When I repair the filesystem of the Persistent Storage 1.485
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.473
And the filesystem of the Persistent Storage was repaired 4.501
When I close the filesystem repair dialog 1.311
Then persistence is successfully enabled 1.893
After features/support/hooks.rb:330 4.613
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:53.355
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.162
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.264
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.164
When I try to enable persistence 0.536
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 52.043
When I repair the filesystem of the Persistent Storage 1.245
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.107
When I log in to a new session 1:2.298
And all notifications have disappeared 16.315
# 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.479
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.947
When I close the "whisperback" window 1.651
Then the Tor Browser starts 23.864
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.436
After features/support/hooks.rb:330 5.187
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:56.667
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.031
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.104
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.689
And Tails detects disk read failures on the boot device 2.568
When I try to enable persistence 0.756
Then the Welcome Screen tells me that my hardware is probably failing 32.891
When I log in to a new session 1:13.376
And all notifications have disappeared 17.262
Then the Tor Browser starts 26.122
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.896
After features/support/hooks.rb:330 7.571
After features/support/hooks.rb:100 0.000