Project Number Date
test_Tails_ISO_fix-homepage-image 3 08 Jul 2025, 10:49

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 146 2 9 0 0 157 19 2 21 1:2:39.179 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:49.789
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.117
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:49.628
And I update APT using apt 20.900
And I install "python3-behave" using apt 36.205
Then the Tails Persistent Storage behave tests pass 3.056
After features/support/hooks.rb:330 0.825
After features/support/hooks.rb:100 0.000
Tags: @product
1:26.489
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 28.868
When I log in to a new session without activating the Persistent Storage 35.810
Then Tails is running from USB drive "__internal" 0.710
And persistence is disabled 0.527
But a Tails persistence partition exists on USB drive "__internal" 20.571
After features/support/hooks.rb:330 5.997
After features/support/hooks.rb:100 0.000
Tags: @product
4:30.194
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 without a persistent partition and logged in 15.204
Then Tails is running from USB drive "__internal" 3.101
When I create a file in the Persistent directory 1.100
And I create a persistent partition with the default settings 39.578
Then the file I created was copied to the Persistent Storage 3.426
When I shutdown Tails and wait for the computer to power off 18.263
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:8.427
Then persistence for "Persistent" is active 0.992
And the file I created in the Persistent directory exists 0.099
After features/support/hooks.rb:330 1.779
After features/support/hooks.rb:100 0.009
Tags: @product
1:39.924
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 16.645
And the system is very low on memory 13.892
When I create a file in the Persistent directory 3.246
When I try to create a persistent partition 35.106
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.671
When I close the Persistent Storage app 3.363
And I free up some memory 3.469
And I create a persistent partition with the default settings 23.170
Then the file I created was copied to the Persistent Storage 0.357
After features/support/hooks.rb:330 4.435
After features/support/hooks.rb:100 0.000
Tags: @product
3:56.073
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 16.478
Then Tails is running from USB drive "__internal" 0.808
And all tps features are active 6.987
And all persistent directories have safe access rights 4.312
When I disable the first tps feature 5.469
Then all tps features but the first one are active 2.675
And I shutdown Tails and wait for the computer to power off 16.496
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:0.072
Then all tps features but the first one are active 2.771
After features/support/hooks.rb:330 2.966
After features/support/hooks.rb:100 0.082
Tags: @product
31.007
Before features/support/hooks.rb:266 0.002
Before features/support/hooks.rb:273 0.081
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.888
Then persistence for "Persistent" is active 0.166
And I create a file in the Persistent directory 0.371
Then the file I created was copied to the Persistent Storage 0.327
When I disable the first tps feature 9.266
Then persistence for "Persistent" is not active 0.231
And the Persistent directory does not exist 0.197
When I enable the first tps feature 5.390
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 1.311
After features/support/hooks.rb:100 0.000
Tags: @product
24.394
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 13.497
Then persistence for "Persistent" is active 0.199
When I create a file in the Persistent directory 0.152
And I disable the first tps feature 6.163
And I delete the data of the Persistent Folder feature 4.316
Then the file I created does not exist on the Persistent Storage 0.065
After features/support/hooks.rb:330 2.358
After features/support/hooks.rb:100 0.000
Tags: @product
1:33.990
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.220
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.710
And the network is plugged 0.145
And Tor is ready 29.158
And I take note of which tps features are available 1.037
When I write some files expected to persist 2.836
And I shutdown Tails and wait for the computer to power off 8.734
# 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" 36.367
After features/support/hooks.rb:330 0.300
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.272
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 enabled and logged in 13.439
And the network is plugged 0.088
And Tor is ready 23.287
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.212
And I shutdown Tails and wait for the computer to power off 15.105
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:3.978
And I capture all network traffic 0.014
And the network is plugged 0.076
And Tor is ready 27.301
And I switch to the "persistent-con-current" NetworkManager connection 0.550
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.130
After features/support/hooks.rb:330 2.350
After features/support/hooks.rb:100 0.125
Tags: @product
1:32.675
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 17.994
And I enable persistence creation in Tails Greeter 2.098
And I log in to a new session expecting no warning about the Persistent Storage not being activated 32.713
Then I create a persistent partition with the default settings using the wizard that was already open 39.869
After features/support/hooks.rb:330 7.164
After features/support/hooks.rb:100 0.000
Tags: @product
6:37.306
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.026
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.684
When I enable persistence 1:2.032
Then no persistent Greeter options were restored 24.973
When I set all Greeter options to non-default values 34.182
And I log in to a new session in German (de) after having activated the Persistent Storage 1:6.400
Then all Greeter options are set to non-default values 2.641
When I cold reboot the computer 9.922
And the computer reboots Tails 1:35.296
Given I enable persistence 25.503
Then persistent Greeter options were restored 0.730
When I log in to a new session after having activated the Persistent Storage 59.664
Then all Greeter options are set to non-default values 0.275
After features/support/hooks.rb:330 5.153
After features/support/hooks.rb:100 0.039
Tags: @product
5:34.831
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.028
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.062
# 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 57.321
And I shutdown Tails and wait for the computer to power off 16.147
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:22.403
And I change the passphrase of the Persistent Storage back to the original 44.895
After features/support/hooks.rb:330 7.044
After features/support/hooks.rb:100 0.032
Tags: @product
20.697
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.027
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.631
And I log in to a new session without activating the Persistent Storage 8.065
<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:128:in `And I log in to a new session without activating the Persistent Storage'
Then persistence is disabled 0.000
But a Tails persistence partition exists on USB drive "__internal" 0.000
And all notifications have disappeared 0.000
When I delete the persistent partition 0.000
Then there is no persistence partition on USB drive "__internal" 0.000
After features/support/hooks.rb:330 5.625

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 04:36:57)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_fix-homepage-image/3/artifact/build-artifacts/04:36:57_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_fix-homepage-image/3/artifact/build-artifacts/04:36:57_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_fix-homepage-image/3/artifact/build-artifacts/04:36:57_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_fix-homepage-image/3/artifact/build-artifacts/04:36:57_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:48.624
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 17.899
When I write some dotfile expected to persist 0.101
And I shutdown Tails and wait for the computer to power off 16.087
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:12.629
Then the expected persistent dotfile is present in the filesystem 1.906
After features/support/hooks.rb:330 4.827
After features/support/hooks.rb:100 0.030
Tags: @product
2:52.598
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 14.179
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.391
When I try to enable persistence 2.399
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 48.511
When I log in to a new session after having activated the Persistent Storage 1:14.161
And all notifications have disappeared 14.089
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 10.997
And all tps features are enabled 3.463
And all tps features but the first one are active 4.404
After features/support/hooks.rb:330 4.474
After features/support/hooks.rb:100 0.000
Tags: @product
1:26.313
Scenario LUKS header is automatically upgraded when unlocking the Persistent Storage
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.058
Steps
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 1:26.313
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:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ LUKS\ 1\ persistent\ partition\ and\ stopped\ at\ Tails\ Greeter's\ login\ screen$/'
features/persistence.feature:154:in `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'
And I enable persistence 0.000
And I log in to a new session after having activated the Persistent Storage 0.000
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.000
And persistence is enabled 0.000
After features/support/hooks.rb:330 6.395

SCENARIO FAILED: 'LUKS header is automatically upgraded when unlocking the Persistent Storage' (at time 04:46:20)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_fix-homepage-image/3/artifact/build-artifacts/04:46:20_LUKS_header_is_automatically_upgraded_when_unlocking_the_Persistent_Storage.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_fix-homepage-image/3/artifact/build-artifacts/04:46:20_LUKS_header_is_automatically_upgraded_when_unlocking_the_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_fix-homepage-image/3/artifact/build-artifacts/04:46:20_LUKS_header_is_automatically_upgraded_when_unlocking_the_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_fix-homepage-image/3/artifact/build-artifacts/04:46:20_LUKS_header_is_automatically_upgraded_when_unlocking_the_Persistent_Storage.journal

After features/support/hooks.rb:100 0.000
Tags: @product
7:2.694
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 6:24.983
And I enable persistence but something goes wrong during the LUKS header upgrade 36.805
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.905
After features/support/hooks.rb:330 2.902
After features/support/hooks.rb:100 0.000
Tags: @product
1:25.904
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.030
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.263
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 14.390
When I enable persistence 46.148
Then the filesystem of the Persistent Storage was repaired 0.092
And persistence is successfully enabled 11.009
After features/support/hooks.rb:330 1.960
After features/support/hooks.rb:100 0.000
Tags: @product
1:28.572
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 9.522
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.113
When I try to enable persistence 1.542
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 45.913
When I repair the filesystem of the Persistent Storage 6.681
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.515
And the filesystem of the Persistent Storage was repaired 4.124
When I close the filesystem repair dialog 1.244
Then persistence is successfully enabled 1.913
After features/support/hooks.rb:330 3.212
After features/support/hooks.rb:100 0.000
Tags: @product @doc
3:28.323
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.857
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.106
When I try to enable persistence 1.465
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 48.989
When I repair the filesystem of the Persistent Storage 1.959
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.154
When I log in to a new session 1:7.112
And all notifications have disappeared 21.487
# 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.704
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 3.554
When I close the "whisperback" window 7.907
Then the Tor Browser starts 37.002
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.020
After features/support/hooks.rb:330 3.778
After features/support/hooks.rb:100 0.000
Tags: @product @doc
3:44.500
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 26.837
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.388
And Tails detects disk read failures on the boot device 2.083
When I try to enable persistence 0.533
Then the Welcome Screen tells me that my hardware is probably failing 56.415
When I log in to a new session 1:19.403
And all notifications have disappeared 8.318
Then the Tor Browser starts 35.401
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.118
After features/support/hooks.rb:330 6.515
After features/support/hooks.rb:100 0.000