Project Number Date
test_Tails_ISO_devel 3902 08 Jul 2025, 13:36

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 145 2 10 0 0 157 19 2 21 1:9:40.820 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:49.996
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 4:40.627
And I update APT using apt 24.861
And I install "python3-behave" using apt 38.609
Then the Tails Persistent Storage behave tests pass 5.899
After features/support/hooks.rb:330 8.846
After features/support/hooks.rb:100 0.000
Tags: @product
2:14.861
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:13.636
When I log in to a new session without activating the Persistent Storage 42.245
Then Tails is running from USB drive "__internal" 4.035
And persistence is disabled 0.423
But a Tails persistence partition exists on USB drive "__internal" 14.520
After features/support/hooks.rb:330 5.840
After features/support/hooks.rb:100 0.000
Tags: @product
6:46.144
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 45.183
Then Tails is running from USB drive "__internal" 0.557
When I create a file in the Persistent directory 0.139
And I create a persistent partition with the default settings 55.827
Then the file I created was copied to the Persistent Storage 3.269
When I shutdown Tails and wait for the computer to power off 19.627
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:40.506
Then persistence for "Persistent" is active 0.944
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:330 8.383
After features/support/hooks.rb:100 0.068
Tags: @product
1:46.039
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 without a persistent partition and logged in 21.092
And the system is very low on memory 4.369
When I create a file in the Persistent directory 0.981
When I try to create a persistent partition 36.851
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.761
When I close the Persistent Storage app 2.836
And I free up some memory 3.690
And I create a persistent partition with the default settings 35.138
Then the file I created was copied to the Persistent Storage 0.317
After features/support/hooks.rb:330 2.090
After features/support/hooks.rb:100 0.000
Tags: @product
5:44.281
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.100
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 24.236
Then Tails is running from USB drive "__internal" 6.297
And all tps features are active 5.769
And all persistent directories have safe access rights 3.019
When I disable the first tps feature 15.340
Then all tps features but the first one are active 3.085
And I shutdown Tails and wait for the computer to power off 22.450
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:20.460
Then all tps features but the first one are active 3.621
After features/support/hooks.rb:330 7.599
After features/support/hooks.rb:100 0.069
Tags: @product
54.722
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.025
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 33.328
Then persistence for "Persistent" is active 1.441
And I create a file in the Persistent directory 0.458
Then the file I created was copied to the Persistent Storage 0.997
When I disable the first tps feature 11.110
Then persistence for "Persistent" is not active 0.257
And the Persistent directory does not exist 0.068
When I enable the first tps feature 4.732
Then persistence for "Persistent" is active 0.902
And the file I created in the Persistent directory exists 1.425
After features/support/hooks.rb:330 4.918
After features/support/hooks.rb:100 0.000
Tags: @product
40.565
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.098
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.368
Then persistence for "Persistent" is active 0.722
When I create a file in the Persistent directory 2.991
And I disable the first tps feature 11.578
And I delete the data of the Persistent Folder feature 9.895
Then the file I created does not exist on the Persistent Storage 2.008
After features/support/hooks.rb:330 3.758
After features/support/hooks.rb:100 0.000
Tags: @product
3:38.453
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:11.202
And the network is plugged 2.116
And Tor is ready 1:2.680
And I take note of which tps features are available 1.250
When I write some files expected to persist 3.448
And I shutdown Tails and wait for the computer to power off 18.784
# 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.970
After features/support/hooks.rb:330 0.189
After features/support/hooks.rb:100 0.000
Tags: @product
6:20.879
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 56.674
And the network is plugged 1.841
And Tor is ready 25.065
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.416
And I shutdown Tails and wait for the computer to power off 16.100
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:58.596
And I capture all network traffic 0.030
And the network is plugged 0.147
And Tor is ready 40.745
And I switch to the "persistent-con-current" NetworkManager connection 0.753
And the 1st network device has a spoofed MAC address configured 0.175
And no network device leaked the real MAC address 0.332
After features/support/hooks.rb:330 0.932
After features/support/hooks.rb:100 0.092
Tags: @product
2:5.390
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 stopped at Tails Greeter's login screen 25.244
And I enable persistence creation in Tails Greeter 1.156
And I log in to a new session expecting no warning about the Persistent Storage not being activated 40.855
Then I create a persistent partition with the default settings using the wizard that was already open 58.133
After features/support/hooks.rb:330 5.608
After features/support/hooks.rb:100 0.000
Tags: @product
9:18.366
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.030
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 1:1.173
When I enable persistence 1:24.486
Then no persistent Greeter options were restored 21.134
When I set all Greeter options to non-default values 1:1.737
And I log in to a new session in German (de) after having activated the Persistent Storage 1:23.896
Then all Greeter options are set to non-default values 0.315
When I cold reboot the computer 16.768
And the computer reboots Tails 1:48.651
Given I enable persistence 41.917
Then persistent Greeter options were restored 2.360
When I log in to a new session after having activated the Persistent Storage 1:12.386
Then all Greeter options are set to non-default values 3.536
After features/support/hooks.rb:330 9.397
After features/support/hooks.rb:100 0.022
Tags: @product
1:16.076
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:16.076
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:117:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
# 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 0.000
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 6.895

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 05:30:58)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3902/artifact/build-artifacts/05:30:58_Changing_the_Persistent_Storage_passphrase.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3902/artifact/build-artifacts/05:30:58_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3902/artifact/build-artifacts/05:30:58_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3902/artifact/build-artifacts/05:30:58_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:15.121
Scenario Deleting a Tails persistent partition
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 and stopped at Tails Greeter's login screen 1:15.121
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:127: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 log in to a new session without activating the Persistent Storage 0.000
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.730

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 05:32:20)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3902/artifact/build-artifacts/05:32:20_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3902/artifact/build-artifacts/05:32:20_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3902/artifact/build-artifacts/05:32:20_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3902/artifact/build-artifacts/05:32:20_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:56.242
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 19.346
When I write some dotfile expected to persist 0.446
And I shutdown Tails and wait for the computer to power off 18.685
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:17.160
Then the expected persistent dotfile is present in the filesystem 0.603
After features/support/hooks.rb:330 0.844
After features/support/hooks.rb:100 0.009
Tags: @product
2:43.664
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 14.838
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.072
When I try to enable persistence 0.275
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 58.350
When I log in to a new session after having activated the Persistent Storage 1:6.720
And all notifications have disappeared 10.639
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 6.495
And all tps features are enabled 3.104
And all tps features but the first one are active 3.166
After features/support/hooks.rb:330 1.982
After features/support/hooks.rb:100 0.000
Tags: @product
6:42.711
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:54.048
And I enable persistence 44.468
And I log in to a new session after having activated the Persistent Storage 56.392
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.962
And persistence is enabled 4.838
After features/support/hooks.rb:330 4.456
After features/support/hooks.rb:100 0.000
Tags: @product
43.598
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.088
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 11.014
And I enable persistence but something goes wrong during the LUKS header upgrade 30.703
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.880
After features/support/hooks.rb:330 0.767
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.658
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 11.275
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.595
When I enable persistence 44.483
Then the filesystem of the Persistent Storage was repaired 0.179
And persistence is successfully enabled 5.124
After features/support/hooks.rb:330 7.327
After features/support/hooks.rb:100 0.000
Tags: @product
1:15.826
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 9.694
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.678
When I try to enable persistence 0.467
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.925
When I repair the filesystem of the Persistent Storage 5.144
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.907
And the filesystem of the Persistent Storage was repaired 4.781
When I close the filesystem repair dialog 1.211
Then persistence is successfully enabled 5.016
After features/support/hooks.rb:330 2.866
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:33.174
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.071
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.752
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.169
When I try to enable persistence 0.356
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 49.829
When I repair the filesystem of the Persistent Storage 2.240
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.155
When I log in to a new session 48.019
And all notifications have disappeared 14.504
# 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.875
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.219
When I close the "whisperback" window 1.735
Then the Tor Browser starts 22.207
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.107
After features/support/hooks.rb:330 6.958
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:44.042
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 10.962
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.271
And Tails detects disk read failures on the boot device 1.586
When I try to enable persistence 0.459
Then the Welcome Screen tells me that my hardware is probably failing 29.344
When I log in to a new session 1:11.704
And all notifications have disappeared 9.935
Then the Tor Browser starts 27.161
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.617
After features/support/hooks.rb:330 2.736
After features/support/hooks.rb:100 0.000