Project Number Date
test_Tails_ISO_21027-fix-interactive-debugging-context 11 26 Jun 2025, 21:27

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 151 1 5 0 0 157 20 1 21 53:9.052 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:28.221
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:31.493
And I update APT using apt 18.661
And I install "python3-behave" using apt 32.287
Then the Tails Persistent Storage behave tests pass 5.778
After features/support/hooks.rb:330 0.983
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.898
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 20.884
When I log in to a new session without activating the Persistent Storage 34.276
Then Tails is running from USB drive "__internal" 4.635
And persistence is disabled 0.343
But a Tails persistence partition exists on USB drive "__internal" 10.758
After features/support/hooks.rb:330 4.448
After features/support/hooks.rb:100 0.000
Tags: @product
4:45.445
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 logged in 14.350
Then Tails is running from USB drive "__internal" 1.275
When I create a file in the Persistent directory 0.503
And I create a persistent partition with the default settings 38.724
Then the file I created was copied to the Persistent Storage 4.776
When I shutdown Tails and wait for the computer to power off 19.540
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:25.258
Then persistence for "Persistent" is active 0.930
And the file I created in the Persistent directory exists 0.085
After features/support/hooks.rb:330 1.169
After features/support/hooks.rb:100 0.006
Tags: @product
1:24.972
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 logged in 15.193
And the system is very low on memory 7.046
When I create a file in the Persistent directory 1.165
When I try to create a persistent partition 32.507
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.879
When I close the Persistent Storage app 2.731
And I free up some memory 2.825
And I create a persistent partition with the default settings 22.095
Then the file I created was copied to the Persistent Storage 0.527
After features/support/hooks.rb:330 3.274
After features/support/hooks.rb:100 0.000
Tags: @product
4:31.761
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 18.296
Then Tails is running from USB drive "__internal" 4.249
And all tps features are active 4.522
And all persistent directories have safe access rights 4.019
When I disable the first tps feature 7.395
Then all tps features but the first one are active 7.737
And I shutdown Tails and wait for the computer to power off 26.319
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:16.552
Then all tps features but the first one are active 2.669
After features/support/hooks.rb:330 2.448
After features/support/hooks.rb:100 0.009
Tags: @product
34.601
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 with a persistent partition enabled and logged in 17.821
Then persistence for "Persistent" is active 0.098
And I create a file in the Persistent directory 0.074
Then the file I created was copied to the Persistent Storage 0.086
When I disable the first tps feature 8.452
Then persistence for "Persistent" is not active 1.645
And the Persistent directory does not exist 0.143
When I enable the first tps feature 6.082
Then persistence for "Persistent" is active 0.106
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:330 1.708
After features/support/hooks.rb:100 0.000
Tags: @product
27.435
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 14.556
Then persistence for "Persistent" is active 0.168
When I create a file in the Persistent directory 0.161
And I disable the first tps feature 7.047
And I delete the data of the Persistent Folder feature 5.280
Then the file I created does not exist on the Persistent Storage 0.221
After features/support/hooks.rb:330 5.023
After features/support/hooks.rb:100 0.000
Tags: @product
1:46.565
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.636
And the network is plugged 0.124
And Tor is ready 32.293
And I take note of which tps features are available 0.726
When I write some files expected to persist 1.748
And I shutdown Tails and wait for the computer to power off 13.793
# 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" 45.241
After features/support/hooks.rb:330 0.184
After features/support/hooks.rb:100 0.000
Tags: @product
4:22.326
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 14.377
And the network is plugged 0.394
And Tor is ready 24.871
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.253
And I shutdown Tails and wait for the computer to power off 12.878
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:0.160
And I capture all network traffic 0.081
And the network is plugged 1.090
And Tor is ready 27.343
And I switch to the "persistent-con-current" NetworkManager connection 0.602
And the 1st network device has a spoofed MAC address configured 0.119
And no network device leaked the real MAC address 0.152
After features/support/hooks.rb:330 0.631
After features/support/hooks.rb:100 0.071
Tags: @product
1:39.093
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 stopped at Tails Greeter's login screen 19.653
And I enable persistence creation in Tails Greeter 1.168
And I log in to a new session expecting no warning about the Persistent Storage not being activated 37.491
Then I create a persistent partition with the default settings using the wizard that was already open 40.779
After features/support/hooks.rb:330 2.766
After features/support/hooks.rb:100 0.000
Tags: @product
6:46.031
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 21.397
When I enable persistence 1:7.300
Then no persistent Greeter options were restored 16.978
When I set all Greeter options to non-default values 38.479
And I log in to a new session in German (de) after having activated the Persistent Storage 1:14.773
Then all Greeter options are set to non-default values 0.473
When I cold reboot the computer 15.227
And the computer reboots Tails 1:24.939
Given I enable persistence 30.766
Then persistent Greeter options were restored 0.589
When I log in to a new session after having activated the Persistent Storage 52.772
Then all Greeter options are set to non-default values 2.332
After features/support/hooks.rb:330 3.636
After features/support/hooks.rb:100 0.018
Tags: @product
4:52.031
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 enabled and logged in 11.321
# 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 53.343
And I shutdown Tails and wait for the computer to power off 17.260
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:47.638
And I change the passphrase of the Persistent Storage back to the original 42.467
After features/support/hooks.rb:330 6.836
After features/support/hooks.rb:100 0.030
Tags: @product
20.051
Scenario Deleting a Tails persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
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.123
And I log in to a new session without activating the Persistent Storage 6.927
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/common_steps.rb:519: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.538

SCENARIO FAILED: 'Deleting a Tails persistent partition' (at time 04:58:41)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/11/artifact/build-artifacts/04:58:41_Deleting_a_Tails_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/11/artifact/build-artifacts/04:58:41_Deleting_a_Tails_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/11/artifact/build-artifacts/04:58:41_Deleting_a_Tails_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21027-fix-interactive-debugging-context/11/artifact/build-artifacts/04:58:41_Deleting_a_Tails_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
2:58.879
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 enabled and logged in 13.006
When I write some dotfile expected to persist 0.090
And I shutdown Tails and wait for the computer to power off 11.415
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.584
Then the expected persistent dotfile is present in the filesystem 0.782
After features/support/hooks.rb:330 1.787
After features/support/hooks.rb:100 0.006
Tags: @product
1:55.578
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 persistent partition and stopped at Tails Greeter's login screen 11.025
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.114
When I try to enable persistence 0.770
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 35.910
When I log in to a new session after having activated the Persistent Storage 49.352
And all notifications have disappeared 7.517
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.949
And all tps features are enabled 3.283
And all tps features but the first one are active 2.653
After features/support/hooks.rb:330 2.652
After features/support/hooks.rb:100 0.000
Tags: @product
5:8.179
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.025
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:38.620
And I enable persistence 35.543
And I log in to a new session after having activated the Persistent Storage 48.510
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.416
And persistence is enabled 4.087
After features/support/hooks.rb:330 2.569
After features/support/hooks.rb:100 0.000
Tags: @product
32.526
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.029
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 9.683
And I enable persistence but something goes wrong during the LUKS header upgrade 22.047
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.794
After features/support/hooks.rb:330 1.013
After features/support/hooks.rb:100 0.000
Tags: @product
57.984
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 10.162
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.215
When I enable persistence 37.512
Then the filesystem of the Persistent Storage was repaired 0.137
And persistence is successfully enabled 2.955
After features/support/hooks.rb:330 1.568
After features/support/hooks.rb:100 0.000
Tags: @product
57.925
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 9.799
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.934
When I try to enable persistence 0.383
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.072
When I repair the filesystem of the Persistent Storage 2.050
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.972
And the filesystem of the Persistent Storage was repaired 4.018
When I close the filesystem repair dialog 1.224
Then persistence is successfully enabled 1.469
After features/support/hooks.rb:330 1.735
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:14.417
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 persistent partition and stopped at Tails Greeter's login screen 10.029
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.129
When I try to enable persistence 0.269
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.964
When I repair the filesystem of the Persistent Storage 1.283
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 1.339
When I log in to a new session 50.226
And all notifications have disappeared 11.806
# 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.559
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.037
When I close the "whisperback" window 1.545
Then the Tor Browser starts 19.434
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.791
After features/support/hooks.rb:330 3.531
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:14.124
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 persistent partition and stopped at Tails Greeter's login screen 9.079
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.313
And Tails detects disk read failures on the boot device 1.712
When I try to enable persistence 0.429
Then the Welcome Screen tells me that my hardware is probably failing 23.120
When I log in to a new session 55.909
And all notifications have disappeared 7.801
Then the Tor Browser starts 25.698
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.059
After features/support/hooks.rb:330 2.258
After features/support/hooks.rb:100 0.000