Project Number Date
test_Tails_ISO_feature-arti 111 08 Jul 2025, 21:21

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 131 4 22 0 0 157 17 4 21 1:4:26.653 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:17.240
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 3:17.240
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:91:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139: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.809

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 05:47:41)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:47:41_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:47:41_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:47:41_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:47:41_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
32.788
Scenario Booting Tails from a USB drive with a disabled persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 23.221
When I log in to a new session without activating the Persistent Storage 9.567
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:530:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
features/persistence.feature:14:in `When I log in to a new session without activating the Persistent Storage'
Then Tails is running from USB drive "__internal" 0.000
And persistence is disabled 0.000
But a Tails persistence partition exists on USB drive "__internal" 0.000
After features/support/hooks.rb:330 6.109

SCENARIO FAILED: 'Booting Tails from a USB drive with a disabled persistent partition' (at time 05:48:20)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:48:20_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:48:20_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:48:20_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:48:20_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
6:46.733
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.117
Given I have started Tails without network from a USB drive without a persistent partition and logged in 23.821
Then Tails is running from USB drive "__internal" 4.405
When I create a file in the Persistent directory 2.735
And I create a persistent partition with the default settings 55.162
Then the file I created was copied to the Persistent Storage 8.867
When I shutdown Tails and wait for the computer to power off 23.521
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:45.172
Then persistence for "Persistent" is active 1.672
And the file I created in the Persistent directory exists 1.372
After features/support/hooks.rb:330 6.073
After features/support/hooks.rb:100 0.067
Tags: @product
1:22.857
Scenario Creating a Persistent Storage when system is low on memory
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.083
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 1:22.857
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:91:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74: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:31:in `Given I have started Tails without network from a USB drive without a persistent partition and logged in'
And the system is very low on memory 0.000
When I create a file in the Persistent directory 0.000
When I try to create a persistent partition 0.000
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.000
When I close the Persistent Storage app 0.000
And I free up some memory 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
After features/support/hooks.rb:330 6.049

SCENARIO FAILED: 'Creating a Persistent Storage when system is low on memory' (at time 05:56:43)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:56:43_Creating_a_Persistent_Storage_when_system_is_low_on_memory.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:56:43_Creating_a_Persistent_Storage_when_system_is_low_on_memory.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:56:43_Creating_a_Persistent_Storage_when_system_is_low_on_memory.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:56:43_Creating_a_Persistent_Storage_when_system_is_low_on_memory.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:31.989
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:31.989
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:91:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:97:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:74: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:42:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
Then Tails is running from USB drive "__internal" 0.000
And all tps features are active 0.000
And all persistent directories have safe access rights 0.000
When I disable the first tps feature 0.000
Then all tps features but the first one are active 0.000
And 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 all tps features but the first one are active 0.000
After features/support/hooks.rb:330 6.355

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 05:58:22)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:58:22_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:58:22_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:58:22_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/111/artifact/build-artifacts/05:58:22_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:100 0.000
Tags: @product
41.204
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 enabled and logged in 21.223
Then persistence for "Persistent" is active 0.203
And I create a file in the Persistent directory 0.088
Then the file I created was copied to the Persistent Storage 0.122
When I disable the first tps feature 15.203
Then persistence for "Persistent" is not active 0.094
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.948
Then persistence for "Persistent" is active 0.155
And the file I created in the Persistent directory exists 0.099
After features/support/hooks.rb:330 1.318
After features/support/hooks.rb:100 0.000
Tags: @product
49.702
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 26.132
Then persistence for "Persistent" is active 3.001
When I create a file in the Persistent directory 0.578
And I disable the first tps feature 7.568
And I delete the data of the Persistent Folder feature 11.129
Then the file I created does not exist on the Persistent Storage 1.292
After features/support/hooks.rb:330 2.794
After features/support/hooks.rb:100 0.000
Tags: @product
2:27.565
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 enabled and logged in 36.029
And the network is plugged 0.727
And Tor is ready 42.408
And I take note of which tps features are available 0.866
When I write some files expected to persist 1.917
And I shutdown Tails and wait for the computer to power off 17.191
# 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" 48.424
After features/support/hooks.rb:330 2.769
After features/support/hooks.rb:100 0.019
Tags: @product
6:13.909
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.424
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:6.796
And the network is plugged 1.376
And Tor is ready 27.369
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.229
And I shutdown Tails and wait for the computer to power off 17.022
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:43.747
And I capture all network traffic 0.197
And the network is plugged 4.253
And Tor is ready 31.854
And I switch to the "persistent-con-current" NetworkManager connection 0.370
And the 1st network device has a spoofed MAC address configured 0.185
And no network device leaked the real MAC address 0.505
After features/support/hooks.rb:330 0.916
After features/support/hooks.rb:100 0.046
Tags: @product
1:33.231
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 18.286
And I enable persistence creation in Tails Greeter 1.209
And I log in to a new session expecting no warning about the Persistent Storage not being activated 36.014
Then I create a persistent partition with the default settings using the wizard that was already open 37.721
After features/support/hooks.rb:330 3.565
After features/support/hooks.rb:100 0.000
Tags: @product
6:42.039
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 and stopped at Tails Greeter's login screen 16.452
When I enable persistence 1:15.804
Then no persistent Greeter options were restored 21.283
When I set all Greeter options to non-default values 38.251
And I log in to a new session in German (de) after having activated the Persistent Storage 52.978
Then all Greeter options are set to non-default values 2.476
When I cold reboot the computer 13.277
And the computer reboots Tails 1:32.630
Given I enable persistence 24.539
Then persistent Greeter options were restored 0.709
When I log in to a new session after having activated the Persistent Storage 1:3.107
Then all Greeter options are set to non-default values 0.526
After features/support/hooks.rb:330 1.443
After features/support/hooks.rb:100 0.015
Tags: @product
6:45.307
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 enabled and logged in 24.533
# 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:0.175
And I shutdown Tails and wait for the computer to power off 25.567
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 4:0.055
And I change the passphrase of the Persistent Storage back to the original 54.975
After features/support/hooks.rb:330 5.511
After features/support/hooks.rb:100 0.017
Tags: @product
1:52.012
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 and stopped at Tails Greeter's login screen 29.754
And I log in to a new session without activating the Persistent Storage 37.916
Then persistence is disabled 0.857
But a Tails persistence partition exists on USB drive "__internal" 17.051
And all notifications have disappeared 15.754
When I delete the persistent partition 9.069
Then there is no persistence partition on USB drive "__internal" 1.607
After features/support/hooks.rb:330 3.366
After features/support/hooks.rb:100 0.000
Tags: @product
3:49.363
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 13.238
When I write some dotfile expected to persist 0.099
And I shutdown Tails and wait for the computer to power off 15.040
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:19.975
Then the expected persistent dotfile is present in the filesystem 1.008
After features/support/hooks.rb:330 1.199
After features/support/hooks.rb:100 0.058
Tags: @product
2:38.449
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 17.353
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.293
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 53.959
When I log in to a new session after having activated the Persistent Storage 1:4.568
And all notifications have disappeared 8.249
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 8.671
And all tps features are enabled 3.126
And all tps features but the first one are active 2.134
After features/support/hooks.rb:330 1.439
After features/support/hooks.rb:100 0.000
Tags: @product
6:33.789
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:19.817
And I enable persistence 57.686
And I log in to a new session after having activated the Persistent Storage 1:3.071
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.053
And persistence is enabled 11.160
After features/support/hooks.rb:330 1.466
After features/support/hooks.rb:100 0.000
Tags: @product
45.466
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 10.016
And I enable persistence but something goes wrong during the LUKS header upgrade 34.545
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.904
After features/support/hooks.rb:330 1.089
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.591
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 and stopped at Tails Greeter's login screen 15.740
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 16.349
When I enable persistence 1:0.183
Then the filesystem of the Persistent Storage was repaired 0.141
And persistence is successfully enabled 3.176
After features/support/hooks.rb:330 1.922
After features/support/hooks.rb:100 0.000
Tags: @product
1:53.076
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 31.098
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.922
When I try to enable persistence 0.481
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 55.501
When I repair the filesystem of the Persistent Storage 1.371
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.319
And the filesystem of the Persistent Storage was repaired 4.161
When I close the filesystem repair dialog 1.356
Then persistence is successfully enabled 8.863
After features/support/hooks.rb:330 2.604
After features/support/hooks.rb:100 0.000
Tags: @product @doc
3:7.947
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 10.767
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 1.576
When I try to enable persistence 1.067
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 58.859
When I repair the filesystem of the Persistent Storage 1.628
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.736
When I log in to a new session 1:9.468
And all notifications have disappeared 13.867
# 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.581
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.161
When I close the "whisperback" window 1.384
Then the Tor Browser starts 25.448
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.398
After features/support/hooks.rb:330 7.757
After features/support/hooks.rb:100 0.000
Tags: @product @doc
3:26.387
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.048
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.686
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.969
And Tails detects disk read failures on the boot device 0.625
When I try to enable persistence 0.527
Then the Welcome Screen tells me that my hardware is probably failing 48.784
When I log in to a new session 1:16.961
And all notifications have disappeared 17.223
Then the Tor Browser starts 35.522
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.087
After features/support/hooks.rb:330 3.794
After features/support/hooks.rb:100 0.000