Project Number Date
test_Tails_ISO_feature-arti 95 22 Jun 2025, 17:30

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 147 2 8 0 0 157 19 2 21 53:48.947 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:49.806
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.111
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:26.448
And I update APT using apt 45.778
And I install "python3-behave" using apt 34.855
Then the Tails Persistent Storage behave tests pass 2.723
After features/support/hooks.rb:330 1.315
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.213
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 and stopped at Tails Greeter's login screen 17.995
When I log in to a new session without activating the Persistent Storage 35.947
Then Tails is running from USB drive "__internal" 0.353
And persistence is disabled 0.219
But a Tails persistence partition exists on USB drive "__internal" 8.697
After features/support/hooks.rb:330 4.197
After features/support/hooks.rb:100 0.000
Tags: @product
4:11.668
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 14.228
Then Tails is running from USB drive "__internal" 0.374
When I create a file in the Persistent directory 0.144
And I create a persistent partition with the default settings 33.983
Then the file I created was copied to the Persistent Storage 3.141
When I shutdown Tails and wait for the computer to power off 16.823
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:2.122
Then persistence for "Persistent" is active 0.703
And the file I created in the Persistent directory exists 0.144
After features/support/hooks.rb:330 2.004
After features/support/hooks.rb:100 0.019
Tags: @product
1:27.534
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 16.712
And the system is very low on memory 5.046
When I create a file in the Persistent directory 3.669
When I try to create a persistent partition 30.063
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.499
When I close the Persistent Storage app 2.936
And I free up some memory 6.639
And I create a persistent partition with the default settings 20.583
Then the file I created was copied to the Persistent Storage 1.383
After features/support/hooks.rb:330 3.206
After features/support/hooks.rb:100 0.000
Tags: @product
3:46.703
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 enabled and logged in 17.176
Then Tails is running from USB drive "__internal" 0.904
And all tps features are active 3.685
And all persistent directories have safe access rights 2.748
When I disable the first tps feature 6.410
Then all tps features but the first one are active 7.454
And I shutdown Tails and wait for the computer to power off 22.465
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:43.165
Then all tps features but the first one are active 2.691
After features/support/hooks.rb:330 1.135
After features/support/hooks.rb:100 0.091
Tags: @product
34.321
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.037
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 17.913
Then persistence for "Persistent" is active 0.334
And I create a file in the Persistent directory 0.122
Then the file I created was copied to the Persistent Storage 0.101
When I disable the first tps feature 9.443
Then persistence for "Persistent" is not active 0.479
And the Persistent directory does not exist 0.320
When I enable the first tps feature 5.454
Then persistence for "Persistent" is active 0.076
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:330 1.310
After features/support/hooks.rb:100 0.000
Tags: @product
41.864
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 26.031
Then persistence for "Persistent" is active 0.226
When I create a file in the Persistent directory 0.145
And I disable the first tps feature 10.938
And I delete the data of the Persistent Folder feature 4.471
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:330 1.856
After features/support/hooks.rb:100 0.000
Tags: @product
1:41.144
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 16.653
And the network is plugged 0.080
And Tor is ready 30.833
And I take note of which tps features are available 1.048
When I write some files expected to persist 3.212
And I shutdown Tails and wait for the computer to power off 11.349
# 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.967
After features/support/hooks.rb:330 0.141
After features/support/hooks.rb:100 0.000
Tags: @product
4:5.541
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16.448
And the network is plugged 0.124
And Tor is ready 26.979
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.923
And I shutdown Tails and wait for the computer to power off 14.083
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:53.830
And I capture all network traffic 0.015
And the network is plugged 0.139
And Tor is ready 12.996
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/tor.rb:828:in `click_connect_to_tor'
./features/step_definitions/tor.rb:502:in `tca_configure'
./features/step_definitions/tor.rb:512:in `/^I configure a direct connection in the Tor Connection Assistant$/'
./features/step_definitions/common_steps.rb:664:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:618:in `/^Tor is ready$/'
features/persistence.feature:91:in `And Tor is ready'
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 5.527

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/95/artifact/build-artifacts/04:35:25_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/95/artifact/build-artifacts/04:35:25_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/95/artifact/build-artifacts/04:35:25_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/95/artifact/build-artifacts/04:35:25_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:100 0.076
Tags: @product
1:23.648
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 without a persistent partition and stopped at Tails Greeter's login screen 19.156
And I enable persistence creation in Tails Greeter 1.681
And I log in to a new session expecting no warning about the Persistent Storage not being activated 26.740
Then I create a persistent partition with the default settings using the wizard that was already open 36.070
After features/support/hooks.rb:330 3.754
After features/support/hooks.rb:100 0.000
Tags: @product
5:55.052
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.081
When I enable persistence 55.408
Then no persistent Greeter options were restored 16.529
When I set all Greeter options to non-default values 32.222
And I log in to a new session in German (de) after having activated the Persistent Storage 1:3.482
Then all Greeter options are set to non-default values 4.768
When I cold reboot the computer 10.217
And the computer reboots Tails 1:18.670
Given I enable persistence 31.761
Then persistent Greeter options were restored 0.916
When I log in to a new session after having activated the Persistent Storage 43.710
Then all Greeter options are set to non-default values 0.281
After features/support/hooks.rb:330 1.781
After features/support/hooks.rb:100 0.009
Tags: @product
4:46.863
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 12.993
# 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 45.252
And I shutdown Tails and wait for the computer to power off 16.507
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:53.907
And I change the passphrase of the Persistent Storage back to the original 38.201
After features/support/hooks.rb:330 7.291
After features/support/hooks.rb:100 0.153
Tags: @product
17.520
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.161
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.907
And I log in to a new session without activating the Persistent Storage 6.613
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:530:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
features/persistence.feature:128:in `And I log in to a new session without activating the Persistent Storage'
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.353

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 04:48:06)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/95/artifact/build-artifacts/04:48:06_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/95/artifact/build-artifacts/04:48:06_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/95/artifact/build-artifacts/04:48:06_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/95/artifact/build-artifacts/04:48:06_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:5.274
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 11.863
When I write some dotfile expected to persist 0.276
And I shutdown Tails and wait for the computer to power off 11.756
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:40.034
Then the expected persistent dotfile is present in the filesystem 1.342
After features/support/hooks.rb:330 1.557
After features/support/hooks.rb:100 0.012
Tags: @product
2:30.678
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 15.223
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.329
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 46.548
When I log in to a new session after having activated the Persistent Storage 57.412
And all notifications have disappeared 14.036
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.071
And all tps features are enabled 5.163
And all tps features but the first one are active 6.794
After features/support/hooks.rb:330 2.751
After features/support/hooks.rb:100 0.000
Tags: @product
6:0.553
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:11.926
And I enable persistence 45.974
And I log in to a new session after having activated the Persistent Storage 52.550
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 7.117
And persistence is enabled 2.984
After features/support/hooks.rb:330 1.374
After features/support/hooks.rb:100 0.000
Tags: @product
38.032
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 13.254
And I enable persistence but something goes wrong during the LUKS header upgrade 23.937
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.840
After features/support/hooks.rb:330 0.745
After features/support/hooks.rb:100 0.000
Tags: @product
1:26.003
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 25.278
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 11.175
When I enable persistence 46.305
Then the filesystem of the Persistent Storage was repaired 0.102
And persistence is successfully enabled 3.141
After features/support/hooks.rb:330 3.783
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.257
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.028
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.516
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.185
When I try to enable persistence 0.483
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 32.459
When I repair the filesystem of the Persistent Storage 5.736
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.183
And the filesystem of the Persistent Storage was repaired 5.194
When I close the filesystem repair dialog 1.228
Then persistence is successfully enabled 2.267
After features/support/hooks.rb:330 3.589
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:33.053
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 and stopped at Tails Greeter's login screen 13.884
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.126
When I try to enable persistence 0.362
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 45.541
When I repair the filesystem of the Persistent Storage 2.107
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 1.035
When I log in to a new session 51.402
And all notifications have disappeared 16.553
# 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.356
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.092
When I close the "whisperback" window 1.459
Then the Tor Browser starts 17.958
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.171
After features/support/hooks.rb:330 2.373
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:34.214
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 15.703
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.175
And Tails detects disk read failures on the boot device 3.503
When I try to enable persistence 1.952
Then the Welcome Screen tells me that my hardware is probably failing 27.295
When I log in to a new session 59.915
And all notifications have disappeared 8.473
Then the Tor Browser starts 28.112
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.083
After features/support/hooks.rb:330 4.883
After features/support/hooks.rb:100 0.000