Project Number Date
test_Tails_ISO_stable 5720 18 Jun 2025, 08:42

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 147 1 9 0 0 157 20 1 21 1:5:12.770 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:36.575
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails from DVD and logged in with an administration password and the network is connected 4:20.089
And I update APT using apt 25.062
And I install "python3-behave" using apt 42.610
Then the Tails Persistent Storage behave tests pass 8.813
After features/support/hooks.rb:330 2.319
After features/support/hooks.rb:100 0.000
Tags: @product
2:20.160
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 1:8.679
When I log in to a new session without activating the Persistent Storage 48.524
Then Tails is running from USB drive "__internal" 3.168
And persistence is disabled 0.240
But a Tails persistence partition exists on USB drive "__internal" 19.547
After features/support/hooks.rb:330 0.895
After features/support/hooks.rb:100 0.000
Tags: @product
6:19.243
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 logged in 24.875
Then Tails is running from USB drive "__internal" 0.457
When I create a file in the Persistent directory 0.123
And I create a persistent partition with the default settings 54.850
Then the file I created was copied to the Persistent Storage 2.465
When I shutdown Tails and wait for the computer to power off 22.576
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 4:33.152
Then persistence for "Persistent" is active 0.635
And the file I created in the Persistent directory exists 0.107
After features/support/hooks.rb:330 0.963
After features/support/hooks.rb:100 0.010
Tags: @product
1:57.725
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 without a persistent partition and logged in 21.225
And the system is very low on memory 13.683
When I create a file in the Persistent directory 4.991
When I try to create a persistent partition 37.833
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.424
When I close the Persistent Storage app 2.884
And I free up some memory 3.721
And I create a persistent partition with the default settings 31.942
Then the file I created was copied to the Persistent Storage 1.018
After features/support/hooks.rb:330 1.920
After features/support/hooks.rb:100 0.000
Tags: @product
5:24.045
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 25.223
Then Tails is running from USB drive "__internal" 3.651
And all tps features are active 7.717
And all persistent directories have safe access rights 3.828
When I disable the first tps feature 13.891
Then all tps features but the first one are active 4.535
And I shutdown Tails and wait for the computer to power off 22.604
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:59.217
Then all tps features but the first one are active 3.375
After features/support/hooks.rb:330 4.301
After features/support/hooks.rb:100 0.095
Tags: @product
1:22.155
Scenario Activating and deactivating Persistent Storage features
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.055
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:22.155
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\ enabled\ and\ logged\ in$/'
features/persistence.feature:53:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
Then persistence for "Persistent" is active 0.000
And I create a file in the Persistent directory 0.000
Then the file I created was copied to the Persistent Storage 0.000
When I disable the first tps feature 0.000
Then persistence for "Persistent" is not active 0.000
And the Persistent directory does not exist 0.000
When I enable the first tps feature 0.000
Then persistence for "Persistent" is active 0.000
And the file I created in the Persistent directory exists 0.000
After features/support/hooks.rb:330 6.536

SCENARIO FAILED: 'Activating and deactivating Persistent Storage features' (at time 05:22:13)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5720/artifact/build-artifacts/05:22:13_Activating_and_deactivating_Persistent_Storage_features.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5720/artifact/build-artifacts/05:22:13_Activating_and_deactivating_Persistent_Storage_features.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5720/artifact/build-artifacts/05:22:13_Activating_and_deactivating_Persistent_Storage_features.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5720/artifact/build-artifacts/05:22:13_Activating_and_deactivating_Persistent_Storage_features.journal

After features/support/hooks.rb:100 0.000
Tags: @product
26.903
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 13.102
Then persistence for "Persistent" is active 0.900
When I create a file in the Persistent directory 0.400
And I disable the first tps feature 7.624
And I delete the data of the Persistent Folder feature 4.782
Then the file I created does not exist on the Persistent Storage 0.092
After features/support/hooks.rb:330 4.462
After features/support/hooks.rb:100 0.000
Tags: @product
1:35.971
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.127
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.864
And the network is plugged 0.084
And Tor is ready 29.204
And I take note of which tps features are available 0.869
When I write some files expected to persist 2.365
And I shutdown Tails and wait for the computer to power off 14.933
# 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" 34.649
After features/support/hooks.rb:330 0.094
After features/support/hooks.rb:100 0.000
Tags: @product
4:25.982
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 17.657
And the network is plugged 0.094
And Tor is ready 30.074
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.544
And I shutdown Tails and wait for the computer to power off 12.361
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:55.359
And I capture all network traffic 0.032
And the network is plugged 0.091
And Tor is ready 24.521
And I switch to the "persistent-con-current" NetworkManager connection 1.198
And the 1st network device has a spoofed MAC address configured 1.812
And no network device leaked the real MAC address 2.234
After features/support/hooks.rb:330 1.275
After features/support/hooks.rb:100 0.063
Tags: @product
1:24.394
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 without a persistent partition and stopped at Tails Greeter's login screen 12.973
And I enable persistence creation in Tails Greeter 3.039
And I log in to a new session expecting no warning about the Persistent Storage not being activated 32.352
Then I create a persistent partition with the default settings using the wizard that was already open 36.029
After features/support/hooks.rb:330 3.662
After features/support/hooks.rb:100 0.000
Tags: @product
6:3.558
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.772
When I enable persistence 1:7.411
Then no persistent Greeter options were restored 16.547
When I set all Greeter options to non-default values 40.307
And I log in to a new session in German (de) after having activated the Persistent Storage 50.086
Then all Greeter options are set to non-default values 2.994
When I cold reboot the computer 10.641
And the computer reboots Tails 1:19.315
Given I enable persistence 30.237
Then persistent Greeter options were restored 1.091
When I log in to a new session after having activated the Persistent Storage 48.364
Then all Greeter options are set to non-default values 0.786
After features/support/hooks.rb:330 0.984
After features/support/hooks.rb:100 0.010
Tags: @product
5:43.080
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 16.528
# 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 59.060
And I shutdown Tails and wait for the computer to power off 16.007
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:9.982
And I change the passphrase of the Persistent Storage back to the original 1:1.500
After features/support/hooks.rb:330 5.396
After features/support/hooks.rb:100 0.030
Tags: @product
1:23.180
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.034
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.864
And I log in to a new session without activating the Persistent Storage 33.682
Then persistence is disabled 0.351
But a Tails persistence partition exists on USB drive "__internal" 14.400
And all notifications have disappeared 11.384
When I delete the persistent partition 12.364
Then there is no persistence partition on USB drive "__internal" 1.131
After features/support/hooks.rb:330 0.787
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.339
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.733
When I write some dotfile expected to persist 0.275
And I shutdown Tails and wait for the computer to power off 14.130
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:52.576
Then the expected persistent dotfile is present in the filesystem 0.623
After features/support/hooks.rb:330 1.678
After features/support/hooks.rb:100 0.010
Tags: @product
2:33.459
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.292
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.141
When I try to enable persistence 0.507
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 49.217
When I log in to a new session after having activated the Persistent Storage 1:2.749
And all notifications have disappeared 13.133
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.394
And all tps features are enabled 5.333
And all tps features but the first one are active 3.691
After features/support/hooks.rb:330 2.062
After features/support/hooks.rb:100 0.000
Tags: @product
6:3.408
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.027
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:20.997
And I enable persistence 47.459
And I log in to a new session after having activated the Persistent Storage 47.559
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 4.371
And persistence is enabled 3.021
After features/support/hooks.rb:330 0.931
After features/support/hooks.rb:100 0.000
Tags: @product
45.906
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 15.944
And I enable persistence but something goes wrong during the LUKS header upgrade 28.887
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.074
After features/support/hooks.rb:330 1.097
After features/support/hooks.rb:100 0.000
Tags: @product
1:31.661
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.033
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 17.419
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 16.188
When I enable persistence 54.438
Then the filesystem of the Persistent Storage was repaired 0.095
And persistence is successfully enabled 3.520
After features/support/hooks.rb:330 1.438
After features/support/hooks.rb:100 0.000
Tags: @product
1:22.356
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 12.947
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.020
When I try to enable persistence 0.409
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 49.151
When I repair the filesystem of the Persistent Storage 2.511
Then the Welcome Screen tells me that the filesystem was repaired successfully 2.718
And the filesystem of the Persistent Storage was repaired 3.828
When I close the filesystem repair dialog 1.272
Then persistence is successfully enabled 1.496
After features/support/hooks.rb:330 1.387
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:42.180
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 16.232
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.130
When I try to enable persistence 0.276
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 43.255
When I repair the filesystem of the Persistent Storage 1.461
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 57.001
And all notifications have disappeared 16.887
# 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.405
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.897
When I close the "whisperback" window 1.595
Then the Tor Browser starts 23.035
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.920
After features/support/hooks.rb:330 4.558
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:51.481
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.037
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.209
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.756
And Tails detects disk read failures on the boot device 2.790
When I try to enable persistence 0.672
Then the Welcome Screen tells me that my hardware is probably failing 31.878
When I log in to a new session 1:10.194
And all notifications have disappeared 7.560
Then the Tor Browser starts 34.455
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.963
After features/support/hooks.rb:330 3.186
After features/support/hooks.rb:100 0.000