Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 12 03 Jun 2026, 19:55

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 22:11.358 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:35.181
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:21.298
And I update the APT lists using apt 6.747
And I install "python3-behave" using apt 6.334
Then the Tails Persistent Storage behave tests pass 0.800
After features/support/hooks.rb:335 0.606
After features/support/hooks.rb:104 0.000
Tags: @product
30.039
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.705
When I log in to a new session without activating the Persistent Storage 15.235
Then Tails is running from USB drive "__internal" 0.287
And persistence is disabled 0.094
But a Tails persistence partition exists on USB drive "__internal" 5.716
After features/support/hooks.rb:335 0.953
After features/support/hooks.rb:104 0.000
Tags: @product
1:38.851
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 8.544
Then Tails is running from USB drive "__internal" 0.290
When I create a file in the Persistent directory 0.086
And I create a persistent partition with the default settings 18.888
Then the file I created was copied to the Persistent Storage 0.046
When I shutdown Tails and wait for the computer to power off 6.815
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:3.935
Then persistence for "Persistent" is active 0.202
And the file I created in the Persistent directory exists 0.041
After features/support/hooks.rb:335 0.956
After features/support/hooks.rb:104 0.006
Tags: @product
29.525
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 7.913
And the system is very low on memory 3.982
When I create a file in the Persistent directory 0.214
When I try to create a persistent partition 4.651
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.112
When I close the Persistent Storage app 2.374
And I free up some memory 1.126
And I create a persistent partition with the default settings 9.103
Then the file I created was copied to the Persistent Storage 0.045
After features/support/hooks.rb:335 0.763
After features/support/hooks.rb:104 0.000
Tags: @product
1:31.234
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.256
Then Tails is running from USB drive "__internal" 0.324
And all tps features are active 1.251
And all persistent directories have safe access rights 2.095
When I disable the first tps feature 2.581
Then all tps features but the first one are active 1.112
And I shutdown Tails and wait for the computer to power off 6.872
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:7.388
Then all tps features but the first one are active 1.351
After features/support/hooks.rb:335 1.020
After features/support/hooks.rb:104 0.006
Tags: @product
13.348
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.560
Then persistence for "Persistent" is active 0.067
And I create a file in the Persistent directory 0.061
Then the file I created was copied to the Persistent Storage 0.052
When I disable the first tps feature 2.541
Then persistence for "Persistent" is not active 0.056
And the Persistent directory does not exist 0.037
When I enable the first tps feature 2.671
Then persistence for "Persistent" is active 0.249
And the file I created in the Persistent directory exists 0.048
After features/support/hooks.rb:335 0.924
After features/support/hooks.rb:104 0.000
Tags: @product
12.970
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.344
Then persistence for "Persistent" is active 0.067
When I create a file in the Persistent directory 0.058
And I disable the first tps feature 2.533
And I delete the data of the Persistent Folder feature 2.882
Then the file I created does not exist on the Persistent Storage 0.083
After features/support/hooks.rb:335 0.832
After features/support/hooks.rb:104 0.000
Tags: @product
38.012
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.249
And the network is plugged 0.023
And Tor is ready 10.076
And I take note of which tps features are available 0.187
When I write some files expected to persist 1.197
And I shutdown Tails and wait for the computer to power off 6.914
# 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? (tails/tails#10330)
Then only the expected files are present on the persistence partition on USB drive "__internal" 12.363
After features/support/hooks.rb:335 0.278
After features/support/hooks.rb:104 0.000
Tags: @product
1:38.669
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.325
And the network is plugged 0.020
And Tor is ready 10.297
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.136
And I shutdown Tails and wait for the computer to power off 6.702
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:1.846
And I capture all network traffic 0.007
And the network is plugged 0.027
And Tor is ready 11.742
And I switch to the "persistent-con-current" NetworkManager connection 0.405
And the 1st network device has a spoofed MAC address configured 0.059
And no network device leaked the real MAC address 0.098
After features/support/hooks.rb:335 0.644
After features/support/hooks.rb:104 0.047
Tags: @product
40.259
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 8.830
And I enable persistence creation in Tails Greeter 1.090
And I log in to a new session expecting no warning about the Persistent Storage not being activated 13.094
Then I create a persistent partition with the default settings using the wizard that was already open 17.244
After features/support/hooks.rb:335 1.306
After features/support/hooks.rb:104 0.000
Tags: @product
2:45.908
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.918
When I enable persistence 12.805
Then no persistent Greeter options were restored 12.768
When I set all Greeter options to non-default values 38.601
Then the Welcome Screen's language is set to English 0.366
And the Welcome Screen's formats is set to United States 0.218
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.548
When I log in to a new session in German (de) after having activated the Persistent Storage 24.563
Then all Persistent Greeter options are set to non-default values 0.146
When I cold reboot the computer 6.591
And the computer reboots Tails 37.767
Then the Welcome Screen's language is set to English 0.295
And the Welcome Screen's formats is set to United States 0.176
Given I enable persistence 7.718
Then persistent Greeter options were restored 0.083
And the Welcome Screen's formats is set to Belgium 0.231
When I log in to a new session after having activated the Persistent Storage 9.909
Then all Persistent Greeter options are set to non-default values 0.199
After features/support/hooks.rb:335 0.888
After features/support/hooks.rb:104 0.006
Tags: @product
2:11.635
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.411
# 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 29.931
And I shutdown Tails and wait for the computer to power off 6.990
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:3.411
And I change the passphrase of the Persistent Storage back to the original 22.889
After features/support/hooks.rb:335 1.096
After features/support/hooks.rb:104 0.007
Tags: @product
38.595
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.053
And I log in to a new session without activating the Persistent Storage 14.283
Then persistence is disabled 0.094
But a Tails persistence partition exists on USB drive "__internal" 5.189
And all notifications have disappeared 7.967
When I delete the persistent partition 2.688
Then there is no persistence partition on USB drive "__internal" 0.318
After features/support/hooks.rb:335 0.583
After features/support/hooks.rb:104 0.000
Tags: @product
1:19.553
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.644
When I write some dotfile expected to persist 0.059
And I shutdown Tails and wait for the computer to power off 6.903
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.694
Then the expected persistent dotfile is present in the filesystem 0.252
After features/support/hooks.rb:335 0.689
After features/support/hooks.rb:104 0.020
Tags: @product
40.616
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 7.749
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.074
When I try to enable persistence 1.184
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 10.253
When I log in to a new session after having activated the Persistent Storage 10.278
And all notifications have disappeared 7.687
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.267
And all tps features are enabled 1.009
And all tps features but the first one are active 1.112
After features/support/hooks.rb:335 0.587
After features/support/hooks.rb:104 0.000
Tags: @product
1:2.370
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.003
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 30.092
And I enable persistence 19.856
And I log in to a new session after having activated the Persistent Storage 10.319
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.640
And persistence is enabled 1.462
After features/support/hooks.rb:335 1.000
After features/support/hooks.rb:104 0.000
Tags: @product
2:8.708
Scenario LUKS backup header is restored if something goes wrong during upgrade
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.411
And I enable persistence but something goes wrong during the LUKS header upgrade 2:1.296
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:705:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:723:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:733: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:335 4.709

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21373-poweroff-inhibit/12/artifact/build-artifacts/02:29:30_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_21373-poweroff-inhibit/12/artifact/build-artifacts/02:29:30_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21373-poweroff-inhibit/12/artifact/build-artifacts/02:29:30_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21373-poweroff-inhibit/12/artifact/build-artifacts/02:29:30_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.journal

After features/support/hooks.rb:104 0.000
Tags: @product
24.000
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.601
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.994
When I enable persistence 6.535
Then the filesystem of the Persistent Storage was repaired 0.045
And persistence is successfully enabled 1.823
After features/support/hooks.rb:335 0.761
After features/support/hooks.rb:104 0.000
Tags: @product
24.223
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.458
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.939
When I try to enable persistence 1.269
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.473
When I repair the filesystem of the Persistent Storage 1.148
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.481
And the filesystem of the Persistent Storage was repaired 0.054
When I close the filesystem repair dialog 1.160
Then persistence is successfully enabled 1.239
After features/support/hooks.rb:335 1.073
After features/support/hooks.rb:104 0.000
Tags: @product @doc
42.761
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.690
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.055
When I try to enable persistence 1.145
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.487
When I repair the filesystem of the Persistent Storage 1.181
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.027
When I log in to a new session 11.986
And all notifications have disappeared 8.460
# 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.295
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.097
When I close the "whisperback" window 1.237
Then the Tor Browser starts 1.325
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.769
After features/support/hooks.rb:335 1.998
After features/support/hooks.rb:104 0.000
Tags: @product @doc
44.890
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 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.747
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.122
And Tails detects disk read failures on the boot device 1.327
When I try to enable persistence 1.158
Then the Welcome Screen tells me that my hardware is probably failing 3.505
When I log in to a new session 11.393
And all notifications have disappeared 9.121
Then the Tor Browser starts 1.795
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.717
After features/support/hooks.rb:335 0.892
After features/support/hooks.rb:104 0.000