Project Number Date
test_Tails_ISO_devel 3867 13 Jun 2025, 15:09

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 127 4 26 0 0 157 17 4 21 1:45.596 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:37.849
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:39.392
And I update APT using apt 19.659
And I install "python3-behave" using apt 33.807
Then the Tails Persistent Storage behave tests pass 4.990
After features/support/hooks.rb:330 2.220
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.408
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 and stopped at Tails Greeter's login screen 19.261
When I log in to a new session without activating the Persistent Storage 29.523
Then Tails is running from USB drive "__internal" 0.614
And persistence is disabled 0.542
But a Tails persistence partition exists on USB drive "__internal" 16.465
After features/support/hooks.rb:330 1.806
After features/support/hooks.rb:100 0.000
Tags: @product
4:45.909
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 logged in 19.691
Then Tails is running from USB drive "__internal" 0.807
When I create a file in the Persistent directory 0.182
And I create a persistent partition with the default settings 35.717
Then the file I created was copied to the Persistent Storage 2.299
When I shutdown Tails and wait for the computer to power off 18.320
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:25.696
Then persistence for "Persistent" is active 2.310
And the file I created in the Persistent directory exists 0.882
After features/support/hooks.rb:330 5.911
After features/support/hooks.rb:100 0.011
Tags: @product
1:26.044
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 19.527
And the system is very low on memory 7.728
When I create a file in the Persistent directory 1.905
When I try to create a persistent partition 28.717
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.548
When I close the Persistent Storage app 4.057
And I free up some memory 2.763
And I create a persistent partition with the default settings 20.514
Then the file I created was copied to the Persistent Storage 0.281
After features/support/hooks.rb:330 1.805
After features/support/hooks.rb:100 0.000
Tags: @product
4:21.829
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 42.524
Then Tails is running from USB drive "__internal" 0.616
And all tps features are active 6.047
And all persistent directories have safe access rights 4.359
When I disable the first tps feature 6.353
Then all tps features but the first one are active 2.949
And I shutdown Tails and wait for the computer to power off 15.666
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:0.026
Then all tps features but the first one are active 3.285
After features/support/hooks.rb:330 1.961
After features/support/hooks.rb:100 0.010
Tags: @product
32.869
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 18.177
Then persistence for "Persistent" is active 0.123
And I create a file in the Persistent directory 0.127
Then the file I created was copied to the Persistent Storage 0.090
When I disable the first tps feature 8.323
Then persistence for "Persistent" is not active 0.278
And the Persistent directory does not exist 0.112
When I enable the first tps feature 5.480
Then persistence for "Persistent" is active 0.085
And the file I created in the Persistent directory exists 0.071
After features/support/hooks.rb:330 0.843
After features/support/hooks.rb:100 0.000
Tags: @product
25.765
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 12.736
Then persistence for "Persistent" is active 0.749
When I create a file in the Persistent directory 0.243
And I disable the first tps feature 7.385
And I delete the data of the Persistent Folder feature 4.569
Then the file I created does not exist on the Persistent Storage 0.081
After features/support/hooks.rb:330 1.940
After features/support/hooks.rb:100 0.000
Tags: @product
1:33.519
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.029
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.866
And the network is plugged 0.221
And Tor is ready 31.196
And I take note of which tps features are available 0.819
When I write some files expected to persist 2.110
And I shutdown Tails and wait for the computer to power off 8.869
# 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" 34.434
After features/support/hooks.rb:330 0.235
After features/support/hooks.rb:100 0.000
Tags: @product
4:56.149
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 26.373
And the network is plugged 0.174
And Tor is ready 26.933
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.430
And I shutdown Tails and wait for the computer to power off 9.242
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:17.992
And I capture all network traffic 0.015
And the network is plugged 0.113
And Tor is ready 33.898
And I switch to the "persistent-con-current" NetworkManager connection 0.666
And the 1st network device has a spoofed MAC address configured 0.136
And no network device leaked the real MAC address 0.171
After features/support/hooks.rb:330 0.603
After features/support/hooks.rb:100 0.083
Tags: @product
1:27.907
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 stopped at Tails Greeter's login screen 20.414
And I enable persistence creation in Tails Greeter 1.113
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.956
Then I create a persistent partition with the default settings using the wizard that was already open 36.422
After features/support/hooks.rb:330 5.858
After features/support/hooks.rb:100 0.000
Tags: @product
6:45.809
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.039
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 17.395
When I enable persistence 1:6.804
Then no persistent Greeter options were restored 17.040
When I set all Greeter options to non-default values 42.565
And I log in to a new session in German (de) after having activated the Persistent Storage 1:5.824
Then all Greeter options are set to non-default values 0.660
When I cold reboot the computer 13.237
And the computer reboots Tails 1:36.705
Given I enable persistence 26.225
Then persistent Greeter options were restored 0.744
When I log in to a new session after having activated the Persistent Storage 58.380
Then all Greeter options are set to non-default values 0.226
After features/support/hooks.rb:330 2.605
After features/support/hooks.rb:100 0.012
Tags: @product
5:33.918
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 16.999
# 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 47.105
And I shutdown Tails and wait for the computer to power off 19.365
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:14.146
And I change the passphrase of the Persistent Storage back to the original 56.301
After features/support/hooks.rb:330 3.666
After features/support/hooks.rb:100 0.010
Tags: @product
1:36.715
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 14.476
And I log in to a new session without activating the Persistent Storage 28.842
Then persistence is disabled 0.432
But a Tails persistence partition exists on USB drive "__internal" 17.561
And all notifications have disappeared 18.208
When I delete the persistent partition 16.281
Then there is no persistence partition on USB drive "__internal" 0.913
After features/support/hooks.rb:330 1.580
After features/support/hooks.rb:100 0.000
Tags: @product
3:54.366
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 11.967
When I write some dotfile expected to persist 1.205
And I shutdown Tails and wait for the computer to power off 14.117
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:24.062
Then the expected persistent dotfile is present in the filesystem 3.014
After features/support/hooks.rb:330 2.533
After features/support/hooks.rb:100 0.040
Tags: @product
1:11.837
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.028
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.292
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.151
When I try to enable persistence 0.377
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.015
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.706

SCENARIO FAILED: 'Feature activation fails' (at time 04:49:08)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/04:49:08_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/04:49:08_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/04:49:08_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
8:59.952
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 6:2.933
And I enable persistence 1:19.318
And I log in to a new session after having activated the Persistent Storage 1:23.770
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.358
And persistence is enabled 12.570
After features/support/hooks.rb:330 1.757
After features/support/hooks.rb:100 0.000
Tags: @product
1:42.532
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 50.712
And I enable persistence but something goes wrong during the LUKS header upgrade 50.913
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.906
After features/support/hooks.rb:330 1.046
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.204
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 22.219
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 18.452
When I enable persistence 1:37.875
Then the filesystem of the Persistent Storage was repaired 0.102
And persistence is successfully enabled 4.554
After features/support/hooks.rb:330 10.364
After features/support/hooks.rb:100 0.000
Tags: @product
1:22.608
Scenario Manual filesystem repair is successful
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
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.608
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:173: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 I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 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 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 5.998

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 05:04:00)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/05:04:00_Manual_filesystem_repair_is_successful.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/05:04:00_Manual_filesystem_repair_is_successful.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/05:04:00_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/05:04:00_Manual_filesystem_repair_is_successful.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:23.350
Scenario Manual filesystem repair 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.182
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.108
When I try to enable persistence 1.880
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.179
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 19.085

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/05:05:37_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/05:05:37_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/05:05:37_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:37.046
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.411
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.082
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.657
And Tails detects disk read failures on the boot device 1.898
When I try to enable persistence 2.395
Then the Welcome Screen tells me that my hardware is probably failing 1:0.013
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 20.219

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 05:07:36)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/05:07:36_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/05:07:36_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3867/artifact/build-artifacts/05:07:36_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000