Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 10 25 Jun 2025, 21:51

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 127 4 26 0 0 157 17 4 21 1:5:0.494 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:15.137
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:16.581
And I update APT using apt 20.318
And I install "python3-behave" using apt 32.618
Then the Tails Persistent Storage behave tests pass 5.618
After features/support/hooks.rb:330 5.818
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.254
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.368
When I log in to a new session without activating the Persistent Storage 36.319
Then Tails is running from USB drive "__internal" 0.982
And persistence is disabled 0.701
But a Tails persistence partition exists on USB drive "__internal" 19.883
After features/support/hooks.rb:330 3.410
After features/support/hooks.rb:100 0.000
Tags: @product
4:52.569
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 without a persistent partition and logged in 17.743
Then Tails is running from USB drive "__internal" 3.590
When I create a file in the Persistent directory 0.508
And I create a persistent partition with the default settings 35.837
Then the file I created was copied to the Persistent Storage 4.798
When I shutdown Tails and wait for the computer to power off 20.805
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:28.607
Then persistence for "Persistent" is active 0.585
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:330 1.784
After features/support/hooks.rb:100 0.010
Tags: @product
1:18.704
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 17.805
And the system is very low on memory 4.122
When I create a file in the Persistent directory 0.988
When I try to create a persistent partition 28.352
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.611
When I close the Persistent Storage app 3.242
And I free up some memory 2.192
And I create a persistent partition with the default settings 20.875
Then the file I created was copied to the Persistent Storage 0.512
After features/support/hooks.rb:330 1.886
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.191
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 persistent partition enabled and logged in 43.001
Then Tails is running from USB drive "__internal" 1.810
And all tps features are active 4.144
And all persistent directories have safe access rights 6.433
When I disable the first tps feature 6.629
Then all tps features but the first one are active 7.073
And I shutdown Tails and wait for the computer to power off 13.854
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:13.147
Then all tps features but the first one are active 3.096
After features/support/hooks.rb:330 1.255
After features/support/hooks.rb:100 0.033
Tags: @product
34.362
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 18.383
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.113
Then the file I created was copied to the Persistent Storage 0.172
When I disable the first tps feature 9.969
Then persistence for "Persistent" is not active 0.187
And the Persistent directory does not exist 0.177
When I enable the first tps feature 5.099
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:330 0.790
After features/support/hooks.rb:100 0.000
Tags: @product
44.849
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.609
Then persistence for "Persistent" is active 0.116
When I create a file in the Persistent directory 0.914
And I disable the first tps feature 12.441
And I delete the data of the Persistent Folder feature 4.598
Then the file I created does not exist on the Persistent Storage 0.169
After features/support/hooks.rb:330 1.151
After features/support/hooks.rb:100 0.000
Tags: @product
2:13.551
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 18.827
And the network is plugged 0.140
And Tor is ready 55.000
And I take note of which tps features are available 0.676
When I write some files expected to persist 2.112
And I shutdown Tails and wait for the computer to power off 16.467
# 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" 40.325
After features/support/hooks.rb:330 0.155
After features/support/hooks.rb:100 0.000
Tags: @product
4:26.761
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 18.074
And the network is plugged 0.106
And Tor is ready 24.821
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.222
And I shutdown Tails and wait for the computer to power off 13.068
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:6.367
And I capture all network traffic 0.009
And the network is plugged 0.088
And Tor is ready 23.363
And I switch to the "persistent-con-current" NetworkManager connection 0.378
And the 1st network device has a spoofed MAC address configured 0.094
And no network device leaked the real MAC address 0.165
After features/support/hooks.rb:330 4.042
After features/support/hooks.rb:100 0.123
Tags: @product
1:31.747
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.089
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 19.318
And I enable persistence creation in Tails Greeter 2.597
And I log in to a new session expecting no warning about the Persistent Storage not being activated 31.518
Then I create a persistent partition with the default settings using the wizard that was already open 38.312
After features/support/hooks.rb:330 5.443
After features/support/hooks.rb:100 0.000
Tags: @product
7:13.159
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.124
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 38.136
When I enable persistence 1:8.987
Then no persistent Greeter options were restored 17.998
When I set all Greeter options to non-default values 41.141
And I log in to a new session in German (de) after having activated the Persistent Storage 1:10.862
Then all Greeter options are set to non-default values 0.590
When I cold reboot the computer 12.983
And the computer reboots Tails 1:35.364
Given I enable persistence 27.172
Then persistent Greeter options were restored 0.612
When I log in to a new session after having activated the Persistent Storage 58.635
Then all Greeter options are set to non-default values 0.674
After features/support/hooks.rb:330 1.471
After features/support/hooks.rb:100 0.011
Tags: @product
5:48.557
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 16.801
# 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 52.041
And I shutdown Tails and wait for the computer to power off 18.863
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:31.210
And I change the passphrase of the Persistent Storage back to the original 49.641
After features/support/hooks.rb:330 8.272
After features/support/hooks.rb:100 0.008
Tags: @product
2:3.736
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 30.729
And I log in to a new session without activating the Persistent Storage 42.665
Then persistence is disabled 3.512
But a Tails persistence partition exists on USB drive "__internal" 13.515
And all notifications have disappeared 16.270
When I delete the persistent partition 15.708
Then there is no persistence partition on USB drive "__internal" 1.335
After features/support/hooks.rb:330 2.450
After features/support/hooks.rb:100 0.000
Tags: @product
4:34.718
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 22.144
When I write some dotfile expected to persist 1.860
And I shutdown Tails and wait for the computer to power off 17.733
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:52.342
Then the expected persistent dotfile is present in the filesystem 0.637
After features/support/hooks.rb:330 2.055
After features/support/hooks.rb:100 0.011
Tags: @product
1:15.973
Scenario Feature activation fails
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 and stopped at Tails Greeter's login screen 1:15.973
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:167:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ and\ stopped\ at\ Tails\ Greeter's\ login\ screen$/'
features/persistence.feature:143:in `Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen'
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.000
When I try to enable persistence 0.000
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 0.000
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 5.555

SCENARIO FAILED: 'Feature activation fails' (at time 05:22:38)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:22:38_Feature_activation_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:22:38_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:22:38_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:22:38_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
9:39.809
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 6:45.475
And I enable persistence 1:27.784
And I log in to a new session after having activated the Persistent Storage 1:13.394
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 8.726
And persistence is enabled 4.428
After features/support/hooks.rb:330 10.795
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.996
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.105
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.773
And I enable persistence but something goes wrong during the LUKS header upgrade 50.345
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.877
After features/support/hooks.rb:330 1.001
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.150
Scenario Automatic filesystem repair
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 1:17.150
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:167:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ and\ stopped\ at\ Tails\ Greeter's\ login\ screen$/'
features/persistence.feature:166:in `Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen'
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 0.000
When I enable persistence 0.000
Then the filesystem of the Persistent Storage was repaired 0.000
And persistence is successfully enabled 0.000
After features/support/hooks.rb:330 6.200

SCENARIO FAILED: 'Automatic filesystem repair' (at time 05:34:59)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:34:59_Automatic_filesystem_repair.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:34:59_Automatic_filesystem_repair.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:34:59_Automatic_filesystem_repair.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:34:59_Automatic_filesystem_repair.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:38.830
Scenario Manual filesystem repair is successful
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 21.951
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 16.407
When I try to enable persistence 0.454
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.018
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 21.216

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 05:36:54)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:36:54_Manual_filesystem_repair_is_successful.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:36:54_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:36:54_Manual_filesystem_repair_is_successful.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:24.569
Scenario Manual filesystem repair fails
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 and stopped at Tails Greeter's login screen 21.687
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.952
When I try to enable persistence 1.923
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 1:0.005
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 20.080

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 05:38:37)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:38:37_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:38:37_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/10/artifact/build-artifacts/05:38:37_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
4:10.860
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.089
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 20.399
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.418
And Tails detects disk read failures on the boot device 0.695
When I try to enable persistence 0.513
Then the Welcome Screen tells me that my hardware is probably failing 57.983
When I log in to a new session 1:22.191
And all notifications have disappeared 21.081
Then the Tor Browser starts 55.804
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.772
After features/support/hooks.rb:330 9.213
After features/support/hooks.rb:100 0.000