Project Number Date
test_Tails_ISO_devel 3908 15 Jul 2025, 22:54

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 128 4 25 0 0 157 17 4 21 1:1:1.461 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:22.542
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 3:20.421
And I update APT using apt 22.136
And I install "python3-behave" using apt 35.262
Then the Tails Persistent Storage behave tests pass 4.722
After features/support/hooks.rb:330 2.570
After features/support/hooks.rb:100 0.000
Tags: @product
35.432
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 22.801
When I log in to a new session without activating the Persistent Storage 12.630
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:519: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 5.862

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:09:13_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_devel/3908/artifact/build-artifacts/05:09:13_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:09:13_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:09:13_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:27.263
Scenario Creating a Persistent Storage
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 without a persistent partition and logged in 1:27.263
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.794

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 05:10:47)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:10:47_Creating_a_Persistent_Storage.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:10:47_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:10:47_Creating_a_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:10:47_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:14.145
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.007
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 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: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.745

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:12:08_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_devel/3908/artifact/build-artifacts/05:12:08_Creating_a_Persistent_Storage_when_system_is_low_on_memory.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:12:08_Creating_a_Persistent_Storage_when_system_is_low_on_memory.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:12:08_Creating_a_Persistent_Storage_when_system_is_low_on_memory.journal

After features/support/hooks.rb:100 0.000
Tags: @product
5:40.821
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.539
Then Tails is running from USB drive "__internal" 1.332
And all tps features are active 11.880
And all persistent directories have safe access rights 3.409
When I disable the first tps feature 18.174
Then all tps features but the first one are active 2.665
And I shutdown Tails and wait for the computer to power off 24.544
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:11.420
Then all tps features but the first one are active 2.853
After features/support/hooks.rb:330 2.209
After features/support/hooks.rb:100 0.009
Tags: @product
46.730
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 21.421
Then persistence for "Persistent" is active 0.082
And I create a file in the Persistent directory 0.078
Then the file I created was copied to the Persistent Storage 0.093
When I disable the first tps feature 15.516
Then persistence for "Persistent" is not active 0.170
And the Persistent directory does not exist 0.117
When I enable the first tps feature 4.498
Then persistence for "Persistent" is active 1.601
And the file I created in the Persistent directory exists 3.148
After features/support/hooks.rb:330 6.538
After features/support/hooks.rb:100 0.000
Tags: @product
1:39.523
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 with a persistent partition enabled and logged in 1:16.892
Then persistence for "Persistent" is active 0.366
When I create a file in the Persistent directory 1.046
And I disable the first tps feature 8.260
And I delete the data of the Persistent Folder feature 9.490
Then the file I created does not exist on the Persistent Storage 3.467
After features/support/hooks.rb:330 2.494
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.874
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.011
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:16.874
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.492

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:21:49_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/3908/artifact/build-artifacts/05:21:49_Writing_files_to_a_read_write-enabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:21:49_Writing_files_to_a_read_write-enabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3908/artifact/build-artifacts/05:21:49_Writing_files_to_a_read_write-enabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
5:36.498
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 21.174
And the network is plugged 0.087
And Tor is ready 38.341
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.257
And I shutdown Tails and wait for the computer to power off 16.258
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:43.902
And I capture all network traffic 0.013
And the network is plugged 0.087
And Tor is ready 35.667
And I switch to the "persistent-con-current" NetworkManager connection 0.423
And the 1st network device has a spoofed MAC address configured 0.110
And no network device leaked the real MAC address 0.174
After features/support/hooks.rb:330 1.144
After features/support/hooks.rb:100 0.099
Tags: @product
1:59.078
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 without a persistent partition and stopped at Tails Greeter's login screen 22.575
And I enable persistence creation in Tails Greeter 1.311
And I log in to a new session expecting no warning about the Persistent Storage not being activated 50.029
Then I create a persistent partition with the default settings using the wizard that was already open 45.162
After features/support/hooks.rb:330 3.750
After features/support/hooks.rb:100 0.000
Tags: @product
7:36.786
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 22.301
When I enable persistence 1:34.038
Then no persistent Greeter options were restored 20.169
When I set all Greeter options to non-default values 1:0.110
And I log in to a new session in German (de) after having activated the Persistent Storage 1:24.356
Then all Greeter options are set to non-default values 0.223
When I cold reboot the computer 11.094
And the computer reboots Tails 1:27.643
Given I enable persistence 32.973
Then persistent Greeter options were restored 0.563
When I log in to a new session after having activated the Persistent Storage 42.708
Then all Greeter options are set to non-default values 0.602
After features/support/hooks.rb:330 1.595
After features/support/hooks.rb:100 0.011
Tags: @product
5:52.012
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 17.220
# 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 55.865
And I shutdown Tails and wait for the computer to power off 17.125
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:29.920
And I change the passphrase of the Persistent Storage back to the original 51.880
After features/support/hooks.rb:330 4.898
After features/support/hooks.rb:100 0.010
Tags: @product
1:24.820
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.703
And I log in to a new session without activating the Persistent Storage 27.758
Then persistence is disabled 0.552
But a Tails persistence partition exists on USB drive "__internal" 18.426
And all notifications have disappeared 14.942
When I delete the persistent partition 7.144
Then there is no persistence partition on USB drive "__internal" 0.293
After features/support/hooks.rb:330 4.205
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.149
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.079
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16.153
When I write some dotfile expected to persist 0.102
And I shutdown Tails and wait for the computer to power off 14.361
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:47.562
Then the expected persistent dotfile is present in the filesystem 3.970
After features/support/hooks.rb:330 3.333
After features/support/hooks.rb:100 0.015
Tags: @product
2:29.526
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 10.004
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.130
When I try to enable persistence 0.281
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 54.866
When I log in to a new session after having activated the Persistent Storage 1:0.605
And all notifications have disappeared 11.947
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 6.233
And all tps features are enabled 2.932
And all tps features but the first one are active 2.524
After features/support/hooks.rb:330 3.192
After features/support/hooks.rb:100 0.000
Tags: @product
6:12.227
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:16.269
And I enable persistence 50.523
And I log in to a new session after having activated the Persistent Storage 59.508
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.225
And persistence is enabled 2.700
After features/support/hooks.rb:330 1.954
After features/support/hooks.rb:100 0.000
Tags: @product
48.488
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 16.439
And I enable persistence but something goes wrong during the LUKS header upgrade 27.753
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 4.296
After features/support/hooks.rb:330 2.808
After features/support/hooks.rb:100 0.000
Tags: @product
1:23.411
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 with a persistent partition and stopped at Tails Greeter's login screen 11.288
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 14.007
When I enable persistence 53.612
Then the filesystem of the Persistent Storage was repaired 0.168
And persistence is successfully enabled 4.334
After features/support/hooks.rb:330 1.935
After features/support/hooks.rb:100 0.000
Tags: @product
1:23.016
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 27.848
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.685
When I try to enable persistence 0.390
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.259
When I repair the filesystem of the Persistent Storage 3.380
Then the Welcome Screen tells me that the filesystem was repaired successfully 2.311
And the filesystem of the Persistent Storage was repaired 3.286
When I close the filesystem repair dialog 1.196
Then persistence is successfully enabled 1.658
After features/support/hooks.rb:330 1.976
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:52.983
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.033
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.672
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.097
When I try to enable persistence 0.304
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 47.351
When I repair the filesystem of the Persistent Storage 2.399
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.784
When I log in to a new session 56.317
And all notifications have disappeared 15.344
# 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.404
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.747
When I close the "whisperback" window 1.674
Then the Tor Browser starts 31.731
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.153
After features/support/hooks.rb:330 3.150
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:57.127
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 12.548
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.960
And Tails detects disk read failures on the boot device 1.627
When I try to enable persistence 0.700
Then the Welcome Screen tells me that my hardware is probably failing 37.309
When I log in to a new session 1:6.686
And all notifications have disappeared 15.527
Then the Tor Browser starts 34.178
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.589
After features/support/hooks.rb:330 2.590
After features/support/hooks.rb:100 0.000