Project Number Date
test_Tails_ISO_devel 4619 16 Sep 2026, 11:21

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 25:58.047 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:44.676
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:30.754
And I update the APT lists using apt 6.953
And I install "python3-behave" using apt 6.238
Then the Tails Persistent Storage behave tests pass 0.730
After features/support/hooks.rb:339 0.556
After features/support/hooks.rb:108 0.000
Tags: @product
28.251
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.811
When I log in to a new session without activating the Persistent Storage 13.914
Then Tails is running from USB drive "__internal" 0.247
And persistence is disabled 0.137
But a Tails persistence partition exists on USB drive "__internal" 5.141
After features/support/hooks.rb:339 0.917
After features/support/hooks.rb:108 0.000
Tags: @product
1:37.104
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 8.873
Then Tails is running from USB drive "__internal" 0.362
When I create a file in the Persistent directory 0.120
And I create a persistent partition with the default settings 17.959
Then the file I created was copied to the Persistent Storage 0.051
When I shutdown Tails and wait for the computer to power off 5.298
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.221
Then persistence for "Persistent" is active 0.165
And the file I created in the Persistent directory exists 0.051
After features/support/hooks.rb:339 0.555
After features/support/hooks.rb:108 0.072
Tags: @product
29.614
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 8.421
And the system is very low on memory 4.427
When I create a file in the Persistent directory 0.148
When I try to create a persistent partition 4.586
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.093
When I close the Persistent Storage app 2.369
And I free up some memory 0.473
And I create a persistent partition with the default settings 9.037
Then the file I created was copied to the Persistent Storage 0.055
After features/support/hooks.rb:339 0.595
After features/support/hooks.rb:108 0.000
Tags: @product
1:55.492
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.779
Then Tails is running from USB drive "__internal" 0.309
And all tps features are active 9.163
And all persistent directories have safe access rights 2.209
When I disable the first tps feature 2.586
Then all tps features but the first one are active 8.795
And I shutdown Tails and wait for the computer to power off 6.619
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:8.342
Then all tps features but the first one are active 8.684
After features/support/hooks.rb:339 0.695
After features/support/hooks.rb:108 0.022
Tags: @product
26.671
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 21.305
Then persistence for "Persistent" is active 0.083
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 2.510
Then persistence for "Persistent" is not active 0.056
And the Persistent directory does not exist 0.028
When I enable the first tps feature 2.434
Then persistence for "Persistent" is active 0.052
And the file I created in the Persistent directory exists 0.050
After features/support/hooks.rb:339 1.152
After features/support/hooks.rb:108 0.000
Tags: @product
13.692
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.026
Then persistence for "Persistent" is active 0.098
When I create a file in the Persistent directory 0.064
And I disable the first tps feature 2.641
And I delete the data of the Persistent Folder feature 2.806
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:339 1.015
After features/support/hooks.rb:108 0.000
Tags: @product
42.922
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.928
And the network is plugged 0.045
And Tor is ready 10.185
And I take note of which tps features are available 6.866
When I write some files expected to persist 1.159
And I shutdown Tails and wait for the computer to power off 5.516
# 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.220
After features/support/hooks.rb:339 0.367
After features/support/hooks.rb:108 0.000
Tags: @product
1:39.630
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7.822
And the network is plugged 0.034
And Tor is ready 9.609
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.158
And I shutdown Tails and wait for the computer to power off 5.510
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:4.711
And I capture all network traffic 0.003
And the network is plugged 0.027
And Tor is ready 11.203
And I switch to the "persistent-con-current" NetworkManager connection 0.376
And the 1st network device has a spoofed MAC address configured 0.079
And no network device leaked the real MAC address 0.094
After features/support/hooks.rb:339 0.574
After features/support/hooks.rb:108 0.046
Tags: @product
41.994
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 8.892
And I enable persistence creation in Tails Greeter 1.100
And I log in to a new session expecting no warning about the Persistent Storage not being activated 13.491
Then I create a persistent partition with the default settings using the wizard that was already open 18.511
After features/support/hooks.rb:339 1.037
After features/support/hooks.rb:108 0.000
Tags: @product
2:56.021
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.989
When I enable persistence 23.607
Then no persistent Greeter options were restored 13.920
When I set all Greeter options to non-default values 37.870
Then the Welcome Screen's language is set to English 0.473
And the Welcome Screen's formats is set to United States 0.311
# We need to set a format explicitly, or it won't be restored later
When I set the formats to "Belgien - Deutsch" 4.566
When I log in to a new session in German (de) after having activated the Persistent Storage 23.071
Then all Persistent Greeter options are set to non-default values 0.115
When I cold reboot the computer 6.172
And the computer reboots Tails 33.251
Then the Welcome Screen's language is set to English 0.272
And the Welcome Screen's formats is set to United States 0.207
Given I enable persistence 14.952
Then persistent Greeter options were restored 0.083
And the Welcome Screen's formats is set to Belgium 0.368
When I log in to a new session after having activated the Persistent Storage 7.637
Then all Persistent Greeter options are set to non-default values 0.148
After features/support/hooks.rb:339 0.691
After features/support/hooks.rb:108 0.005
Tags: @product
2:9.080
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.671
# 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 27.211
And I shutdown Tails and wait for the computer to power off 5.253
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:7.197
And I change the passphrase of the Persistent Storage back to the original 20.745
After features/support/hooks.rb:339 1.049
After features/support/hooks.rb:108 0.038
Tags: @product
39.688
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.637
And I log in to a new session without activating the Persistent Storage 13.481
Then persistence is disabled 0.093
But a Tails persistence partition exists on USB drive "__internal" 6.253
And all notifications have disappeared 8.302
When I delete the persistent partition 2.658
Then there is no persistence partition on USB drive "__internal" 0.261
After features/support/hooks.rb:339 0.565
After features/support/hooks.rb:108 0.000
Tags: @product
1:22.334
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.082
When I write some dotfile expected to persist 0.046
And I shutdown Tails and wait for the computer to power off 5.391
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:8.608
Then the expected persistent dotfile is present in the filesystem 0.205
After features/support/hooks.rb:339 0.841
After features/support/hooks.rb:108 0.005
Tags: @product
59.176
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 8.431
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.105
When I try to enable persistence 1.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 13.371
When I log in to a new session after having activated the Persistent Storage 8.877
And all notifications have disappeared 8.284
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.304
And all tps features are enabled 8.788
And all tps features but the first one are active 8.732
After features/support/hooks.rb:339 0.551
After features/support/hooks.rb:108 0.000
Tags: @product
2:49.143
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 2:2.796
And I enable persistence 29.316
And I log in to a new session after having activated the Persistent Storage 8.206
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.503
And persistence is enabled 8.319
After features/support/hooks.rb:339 0.836
After features/support/hooks.rb:108 0.000
Tags: @product
2:8.952
Scenario LUKS backup header is restored if something goes wrong during upgrade
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.005
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.686
And I enable persistence but something goes wrong during the LUKS header upgrade 2:1.266
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:712:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:730:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:740: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:339 4.895

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

Boot log: https://jenkins.tails.net/job/test_Tails_ISO_devel/4619/artifact/build-artifacts/02:45:48_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.net/job/test_Tails_ISO_devel/4619/artifact/build-artifacts/02:45:48_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.png

Video: https://jenkins.tails.net/job/test_Tails_ISO_devel/4619/artifact/build-artifacts/02:45:48_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.mkv

Systemd journal: https://jenkins.tails.net/job/test_Tails_ISO_devel/4619/artifact/build-artifacts/02:45:48_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.journal

After features/support/hooks.rb:108 0.000
Tags: @product
51.436
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 9.451
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.998
When I enable persistence 18.950
Then the filesystem of the Persistent Storage was repaired 0.057
And persistence is successfully enabled 12.978
After features/support/hooks.rb:339 0.896
After features/support/hooks.rb:108 0.000
Tags: @product
30.910
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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 8.641
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.537
When I try to enable persistence 1.289
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 3.672
When I repair the filesystem of the Persistent Storage 1.231
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.307
And the filesystem of the Persistent Storage was repaired 0.057
When I close the filesystem repair dialog 1.111
Then persistence is successfully enabled 4.060
After features/support/hooks.rb:339 0.789
After features/support/hooks.rb:108 0.000
Tags: @product @doc
47.299
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.486
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.064
When I try to enable persistence 1.189
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 12.014
When I repair the filesystem of the Persistent Storage 1.173
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.029
When I log in to a new session 9.820
And all notifications have disappeared 9.505
# 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.157
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.406
When I close the "whisperback" window 1.204
Then the Tor Browser starts 1.269
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.979
After features/support/hooks.rb:339 0.941
After features/support/hooks.rb:108 0.000
Tags: @product @doc
43.952
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 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.534
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.643
And Tails detects disk read failures on the boot device 1.352
When I try to enable persistence 1.154
Then the Welcome Screen tells me that my hardware is probably failing 2.153
When I log in to a new session 9.963
And all notifications have disappeared 8.207
Then the Tor Browser starts 1.163
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.780
After features/support/hooks.rb:339 0.803
After features/support/hooks.rb:108 0.000