Project Number Date
test_Tails_ISO_test-suite-options 5 21 Jun 2025, 21:49

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 127 4 26 0 0 157 17 4 21 1:8:44.115 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:8.260
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 4:55.383
And I update APT using apt 26.702
And I install "python3-behave" using apt 39.676
Then the Tails Persistent Storage behave tests pass 6.498
After features/support/hooks.rb:330 6.484
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.334
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.098
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:18.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\ and\ stopped\ at\ Tails\ Greeter's\ login\ screen$/'
features/persistence.feature:13: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 log in to a new session without activating the Persistent Storage 0.000
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.830

SCENARIO FAILED: 'Booting Tails from a USB drive with a disabled persistent partition' (at time 04:34:26)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:34:26_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_test-suite-options/5/artifact/build-artifacts/04:34:26_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:34:26_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:34:26_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
6:24.148
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 without a persistent partition and logged in 25.315
Then Tails is running from USB drive "__internal" 0.459
When I create a file in the Persistent directory 0.153
And I create a persistent partition with the default settings 55.930
Then the file I created was copied to the Persistent Storage 2.888
When I shutdown Tails and wait for the computer to power off 19.511
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:38.909
Then persistence for "Persistent" is active 0.872
And the file I created in the Persistent directory exists 0.108
After features/support/hooks.rb:330 5.319
After features/support/hooks.rb:100 0.086
Tags: @product
1:27.151
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.064
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 1:27.151
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: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 5.415

SCENARIO FAILED: 'Creating a Persistent Storage when system is low on memory' (at time 04:42:29)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:42:29_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_test-suite-options/5/artifact/build-artifacts/04:42:29_Creating_a_Persistent_Storage_when_system_is_low_on_memory.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:42:29_Creating_a_Persistent_Storage_when_system_is_low_on_memory.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:42:29_Creating_a_Persistent_Storage_when_system_is_low_on_memory.journal

After features/support/hooks.rb:100 0.000
Tags: @product
5:29.852
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.743
Then Tails is running from USB drive "__internal" 0.458
And all tps features are active 8.270
And all persistent directories have safe access rights 5.875
When I disable the first tps feature 14.507
Then all tps features but the first one are active 5.619
And I shutdown Tails and wait for the computer to power off 20.561
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:3.772
Then all tps features but the first one are active 8.043
After features/support/hooks.rb:330 6.531
After features/support/hooks.rb:100 0.014
Tags: @product
1:15.359
Scenario Activating and deactivating Persistent Storage features
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:15.359
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:53:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
Then persistence for "Persistent" is active 0.000
And I create a file in the Persistent directory 0.000
Then the file I created was copied to the Persistent Storage 0.000
When I disable the first tps feature 0.000
Then persistence for "Persistent" is not active 0.000
And the Persistent directory does not exist 0.000
When I enable the first tps feature 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 7.193

SCENARIO FAILED: 'Activating and deactivating Persistent Storage features' (at time 04:49:27)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:49:27_Activating_and_deactivating_Persistent_Storage_features.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:49:27_Activating_and_deactivating_Persistent_Storage_features.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:49:27_Activating_and_deactivating_Persistent_Storage_features.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:49:27_Activating_and_deactivating_Persistent_Storage_features.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:15.898
Scenario Deleting data of a Persistent Storage feature
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:15.898
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:65:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
Then persistence for "Persistent" is active 0.000
When I create a file in the Persistent directory 0.000
And I disable the first tps feature 0.000
And I delete the data of the Persistent Folder feature 0.000
Then the file I created does not exist on the Persistent Storage 0.000
After features/support/hooks.rb:330 6.904

SCENARIO FAILED: 'Deleting data of a Persistent Storage feature' (at time 04:50:49)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:50:49_Deleting_data_of_a_Persistent_Storage_feature.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:50:49_Deleting_data_of_a_Persistent_Storage_feature.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:50:49_Deleting_data_of_a_Persistent_Storage_feature.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/5/artifact/build-artifacts/04:50:49_Deleting_data_of_a_Persistent_Storage_feature.journal

After features/support/hooks.rb:100 0.000
Tags: @product
2:17.022
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 21.167
And the network is plugged 0.280
And Tor is ready 37.471
And I take note of which tps features are available 0.785
When I write some files expected to persist 3.168
And I shutdown Tails and wait for the computer to power off 16.714
# 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" 57.435
After features/support/hooks.rb:330 0.268
After features/support/hooks.rb:100 0.000
Tags: @product
5:58.257
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 23.413
And the network is plugged 0.175
And Tor is ready 37.736
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.273
And I shutdown Tails and wait for the computer to power off 16.495
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:1.893
And I capture all network traffic 0.066
And the network is plugged 0.258
And Tor is ready 36.986
And I switch to the "persistent-con-current" NetworkManager connection 0.603
And the 1st network device has a spoofed MAC address configured 0.116
And no network device leaked the real MAC address 0.236
After features/support/hooks.rb:330 0.937
After features/support/hooks.rb:100 0.066
Tags: @product
2:3.375
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.020
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 28.731
And I enable persistence creation in Tails Greeter 4.513
And I log in to a new session expecting no warning about the Persistent Storage not being activated 50.122
Then I create a persistent partition with the default settings using the wizard that was already open 40.008
After features/support/hooks.rb:330 7.966
After features/support/hooks.rb:100 0.000
Tags: @product
8:47.661
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.166
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 37.210
When I enable persistence 1:28.631
Then no persistent Greeter options were restored 17.024
When I set all Greeter options to non-default values 49.327
And I log in to a new session in German (de) after having activated the Persistent Storage 1:35.885
Then all Greeter options are set to non-default values 0.342
When I cold reboot the computer 16.958
And the computer reboots Tails 2:2.054
Given I enable persistence 36.685
Then persistent Greeter options were restored 0.743
When I log in to a new session after having activated the Persistent Storage 1:2.484
Then all Greeter options are set to non-default values 0.312
After features/support/hooks.rb:330 2.066
After features/support/hooks.rb:100 0.023
Tags: @product
6:21.759
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.851
# 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 54.506
And I shutdown Tails and wait for the computer to power off 20.014
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:59.496
And I change the passphrase of the Persistent Storage back to the original 45.890
After features/support/hooks.rb:330 5.138
After features/support/hooks.rb:100 0.058
Tags: @product
1:12.858
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.659
And I log in to a new session without activating the Persistent Storage 28.619
Then persistence is disabled 0.834
But a Tails persistence partition exists on USB drive "__internal" 8.243
And all notifications have disappeared 15.235
When I delete the persistent partition 6.265
Then there is no persistence partition on USB drive "__internal" 1.001
After features/support/hooks.rb:330 6.186
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.519
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.053
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.386
When I write some dotfile expected to persist 0.123
And I shutdown Tails and wait for the computer to power off 14.184
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:46.460
Then the expected persistent dotfile is present in the filesystem 0.364
After features/support/hooks.rb:330 0.948
After features/support/hooks.rb:100 0.010
Tags: @product
2:24.848
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 14.344
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.259
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 50.191
When I log in to a new session after having activated the Persistent Storage 55.042
And all notifications have disappeared 12.487
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.374
And all tps features are enabled 3.535
And all tps features but the first one are active 4.537
After features/support/hooks.rb:330 4.271
After features/support/hooks.rb:100 0.000
Tags: @product
6:10.773
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:10.317
And I enable persistence 54.196
And I log in to a new session after having activated the Persistent Storage 1:1.493
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.299
And persistence is enabled 3.467
After features/support/hooks.rb:330 4.989
After features/support/hooks.rb:100 0.000
Tags: @product
45.580
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.110
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.400
And I enable persistence but something goes wrong during the LUKS header upgrade 31.981
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.199
After features/support/hooks.rb:330 1.084
After features/support/hooks.rb:100 0.000
Tags: @product
56.906
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 9.847
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.543
When I enable persistence 33.506
Then the filesystem of the Persistent Storage was repaired 0.119
And persistence is successfully enabled 3.888
After features/support/hooks.rb:330 2.639
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.959
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 8.963
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.073
When I try to enable persistence 0.491
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.022
When I repair the filesystem of the Persistent Storage 1.747
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.957
And the filesystem of the Persistent Storage was repaired 4.046
When I close the filesystem repair dialog 1.277
Then persistence is successfully enabled 1.378
After features/support/hooks.rb:330 2.730
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.752
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 10.085
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.112
When I try to enable persistence 0.348
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.290
When I repair the filesystem of the Persistent Storage 1.275
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.288
When I log in to a new session 42.897
And all notifications have disappeared 11.124
# 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.464
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.912
When I close the "whisperback" window 1.423
Then the Tor Browser starts 21.537
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.991
After features/support/hooks.rb:330 4.543
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.835
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.044
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.930
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.609
And Tails detects disk read failures on the boot device 1.031
When I try to enable persistence 0.473
Then the Welcome Screen tells me that my hardware is probably failing 24.840
When I log in to a new session 44.119
And all notifications have disappeared 8.270
Then the Tor Browser starts 27.523
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.036
After features/support/hooks.rb:330 3.470
After features/support/hooks.rb:100 0.000