Project Number Date
test_Tails_ISO_stable 5726 19 Jun 2025, 10:33

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 132 4 21 0 0 157 17 4 21 1:10:40.330 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:40.246
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:32.981
And I update APT using apt 21.424
And I install "python3-behave" using apt 36.537
Then the Tails Persistent Storage behave tests pass 9.303
After features/support/hooks.rb:330 2.015
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.111
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 and stopped at Tails Greeter's login screen 17.866
When I log in to a new session without activating the Persistent Storage 40.146
Then Tails is running from USB drive "__internal" 2.190
And persistence is disabled 0.603
But a Tails persistence partition exists on USB drive "__internal" 18.305
After features/support/hooks.rb:330 1.712
After features/support/hooks.rb:100 0.000
Tags: @product
5:20.940
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive without a persistent partition and logged in 37.715
Then Tails is running from USB drive "__internal" 0.849
When I create a file in the Persistent directory 0.142
And I create a persistent partition with the default settings 40.391
Then the file I created was copied to the Persistent Storage 2.501
When I shutdown Tails and wait for the computer to power off 18.564
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:40.068
Then persistence for "Persistent" is active 0.623
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:330 1.624
After features/support/hooks.rb:100 0.008
Tags: @product
1:36.239
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 without a persistent partition and logged in 26.341
And the system is very low on memory 7.676
When I create a file in the Persistent directory 2.788
When I try to create a persistent partition 26.905
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.460
When I close the Persistent Storage app 7.248
And I free up some memory 3.230
And I create a persistent partition with the default settings 21.324
Then the file I created was copied to the Persistent Storage 0.264
After features/support/hooks.rb:330 3.649
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.473
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 18.313
Then Tails is running from USB drive "__internal" 0.426
And all tps features are active 3.209
And all persistent directories have safe access rights 3.431
When I disable the first tps feature 11.499
Then all tps features but the first one are active 2.849
And I shutdown Tails and wait for the computer to power off 20.823
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:20.688
Then all tps features but the first one are active 3.231
After features/support/hooks.rb:330 9.722
After features/support/hooks.rb:100 0.027
Tags: @product
27.407
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 11.888
Then persistence for "Persistent" is active 0.872
And I create a file in the Persistent directory 1.483
Then the file I created was copied to the Persistent Storage 1.521
When I disable the first tps feature 7.749
Then persistence for "Persistent" is not active 0.086
And the Persistent directory does not exist 0.087
When I enable the first tps feature 3.537
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.090
After features/support/hooks.rb:330 1.539
After features/support/hooks.rb:100 0.000
Tags: @product
36.812
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 18.197
Then persistence for "Persistent" is active 0.087
When I create a file in the Persistent directory 0.089
And I disable the first tps feature 13.613
And I delete the data of the Persistent Folder feature 4.503
Then the file I created does not exist on the Persistent Storage 0.320
After features/support/hooks.rb:330 1.992
After features/support/hooks.rb:100 0.000
Tags: @product
2:40.702
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 1:2.430
And the network is plugged 0.175
And Tor is ready 29.449
And I take note of which tps features are available 1.816
When I write some files expected to persist 2.275
And I shutdown Tails and wait for the computer to power off 16.538
# 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" 48.016
After features/support/hooks.rb:330 0.222
After features/support/hooks.rb:100 0.000
Tags: @product
6:15.946
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 enabled and logged in 21.763
And the network is plugged 0.181
And Tor is ready 51.289
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.326
And I shutdown Tails and wait for the computer to power off 14.568
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:12.017
And I capture all network traffic 0.028
And the network is plugged 0.145
And Tor is ready 34.795
And I switch to the "persistent-con-current" NetworkManager connection 0.436
And the 1st network device has a spoofed MAC address configured 0.204
And no network device leaked the real MAC address 0.188
After features/support/hooks.rb:330 0.751
After features/support/hooks.rb:100 0.066
Tags: @product
2:5.092
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 without a persistent partition and stopped at Tails Greeter's login screen 23.045
And I enable persistence creation in Tails Greeter 1.633
And I log in to a new session expecting no warning about the Persistent Storage not being activated 52.648
Then I create a persistent partition with the default settings using the wizard that was already open 47.764
After features/support/hooks.rb:330 6.268
After features/support/hooks.rb:100 0.000
Tags: @product
9:26.347
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.033
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 1:21.750
When I enable persistence 1:25.902
Then no persistent Greeter options were restored 21.409
When I set all Greeter options to non-default values 55.918
And I log in to a new session in German (de) after having activated the Persistent Storage 1:23.851
Then all Greeter options are set to non-default values 0.219
When I cold reboot the computer 17.163
And the computer reboots Tails 1:54.960
Given I enable persistence 28.213
Then persistent Greeter options were restored 1.056
When I log in to a new session after having activated the Persistent Storage 1:15.002
Then all Greeter options are set to non-default values 0.899
After features/support/hooks.rb:330 1.682
After features/support/hooks.rb:100 0.010
Tags: @product
7:14.736
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 49.420
# 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 1:5.237
And I shutdown Tails and wait for the computer to power off 19.602
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 4:6.357
And I change the passphrase of the Persistent Storage back to the original 54.118
After features/support/hooks.rb:330 4.794
After features/support/hooks.rb:100 0.011
Tags: @product
57.133
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 48.729
And I log in to a new session without activating the Persistent Storage 8.404
<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.335

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 04:37:31)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:37:31_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:37:31_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:37:31_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:37:31_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
4:35.234
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 enabled and logged in 22.288
When I write some dotfile expected to persist 0.070
And I shutdown Tails and wait for the computer to power off 16.189
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:54.494
Then the expected persistent dotfile is present in the filesystem 2.191
After features/support/hooks.rb:330 1.913
After features/support/hooks.rb:100 0.026
Tags: @product
1:36.358
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 33.179
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.499
When I try to enable persistence 2.347
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.331
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:1724:in `/^the Welcome Screen tells me that the Persistent Folder feature couldn't be activated$/'
features/persistence.feature:146:in `Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated'
When I log in to a new session after having activated the Persistent Storage 0.000
And all notifications have disappeared 0.000
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 0.000
And all tps features are enabled 0.000
And all tps features but the first one are active 0.000
After features/support/hooks.rb:330 11.469

SCENARIO FAILED: 'Feature activation fails' (at time 04:43:51)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:43:51_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:43:51_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:43:51_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
7:50.948
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 5:14.414
And I enable persistence 1:10.744
And I log in to a new session after having activated the Persistent Storage 1:10.943
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 9.359
And persistence is enabled 5.487
After features/support/hooks.rb:330 1.685
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.726
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.010
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:14.726
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:167: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:161: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 but something goes wrong during the LUKS header upgrade 0.000
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.000
After features/support/hooks.rb:330 5.178

SCENARIO FAILED: 'LUKS backup header is restored if something goes wrong during upgrade' (at time 04:53:10)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:53:10_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_stable/5726/artifact/build-artifacts/04:53:10_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:53:10_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:53:10_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.journal

After features/support/hooks.rb:100 0.000
Tags: @product
2:21.867
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 49.605
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 11.247
When I enable persistence 1:17.207
Then the filesystem of the Persistent Storage was repaired 0.088
And persistence is successfully enabled 3.719
After features/support/hooks.rb:330 2.140
After features/support/hooks.rb:100 0.000
Tags: @product
1:53.764
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 20.346
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 16.375
When I try to enable persistence 0.462
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 57.856
When I repair the filesystem of the Persistent Storage 1.511
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.588
And the filesystem of the Persistent Storage was repaired 6.868
When I close the filesystem repair dialog 2.709
Then persistence is successfully enabled 3.045
After features/support/hooks.rb:330 3.294
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:18.427
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 18.041
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.084
When I try to enable persistence 0.299
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.001
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:1732:in `/^the Welcome Screen tells me that filesystem errors were found on the Persistent Storage$/'
features/persistence.feature:188:in `Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage'
When I repair the filesystem of the Persistent Storage 0.000
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.000
When I log in to a new session 0.000
And all notifications have disappeared 0.000
# 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.000
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.000
When I close the "whisperback" window 0.000
Then the Tor Browser starts 0.000
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:330 15.120

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 04:58:55)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:58:55_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:58:55_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5726/artifact/build-artifacts/04:58:55_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
3:43.812
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.070
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.435
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.418
And Tails detects disk read failures on the boot device 1.761
When I try to enable persistence 0.422
Then the Welcome Screen tells me that my hardware is probably failing 59.708
When I log in to a new session 1:16.789
And all notifications have disappeared 18.187
Then the Tor Browser starts 40.025
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.064
After features/support/hooks.rb:330 2.615
After features/support/hooks.rb:100 0.000