Project Number Date
test_Tails_ISO_devel 3903 08 Jul 2025, 18:12

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 130 4 23 0 0 157 17 4 21 1:2:58.151 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:14.087
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:23.238
And I update APT using apt 17.668
And I install "python3-behave" using apt 30.272
Then the Tails Persistent Storage behave tests pass 2.907
After features/support/hooks.rb:330 0.895
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.903
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 and stopped at Tails Greeter's login screen 12.623
When I log in to a new session without activating the Persistent Storage 29.931
Then Tails is running from USB drive "__internal" 0.574
And persistence is disabled 0.442
But a Tails persistence partition exists on USB drive "__internal" 19.332
After features/support/hooks.rb:330 1.918
After features/support/hooks.rb:100 0.000
Tags: @product
4:16.940
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
Given I have started Tails without network from a USB drive without a persistent partition and logged in 16.866
Then Tails is running from USB drive "__internal" 0.401
When I create a file in the Persistent directory 0.130
And I create a persistent partition with the default settings 36.229
Then the file I created was copied to the Persistent Storage 2.765
When I shutdown Tails and wait for the computer to power off 17.069
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:2.778
Then persistence for "Persistent" is active 0.617
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:330 0.705
After features/support/hooks.rb:100 0.047
Tags: @product
1:26.023
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 without a persistent partition and logged in 17.269
And the system is very low on memory 3.874
When I create a file in the Persistent directory 1.806
When I try to create a persistent partition 33.900
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.298
When I close the Persistent Storage app 2.722
And I free up some memory 3.500
And I create a persistent partition with the default settings 20.651
Then the file I created was copied to the Persistent Storage 0.999
After features/support/hooks.rb:330 3.894
After features/support/hooks.rb:100 0.000
Tags: @product
4:14.359
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.067
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 17.201
Then Tails is running from USB drive "__internal" 1.387
And all tps features are active 4.256
And all persistent directories have safe access rights 3.964
When I disable the first tps feature 6.353
Then all tps features but the first one are active 3.586
And I shutdown Tails and wait for the computer to power off 17.532
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:16.985
Then all tps features but the first one are active 3.091
After features/support/hooks.rb:330 2.085
After features/support/hooks.rb:100 0.033
Tags: @product
31.359
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.027
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 17.384
Then persistence for "Persistent" is active 0.099
And I create a file in the Persistent directory 0.067
Then the file I created was copied to the Persistent Storage 0.085
When I disable the first tps feature 9.468
Then persistence for "Persistent" is not active 0.162
And the Persistent directory does not exist 0.111
When I enable the first tps feature 3.794
Then persistence for "Persistent" is active 0.101
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 0.824
After features/support/hooks.rb:100 0.000
Tags: @product
31.699
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 16.446
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.058
And I disable the first tps feature 6.554
And I delete the data of the Persistent Folder feature 8.366
Then the file I created does not exist on the Persistent Storage 0.163
After features/support/hooks.rb:330 2.188
After features/support/hooks.rb:100 0.000
Tags: @product
1:48.792
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.034
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 19.585
And the network is plugged 0.596
And Tor is ready 30.118
And I take note of which tps features are available 0.772
When I write some files expected to persist 5.295
And I shutdown Tails and wait for the computer to power off 13.499
# 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" 38.923
After features/support/hooks.rb:330 0.125
After features/support/hooks.rb:100 0.000
Tags: @product
5:13.492
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 enabled and logged in 16.499
And the network is plugged 0.083
And Tor is ready 54.453
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.367
And I shutdown Tails and wait for the computer to power off 9.161
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:21.340
And I capture all network traffic 0.019
And the network is plugged 0.091
And Tor is ready 30.657
And I switch to the "persistent-con-current" NetworkManager connection 0.525
And the 1st network device has a spoofed MAC address configured 0.114
And no network device leaked the real MAC address 0.176
After features/support/hooks.rb:330 0.677
After features/support/hooks.rb:100 0.059
Tags: @product
1:29.329
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 without a persistent partition and stopped at Tails Greeter's login screen 16.305
And I enable persistence creation in Tails Greeter 1.356
And I log in to a new session expecting no warning about the Persistent Storage not being activated 27.988
Then I create a persistent partition with the default settings using the wizard that was already open 43.679
After features/support/hooks.rb:330 7.472
After features/support/hooks.rb:100 0.000
Tags: @product
6:47.169
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.032
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.308
When I enable persistence 1:8.429
Then no persistent Greeter options were restored 16.691
When I set all Greeter options to non-default values 38.329
And I log in to a new session in German (de) after having activated the Persistent Storage 1:13.082
Then all Greeter options are set to non-default values 0.767
When I cold reboot the computer 14.896
And the computer reboots Tails 1:27.710
Given I enable persistence 30.216
Then persistent Greeter options were restored 0.570
When I log in to a new session after having activated the Persistent Storage 1:1.389
Then all Greeter options are set to non-default values 0.776
After features/support/hooks.rb:330 1.770
After features/support/hooks.rb:100 0.009
Tags: @product
6:27.086
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 18.172
# 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:8.488
And I shutdown Tails and wait for the computer to power off 14.836
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:55.055
And I change the passphrase of the Persistent Storage back to the original 50.533
After features/support/hooks.rb:330 4.540
After features/support/hooks.rb:100 0.064
Tags: @product
1:43.430
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.064
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.270
And I log in to a new session without activating the Persistent Storage 37.061
Then persistence is disabled 0.376
But a Tails persistence partition exists on USB drive "__internal" 17.892
And all notifications have disappeared 17.479
When I delete the persistent partition 18.004
Then there is no persistence partition on USB drive "__internal" 0.346
After features/support/hooks.rb:330 1.342
After features/support/hooks.rb:100 0.000
Tags: @product
4:41.162
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 36.694
When I write some dotfile expected to persist 0.543
And I shutdown Tails and wait for the computer to power off 16.654
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:46.514
Then the expected persistent dotfile is present in the filesystem 0.755
After features/support/hooks.rb:330 1.623
After features/support/hooks.rb:100 0.033
Tags: @product
1:21.775
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.025
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 21.298
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.117
When I try to enable persistence 0.356
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.002
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 25.178

SCENARIO FAILED: 'Feature activation fails' (at time 05:22:12)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:22:12_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:22:12_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:22:12_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
6:28.144
Scenario LUKS header is automatically upgraded when unlocking the Persistent Storage
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.038
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 6:28.144
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:154: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 0.000
And I log in to a new session after having activated the Persistent Storage 0.000
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.000
And persistence is enabled 0.000
After features/support/hooks.rb:330 5.845

SCENARIO FAILED: 'LUKS header is automatically upgraded when unlocking the Persistent Storage' (at time 05:28:56)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:28:56_LUKS_header_is_automatically_upgraded_when_unlocking_the_Persistent_Storage.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:28:56_LUKS_header_is_automatically_upgraded_when_unlocking_the_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:28:56_LUKS_header_is_automatically_upgraded_when_unlocking_the_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:28:56_LUKS_header_is_automatically_upgraded_when_unlocking_the_Persistent_Storage.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:14.812
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 21.353
And I enable persistence but something goes wrong during the LUKS header upgrade 50.121
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 3.337
After features/support/hooks.rb:330 0.732
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.129
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 and stopped at Tails Greeter's login screen 1:8.411
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 14.559
When I enable persistence 1:19.145
Then the filesystem of the Persistent Storage was repaired 0.145
And persistence is successfully enabled 12.866
After features/support/hooks.rb:330 3.744
After features/support/hooks.rb:100 0.000
Tags: @product
1:42.961
Scenario Manual filesystem repair is successful
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 29.540
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.880
When I try to enable persistence 0.537
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.002
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:176: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 the filesystem was repaired successfully 0.000
And the filesystem of the Persistent Storage was repaired 0.000
When I close the filesystem repair dialog 0.000
Then persistence is successfully enabled 0.000
After features/support/hooks.rb:330 15.175

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 05:34:59)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:34:59_Manual_filesystem_repair_is_successful.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:34:59_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:34:59_Manual_filesystem_repair_is_successful.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:37.605
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.094
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 30.954
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 1.459
When I try to enable persistence 4.910
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.281
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 10.324

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 05:36:53)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:36:53_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:36:53_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3903/artifact/build-artifacts/05:36:53_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
4:9.884
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 and stopped at Tails Greeter's login screen 20.735
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.986
And Tails detects disk read failures on the boot device 1.707
When I try to enable persistence 0.855
Then the Welcome Screen tells me that my hardware is probably failing 59.665
When I log in to a new session 1:22.660
And all notifications have disappeared 20.404
Then the Tor Browser starts 39.871
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 9.997
After features/support/hooks.rb:330 4.732
After features/support/hooks.rb:100 0.000