Project Number Date
test_Tails_ISO_devel 3888 26 Jun 2025, 18:12

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 119 5 33 0 0 157 16 5 21 1:1:8.610 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:34.058
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:27.807
And I update APT using apt 24.796
And I install "python3-behave" using apt 35.554
Then the Tails Persistent Storage behave tests pass 5.899
After features/support/hooks.rb:330 2.901
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.783
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 and stopped at Tails Greeter's login screen 14.682
When I log in to a new session without activating the Persistent Storage 37.349
Then Tails is running from USB drive "__internal" 6.404
And persistence is disabled 0.926
But a Tails persistence partition exists on USB drive "__internal" 10.420
After features/support/hooks.rb:330 2.076
After features/support/hooks.rb:100 0.000
Tags: @product
5:53.995
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 1:1.670
Then Tails is running from USB drive "__internal" 8.045
When I create a file in the Persistent directory 0.504
And I create a persistent partition with the default settings 34.370
Then the file I created was copied to the Persistent Storage 3.997
When I shutdown Tails and wait for the computer to power off 11.946
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:52.726
Then persistence for "Persistent" is active 0.646
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:330 0.642
After features/support/hooks.rb:100 0.048
Tags: @product
1:37.179
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 without a persistent partition and logged in 11.676
And the system is very low on memory 7.182
When I create a file in the Persistent directory 2.162
When I try to create a persistent partition 36.603
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.495
When I close the Persistent Storage app 2.616
And I free up some memory 4.230
And I create a persistent partition with the default settings 31.024
Then the file I created was copied to the Persistent Storage 1.186
After features/support/hooks.rb:330 2.603
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.458
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 with a persistent partition enabled and logged in 22.149
Then Tails is running from USB drive "__internal" 0.562
And all tps features are active 2.795
And all persistent directories have safe access rights 9.728
When I disable the first tps feature 6.740
Then all tps features but the first one are active 3.048
And I shutdown Tails and wait for the computer to power off 17.972
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:19.798
Then all tps features but the first one are active 3.662
After features/support/hooks.rb:330 6.947
After features/support/hooks.rb:100 0.036
Tags: @product
35.098
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.026
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.078
Then persistence for "Persistent" is active 2.821
And I create a file in the Persistent directory 1.254
Then the file I created was copied to the Persistent Storage 1.201
When I disable the first tps feature 8.905
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.132
When I enable the first tps feature 4.056
Then persistence for "Persistent" is active 0.727
And the file I created in the Persistent directory exists 1.841
After features/support/hooks.rb:330 6.242
After features/support/hooks.rb:100 0.000
Tags: @product
47.543
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.036
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 29.386
Then persistence for "Persistent" is active 0.075
When I create a file in the Persistent directory 0.083
And I disable the first tps feature 13.896
And I delete the data of the Persistent Folder feature 4.053
Then the file I created does not exist on the Persistent Storage 0.048
After features/support/hooks.rb:330 1.931
After features/support/hooks.rb:100 0.000
Tags: @product
2:12.805
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 20.546
And the network is plugged 0.089
And Tor is ready 33.364
And I take note of which tps features are available 0.653
When I write some files expected to persist 1.716
And I shutdown Tails and wait for the computer to power off 18.133
# 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" 58.302
After features/support/hooks.rb:330 0.396
After features/support/hooks.rb:100 0.000
Tags: @product
6:2.572
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 50.982
And the network is plugged 5.512
And Tor is ready 26.833
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.237
And I shutdown Tails and wait for the computer to power off 16.639
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:42.936
And I capture all network traffic 0.025
And the network is plugged 0.107
And Tor is ready 38.521
And I switch to the "persistent-con-current" NetworkManager connection 0.411
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.273
After features/support/hooks.rb:330 1.428
After features/support/hooks.rb:100 0.046
Tags: @product
3:0.171
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 without a persistent partition and stopped at Tails Greeter's login screen 1:31.453
And I enable persistence creation in Tails Greeter 2.257
And I log in to a new session expecting no warning about the Persistent Storage not being activated 36.275
Then I create a persistent partition with the default settings using the wizard that was already open 50.183
After features/support/hooks.rb:330 6.066
After features/support/hooks.rb:100 0.000
Tags: @product
1:28.594
Scenario Persistent Greeter options
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.268
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 1:28.594
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\ persistent\ partition\ and\ stopped\ at\ Tails\ Greeter's\ login\ screen$/'
features/persistence.feature:103:in `Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen'
When I enable persistence 0.000
Then no persistent Greeter options were restored 0.000
When I set all Greeter options to non-default values 0.000
And I log in to a new session in German (de) after having activated the Persistent Storage 0.000
Then all Greeter options are set to non-default values 0.000
When I cold reboot the computer 0.000
And the computer reboots Tails 0.000
Given I enable persistence 0.000
Then persistent Greeter options were restored 0.000
When I log in to a new session after having activated the Persistent Storage 0.000
Then all Greeter options are set to non-default values 0.000
After features/support/hooks.rb:330 5.522

SCENARIO FAILED: 'Persistent Greeter options' (at time 04:10:13)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:10:13_Persistent_Greeter_options.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:10:13_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:10:13_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:10:13_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:37.514
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 21.493
# 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:16.020
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:475:in `/^I change the passphrase of the Persistent Storage( back to the original)?$/'
features/persistence.feature:121:in `When I change the passphrase of the Persistent Storage'
And I shutdown Tails and wait for the computer to power off 0.000
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 0.000
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:330 13.540

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 04:11:56)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:11:56_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:11:56_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:11:56_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.000
Tags: @product
2:6.211
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.051
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 34.052
And I log in to a new session without activating the Persistent Storage 44.211
Then persistence is disabled 1.656
But a Tails persistence partition exists on USB drive "__internal" 17.991
And all notifications have disappeared 12.317
When I delete the persistent partition 15.035
Then there is no persistence partition on USB drive "__internal" 0.945
After features/support/hooks.rb:330 1.550
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.753
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.020
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 22.189
When I write some dotfile expected to persist 0.125
And I shutdown Tails and wait for the computer to power off 16.949
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:7.137
Then the expected persistent dotfile is present in the filesystem 3.351
After features/support/hooks.rb:330 2.484
After features/support/hooks.rb:100 0.032
Tags: @product
1:17.105
Scenario Feature activation 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 12.798
And I create a symlink "/home/amnesia/Persistent" to "/etc" 1.163
When I try to enable persistence 3.029
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.114
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 15.265

SCENARIO FAILED: 'Feature activation fails' (at time 04:20:31)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:20:31_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:20:31_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:20:31_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
9:33.501
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.242
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:17.304
And I enable persistence 1:41.794
And I log in to a new session after having activated the Persistent Storage 1:23.245
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 8.189
And persistence is enabled 2.968
After features/support/hooks.rb:330 1.723
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.955
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
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.209
And I enable persistence but something goes wrong during the LUKS header upgrade 44.346
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 2.399
After features/support/hooks.rb:330 2.687
After features/support/hooks.rb:100 0.000
Tags: @product
2:16.493
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.165
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 33.326
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 14.687
When I enable persistence 1:19.952
Then the filesystem of the Persistent Storage was repaired 0.168
And persistence is successfully enabled 8.358
After features/support/hooks.rb:330 6.718
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.538
Scenario Manual filesystem repair is successful
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.033
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 1:10.547
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.483
When I try to enable persistence 0.497
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.010
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 17.715

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 04:36:24)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:36:24_Manual_filesystem_repair_is_successful.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:36:24_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:36:24_Manual_filesystem_repair_is_successful.journal

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

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 04:38:10)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:38:10_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:38:10_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3888/artifact/build-artifacts/04:38:10_Manual_filesystem_repair_fails.journal

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