Project Number Date
test_Tails_ISO_devel 3901 08 Jul 2025, 00:51

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 46:51.575 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:9.616
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:21.706
And I update APT using apt 16.479
And I install "python3-behave" using apt 26.507
Then the Tails Persistent Storage behave tests pass 4.923
After features/support/hooks.rb:330 0.892
After features/support/hooks.rb:100 0.000
Tags: @product
55.715
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 and stopped at Tails Greeter's login screen 19.738
When I log in to a new session without activating the Persistent Storage 27.833
Then Tails is running from USB drive "__internal" 0.508
And persistence is disabled 0.374
But a Tails persistence partition exists on USB drive "__internal" 7.261
After features/support/hooks.rb:330 4.158
After features/support/hooks.rb:100 0.000
Tags: @product
4:4.463
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 16.005
Then Tails is running from USB drive "__internal" 1.945
When I create a file in the Persistent directory 0.257
And I create a persistent partition with the default settings 30.713
Then the file I created was copied to the Persistent Storage 2.788
When I shutdown Tails and wait for the computer to power off 16.475
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:55.473
Then persistence for "Persistent" is active 0.725
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 2.038
After features/support/hooks.rb:100 0.023
Tags: @product
1:23.081
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 12.682
And the system is very low on memory 4.175
When I create a file in the Persistent directory 2.326
When I try to create a persistent partition 38.684
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.096
When I close the Persistent Storage app 3.056
And I free up some memory 4.109
And I create a persistent partition with the default settings 16.643
Then the file I created was copied to the Persistent Storage 0.307
After features/support/hooks.rb:330 2.401
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.599
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 16.789
Then Tails is running from USB drive "__internal" 0.397
And all tps features are active 2.638
And all persistent directories have safe access rights 3.641
When I disable the first tps feature 7.432
Then all tps features but the first one are active 2.390
And I shutdown Tails and wait for the computer to power off 15.063
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:34.550
Then all tps features but the first one are active 3.694
After features/support/hooks.rb:330 1.897
After features/support/hooks.rb:100 0.010
Tags: @product
23.695
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 11.697
Then persistence for "Persistent" is active 0.161
And I create a file in the Persistent directory 0.114
Then the file I created was copied to the Persistent Storage 0.091
When I disable the first tps feature 7.539
Then persistence for "Persistent" is not active 0.102
And the Persistent directory does not exist 0.061
When I enable the first tps feature 3.727
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.108
After features/support/hooks.rb:330 0.984
After features/support/hooks.rb:100 0.000
Tags: @product
22.152
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 9.510
Then persistence for "Persistent" is active 0.176
When I create a file in the Persistent directory 0.972
And I disable the first tps feature 7.784
And I delete the data of the Persistent Folder feature 3.641
Then the file I created does not exist on the Persistent Storage 0.067
After features/support/hooks.rb:330 0.897
After features/support/hooks.rb:100 0.000
Tags: @product
1:17.127
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 11.276
And the network is plugged 0.092
And Tor is ready 24.110
And I take note of which tps features are available 0.735
When I write some files expected to persist 1.743
And I shutdown Tails and wait for the computer to power off 7.339
# 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" 31.829
After features/support/hooks.rb:330 0.161
After features/support/hooks.rb:100 0.000
Tags: @product
3:40.654
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.045
And the network is plugged 0.125
And Tor is ready 21.790
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.207
And I shutdown Tails and wait for the computer to power off 9.268
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:33.441
And I capture all network traffic 0.011
And the network is plugged 0.075
And Tor is ready 24.029
And I switch to the "persistent-con-current" NetworkManager connection 0.409
And the 1st network device has a spoofed MAC address configured 0.102
And no network device leaked the real MAC address 0.146
After features/support/hooks.rb:330 0.656
After features/support/hooks.rb:100 0.067
Tags: @product
1:8.938
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 16.229
And I enable persistence creation in Tails Greeter 1.211
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.436
Then I create a persistent partition with the default settings using the wizard that was already open 27.060
After features/support/hooks.rb:330 4.418
After features/support/hooks.rb:100 0.000
Tags: @product
6:0.192
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.021
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 47.155
When I enable persistence 51.082
Then no persistent Greeter options were restored 15.488
When I set all Greeter options to non-default values 36.478
And I log in to a new session in German (de) after having activated the Persistent Storage 54.295
Then all Greeter options are set to non-default values 0.801
When I cold reboot the computer 7.814
And the computer reboots Tails 1:14.223
Given I enable persistence 20.853
Then persistent Greeter options were restored 0.471
When I log in to a new session after having activated the Persistent Storage 50.411
Then all Greeter options are set to non-default values 1.118
After features/support/hooks.rb:330 1.521
After features/support/hooks.rb:100 0.020
Tags: @product
1:20.704
Scenario Changing the Persistent Storage passphrase
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.825
# 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:8.879
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:475:in `/^I change the passphrase of the Persistent Storage( back to the original)?$/'
features/persistence.feature:121:in `When I change the passphrase of the Persistent Storage'
And I shutdown Tails and wait for the computer to power off 0.000
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 0.000
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:330 10.916

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 04:00:51)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3901/artifact/build-artifacts/04:00:51_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3901/artifact/build-artifacts/04:00:51_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3901/artifact/build-artifacts/04:00:51_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:13.101
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 14.426
And I log in to a new session without activating the Persistent Storage 26.103
Then persistence is disabled 0.734
But a Tails persistence partition exists on USB drive "__internal" 11.557
And all notifications have disappeared 11.443
When I delete the persistent partition 8.085
Then there is no persistence partition on USB drive "__internal" 0.750
After features/support/hooks.rb:330 1.046
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.051
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.814
When I write some dotfile expected to persist 0.208
And I shutdown Tails and wait for the computer to power off 9.619
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:40.967
Then the expected persistent dotfile is present in the filesystem 0.440
After features/support/hooks.rb:330 1.935
After features/support/hooks.rb:100 0.011
Tags: @product
2:7.733
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.151
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.125
When I try to enable persistence 1.382
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 44.746
When I log in to a new session after having activated the Persistent Storage 44.978
And all notifications have disappeared 12.374
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 5.500
And all tps features are enabled 4.706
And all tps features but the first one are active 2.767
After features/support/hooks.rb:330 1.753
After features/support/hooks.rb:100 0.000
Tags: @product
5:39.570
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 4:0.711
And I enable persistence 38.694
And I log in to a new session after having activated the Persistent Storage 52.055
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.216
And persistence is enabled 3.892
After features/support/hooks.rb:330 1.920
After features/support/hooks.rb:100 0.000
Tags: @product
37.376
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 9.398
And I enable persistence but something goes wrong during the LUKS header upgrade 26.821
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.156
After features/support/hooks.rb:330 1.068
After features/support/hooks.rb:100 0.000
Tags: @product
58.438
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 11.652
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.969
When I enable persistence 36.227
Then the filesystem of the Persistent Storage was repaired 0.171
And persistence is successfully enabled 3.417
After features/support/hooks.rb:330 1.623
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.759
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 10.220
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.694
When I try to enable persistence 0.439
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.106
When I repair the filesystem of the Persistent Storage 2.217
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.310
And the filesystem of the Persistent Storage was repaired 3.353
When I close the filesystem repair dialog 1.305
Then persistence is successfully enabled 2.111
After features/support/hooks.rb:330 1.200
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:23.812
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 13.002
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.177
When I try to enable persistence 0.446
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.455
When I repair the filesystem of the Persistent Storage 2.060
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.400
When I log in to a new session 54.560
And all notifications have disappeared 11.671
# 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.425
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.931
When I close the "whisperback" window 1.578
Then the Tor Browser starts 22.133
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.968
After features/support/hooks.rb:330 4.114
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:33.788
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.812
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.305
And Tails detects disk read failures on the boot device 0.487
When I try to enable persistence 0.668
Then the Welcome Screen tells me that my hardware is probably failing 38.821
When I log in to a new session 53.318
And all notifications have disappeared 9.701
Then the Tor Browser starts 29.673
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.000
After features/support/hooks.rb:330 3.287
After features/support/hooks.rb:100 0.000