Project Number Date
test_Tails_ISO_devel 3871 17 Jun 2025, 15:14

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 149 2 6 0 0 157 19 2 21 1:15:48.773 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
4:10.765
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Given I have started Tails from DVD and logged in with an administration password and the network is connected 3:2.673
And I update APT using apt 28.311
And I install "python3-behave" using apt 35.064
Then the Tails Persistent Storage behave tests pass 4.716
After features/support/hooks.rb:330 2.623
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.867
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.235
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 34.896
When I log in to a new session without activating the Persistent Storage 38.642
Then Tails is running from USB drive "__internal" 1.064
And persistence is disabled 0.691
But a Tails persistence partition exists on USB drive "__internal" 20.571
After features/support/hooks.rb:330 7.472
After features/support/hooks.rb:100 0.000
Tags: @product
6:48.609
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 without a persistent partition and logged in 1:30.099
Then Tails is running from USB drive "__internal" 0.577
When I create a file in the Persistent directory 0.162
And I create a persistent partition with the default settings 47.963
Then the file I created was copied to the Persistent Storage 4.414
When I shutdown Tails and wait for the computer to power off 18.242
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:6.395
Then persistence for "Persistent" is active 0.674
And the file I created in the Persistent directory exists 0.079
After features/support/hooks.rb:330 2.924
After features/support/hooks.rb:100 0.026
Tags: @product
2:0.594
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 53.175
And the system is very low on memory 4.116
When I create a file in the Persistent directory 1.841
When I try to create a persistent partition 32.506
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.667
When I close the Persistent Storage app 2.767
And I free up some memory 2.741
And I create a persistent partition with the default settings 22.152
Then the file I created was copied to the Persistent Storage 0.626
After features/support/hooks.rb:330 2.043
After features/support/hooks.rb:100 0.000
Tags: @product
5:10.866
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 37.820
Then Tails is running from USB drive "__internal" 1.140
And all tps features are active 6.740
And all persistent directories have safe access rights 5.770
When I disable the first tps feature 6.771
Then all tps features but the first one are active 6.232
And I shutdown Tails and wait for the computer to power off 22.076
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:34.980
Then all tps features but the first one are active 9.335
After features/support/hooks.rb:330 2.416
After features/support/hooks.rb:100 0.033
Tags: @product
42.440
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 23.320
Then persistence for "Persistent" is active 0.276
And I create a file in the Persistent directory 0.091
Then the file I created was copied to the Persistent Storage 0.159
When I disable the first tps feature 14.884
Then persistence for "Persistent" is not active 0.093
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.170
Then persistence for "Persistent" is active 0.208
And the file I created in the Persistent directory exists 0.165
After features/support/hooks.rb:330 2.199
After features/support/hooks.rb:100 0.000
Tags: @product
37.766
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 20.087
Then persistence for "Persistent" is active 0.117
When I create a file in the Persistent directory 0.090
And I disable the first tps feature 13.392
And I delete the data of the Persistent Folder feature 4.005
Then the file I created does not exist on the Persistent Storage 0.073
After features/support/hooks.rb:330 2.085
After features/support/hooks.rb:100 0.000
Tags: @product
1:55.020
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.059
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 19.925
And the network is plugged 0.145
And Tor is ready 35.593
And I take note of which tps features are available 0.793
When I write some files expected to persist 1.825
And I shutdown Tails and wait for the computer to power off 12.685
# 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" 44.049
After features/support/hooks.rb:330 0.151
After features/support/hooks.rb:100 0.000
Tags: @product
5:20.947
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 29.235
And the network is plugged 3.841
And Tor is ready 26.053
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.197
And I shutdown Tails and wait for the computer to power off 15.621
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:30.475
And I capture all network traffic 0.009
And the network is plugged 0.537
And Tor is ready 34.214
And I switch to the "persistent-con-current" NetworkManager connection 0.447
And the 1st network device has a spoofed MAC address configured 0.141
And no network device leaked the real MAC address 0.172
After features/support/hooks.rb:330 0.985
After features/support/hooks.rb:100 0.078
Tags: @product
2:2.970
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 without a persistent partition and stopped at Tails Greeter's login screen 44.823
And I enable persistence creation in Tails Greeter 2.959
And I log in to a new session expecting no warning about the Persistent Storage not being activated 34.437
Then I create a persistent partition with the default settings using the wizard that was already open 40.750
After features/support/hooks.rb:330 6.960
After features/support/hooks.rb:100 0.000
Tags: @product
7:55.118
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.214
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 31.783
When I enable persistence 1:20.326
Then no persistent Greeter options were restored 18.842
When I set all Greeter options to non-default values 53.969
And I log in to a new session in German (de) after having activated the Persistent Storage 1:18.497
Then all Greeter options are set to non-default values 1.558
When I cold reboot the computer 8.681
And the computer reboots Tails 1:47.301
Given I enable persistence 32.091
Then persistent Greeter options were restored 0.780
When I log in to a new session after having activated the Persistent Storage 1:0.312
Then all Greeter options are set to non-default values 0.972
After features/support/hooks.rb:330 7.398
After features/support/hooks.rb:100 0.040
Tags: @product
7:3.448
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.071
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 19.330
# 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 58.543
And I shutdown Tails and wait for the computer to power off 21.902
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 4:44.353
And I change the passphrase of the Persistent Storage back to the original 39.318
After features/support/hooks.rb:330 3.800
After features/support/hooks.rb:100 0.014
Tags: @product
1:57.291
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 and stopped at Tails Greeter's login screen 22.109
And I log in to a new session without activating the Persistent Storage 39.213
Then persistence is disabled 0.569
But a Tails persistence partition exists on USB drive "__internal" 19.362
And all notifications have disappeared 17.959
When I delete the persistent partition 17.808
Then there is no persistence partition on USB drive "__internal" 0.269
After features/support/hooks.rb:330 1.202
After features/support/hooks.rb:100 0.000
Tags: @product
4:17.085
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 23.175
When I write some dotfile expected to persist 0.091
And I shutdown Tails and wait for the computer to power off 14.241
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:38.525
Then the expected persistent dotfile is present in the filesystem 1.051
After features/support/hooks.rb:330 0.700
After features/support/hooks.rb:100 0.013
Tags: @product
1:17.010
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 16.570
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.105
When I try to enable persistence 0.321
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.013
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:1724:in `/^the Welcome Screen tells me that the Persistent Folder feature couldn't be activated$/'
features/persistence.feature:146:in `Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated'
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 8.488

SCENARIO FAILED: 'Feature activation fails' (at time 05:21:55)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3871/artifact/build-artifacts/05:21:55_Feature_activation_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3871/artifact/build-artifacts/05:21:55_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3871/artifact/build-artifacts/05:21:55_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3871/artifact/build-artifacts/05:21:55_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
9:34.505
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 7:23.967
And I enable persistence 56.294
And I log in to a new session after having activated the Persistent Storage 59.498
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.774
And persistence is enabled 9.970
After features/support/hooks.rb:330 1.956
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.342
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 21.588
And I enable persistence but something goes wrong during the LUKS header upgrade 42.848
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.906
After features/support/hooks.rb:330 2.180
After features/support/hooks.rb:100 0.000
Tags: @product
1:31.153
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.146
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 16.308
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 16.340
When I enable persistence 55.283
Then the filesystem of the Persistent Storage was repaired 0.129
And persistence is successfully enabled 3.091
After features/support/hooks.rb:330 2.285
After features/support/hooks.rb:100 0.000
Tags: @product
1:39.316
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.241
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.861
When I try to enable persistence 0.450
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 58.089
When I repair the filesystem of the Persistent Storage 1.330
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.895
And the filesystem of the Persistent Storage was repaired 7.623
When I close the filesystem repair dialog 1.292
Then persistence is successfully enabled 1.531
After features/support/hooks.rb:330 2.640
After features/support/hooks.rb:100 0.000
Tags: @product @doc
6:9.268
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 18.265
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.137
When I try to enable persistence 0.432
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 54.089
When I repair the filesystem of the Persistent Storage 5.178
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.191
When I log in to a new session 57.874
And all notifications have disappeared 17.594
# 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.504
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.477
When I close the "whisperback" window 1.468
Then the Tor Browser starts 3:33.053
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/browser.rb:463:in `/^the Tor Browser (?:has started|starts)$/'
features/persistence.feature:201:in `Then the Tor Browser starts'
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 9.184

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 05:42:12)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3871/artifact/build-artifacts/05:42:12_Manual_filesystem_repair_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3871/artifact/build-artifacts/05:42:12_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3871/artifact/build-artifacts/05:42:12_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3871/artifact/build-artifacts/05:42:12_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:53.382
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 12.339
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.756
And Tails detects disk read failures on the boot device 1.875
When I try to enable persistence 0.544
Then the Welcome Screen tells me that my hardware is probably failing 36.165
When I log in to a new session 1:3.172
And all notifications have disappeared 15.991
Then the Tor Browser starts 34.853
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.683
After features/support/hooks.rb:330 3.512
After features/support/hooks.rb:100 0.000