Project Number Date
test_Tails_ISO_feature-arti 92 17 Jun 2025, 16:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 126 4 27 0 0 157 17 4 21 58:5.051 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:39.857
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:39.857
Command failed (pid 40501 exit 1): ["/var/lib/jenkins/workspace/test_Tails_ISO_feature-arti/features/scripts/chutney", "wait_for_bootstrap", "/var/lib/jenkins/workspace/test_Tails_ISO_feature-arti/features/chutney/test-network", {:err=>[:child, :out]}]
 (ChutneyBootstrapFailure)
./features/step_definitions/chutney.rb:170:in `rescue in wait_until_chutney_is_working'
./features/step_definitions/chutney.rb:164:in `wait_until_chutney_is_working'
./features/step_definitions/common_steps.rb:186:in `/^the network is plugged$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ and\ logged\ in\ with\ an\ administration\ password\ and\ the\ network\ is\ connected$/'
features/persistence.feature:7:in `Given I have started Tails from DVD and logged in with an administration password and the network is connected'
And I update APT using apt 0.000
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:330 6.409

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:49:54)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/03:49:54_Tails_Persistent_Storage_behave_tests_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/03:49:54_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/03:49:54_Tails_Persistent_Storage_behave_tests.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/03:49:54_Tails_Persistent_Storage_behave_tests.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/03:49:54_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/03:49:54_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:11.793
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 persistent partition and stopped at Tails Greeter's login screen 16.378
When I log in to a new session without activating the Persistent Storage 37.369
Then Tails is running from USB drive "__internal" 0.555
And persistence is disabled 0.905
But a Tails persistence partition exists on USB drive "__internal" 16.584
After features/support/hooks.rb:330 1.678
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.705
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 16.299
Then Tails is running from USB drive "__internal" 0.720
When I create a file in the Persistent directory 0.264
And I create a persistent partition with the default settings 43.347
Then the file I created was copied to the Persistent Storage 2.559
When I shutdown Tails and wait for the computer to power off 17.105
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:19.744
Then persistence for "Persistent" is active 0.579
And the file I created in the Persistent directory exists 0.084
After features/support/hooks.rb:330 1.459
After features/support/hooks.rb:100 0.007
Tags: @product
1:48.930
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 41.124
And the system is very low on memory 9.070
When I create a file in the Persistent directory 2.338
When I try to create a persistent partition 25.728
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.442
When I close the Persistent Storage app 2.985
And I free up some memory 4.649
And I create a persistent partition with the default settings 20.734
Then the file I created was copied to the Persistent Storage 1.856
After features/support/hooks.rb:330 3.355
After features/support/hooks.rb:100 0.000
Tags: @product
4:48.039
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 with a persistent partition enabled and logged in 34.000
Then Tails is running from USB drive "__internal" 3.711
And all tps features are active 4.204
And all persistent directories have safe access rights 2.738
When I disable the first tps feature 6.511
Then all tps features but the first one are active 6.818
And I shutdown Tails and wait for the computer to power off 13.862
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:32.865
Then all tps features but the first one are active 3.326
After features/support/hooks.rb:330 1.465
After features/support/hooks.rb:100 0.010
Tags: @product
37.373
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 enabled and logged in 20.634
Then persistence for "Persistent" is active 0.096
And I create a file in the Persistent directory 0.117
Then the file I created was copied to the Persistent Storage 0.209
When I disable the first tps feature 11.971
Then persistence for "Persistent" is not active 0.353
And the Persistent directory does not exist 0.076
When I enable the first tps feature 3.749
Then persistence for "Persistent" is active 0.086
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.967
After features/support/hooks.rb:100 0.000
Tags: @product
37.411
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 enabled and logged in 19.542
Then persistence for "Persistent" is active 0.226
When I create a file in the Persistent directory 0.210
And I disable the first tps feature 11.834
And I delete the data of the Persistent Folder feature 5.525
Then the file I created does not exist on the Persistent Storage 0.071
After features/support/hooks.rb:330 2.249
After features/support/hooks.rb:100 0.000
Tags: @product
30.241
Scenario Writing files to a read/write-enabled persistent partition
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 20.011
And the network is plugged 10.230
Command failed (pid 43280 exit 1): ["/var/lib/jenkins/workspace/test_Tails_ISO_feature-arti/features/scripts/chutney", "wait_for_bootstrap", "/var/lib/jenkins/workspace/test_Tails_ISO_feature-arti/features/chutney/test-network", {:err=>[:child, :out]}]
 (ChutneyBootstrapFailure)
./features/step_definitions/chutney.rb:170:in `rescue in wait_until_chutney_is_working'
./features/step_definitions/chutney.rb:164:in `wait_until_chutney_is_working'
./features/step_definitions/common_steps.rb:186:in `/^the network is plugged$/'
features/persistence.feature:74:in `And the network is plugged'
And Tor is ready 0.000
And I take note of which tps features are available 0.000
When I write some files expected to persist 0.000
And I shutdown Tails and wait for the computer to power off 0.000
# 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" 0.000
After features/support/hooks.rb:330 7.478

SCENARIO FAILED: 'Writing files to a read/write-enabled persistent partition' (at time 04:04:28)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:04:28_Writing_files_to_a_read_write-enabled_persistent_partition_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:04:28_Writing_files_to_a_read_write-enabled_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:04:28_Writing_files_to_a_read_write-enabled_persistent_partition.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:04:28_Writing_files_to_a_read_write-enabled_persistent_partition.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:04:28_Writing_files_to_a_read_write-enabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:04:28_Writing_files_to_a_read_write-enabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
54.434
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16.007
And the network is plugged 38.427
Command failed (pid 43429 exit 1): ["/var/lib/jenkins/workspace/test_Tails_ISO_feature-arti/features/scripts/chutney", "wait_for_bootstrap", "/var/lib/jenkins/workspace/test_Tails_ISO_feature-arti/features/chutney/test-network", {:err=>[:child, :out]}]
 (ChutneyBootstrapFailure)
./features/step_definitions/chutney.rb:170:in `rescue in wait_until_chutney_is_working'
./features/step_definitions/chutney.rb:164:in `wait_until_chutney_is_working'
./features/step_definitions/common_steps.rb:186:in `/^the network is plugged$/'
features/persistence.feature:84:in `And the network is plugged'
And Tor is ready 0.000
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.000
And I shutdown Tails and wait for the computer to power off 0.000
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 0.000
And I capture all network traffic 0.000
And the network is plugged 0.000
And Tor is ready 0.000
And I switch to the "persistent-con-current" NetworkManager connection 0.000
And the 1st network device has a spoofed MAC address configured 0.000
And no network device leaked the real MAC address 0.000
After features/support/hooks.rb:330 7.726

SCENARIO FAILED: 'Creating and using a persistent NetworkManager connection' (at time 04:05:30)

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:05:30_Creating_and_using_a_persistent_NetworkManager_connection_chutney-data

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:05:30_Creating_and_using_a_persistent_NetworkManager_connection.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:05:30_Creating_and_using_a_persistent_NetworkManager_connection.png

Tor logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:05:30_Creating_and_using_a_persistent_NetworkManager_connection.tor

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:05:30_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:05:30_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:45.270
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 stopped at Tails Greeter's login screen 23.042
And I enable persistence creation in Tails Greeter 2.535
And I log in to a new session expecting no warning about the Persistent Storage not being activated 40.599
Then I create a persistent partition with the default settings using the wizard that was already open 39.093
After features/support/hooks.rb:330 10.283
After features/support/hooks.rb:100 0.000
Tags: @product
8:6.879
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 1:11.001
When I enable persistence 1:5.486
Then no persistent Greeter options were restored 19.016
When I set all Greeter options to non-default values 42.377
And I log in to a new session in German (de) after having activated the Persistent Storage 1:12.083
Then all Greeter options are set to non-default values 7.506
When I cold reboot the computer 9.528
And the computer reboots Tails 1:43.664
Given I enable persistence 33.481
Then persistent Greeter options were restored 0.776
When I log in to a new session after having activated the Persistent Storage 1:1.638
Then all Greeter options are set to non-default values 0.316
After features/support/hooks.rb:330 4.382
After features/support/hooks.rb:100 0.035
Tags: @product
7:1.964
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.486
# 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:6.386
And I shutdown Tails and wait for the computer to power off 22.508
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 4:10.880
And I change the passphrase of the Persistent Storage back to the original 1:6.701
After features/support/hooks.rb:330 4.004
After features/support/hooks.rb:100 0.023
Tags: @product
1:34.597
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 10.802
And I log in to a new session without activating the Persistent Storage 42.771
Then persistence is disabled 0.908
But a Tails persistence partition exists on USB drive "__internal" 10.440
And all notifications have disappeared 16.953
When I delete the persistent partition 11.438
Then there is no persistence partition on USB drive "__internal" 1.281
After features/support/hooks.rb:330 2.455
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.144
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 enabled and logged in 12.119
When I write some dotfile expected to persist 0.082
And I shutdown Tails and wait for the computer to power off 13.064
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:4.100
Then the expected persistent dotfile is present in the filesystem 0.776
After features/support/hooks.rb:330 2.112
After features/support/hooks.rb:100 0.009
Tags: @product
2:31.417
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 16.162
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.115
When I try to enable persistence 0.291
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 47.210
When I log in to a new session after having activated the Persistent Storage 1:2.006
And all notifications have disappeared 10.614
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 8.212
And all tps features are enabled 4.043
And all tps features but the first one are active 2.760
After features/support/hooks.rb:330 1.737
After features/support/hooks.rb:100 0.000
Tags: @product
7:42.294
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
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:55.230
And I enable persistence 41.699
And I log in to a new session after having activated the Persistent Storage 58.220
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.220
And persistence is enabled 3.924
After features/support/hooks.rb:330 6.527
After features/support/hooks.rb:100 0.000
Tags: @product
43.676
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.164
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 14.213
And I enable persistence but something goes wrong during the LUKS header upgrade 28.206
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.257
After features/support/hooks.rb:330 0.891
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.387
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 11.219
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.765
When I enable persistence 45.922
Then the filesystem of the Persistent Storage was repaired 0.104
And persistence is successfully enabled 4.376
After features/support/hooks.rb:330 4.231
After features/support/hooks.rb:100 0.000
Tags: @product
1:36.906
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.057
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.538
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 19.072
When I try to enable persistence 1.168
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 48.427
When I repair the filesystem of the Persistent Storage 2.555
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.262
And the filesystem of the Persistent Storage was repaired 3.198
When I close the filesystem repair dialog 1.511
Then persistence is successfully enabled 2.171
After features/support/hooks.rb:330 4.537
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.742
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.181
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.141
When I try to enable persistence 0.410
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.008
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.473

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 04:43:23)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:43:23_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:43:23_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/92/artifact/build-artifacts/04:43:23_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
3:16.982
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 and stopped at Tails Greeter's login screen 17.910
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.530
And Tails detects disk read failures on the boot device 4.754
When I try to enable persistence 0.985
Then the Welcome Screen tells me that my hardware is probably failing 37.214
When I log in to a new session 1:13.919
And all notifications have disappeared 15.820
Then the Tor Browser starts 34.599
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.247
After features/support/hooks.rb:330 2.761
After features/support/hooks.rb:100 0.000