Project Number Date
test_Tails_ISO_stable 5714 13 Jun 2025, 14:37

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 122 5 30 0 0 157 16 5 21 1:1:8.961 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:36.841
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.079
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:41.221
And I update APT using apt 21.090
And I install "python3-behave" using apt 31.831
Then the Tails Persistent Storage behave tests pass 2.698
After features/support/hooks.rb:330 4.183
After features/support/hooks.rb:100 0.000
Tags: @product
1:9.409
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.185
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 18.540
When I log in to a new session without activating the Persistent Storage 33.767
Then Tails is running from USB drive "__internal" 1.097
And persistence is disabled 0.298
But a Tails persistence partition exists on USB drive "__internal" 15.704
After features/support/hooks.rb:330 1.283
After features/support/hooks.rb:100 0.000
Tags: @product
4:44.953
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 22.373
Then Tails is running from USB drive "__internal" 0.718
When I create a file in the Persistent directory 0.161
And I create a persistent partition with the default settings 40.488
Then the file I created was copied to the Persistent Storage 2.471
When I shutdown Tails and wait for the computer to power off 16.397
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:21.613
Then persistence for "Persistent" is active 0.632
And the file I created in the Persistent directory exists 0.095
After features/support/hooks.rb:330 3.820
After features/support/hooks.rb:100 0.078
Tags: @product
1:35.638
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.053
Given I have started Tails without network from a USB drive without a persistent partition and logged in 25.714
And the system is very low on memory 4.210
When I create a file in the Persistent directory 1.019
When I try to create a persistent partition 32.935
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.868
When I close the Persistent Storage app 3.985
And I free up some memory 2.606
And I create a persistent partition with the default settings 22.973
Then the file I created was copied to the Persistent Storage 0.323
After features/support/hooks.rb:330 3.667
After features/support/hooks.rb:100 0.000
Tags: @product
4:16.464
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.425
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 21.965
Then Tails is running from USB drive "__internal" 3.153
And all tps features are active 4.026
And all persistent directories have safe access rights 3.115
When I disable the first tps feature 11.528
Then all tps features but the first one are active 4.221
And I shutdown Tails and wait for the computer to power off 19.194
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:5.897
Then all tps features but the first one are active 3.360
After features/support/hooks.rb:330 2.882
After features/support/hooks.rb:100 0.100
Tags: @product
35.957
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 17.846
Then persistence for "Persistent" is active 0.301
And I create a file in the Persistent directory 0.961
Then the file I created was copied to the Persistent Storage 1.946
When I disable the first tps feature 10.508
Then persistence for "Persistent" is not active 0.120
And the Persistent directory does not exist 0.087
When I enable the first tps feature 3.970
Then persistence for "Persistent" is active 0.125
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:330 1.908
After features/support/hooks.rb:100 0.000
Tags: @product
32.239
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 15.965
Then persistence for "Persistent" is active 0.244
When I create a file in the Persistent directory 0.122
And I disable the first tps feature 9.510
And I delete the data of the Persistent Folder feature 6.307
Then the file I created does not exist on the Persistent Storage 0.088
After features/support/hooks.rb:330 1.619
After features/support/hooks.rb:100 0.000
Tags: @product
1:39.766
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 13.111
And the network is plugged 0.692
And Tor is ready 27.284
And I take note of which tps features are available 1.164
When I write some files expected to persist 2.546
And I shutdown Tails and wait for the computer to power off 12.825
# 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" 42.141
After features/support/hooks.rb:330 0.129
After features/support/hooks.rb:100 0.000
Tags: @product
4:29.728
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 13.286
And the network is plugged 1.155
And Tor is ready 23.667
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.183
And I shutdown Tails and wait for the computer to power off 14.986
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:9.038
And I capture all network traffic 0.011
And the network is plugged 0.087
And Tor is ready 23.262
And I switch to the "persistent-con-current" NetworkManager connection 0.381
And the 1st network device has a spoofed MAC address configured 0.268
And no network device leaked the real MAC address 3.399
After features/support/hooks.rb:330 2.773
After features/support/hooks.rb:100 0.094
Tags: @product
1:49.139
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.093
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 33.616
And I enable persistence creation in Tails Greeter 1.710
And I log in to a new session expecting no warning about the Persistent Storage not being activated 35.156
Then I create a persistent partition with the default settings using the wizard that was already open 38.655
After features/support/hooks.rb:330 4.411
After features/support/hooks.rb:100 0.000
Tags: @product
6:53.562
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.055
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 18.782
When I enable persistence 1:11.697
Then no persistent Greeter options were restored 17.813
When I set all Greeter options to non-default values 42.301
And I log in to a new session in German (de) after having activated the Persistent Storage 1:8.152
Then all Greeter options are set to non-default values 0.677
When I cold reboot the computer 12.277
And the computer reboots Tails 1:40.467
Given I enable persistence 26.011
Then persistent Greeter options were restored 0.576
When I log in to a new session after having activated the Persistent Storage 54.530
Then all Greeter options are set to non-default values 0.274
After features/support/hooks.rb:330 0.870
After features/support/hooks.rb:100 0.011
Tags: @product
6:28.450
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.015
# 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:4.487
And I shutdown Tails and wait for the computer to power off 19.672
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:36.050
And I change the passphrase of the Persistent Storage back to the original 1:12.224
After features/support/hooks.rb:330 8.006
After features/support/hooks.rb:100 0.033
Tags: @product
2:9.698
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 and stopped at Tails Greeter's login screen 39.972
And I log in to a new session without activating the Persistent Storage 43.006
Then persistence is disabled 0.228
But a Tails persistence partition exists on USB drive "__internal" 17.287
And all notifications have disappeared 18.586
When I delete the persistent partition 9.107
Then there is no persistence partition on USB drive "__internal" 1.509
After features/support/hooks.rb:330 7.124
After features/support/hooks.rb:100 0.000
Tags: @product
1:21.562
Scenario Dotfiles persistence
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.032
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:21.562
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\ enabled\ and\ logged\ in$/'
features/persistence.feature:136:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
When I write some dotfile expected to persist 0.000
And I shutdown Tails and wait for the computer to power off 0.000
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 0.000
Then the expected persistent dotfile is present in the filesystem 0.000
After features/support/hooks.rb:330 7.531

SCENARIO FAILED: 'Dotfiles persistence' (at time 04:40:50)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:40:50_Dotfiles_persistence.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:40:50_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:40:50_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:40:50_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:21.746
Scenario Feature activation fails
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 21.318
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.120
When I try to enable persistence 0.306
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 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: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 24.508

SCENARIO FAILED: 'Feature activation fails' (at time 04:42:29)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:42:29_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:42:29_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:42:29_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
10:30.917
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 7:53.849
And I enable persistence 1:17.776
And I log in to a new session after having activated the Persistent Storage 1:2.761
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 8.456
And persistence is enabled 8.073
After features/support/hooks.rb:330 4.177
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.349
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 20.443
And I enable persistence but something goes wrong during the LUKS header upgrade 44.527
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 5.378
After features/support/hooks.rb:330 2.207
After features/support/hooks.rb:100 0.000
Tags: @product
2:3.633
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 17.118
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 12.442
When I enable persistence 1:29.830
Then the filesystem of the Persistent Storage was repaired 0.238
And persistence is successfully enabled 4.003
After features/support/hooks.rb:330 2.689
After features/support/hooks.rb:100 0.000
Tags: @product
1:37.275
Scenario Manual filesystem repair is successful
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.050
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 20.633
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 16.003
When I try to enable persistence 0.635
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 13.814

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 04:58:15)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:58:15_Manual_filesystem_repair_is_successful.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:58:15_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:58:15_Manual_filesystem_repair_is_successful.journal

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

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 04:59:51)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:59:51_Manual_filesystem_repair_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:59:51_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:59:51_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/04:59:51_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:39.570
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.020
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.766
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 16.443
And Tails detects disk read failures on the boot device 0.812
When I try to enable persistence 0.537
Then the Welcome Screen tells me that my hardware is probably failing 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:1835:in `/^the Welcome Screen tells me that my hardware is probably failing$/'
features/persistence.feature:210:in `Then the Welcome Screen tells me that my hardware is probably failing'
When I log in to a new session 0.000
And all notifications have disappeared 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 21.781

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 05:01:45)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/05:01:45_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/05:01:45_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5714/artifact/build-artifacts/05:01:45_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000