Project Number Date
test_Tails_ISO_codespell 18 02 Jul 2025, 10:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 134 4 19 0 0 157 17 4 21 1:5:24.561 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:7.008
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:13.665
And I update APT using apt 15.297
And I install "python3-behave" using apt 34.589
Then the Tails Persistent Storage behave tests pass 3.455
After features/support/hooks.rb:330 1.383
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.761
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 19.061
When I log in to a new session without activating the Persistent Storage 34.298
Then Tails is running from USB drive "__internal" 0.408
And persistence is disabled 0.293
But a Tails persistence partition exists on USB drive "__internal" 11.699
After features/support/hooks.rb:330 2.488
After features/support/hooks.rb:100 0.000
Tags: @product
4:53.143
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 without a persistent partition and logged in 21.827
Then Tails is running from USB drive "__internal" 0.512
When I create a file in the Persistent directory 0.167
And I create a persistent partition with the default settings 37.247
Then the file I created was copied to the Persistent Storage 2.946
When I shutdown Tails and wait for the computer to power off 15.848
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:32.556
Then persistence for "Persistent" is active 1.955
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 5.394
After features/support/hooks.rb:100 0.030
Tags: @product
1:34.100
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 without a persistent partition and logged in 14.338
And the system is very low on memory 9.687
When I create a file in the Persistent directory 1.376
When I try to create a persistent partition 40.125
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.358
When I close the Persistent Storage app 2.621
And I free up some memory 3.427
And I create a persistent partition with the default settings 21.887
Then the file I created was copied to the Persistent Storage 0.279
After features/support/hooks.rb:330 5.379
After features/support/hooks.rb:100 0.000
Tags: @product
4:12.975
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 17.036
Then Tails is running from USB drive "__internal" 4.335
And all tps features are active 4.837
And all persistent directories have safe access rights 2.894
When I disable the first tps feature 7.026
Then all tps features but the first one are active 5.153
And I shutdown Tails and wait for the computer to power off 13.800
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:14.978
Then all tps features but the first one are active 2.912
After features/support/hooks.rb:330 2.169
After features/support/hooks.rb:100 0.013
Tags: @product
33.977
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 17.696
Then persistence for "Persistent" is active 0.182
And I create a file in the Persistent directory 0.154
Then the file I created was copied to the Persistent Storage 0.214
When I disable the first tps feature 11.715
Then persistence for "Persistent" is not active 0.171
And the Persistent directory does not exist 0.082
When I enable the first tps feature 3.579
Then persistence for "Persistent" is active 0.106
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:330 1.232
After features/support/hooks.rb:100 0.000
Tags: @product
35.948
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 17.414
Then persistence for "Persistent" is active 0.135
When I create a file in the Persistent directory 0.078
And I disable the first tps feature 6.790
And I delete the data of the Persistent Folder feature 10.646
Then the file I created does not exist on the Persistent Storage 0.882
After features/support/hooks.rb:330 1.214
After features/support/hooks.rb:100 0.000
Tags: @product
1:42.257
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 15.668
And the network is plugged 0.212
And Tor is ready 31.363
And I take note of which tps features are available 1.390
When I write some files expected to persist 5.827
And I shutdown Tails and wait for the computer to power off 10.213
# 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" 37.582
After features/support/hooks.rb:330 0.153
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.476
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 26.614
And the network is plugged 1.509
And Tor is ready 35.543
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.243
And I shutdown Tails and wait for the computer to power off 14.569
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:15.392
And I capture all network traffic 0.022
And the network is plugged 0.162
And Tor is ready 29.735
And I switch to the "persistent-con-current" NetworkManager connection 0.434
And the 1st network device has a spoofed MAC address configured 0.091
And no network device leaked the real MAC address 0.158
After features/support/hooks.rb:330 0.669
After features/support/hooks.rb:100 0.085
Tags: @product
1:35.188
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.048
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 20.326
And I enable persistence creation in Tails Greeter 2.186
And I log in to a new session expecting no warning about the Persistent Storage not being activated 33.390
Then I create a persistent partition with the default settings using the wizard that was already open 39.285
After features/support/hooks.rb:330 3.965
After features/support/hooks.rb:100 0.000
Tags: @product
6:54.725
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 20.564
When I enable persistence 1:5.875
Then no persistent Greeter options were restored 18.112
When I set all Greeter options to non-default values 42.056
And I log in to a new session in German (de) after having activated the Persistent Storage 1:11.392
Then all Greeter options are set to non-default values 1.277
When I cold reboot the computer 15.308
And the computer reboots Tails 1:19.960
Given I enable persistence 36.144
Then persistent Greeter options were restored 1.291
When I log in to a new session after having activated the Persistent Storage 1:2.451
Then all Greeter options are set to non-default values 0.289
After features/support/hooks.rb:330 2.043
After features/support/hooks.rb:100 0.007
Tags: @product
6:52.619
Scenario Changing the Persistent Storage passphrase
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 enabled and logged in 25.109
# 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 55.003
And I shutdown Tails and wait for the computer to power off 16.236
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 4:2.101
And I change the passphrase of the Persistent Storage back to the original 1:14.168
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:124:in `And I change the passphrase of the Persistent Storage back to the original'
After features/support/hooks.rb:330 9.921

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:59:52)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/03:59:52_Changing_the_Persistent_Storage_passphrase.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/03:59:52_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/03:59:52_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/03:59:52_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.012
Tags: @product
1:54.896
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 and stopped at Tails Greeter's login screen 23.101
And I log in to a new session without activating the Persistent Storage 43.505
Then persistence is disabled 1.112
But a Tails persistence partition exists on USB drive "__internal" 11.141
And all notifications have disappeared 18.855
When I delete the persistent partition 16.359
Then there is no persistence partition on USB drive "__internal" 0.820
After features/support/hooks.rb:330 1.181
After features/support/hooks.rb:100 0.000
Tags: @product
5:9.247
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 47.284
When I write some dotfile expected to persist 1.681
And I shutdown Tails and wait for the computer to power off 13.528
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:3.790
Then the expected persistent dotfile is present in the filesystem 2.962
After features/support/hooks.rb:330 5.265
After features/support/hooks.rb:100 0.043
Tags: @product
1:15.578
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.039
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.151
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.674
When I try to enable persistence 3.726
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.025
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 13.945

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/04:08:32_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/04:08:32_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/04:08:32_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
7:58.506
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.047
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 5:19.173
And I enable persistence 1:13.496
And I log in to a new session after having activated the Persistent Storage 1:21.009
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.130
And persistence is enabled 3.696
After features/support/hooks.rb:330 1.763
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.597
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.076
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.196
And I enable persistence but something goes wrong during the LUKS header upgrade 45.203
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 3.197
After features/support/hooks.rb:330 2.688
After features/support/hooks.rb:100 0.000
Tags: @product
2:28.170
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 58.176
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 8.419
When I enable persistence 1:17.092
Then the filesystem of the Persistent Storage was repaired 0.316
And persistence is successfully enabled 4.165
After features/support/hooks.rb:330 6.999
After features/support/hooks.rb:100 0.000
Tags: @product
1:29.670
Scenario Manual filesystem repair is successful
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.367
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.517
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.623
When I try to enable persistence 0.524
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.004
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 18.708

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 04:22:07)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/04:22:07_Manual_filesystem_repair_is_successful.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/04:22:07_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/04:22:07_Manual_filesystem_repair_is_successful.journal

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

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 04:24:13)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/04:24:13_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/04:24:13_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/18/artifact/build-artifacts/04:24:13_Manual_filesystem_repair_fails.journal

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