Project Number Date
test_Tails_ISO_stable 5746 28 Jun 2025, 10:22

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 132 3 22 0 0 157 18 3 21 1:1:0.970 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:21.685
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails from DVD and logged in with an administration password and the network is connected 3:14.236
And I update APT using apt 25.446
And I install "python3-behave" using apt 37.506
Then the Tails Persistent Storage behave tests pass 4.495
After features/support/hooks.rb:330 0.809
After features/support/hooks.rb:100 0.000
Tags: @product
1:23.344
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 22.767
When I log in to a new session without activating the Persistent Storage 40.233
Then Tails is running from USB drive "__internal" 0.928
And persistence is disabled 0.473
But a Tails persistence partition exists on USB drive "__internal" 18.941
After features/support/hooks.rb:330 2.961
After features/support/hooks.rb:100 0.000
Tags: @product
1:29.985
Scenario Creating a Persistent Storage
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.072
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 1:29.985
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\ without\ a\ persistent\ partition\ and\ logged\ in$/'
features/persistence.feature:20:in `Given I have started Tails without network from a USB drive without a persistent partition and logged in'
Then Tails is running from USB drive "__internal" 0.000
When I create a file in the Persistent directory 0.000
And I create a persistent partition with the default settings 0.000
Then the file I created was copied to the Persistent Storage 0.000
When I shutdown Tails and wait for the computer to power off 0.000
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 0.000
Then persistence for "Persistent" is active 0.000
And the file I created in the Persistent directory exists 0.000
After features/support/hooks.rb:330 6.244

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 03:58:19)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5746/artifact/build-artifacts/03:58:19_Creating_a_Persistent_Storage.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5746/artifact/build-artifacts/03:58:19_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5746/artifact/build-artifacts/03:58:19_Creating_a_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5746/artifact/build-artifacts/03:58:19_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:57.108
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.027
Given I have started Tails without network from a USB drive without a persistent partition and logged in 22.105
And the system is very low on memory 13.052
When I create a file in the Persistent directory 1.922
When I try to create a persistent partition 39.474
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.626
When I close the Persistent Storage app 3.686
And I free up some memory 6.782
And I create a persistent partition with the default settings 29.016
Then the file I created was copied to the Persistent Storage 0.439
After features/support/hooks.rb:330 3.412
After features/support/hooks.rb:100 0.000
Tags: @product
6:20.459
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 1:12.935
Then Tails is running from USB drive "__internal" 1.673
And all tps features are active 3.321
And all persistent directories have safe access rights 9.797
When I disable the first tps feature 9.930
Then all tps features but the first one are active 3.438
And I shutdown Tails and wait for the computer to power off 18.779
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:16.529
Then all tps features but the first one are active 4.054
After features/support/hooks.rb:330 0.845
After features/support/hooks.rb:100 0.075
Tags: @product
54.628
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.029
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 27.666
Then persistence for "Persistent" is active 3.048
And I create a file in the Persistent directory 0.246
Then the file I created was copied to the Persistent Storage 0.215
When I disable the first tps feature 6.738
Then persistence for "Persistent" is not active 0.249
And the Persistent directory does not exist 0.112
When I enable the first tps feature 16.037
Then persistence for "Persistent" is active 0.158
And the file I created in the Persistent directory exists 0.154
After features/support/hooks.rb:330 2.138
After features/support/hooks.rb:100 0.000
Tags: @product
59.415
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 enabled and logged in 24.711
Then persistence for "Persistent" is active 3.448
When I create a file in the Persistent directory 3.343
And I disable the first tps feature 15.640
And I delete the data of the Persistent Folder feature 11.493
Then the file I created does not exist on the Persistent Storage 0.779
After features/support/hooks.rb:330 2.624
After features/support/hooks.rb:100 0.000
Tags: @product
1:29.334
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.010
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:29.334
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 6.992

SCENARIO FAILED: 'Writing files to a read/write-enabled persistent partition' (at time 04:10:18)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5746/artifact/build-artifacts/04:10:18_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_stable/5746/artifact/build-artifacts/04:10:18_Writing_files_to_a_read_write-enabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5746/artifact/build-artifacts/04:10:18_Writing_files_to_a_read_write-enabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5746/artifact/build-artifacts/04:10:18_Writing_files_to_a_read_write-enabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
6:37.805
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.032
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 25.888
And the network is plugged 1.345
And Tor is ready 35.548
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.867
And I shutdown Tails and wait for the computer to power off 16.513
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:41.699
And I capture all network traffic 0.008
And the network is plugged 0.091
And Tor is ready 35.060
And I switch to the "persistent-con-current" NetworkManager connection 0.444
And the 1st network device has a spoofed MAC address configured 0.090
And no network device leaked the real MAC address 0.246
After features/support/hooks.rb:330 1.413
After features/support/hooks.rb:100 0.074
Tags: @product
1:59.223
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.025
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 23.585
And I enable persistence creation in Tails Greeter 5.083
And I log in to a new session expecting no warning about the Persistent Storage not being activated 40.957
Then I create a persistent partition with the default settings using the wizard that was already open 49.596
After features/support/hooks.rb:330 3.482
After features/support/hooks.rb:100 0.000
Tags: @product
3:52.358
Scenario Persistent Greeter options
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
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:3.079
When I enable persistence 1:30.265
Then no persistent Greeter options were restored 18.202
When I set all Greeter options to non-default values 1:0.811
cannot find TailsGreeterAdminPasswordDialog.png on the screen (FindFailed)
./features/support/helpers/screen.rb:181:in `rescue in wait'
./features/support/helpers/screen.rb:165:in `wait'
./features/step_definitions/common_steps.rb:548:in `/^I set an administration password$/'
./features/step_definitions/usb.rb:1585:in `/^I set all Greeter options to non-default values$/'
features/persistence.feature:106:in `When I set all Greeter options to non-default values'
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 6.822

SCENARIO FAILED: 'Persistent Greeter options' (at time 04:22:59)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5746/artifact/build-artifacts/04:22:59_Persistent_Greeter_options.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5746/artifact/build-artifacts/04:22:59_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5746/artifact/build-artifacts/04:22:59_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5746/artifact/build-artifacts/04:22:59_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.000
Tags: @product
6:32.008
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 enabled and logged in 22.126
# 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 1:9.978
And I shutdown Tails and wait for the computer to power off 22.094
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:41.575
And I change the passphrase of the Persistent Storage back to the original 56.234
After features/support/hooks.rb:330 5.307
After features/support/hooks.rb:100 0.027
Tags: @product
1:57.772
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 and stopped at Tails Greeter's login screen 48.626
And I log in to a new session without activating the Persistent Storage 30.104
Then persistence is disabled 0.580
But a Tails persistence partition exists on USB drive "__internal" 18.606
And all notifications have disappeared 11.077
When I delete the persistent partition 8.531
Then there is no persistence partition on USB drive "__internal" 0.246
After features/support/hooks.rb:330 1.326
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.932
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 26.728
When I write some dotfile expected to persist 0.337
And I shutdown Tails and wait for the computer to power off 11.359
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:53.693
Then the expected persistent dotfile is present in the filesystem 0.814
After features/support/hooks.rb:330 1.345
After features/support/hooks.rb:100 0.011
Tags: @product
2:20.689
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.450
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.106
When I try to enable persistence 0.284
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 49.510
When I log in to a new session after having activated the Persistent Storage 53.579
And all notifications have disappeared 13.206
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 7.158
And all tps features are enabled 4.787
And all tps features but the first one are active 2.606
After features/support/hooks.rb:330 2.184
After features/support/hooks.rb:100 0.000
Tags: @product
6:26.236
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:29.943
And I enable persistence 55.765
And I log in to a new session after having activated the Persistent Storage 54.102
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.322
And persistence is enabled 4.102
After features/support/hooks.rb:330 4.482
After features/support/hooks.rb:100 0.000
Tags: @product
50.930
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.067
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 13.392
And I enable persistence but something goes wrong during the LUKS header upgrade 36.713
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.824
After features/support/hooks.rb:330 0.707
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.881
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 13.394
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.028
When I enable persistence 55.240
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 3.122
After features/support/hooks.rb:330 1.365
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.022
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.563
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.228
When I try to enable persistence 1.502
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 39.618
When I repair the filesystem of the Persistent Storage 1.813
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.610
And the filesystem of the Persistent Storage was repaired 3.558
When I close the filesystem repair dialog 1.322
Then persistence is successfully enabled 1.804
After features/support/hooks.rb:330 1.367
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:44.565
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.028
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.547
When I try to enable persistence 1.335
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 46.113
When I repair the filesystem of the Persistent Storage 1.334
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.089
When I log in to a new session 59.593
And all notifications have disappeared 11.926
# 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" 2.336
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.030
When I close the "whisperback" window 1.627
Then the Tor Browser starts 26.219
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.381
After features/support/hooks.rb:330 5.884
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:36.581
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.202
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.767
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.690
And Tails detects disk read failures on the boot device 1.084
When I try to enable persistence 0.589
Then the Welcome Screen tells me that my hardware is probably failing 28.116
When I log in to a new session 57.959
And all notifications have disappeared 14.616
Then the Tor Browser starts 27.595
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.160
After features/support/hooks.rb:330 6.892
After features/support/hooks.rb:100 0.000