Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 9 24 Jun 2025, 22:29

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 151 2 4 0 0 157 19 2 21 1:12:56.073 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1:29.032
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:29.032
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:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:137: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.004

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 05:30:56)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/05:30:56_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/9/artifact/build-artifacts/05:30:56_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/05:30:56_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/05:30:56_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
2:40.629
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 1:56.520
When I log in to a new session without activating the Persistent Storage 28.399
Then Tails is running from USB drive "__internal" 5.502
And persistence is disabled 0.545
But a Tails persistence partition exists on USB drive "__internal" 9.660
After features/support/hooks.rb:330 3.312
After features/support/hooks.rb:100 0.000
Tags: @product
4:31.808
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 19.537
Then Tails is running from USB drive "__internal" 0.522
When I create a file in the Persistent directory 0.155
And I create a persistent partition with the default settings 35.505
Then the file I created was copied to the Persistent Storage 2.549
When I shutdown Tails and wait for the computer to power off 17.332
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:15.578
Then persistence for "Persistent" is active 0.542
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 2.033
After features/support/hooks.rb:100 0.009
Tags: @product
1:39.724
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 34.704
And the system is very low on memory 5.927
When I create a file in the Persistent directory 2.038
When I try to create a persistent partition 28.719
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 2.141
When I close the Persistent Storage app 3.649
And I free up some memory 2.826
And I create a persistent partition with the default settings 19.466
Then the file I created was copied to the Persistent Storage 0.250
After features/support/hooks.rb:330 2.226
After features/support/hooks.rb:100 0.000
Tags: @product
4:10.326
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 17.381
Then Tails is running from USB drive "__internal" 0.495
And all tps features are active 2.697
And all persistent directories have safe access rights 3.342
When I disable the first tps feature 11.799
Then all tps features but the first one are active 2.369
And I shutdown Tails and wait for the computer to power off 20.412
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:4.883
Then all tps features but the first one are active 6.945
After features/support/hooks.rb:330 1.129
After features/support/hooks.rb:100 0.016
Tags: @product
28.773
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 11.972
Then persistence for "Persistent" is active 0.225
And I create a file in the Persistent directory 0.114
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 12.314
Then persistence for "Persistent" is not active 0.085
And the Persistent directory does not exist 0.068
When I enable the first tps feature 3.727
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.094
After features/support/hooks.rb:330 2.076
After features/support/hooks.rb:100 0.000
Tags: @product
32.158
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 15.687
Then persistence for "Persistent" is active 0.223
When I create a file in the Persistent directory 0.175
And I disable the first tps feature 7.350
And I delete the data of the Persistent Folder feature 8.613
Then the file I created does not exist on the Persistent Storage 0.106
After features/support/hooks.rb:330 1.950
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.117
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 9.958
And the network is plugged 0.635
And Tor is ready 27.529
And I take note of which tps features are available 0.721
When I write some files expected to persist 1.859
And I shutdown Tails and wait for the computer to power off 7.466
# 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" 46.946
After features/support/hooks.rb:330 0.222
After features/support/hooks.rb:100 0.000
Tags: @product
4:20.350
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 11.810
And the network is plugged 0.088
And Tor is ready 27.926
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.345
And I shutdown Tails and wait for the computer to power off 9.237
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:0.621
And I capture all network traffic 0.016
And the network is plugged 0.075
And Tor is ready 29.272
And I switch to the "persistent-con-current" NetworkManager connection 0.659
And the 1st network device has a spoofed MAC address configured 0.116
And no network device leaked the real MAC address 0.180
After features/support/hooks.rb:330 1.133
After features/support/hooks.rb:100 0.140
Tags: @product
1:22.201
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 without a persistent partition and stopped at Tails Greeter's login screen 12.698
And I enable persistence creation in Tails Greeter 5.008
And I log in to a new session expecting no warning about the Persistent Storage not being activated 29.534
Then I create a persistent partition with the default settings using the wizard that was already open 34.959
After features/support/hooks.rb:330 2.872
After features/support/hooks.rb:100 0.000
Tags: @product
5:58.747
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 17.055
When I enable persistence 1:0.152
Then no persistent Greeter options were restored 16.861
When I set all Greeter options to non-default values 44.671
And I log in to a new session in German (de) after having activated the Persistent Storage 47.338
Then all Greeter options are set to non-default values 2.743
When I cold reboot the computer 11.444
And the computer reboots Tails 1:22.250
Given I enable persistence 24.207
Then persistent Greeter options were restored 4.450
When I log in to a new session after having activated the Persistent Storage 47.309
Then all Greeter options are set to non-default values 0.261
After features/support/hooks.rb:330 0.741
After features/support/hooks.rb:100 0.008
Tags: @product
5:17.068
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 13.446
# 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:4.318
And I shutdown Tails and wait for the computer to power off 18.191
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:51.224
And I change the passphrase of the Persistent Storage back to the original 49.887
After features/support/hooks.rb:330 3.703
After features/support/hooks.rb:100 0.013
Tags: @product
1:24.106
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.777
And I log in to a new session without activating the Persistent Storage 31.600
Then persistence is disabled 0.337
But a Tails persistence partition exists on USB drive "__internal" 20.801
And all notifications have disappeared 13.203
When I delete the persistent partition 6.113
Then there is no persistence partition on USB drive "__internal" 0.272
After features/support/hooks.rb:330 3.516
After features/support/hooks.rb:100 0.000
Tags: @product
23:2.099
Scenario Dotfiles persistence
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.516
When I write some dotfile expected to persist 0.198
And I shutdown Tails and wait for the computer to power off 13.235
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:36.148
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:719:in `new'
./features/step_definitions/common_steps.rb:719:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:298:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:139:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then the expected persistent dotfile is present in the filesystem 0.000
After features/support/hooks.rb:330 12.529

SCENARIO FAILED: 'Dotfiles persistence' (at time 06:28:32)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/06:28:32_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/06:28:32_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/9/artifact/build-artifacts/06:28:32_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.017
Tags: @product
2:19.350
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 13.717
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.124
When I try to enable persistence 0.475
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 48.279
When I log in to a new session after having activated the Persistent Storage 54.242
And all notifications have disappeared 8.242
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 8.340
And all tps features are enabled 3.663
And all tps features but the first one are active 2.264
After features/support/hooks.rb:330 3.264
After features/support/hooks.rb:100 0.000
Tags: @product
5:14.724
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:48.436
And I enable persistence 33.065
And I log in to a new session after having activated the Persistent Storage 47.628
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.723
And persistence is enabled 2.870
After features/support/hooks.rb:330 2.231
After features/support/hooks.rb:100 0.000
Tags: @product
37.045
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 11.190
And I enable persistence but something goes wrong during the LUKS header upgrade 25.112
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.742
After features/support/hooks.rb:330 0.635
After features/support/hooks.rb:100 0.000
Tags: @product
55.359
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 10.973
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.971
When I enable persistence 35.283
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 3.049
After features/support/hooks.rb:330 1.838
After features/support/hooks.rb:100 0.000
Tags: @product
58.514
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 9.429
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.988
When I try to enable persistence 0.407
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.548
When I repair the filesystem of the Persistent Storage 6.098
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.876
And the filesystem of the Persistent Storage was repaired 3.332
When I close the filesystem repair dialog 1.306
Then persistence is successfully enabled 1.526
After features/support/hooks.rb:330 1.896
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:7.575
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 9.196
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.306
When I try to enable persistence 0.937
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 33.225
When I repair the filesystem of the Persistent Storage 1.487
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.093
When I log in to a new session 45.010
And all notifications have disappeared 11.653
# 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.420
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.547
When I close the "whisperback" window 1.798
Then the Tor Browser starts 21.707
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.190
After features/support/hooks.rb:330 3.547
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:11.358
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.123
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.548
And Tails detects disk read failures on the boot device 2.152
When I try to enable persistence 0.921
Then the Welcome Screen tells me that my hardware is probably failing 26.267
When I log in to a new session 50.412
And all notifications have disappeared 9.894
Then the Tor Browser starts 24.019
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.017
After features/support/hooks.rb:330 3.853
After features/support/hooks.rb:100 0.000