Project Number Date
test_Tails_ISO_21529-test-suite-vs-secure-boot-key-expiry 7 04 May 2026, 16:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 161 1 1 0 0 163 20 1 21 24:35.299 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:39.300
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 1:24.315
And I update APT using apt 7.516
And I install "python3-behave" using apt 6.294
Then the Tails Persistent Storage behave tests pass 1.173
After features/support/hooks.rb:331 1.261
After features/support/hooks.rb:100 0.000
Tags: @product
32.706
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 with a persistent partition and stopped at Tails Greeter's login screen 9.615
When I log in to a new session without activating the Persistent Storage 17.362
Then Tails is running from USB drive "__internal" 0.320
And persistence is disabled 0.089
But a Tails persistence partition exists on USB drive "__internal" 5.318
After features/support/hooks.rb:331 1.152
After features/support/hooks.rb:100 0.000
Tags: @product
1:40.993
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 8.657
Then Tails is running from USB drive "__internal" 0.359
When I create a file in the Persistent directory 0.226
And I create a persistent partition with the default settings 19.123
Then the file I created was copied to the Persistent Storage 0.445
When I shutdown Tails and wait for the computer to power off 7.065
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.877
Then persistence for "Persistent" is active 0.177
And the file I created in the Persistent directory exists 0.060
After features/support/hooks.rb:331 0.777
After features/support/hooks.rb:100 0.007
Tags: @product
31.989
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 7.743
And the system is very low on memory 4.059
When I create a file in the Persistent directory 0.250
When I try to create a persistent partition 4.921
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.113
When I close the Persistent Storage app 2.463
And I free up some memory 1.884
And I create a persistent partition with the default settings 10.071
Then the file I created was copied to the Persistent Storage 0.481
After features/support/hooks.rb:331 0.882
After features/support/hooks.rb:100 0.000
Tags: @product
1:39.656
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.769
Then Tails is running from USB drive "__internal" 0.305
And all tps features are active 1.372
And all persistent directories have safe access rights 2.492
When I disable the first tps feature 3.172
Then all tps features but the first one are active 1.730
And I shutdown Tails and wait for the computer to power off 10.094
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:10.371
Then all tps features but the first one are active 1.349
After features/support/hooks.rb:331 0.599
After features/support/hooks.rb:100 0.011
Tags: @product
13.658
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 8.158
Then persistence for "Persistent" is active 0.068
And I create a file in the Persistent directory 0.057
Then the file I created was copied to the Persistent Storage 0.056
When I disable the first tps feature 2.537
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.078
When I enable the first tps feature 2.504
Then persistence for "Persistent" is active 0.045
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:331 0.568
After features/support/hooks.rb:100 0.000
Tags: @product
13.721
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.837
Then persistence for "Persistent" is active 0.079
When I create a file in the Persistent directory 0.081
And I disable the first tps feature 2.612
And I delete the data of the Persistent Folder feature 3.011
Then the file I created does not exist on the Persistent Storage 0.099
After features/support/hooks.rb:331 1.084
After features/support/hooks.rb:100 0.000
Tags: @product
58.604
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 7.670
And the network is plugged 0.026
And Tor is ready 16.513
And I take note of which tps features are available 0.296
When I write some files expected to persist 1.672
And I shutdown Tails and wait for the computer to power off 19.360
# 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" 13.063
After features/support/hooks.rb:331 0.233
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.900
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 7.847
And the network is plugged 0.019
And Tor is ready 17.927
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.123
And I shutdown Tails and wait for the computer to power off 25.088
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:18.073
And I capture all network traffic 0.005
And the network is plugged 0.039
And Tor is ready 23.136
And I switch to the "persistent-con-current" NetworkManager connection 0.406
And the 1st network device has a spoofed MAC address configured 0.070
And no network device leaked the real MAC address 0.161
After features/support/hooks.rb:331 0.917
After features/support/hooks.rb:100 0.073
Tags: @product
42.827
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 stopped at Tails Greeter's login screen 9.432
And I enable persistence creation in Tails Greeter 1.095
And I log in to a new session expecting no warning about the Persistent Storage not being activated 15.687
Then I create a persistent partition with the default settings using the wizard that was already open 16.612
After features/support/hooks.rb:331 1.565
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.404
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.948
When I enable persistence 14.130
Then no persistent Greeter options were restored 12.955
When I set all Greeter options to non-default values 38.746
Then the Welcome Screen's language is set to English 0.399
And the Welcome Screen's formats is set to United States 0.286
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.519
When I log in to a new session in German (de) after having activated the Persistent Storage 25.694
Then all Persistent Greeter options are set to non-default values 0.180
When I cold reboot the computer 10.650
And the computer reboots Tails 38.380
Then the Welcome Screen's language is set to English 0.369
And the Welcome Screen's formats is set to United States 0.323
Given I enable persistence 8.078
Then persistent Greeter options were restored 0.109
And the Welcome Screen's formats is set to Belgium 0.261
When I log in to a new session after having activated the Persistent Storage 10.185
Then all Persistent Greeter options are set to non-default values 0.182
After features/support/hooks.rb:331 0.978
After features/support/hooks.rb:100 0.057
Tags: @product
2:15.072
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 8.742
# 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 26.826
And I shutdown Tails and wait for the computer to power off 9.790
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:10.048
And I change the passphrase of the Persistent Storage back to the original 19.664
After features/support/hooks.rb:331 1.288
After features/support/hooks.rb:100 0.023
Tags: @product
43.117
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.593
And I log in to a new session without activating the Persistent Storage 16.635
Then persistence is disabled 0.123
But a Tails persistence partition exists on USB drive "__internal" 4.350
And all notifications have disappeared 8.732
When I delete the persistent partition 3.299
Then there is no persistence partition on USB drive "__internal" 0.381
After features/support/hooks.rb:331 0.934
After features/support/hooks.rb:100 0.000
Tags: @product
1:28.999
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.366
When I write some dotfile expected to persist 0.072
And I shutdown Tails and wait for the computer to power off 9.840
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:10.441
Then the expected persistent dotfile is present in the filesystem 0.278
After features/support/hooks.rb:331 0.820
After features/support/hooks.rb:100 0.009
Tags: @product
46.675
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.001
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.179
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 1.170
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 11.426
When I log in to a new session after having activated the Persistent Storage 12.111
And all notifications have disappeared 7.723
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.817
And all tps features are enabled 1.796
And all tps features but the first one are active 1.365
After features/support/hooks.rb:331 0.715
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.397
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 with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 32.415
And I enable persistence 21.029
And I log in to a new session after having activated the Persistent Storage 11.611
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.658
And persistence is enabled 1.682
After features/support/hooks.rb:331 0.982
After features/support/hooks.rb:100 0.000
Tags: @product
2:8.828
Scenario LUKS backup header is restored if something goes wrong during upgrade
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
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 7.420
And I enable persistence but something goes wrong during the LUKS header upgrade 2:1.407
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/usb.rb:685:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:703:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:713:in `/^I enable persistence but something goes wrong during the LUKS header upgrade$/'
features/persistence.feature:169:in `And I enable persistence but something goes wrong during the LUKS header upgrade'
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.000
After features/support/hooks.rb:331 5.117

SCENARIO FAILED: 'LUKS backup header is restored if something goes wrong during upgrade' (at time 02:34:27)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21529-test-suite-vs-secure-boot-key-expiry/7/artifact/build-artifacts/02:34:27_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21529-test-suite-vs-secure-boot-key-expiry/7/artifact/build-artifacts/02:34:27_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21529-test-suite-vs-secure-boot-key-expiry/7/artifact/build-artifacts/02:34:27_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21529-test-suite-vs-secure-boot-key-expiry/7/artifact/build-artifacts/02:34:27_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.journal

After features/support/hooks.rb:100 0.000
Tags: @product
27.480
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 with a persistent partition and stopped at Tails Greeter's login screen 8.188
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.647
When I enable persistence 6.906
Then the filesystem of the Persistent Storage was repaired 0.052
And persistence is successfully enabled 1.684
After features/support/hooks.rb:331 0.776
After features/support/hooks.rb:100 0.000
Tags: @product
25.083
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.984
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.145
When I try to enable persistence 1.197
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.268
When I repair the filesystem of the Persistent Storage 1.190
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.693
And the filesystem of the Persistent Storage was repaired 0.048
When I close the filesystem repair dialog 1.151
Then persistence is successfully enabled 1.403
After features/support/hooks.rb:331 1.432
After features/support/hooks.rb:100 0.000
Tags: @product @doc
46.336
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.154
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.053
When I try to enable persistence 1.187
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 10.443
When I repair the filesystem of the Persistent Storage 1.242
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.064
When I log in to a new session 11.105
And all notifications have disappeared 9.601
# 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.272
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.520
When I close the "whisperback" window 1.320
Then the Tor Browser starts 1.535
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.836
After features/support/hooks.rb:331 1.010
After features/support/hooks.rb:100 0.000
Tags: @product @doc
45.542
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 with a persistent partition and stopped at Tails Greeter's login screen 7.823
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.374
And Tails detects disk read failures on the boot device 1.426
When I try to enable persistence 1.179
Then the Welcome Screen tells me that my hardware is probably failing 3.234
When I log in to a new session 12.359
And all notifications have disappeared 9.047
Then the Tor Browser starts 1.336
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.760
After features/support/hooks.rb:331 0.820
After features/support/hooks.rb:100 0.000