Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 14 29 Jun 2025, 21:00

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 53:29.810 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:35.933
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.019
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.933
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:653:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:607:in `/^Tor is ready$/'
./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.618

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:06:14)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/14/artifact/build-artifacts/04:06:14_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/14/artifact/build-artifacts/04:06:14_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/14/artifact/build-artifacts/04:06:14_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/14/artifact/build-artifacts/04:06:14_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:8.772
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 and stopped at Tails Greeter's login screen 17.730
When I log in to a new session without activating the Persistent Storage 29.876
Then Tails is running from USB drive "__internal" 1.011
And persistence is disabled 0.471
But a Tails persistence partition exists on USB drive "__internal" 19.682
After features/support/hooks.rb:330 4.345
After features/support/hooks.rb:100 0.000
Tags: @product
4:25.327
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.097
Given I have started Tails without network from a USB drive without a persistent partition and logged in 16.093
Then Tails is running from USB drive "__internal" 3.534
When I create a file in the Persistent directory 1.106
And I create a persistent partition with the default settings 30.882
Then the file I created was copied to the Persistent Storage 2.599
When I shutdown Tails and wait for the computer to power off 16.511
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:13.654
Then persistence for "Persistent" is active 0.847
And the file I created in the Persistent directory exists 0.098
After features/support/hooks.rb:330 2.139
After features/support/hooks.rb:100 0.009
Tags: @product
1:10.426
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 15.276
And the system is very low on memory 4.132
When I create a file in the Persistent directory 0.936
When I try to create a persistent partition 23.800
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.391
When I close the Persistent Storage app 2.863
And I free up some memory 4.530
And I create a persistent partition with the default settings 17.775
Then the file I created was copied to the Persistent Storage 0.719
After features/support/hooks.rb:330 4.933
After features/support/hooks.rb:100 0.000
Tags: @product
4:0.142
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 15.956
Then Tails is running from USB drive "__internal" 2.649
And all tps features are active 4.356
And all persistent directories have safe access rights 3.320
When I disable the first tps feature 6.682
Then all tps features but the first one are active 7.850
And I shutdown Tails and wait for the computer to power off 19.593
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:52.797
Then all tps features but the first one are active 6.936
After features/support/hooks.rb:330 1.853
After features/support/hooks.rb:100 0.020
Tags: @product
23.514
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 enabled and logged in 10.138
Then persistence for "Persistent" is active 0.114
And I create a file in the Persistent directory 0.078
Then the file I created was copied to the Persistent Storage 0.083
When I disable the first tps feature 8.847
Then persistence for "Persistent" is not active 0.136
And the Persistent directory does not exist 0.062
When I enable the first tps feature 3.900
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:330 1.463
After features/support/hooks.rb:100 0.000
Tags: @product
23.627
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 enabled and logged in 12.407
Then persistence for "Persistent" is active 0.271
When I create a file in the Persistent directory 0.249
And I disable the first tps feature 6.823
And I delete the data of the Persistent Folder feature 3.754
Then the file I created does not exist on the Persistent Storage 0.121
After features/support/hooks.rb:330 1.971
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.075
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 enabled and logged in 16.980
And the network is plugged 0.086
And Tor is ready 27.189
And I take note of which tps features are available 1.119
When I write some files expected to persist 4.387
And I shutdown Tails and wait for the computer to power off 9.396
# 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" 35.915
After features/support/hooks.rb:330 0.136
After features/support/hooks.rb:100 0.000
Tags: @product
4:2.399
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 12.782
And the network is plugged 0.462
And Tor is ready 20.790
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.304
And I shutdown Tails and wait for the computer to power off 8.319
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:55.867
And I capture all network traffic 0.007
And the network is plugged 0.077
And Tor is ready 22.943
And I switch to the "persistent-con-current" NetworkManager connection 0.573
And the 1st network device has a spoofed MAC address configured 0.116
And no network device leaked the real MAC address 0.153
After features/support/hooks.rb:330 0.792
After features/support/hooks.rb:100 0.060
Tags: @product
1:22.608
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 16.955
And I enable persistence creation in Tails Greeter 1.206
And I log in to a new session expecting no warning about the Persistent Storage not being activated 34.644
Then I create a persistent partition with the default settings using the wizard that was already open 29.801
After features/support/hooks.rb:330 6.341
After features/support/hooks.rb:100 0.000
Tags: @product
6:5.672
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 12.339
When I enable persistence 56.029
Then no persistent Greeter options were restored 17.060
When I set all Greeter options to non-default values 42.160
And I log in to a new session in German (de) after having activated the Persistent Storage 58.845
Then all Greeter options are set to non-default values 0.193
When I cold reboot the computer 13.895
And the computer reboots Tails 1:27.531
Given I enable persistence 30.324
Then persistent Greeter options were restored 1.284
When I log in to a new session after having activated the Persistent Storage 45.438
Then all Greeter options are set to non-default values 0.570
After features/support/hooks.rb:330 1.458
After features/support/hooks.rb:100 0.009
Tags: @product
4:46.963
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 enabled and logged in 12.021
# 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 36.504
And I shutdown Tails and wait for the computer to power off 14.993
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:4.978
And I change the passphrase of the Persistent Storage back to the original 38.465
After features/support/hooks.rb:330 5.907
After features/support/hooks.rb:100 0.011
Tags: @product
1:24.445
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 with a persistent partition and stopped at Tails Greeter's login screen 10.781
And I log in to a new session without activating the Persistent Storage 33.953
Then persistence is disabled 0.233
But a Tails persistence partition exists on USB drive "__internal" 16.338
And all notifications have disappeared 10.859
When I delete the persistent partition 12.006
Then there is no persistence partition on USB drive "__internal" 0.271
After features/support/hooks.rb:330 1.358
After features/support/hooks.rb:100 0.000
Tags: @product
3:30.822
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 enabled and logged in 13.329
When I write some dotfile expected to persist 0.352
And I shutdown Tails and wait for the computer to power off 12.227
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:1.491
Then the expected persistent dotfile is present in the filesystem 3.421
After features/support/hooks.rb:330 2.647
After features/support/hooks.rb:100 0.018
Tags: @product
2:22.687
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 and stopped at Tails Greeter's login screen 10.976
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.091
When I try to enable persistence 0.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 47.573
When I log in to a new session after having activated the Persistent Storage 1:0.552
And all notifications have disappeared 8.156
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.716
And all tps features are enabled 7.058
And all tps features but the first one are active 3.281
After features/support/hooks.rb:330 2.388
After features/support/hooks.rb:100 0.000
Tags: @product
6:44.893
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:49.696
And I enable persistence 50.026
And I log in to a new session after having activated the Persistent Storage 1:1.436
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.924
And persistence is enabled 2.809
After features/support/hooks.rb:330 2.134
After features/support/hooks.rb:100 0.000
Tags: @product
40.210
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.845
And I enable persistence but something goes wrong during the LUKS header upgrade 25.531
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.833
After features/support/hooks.rb:330 0.749
After features/support/hooks.rb:100 0.000
Tags: @product
1:14.347
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 16.555
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 11.893
When I enable persistence 42.887
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 2.913
After features/support/hooks.rb:330 3.856
After features/support/hooks.rb:100 0.000
Tags: @product
1:20.680
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 16.609
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 17.029
When I try to enable persistence 0.423
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.831
When I repair the filesystem of the Persistent Storage 2.517
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.262
And the filesystem of the Persistent Storage was repaired 3.456
When I close the filesystem repair dialog 1.435
Then persistence is successfully enabled 2.114
After features/support/hooks.rb:330 5.469
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:46.440
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.035
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.158
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.125
When I try to enable persistence 0.348
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 49.560
When I repair the filesystem of the Persistent Storage 2.122
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.314
When I log in to a new session 55.131
And all notifications have disappeared 10.820
# 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.520
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.450
When I close the "whisperback" window 1.505
Then the Tor Browser starts 29.860
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.522
After features/support/hooks.rb:330 3.269
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:24.818
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.042
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.877
And Tails detects disk read failures on the boot device 0.813
When I try to enable persistence 0.632
Then the Welcome Screen tells me that my hardware is probably failing 36.137
When I log in to a new session 44.631
And all notifications have disappeared 13.511
Then the Tor Browser starts 26.228
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.945
After features/support/hooks.rb:330 4.444
After features/support/hooks.rb:100 0.000