Project Number Date
test_Tails_ISO_devel 3876 19 Jun 2025, 11:30

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 137 3 17 0 0 157 18 3 21 1:7:5.131 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:29.368
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 4:15.469
And I update APT using apt 23.439
And I install "python3-behave" using apt 41.934
Then the Tails Persistent Storage behave tests pass 8.523
After features/support/hooks.rb:330 6.163
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.618
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.019
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:17.618
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 5.885

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3876/artifact/build-artifacts/04:21:47_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/3876/artifact/build-artifacts/04:21:47_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3876/artifact/build-artifacts/04:21:47_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3876/artifact/build-artifacts/04:21:47_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
6:17.079
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive without a persistent partition and logged in 22.893
Then Tails is running from USB drive "__internal" 8.638
When I create a file in the Persistent directory 2.473
And I create a persistent partition with the default settings 48.713
Then the file I created was copied to the Persistent Storage 4.949
When I shutdown Tails and wait for the computer to power off 27.266
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:21.335
Then persistence for "Persistent" is active 0.720
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 2.438
After features/support/hooks.rb:100 0.015
Tags: @product
2:0.892
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 22.466
And the system is very low on memory 13.357
When I create a file in the Persistent directory 4.941
When I try to create a persistent partition 36.028
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.237
When I close the Persistent Storage app 3.396
And I free up some memory 10.396
And I create a persistent partition with the default settings 29.662
Then the file I created was copied to the Persistent Storage 0.406
After features/support/hooks.rb:330 5.672
After features/support/hooks.rb:100 0.000
Tags: @product
1:27.828
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.035
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:27.828
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: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 7.461

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 04:31:47)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3876/artifact/build-artifacts/04:31:47_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_devel/3876/artifact/build-artifacts/04:31:47_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_devel/3876/artifact/build-artifacts/04:31:47_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_devel/3876/artifact/build-artifacts/04:31:47_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
52.555
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 21.202
Then persistence for "Persistent" is active 1.510
And I create a file in the Persistent directory 1.532
Then the file I created was copied to the Persistent Storage 0.640
When I disable the first tps feature 13.916
Then persistence for "Persistent" is not active 0.197
And the Persistent directory does not exist 0.092
When I enable the first tps feature 12.635
Then persistence for "Persistent" is active 0.653
And the file I created in the Persistent directory exists 0.174
After features/support/hooks.rb:330 1.958
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.152
Scenario Deleting data of a Persistent Storage feature
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:15.152
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 7.271

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3876/artifact/build-artifacts/04:34:05_Deleting_data_of_a_Persistent_Storage_feature.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3876/artifact/build-artifacts/04:34:05_Deleting_data_of_a_Persistent_Storage_feature.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3876/artifact/build-artifacts/04:34:05_Deleting_data_of_a_Persistent_Storage_feature.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3876/artifact/build-artifacts/04:34:05_Deleting_data_of_a_Persistent_Storage_feature.journal

After features/support/hooks.rb:100 0.000
Tags: @product
2:18.764
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 enabled and logged in 24.213
And the network is plugged 2.253
And Tor is ready 31.425
And I take note of which tps features are available 0.796
When I write some files expected to persist 2.178
And I shutdown Tails and wait for the computer to power off 17.739
# 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" 1:0.157
After features/support/hooks.rb:330 0.246
After features/support/hooks.rb:100 0.000
Tags: @product
6:17.025
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 enabled and logged in 23.174
And the network is plugged 0.117
And Tor is ready 40.195
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.260
And I shutdown Tails and wait for the computer to power off 17.622
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:18.132
And I capture all network traffic 0.008
And the network is plugged 0.086
And Tor is ready 36.142
And I switch to the "persistent-con-current" NetworkManager connection 0.828
And the 1st network device has a spoofed MAC address configured 0.155
And no network device leaked the real MAC address 0.299
After features/support/hooks.rb:330 0.720
After features/support/hooks.rb:100 0.053
Tags: @product
2:2.126
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 without a persistent partition and stopped at Tails Greeter's login screen 24.720
And I enable persistence creation in Tails Greeter 1.170
And I log in to a new session expecting no warning about the Persistent Storage not being activated 40.147
Then I create a persistent partition with the default settings using the wizard that was already open 56.088
After features/support/hooks.rb:330 4.178
After features/support/hooks.rb:100 0.000
Tags: @product
7:58.253
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.939
When I enable persistence 1:30.809
Then no persistent Greeter options were restored 19.466
When I set all Greeter options to non-default values 1:2.120
And I log in to a new session in German (de) after having activated the Persistent Storage 1:1.906
Then all Greeter options are set to non-default values 0.297
When I cold reboot the computer 16.258
And the computer reboots Tails 1:41.850
Given I enable persistence 37.382
Then persistent Greeter options were restored 0.912
When I log in to a new session after having activated the Persistent Storage 1:3.641
Then all Greeter options are set to non-default values 0.666
After features/support/hooks.rb:330 5.493
After features/support/hooks.rb:100 0.412
Tags: @product
6:53.084
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.169
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:27.250
# 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:10.189
And I shutdown Tails and wait for the computer to power off 25.002
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:7.637
And I change the passphrase of the Persistent Storage back to the original 43.003
After features/support/hooks.rb:330 6.842
After features/support/hooks.rb:100 0.039
Tags: @product
1:12.741
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 and stopped at Tails Greeter's login screen 12.145
And I log in to a new session without activating the Persistent Storage 30.555
Then persistence is disabled 0.613
But a Tails persistence partition exists on USB drive "__internal" 7.551
And all notifications have disappeared 12.710
When I delete the persistent partition 8.063
Then there is no persistence partition on USB drive "__internal" 1.102
After features/support/hooks.rb:330 1.645
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.614
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 17.848
When I write some dotfile expected to persist 0.280
And I shutdown Tails and wait for the computer to power off 13.849
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:43.859
Then the expected persistent dotfile is present in the filesystem 0.776
After features/support/hooks.rb:330 2.039
After features/support/hooks.rb:100 0.031
Tags: @product
2:33.324
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 and stopped at Tails Greeter's login screen 14.900
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.081
When I try to enable persistence 0.277
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 53.446
When I log in to a new session after having activated the Persistent Storage 1:2.853
And all notifications have disappeared 7.305
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 6.477
And all tps features are enabled 4.592
And all tps features but the first one are active 3.390
After features/support/hooks.rb:330 4.372
After features/support/hooks.rb:100 0.000
Tags: @product
7:15.401
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 5:37.251
And I enable persistence 47.939
And I log in to a new session after having activated the Persistent Storage 41.261
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.117
And persistence is enabled 3.832
After features/support/hooks.rb:330 2.255
After features/support/hooks.rb:100 0.000
Tags: @product
42.699
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 15.559
And I enable persistence but something goes wrong during the LUKS header upgrade 26.160
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.980
After features/support/hooks.rb:330 0.774
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.550
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 16.621
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.820
When I enable persistence 47.789
Then the filesystem of the Persistent Storage was repaired 0.344
And persistence is successfully enabled 3.974
After features/support/hooks.rb:330 1.734
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.269
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.955
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.241
When I try to enable persistence 1.525
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 41.499
When I repair the filesystem of the Persistent Storage 2.812
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.426
And the filesystem of the Persistent Storage was repaired 6.299
When I close the filesystem repair dialog 1.723
Then persistence is successfully enabled 2.785
After features/support/hooks.rb:330 1.540
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:43.123
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 11.610
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.539
When I try to enable persistence 0.891
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 39.758
When I repair the filesystem of the Persistent Storage 4.442
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 3.917
When I log in to a new session 1:3.040
And all notifications have disappeared 14.715
# 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.623
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.248
When I close the "whisperback" window 1.472
Then the Tor Browser starts 19.768
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.094
After features/support/hooks.rb:330 3.555
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:38.656
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 16.547
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.500
And Tails detects disk read failures on the boot device 4.209
When I try to enable persistence 0.648
Then the Welcome Screen tells me that my hardware is probably failing 29.579
When I log in to a new session 1:8.185
And all notifications have disappeared 10.144
Then the Tor Browser starts 18.770
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.071
After features/support/hooks.rb:330 2.002
After features/support/hooks.rb:100 0.000