Project Number Date
test_Tails_ISO_devel 3906 15 Jul 2025, 16:07

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:49.669 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:46.961
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:56.283
And I update APT using apt 18.918
And I install "python3-behave" using apt 26.886
Then the Tails Persistent Storage behave tests pass 4.871
After features/support/hooks.rb:330 1.147
After features/support/hooks.rb:100 0.000
Tags: @product
17.235
Scenario Booting Tails from a USB drive with a disabled persistent partition
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 12.519
When I log in to a new session without activating the Persistent Storage 4.715
<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:14:in `When I log in to a new session without activating the Persistent Storage'
Then Tails is running from USB drive "__internal" 0.000
And persistence is disabled 0.000
But a Tails persistence partition exists on USB drive "__internal" 0.000
After features/support/hooks.rb:330 5.314

SCENARIO FAILED: 'Booting Tails from a USB drive with a disabled persistent partition' (at time 04:56:09)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3906/artifact/build-artifacts/04:56:09_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3906/artifact/build-artifacts/04:56:09_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3906/artifact/build-artifacts/04:56:09_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3906/artifact/build-artifacts/04:56:09_Booting_Tails_from_a_USB_drive_with_a_disabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:56.540
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.399
Then Tails is running from USB drive "__internal" 0.791
When I create a file in the Persistent directory 0.348
And I create a persistent partition with the default settings 31.611
Then the file I created was copied to the Persistent Storage 2.254
When I shutdown Tails and wait for the computer to power off 16.347
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:48.727
Then persistence for "Persistent" is active 0.948
And the file I created in the Persistent directory exists 0.111
After features/support/hooks.rb:330 2.128
After features/support/hooks.rb:100 0.024
Tags: @product
1:13.502
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 without a persistent partition and logged in 11.801
And the system is very low on memory 6.099
When I create a file in the Persistent directory 0.732
When I try to create a persistent partition 30.944
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.640
When I close the Persistent Storage app 4.262
And I free up some memory 3.448
And I create a persistent partition with the default settings 14.886
Then the file I created was copied to the Persistent Storage 0.687
After features/support/hooks.rb:330 3.298
After features/support/hooks.rb:100 0.000
Tags: @product
3:28.973
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.061
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.994
Then Tails is running from USB drive "__internal" 0.967
And all tps features are active 3.460
And all persistent directories have safe access rights 3.528
When I disable the first tps feature 7.191
Then all tps features but the first one are active 2.402
And I shutdown Tails and wait for the computer to power off 15.257
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:39.593
Then all tps features but the first one are active 2.577
After features/support/hooks.rb:330 1.680
After features/support/hooks.rb:100 0.013
Tags: @product
25.950
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 14.318
Then persistence for "Persistent" is active 0.179
And I create a file in the Persistent directory 0.165
Then the file I created was copied to the Persistent Storage 0.159
When I disable the first tps feature 5.817
Then persistence for "Persistent" is not active 0.092
And the Persistent directory does not exist 0.084
When I enable the first tps feature 3.825
Then persistence for "Persistent" is active 0.745
And the file I created in the Persistent directory exists 0.561
After features/support/hooks.rb:330 2.436
After features/support/hooks.rb:100 0.000
Tags: @product
23.975
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 10.622
Then persistence for "Persistent" is active 0.092
When I create a file in the Persistent directory 0.088
And I disable the first tps feature 7.203
And I delete the data of the Persistent Folder feature 5.857
Then the file I created does not exist on the Persistent Storage 0.110
After features/support/hooks.rb:330 1.555
After features/support/hooks.rb:100 0.000
Tags: @product
1:23.292
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 enabled and logged in 10.170
And the network is plugged 0.103
And Tor is ready 26.688
And I take note of which tps features are available 0.712
When I write some files expected to persist 2.039
And I shutdown Tails and wait for the computer to power off 11.479
# 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" 32.098
After features/support/hooks.rb:330 0.161
After features/support/hooks.rb:100 0.000
Tags: @product
3:56.122
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 11.342
And the network is plugged 0.164
And Tor is ready 24.374
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.246
And I shutdown Tails and wait for the computer to power off 8.727
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:46.973
And I capture all network traffic 0.014
And the network is plugged 0.096
And Tor is ready 23.131
And I switch to the "persistent-con-current" NetworkManager connection 0.571
And the 1st network device has a spoofed MAC address configured 0.310
And no network device leaked the real MAC address 0.167
After features/support/hooks.rb:330 0.757
After features/support/hooks.rb:100 0.059
Tags: @product
1:13.420
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 without a persistent partition and stopped at Tails Greeter's login screen 15.307
And I enable persistence creation in Tails Greeter 1.122
And I log in to a new session expecting no warning about the Persistent Storage not being activated 25.502
Then I create a persistent partition with the default settings using the wizard that was already open 31.487
After features/support/hooks.rb:330 4.060
After features/support/hooks.rb:100 0.000
Tags: @product
6:6.147
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 and stopped at Tails Greeter's login screen 14.874
When I enable persistence 56.980
Then no persistent Greeter options were restored 15.197
When I set all Greeter options to non-default values 40.490
And I log in to a new session in German (de) after having activated the Persistent Storage 1:3.060
Then all Greeter options are set to non-default values 0.522
When I cold reboot the computer 11.304
And the computer reboots Tails 1:30.217
Given I enable persistence 29.143
Then persistent Greeter options were restored 0.761
When I log in to a new session after having activated the Persistent Storage 43.184
Then all Greeter options are set to non-default values 0.409
After features/support/hooks.rb:330 1.055
After features/support/hooks.rb:100 0.015
Tags: @product
5:19.166
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.996
# 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.742
And I shutdown Tails and wait for the computer to power off 15.721
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:12.002
And I change the passphrase of the Persistent Storage back to the original 42.703
After features/support/hooks.rb:330 4.464
After features/support/hooks.rb:100 0.008
Tags: @product
1:19.496
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 15.070
And I log in to a new session without activating the Persistent Storage 32.629
Then persistence is disabled 0.863
But a Tails persistence partition exists on USB drive "__internal" 9.153
And all notifications have disappeared 13.176
When I delete the persistent partition 7.378
Then there is no persistence partition on USB drive "__internal" 1.225
After features/support/hooks.rb:330 1.523
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.824
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 16.251
When I write some dotfile expected to persist 0.075
And I shutdown Tails and wait for the computer to power off 13.199
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:51.033
Then the expected persistent dotfile is present in the filesystem 1.265
After features/support/hooks.rb:330 5.145
After features/support/hooks.rb:100 0.031
Tags: @product
2:30.978
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.046
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.520
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.190
When I try to enable persistence 0.649
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 49.207
When I log in to a new session after having activated the Persistent Storage 1:5.256
And all notifications have disappeared 11.242
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 7.883
And all tps features are enabled 2.585
And all tps features but the first one are active 2.442
After features/support/hooks.rb:330 1.427
After features/support/hooks.rb:100 0.000
Tags: @product
6:36.426
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:40.926
And I enable persistence 50.894
And I log in to a new session after having activated the Persistent Storage 1:0.304
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.342
And persistence is enabled 2.958
After features/support/hooks.rb:330 1.956
After features/support/hooks.rb:100 0.000
Tags: @product
55.957
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
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 30.918
And I enable persistence but something goes wrong during the LUKS header upgrade 24.194
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.844
After features/support/hooks.rb:330 0.913
After features/support/hooks.rb:100 0.000
Tags: @product
1:16.329
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.252
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.407
When I enable persistence 49.033
Then the filesystem of the Persistent Storage was repaired 0.334
And persistence is successfully enabled 6.301
After features/support/hooks.rb:330 2.718
After features/support/hooks.rb:100 0.000
Tags: @product
1:21.446
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 13.334
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.010
When I try to enable persistence 0.421
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 44.478
When I repair the filesystem of the Persistent Storage 5.539
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.790
And the filesystem of the Persistent Storage was repaired 5.994
When I close the filesystem repair dialog 1.279
Then persistence is successfully enabled 1.595
After features/support/hooks.rb:330 1.672
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:52.554
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 13.513
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.129
When I try to enable persistence 0.350
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 54.929
When I repair the filesystem of the Persistent Storage 1.619
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.366
When I log in to a new session 58.690
And all notifications have disappeared 10.537
# 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.880
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.992
When I close the "whisperback" window 1.575
Then the Tor Browser starts 26.824
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 2.143
After features/support/hooks.rb:330 3.718
After features/support/hooks.rb:100 0.000
Tags: @product @doc
3:3.366
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 25.293
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.352
And Tails detects disk read failures on the boot device 0.653
When I try to enable persistence 0.507
Then the Welcome Screen tells me that my hardware is probably failing 30.108
When I log in to a new session 1:12.267
And all notifications have disappeared 11.002
Then the Tor Browser starts 31.153
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.028
After features/support/hooks.rb:330 3.020
After features/support/hooks.rb:100 0.000