Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 5 01 Jun 2026, 19:53

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 21:19.337 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:31.154
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.002
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:18.245
And I update the APT lists using apt 5.907
And I install "python3-behave" using apt 6.245
Then the Tails Persistent Storage behave tests pass 0.755
After features/support/hooks.rb:335 0.555
After features/support/hooks.rb:104 0.000
Tags: @product
27.688
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 8.512
When I log in to a new session without activating the Persistent Storage 14.084
Then Tails is running from USB drive "__internal" 0.264
And persistence is disabled 0.111
But a Tails persistence partition exists on USB drive "__internal" 4.715
After features/support/hooks.rb:335 0.613
After features/support/hooks.rb:104 0.000
Tags: @product
1:33.238
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.401
Then Tails is running from USB drive "__internal" 0.297
When I create a file in the Persistent directory 0.095
And I create a persistent partition with the default settings 17.286
Then the file I created was copied to the Persistent Storage 0.049
When I shutdown Tails and wait for the computer to power off 6.711
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:0.155
Then persistence for "Persistent" is active 0.191
And the file I created in the Persistent directory exists 0.049
After features/support/hooks.rb:335 0.532
After features/support/hooks.rb:104 0.006
Tags: @product
28.805
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 without a persistent partition and logged in 7.264
And the system is very low on memory 4.013
When I create a file in the Persistent directory 0.159
When I try to create a persistent partition 4.616
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.082
When I close the Persistent Storage app 2.325
And I free up some memory 0.826
And I create a persistent partition with the default settings 9.468
Then the file I created was copied to the Persistent Storage 0.047
After features/support/hooks.rb:335 1.043
After features/support/hooks.rb:104 0.000
Tags: @product
1:25.293
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 enabled and logged in 8.035
Then Tails is running from USB drive "__internal" 0.255
And all tps features are active 1.134
And all persistent directories have safe access rights 1.970
When I disable the first tps feature 2.516
Then all tps features but the first one are active 1.053
And I shutdown Tails and wait for the computer to power off 6.836
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.453
Then all tps features but the first one are active 1.036
After features/support/hooks.rb:335 0.924
After features/support/hooks.rb:104 0.016
Tags: @product
12.544
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.211
Then persistence for "Persistent" is active 0.065
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.047
When I disable the first tps feature 2.525
Then persistence for "Persistent" is not active 0.054
And the Persistent directory does not exist 0.044
When I enable the first tps feature 2.439
Then persistence for "Persistent" is active 0.050
And the file I created in the Persistent directory exists 0.040
After features/support/hooks.rb:335 0.711
After features/support/hooks.rb:104 0.000
Tags: @product
12.718
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.242
Then persistence for "Persistent" is active 0.064
When I create a file in the Persistent directory 0.047
And I disable the first tps feature 2.508
And I delete the data of the Persistent Folder feature 2.811
Then the file I created does not exist on the Persistent Storage 0.043
After features/support/hooks.rb:335 1.090
After features/support/hooks.rb:104 0.000
Tags: @product
35.313
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.067
And the network is plugged 0.017
And Tor is ready 8.035
And I take note of which tps features are available 0.174
When I write some files expected to persist 1.196
And I shutdown Tails and wait for the computer to power off 7.060
# 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" 11.760
After features/support/hooks.rb:335 0.509
After features/support/hooks.rb:104 0.000
Tags: @product
1:36.271
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.077
And the network is plugged 0.014
And Tor is ready 9.838
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.128
And I shutdown Tails and wait for the computer to power off 6.721
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 59.545
And I capture all network traffic 0.024
And the network is plugged 0.020
And Tor is ready 12.417
And I switch to the "persistent-con-current" NetworkManager connection 0.332
And the 1st network device has a spoofed MAC address configured 0.061
And no network device leaked the real MAC address 0.087
After features/support/hooks.rb:335 1.000
After features/support/hooks.rb:104 0.035
Tags: @product
38.304
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 stopped at Tails Greeter's login screen 8.387
And I enable persistence creation in Tails Greeter 1.096
And I log in to a new session expecting no warning about the Persistent Storage not being activated 12.942
Then I create a persistent partition with the default settings using the wizard that was already open 15.878
After features/support/hooks.rb:335 1.199
After features/support/hooks.rb:104 0.000
Tags: @product
2:41.838
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 8.460
When I enable persistence 12.859
Then no persistent Greeter options were restored 13.116
When I set all Greeter options to non-default values 38.487
Then the Welcome Screen's language is set to English 0.320
And the Welcome Screen's formats is set to United States 0.260
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.618
When I log in to a new session in German (de) after having activated the Persistent Storage 23.934
Then all Persistent Greeter options are set to non-default values 0.151
When I cold reboot the computer 6.342
And the computer reboots Tails 36.784
Then the Welcome Screen's language is set to English 0.239
And the Welcome Screen's formats is set to United States 0.172
Given I enable persistence 7.180
Then persistent Greeter options were restored 0.098
And the Welcome Screen's formats is set to Belgium 0.230
When I log in to a new session after having activated the Persistent Storage 8.427
Then all Persistent Greeter options are set to non-default values 0.154
After features/support/hooks.rb:335 0.918
After features/support/hooks.rb:104 0.006
Tags: @product
2:2.716
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.166
# 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 25.037
And I shutdown Tails and wait for the computer to power off 5.423
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:1.748
And I change the passphrase of the Persistent Storage back to the original 22.340
After features/support/hooks.rb:335 0.885
After features/support/hooks.rb:104 0.006
Tags: @product
36.736
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 and stopped at Tails Greeter's login screen 7.988
And I log in to a new session without activating the Persistent Storage 13.823
Then persistence is disabled 0.131
But a Tails persistence partition exists on USB drive "__internal" 4.189
And all notifications have disappeared 7.612
When I delete the persistent partition 2.642
Then there is no persistence partition on USB drive "__internal" 0.348
After features/support/hooks.rb:335 1.033
After features/support/hooks.rb:104 0.000
Tags: @product
1:17.424
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.651
When I write some dotfile expected to persist 0.040
And I shutdown Tails and wait for the computer to power off 7.089
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:2.401
Then the expected persistent dotfile is present in the filesystem 0.240
After features/support/hooks.rb:335 0.870
After features/support/hooks.rb:104 0.007
Tags: @product
38.751
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.790
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.088
When I try to enable persistence 1.178
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 9.192
When I log in to a new session after having activated the Persistent Storage 9.773
And all notifications have disappeared 7.530
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.268
And all tps features are enabled 0.910
And all tps features but the first one are active 1.018
After features/support/hooks.rb:335 0.965
After features/support/hooks.rb:104 0.000
Tags: @product
1:1.949
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 29.821
And I enable persistence 19.789
And I log in to a new session after having activated the Persistent Storage 10.186
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.550
And persistence is enabled 1.601
After features/support/hooks.rb:335 0.895
After features/support/hooks.rb:104 0.000
Tags: @product
2:8.338
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.053
And I enable persistence but something goes wrong during the LUKS header upgrade 2:1.285
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 5.088

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

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

After features/support/hooks.rb:104 0.000
Tags: @product
24.396
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.922
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.450
When I enable persistence 6.297
Then the filesystem of the Persistent Storage was repaired 0.047
And persistence is successfully enabled 1.678
After features/support/hooks.rb:335 0.843
After features/support/hooks.rb:104 0.000
Tags: @product
22.516
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.293
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.164
When I try to enable persistence 1.292
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.236
When I repair the filesystem of the Persistent Storage 1.150
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.253
And the filesystem of the Persistent Storage was repaired 0.061
When I close the filesystem repair dialog 1.156
Then persistence is successfully enabled 0.907
After features/support/hooks.rb:335 0.824
After features/support/hooks.rb:104 0.000
Tags: @product @doc
41.670
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.398
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.083
When I try to enable persistence 1.162
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 8.288
When I repair the filesystem of the Persistent Storage 1.161
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.030
When I log in to a new session 10.754
And all notifications have disappeared 8.958
# 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.131
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.390
When I close the "whisperback" window 1.218
Then the Tor Browser starts 1.344
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.749
After features/support/hooks.rb:335 0.687
After features/support/hooks.rb:104 0.000
Tags: @product @doc
41.667
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.457
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.333
And Tails detects disk read failures on the boot device 1.334
When I try to enable persistence 1.294
Then the Welcome Screen tells me that my hardware is probably failing 2.816
When I log in to a new session 10.030
And all notifications have disappeared 8.261
Then the Tor Browser starts 1.428
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.709
After features/support/hooks.rb:335 0.890
After features/support/hooks.rb:104 0.000