Project Number Date
test_Tails_ISO_stable 5952 14 Nov 2025, 11:17

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 30:21.146 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1.688
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1.688
Call to virDomainRestore failed: operation failed: guest CPU doesn't match specification: missing features: rdctl-no,skip-l1dfl-vmentry,mds-no,pschange-mc-no,gds-no,rfds-no (Guestfs::Error)
./features/support/helpers/vm_helper.rb:849:in `restore'
./features/support/helpers/vm_helper.rb:849:in `restore_snapshot'
./features/step_definitions/snapshots.rb:135:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:137:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ and\ logged\ in\ with\ an\ administration\ password\ and\ the\ network\ is\ connected$/'
features/persistence.feature:7:in `Given I have started Tails from DVD and logged in with an administration password and the network is connected'
And I update APT using apt 0.000
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
Hooks
After features/support/hooks.rb:331 4.862
<false> is not true. (Test::Unit::AssertionFailedError)
./features/support/hooks.rb:465:in `block (2 levels) in <top (required)>'
./features/support/hooks.rb:460:in `each'
./features/support/hooks.rb:460:in `After'
Output 1

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 01:35:17)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5952/artifact/build-artifacts/01:35:17_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5952/artifact/build-artifacts/01:35:17_Tails_Persistent_Storage_behave_tests.mkv

After features/support/hooks.rb:100 0.000
Tags: @product
38.128
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.163
When I log in to a new session without activating the Persistent Storage 18.141
Then Tails is running from USB drive "__internal" 0.306
And persistence is disabled 0.103
But a Tails persistence partition exists on USB drive "__internal" 6.413
After features/support/hooks.rb:331 0.941
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.163
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 14.174
Then Tails is running from USB drive "__internal" 0.401
When I create a file in the Persistent directory 0.116
And I create a persistent partition with the default settings 23.899
Then the file I created was copied to the Persistent Storage 0.548
When I shutdown Tails and wait for the computer to power off 9.471
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:35.277
Then persistence for "Persistent" is active 0.221
And the file I created in the Persistent directory exists 0.052
After features/support/hooks.rb:331 0.665
After features/support/hooks.rb:100 0.009
Tags: @product
36.571
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 10.670
And the system is very low on memory 5.002
When I create a file in the Persistent directory 0.228
When I try to create a persistent partition 5.805
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.117
When I close the Persistent Storage app 2.506
And I free up some memory 0.925
And I create a persistent partition with the default settings 10.705
Then the file I created was copied to the Persistent Storage 0.608
After features/support/hooks.rb:331 0.810
After features/support/hooks.rb:100 0.000
Tags: @product
2:11.322
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 12.438
Then Tails is running from USB drive "__internal" 0.344
And all tps features are active 2.383
And all persistent directories have safe access rights 2.175
When I disable the first tps feature 2.735
Then all tps features but the first one are active 2.072
And I shutdown Tails and wait for the computer to power off 10.883
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:36.317
Then all tps features but the first one are active 1.970
After features/support/hooks.rb:331 1.007
After features/support/hooks.rb:100 0.009
Tags: @product
16.412
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 enabled and logged in 10.795
Then persistence for "Persistent" is active 0.079
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.070
When I disable the first tps feature 2.631
Then persistence for "Persistent" is not active 0.065
And the Persistent directory does not exist 0.052
When I enable the first tps feature 2.514
Then persistence for "Persistent" is active 0.062
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:331 0.880
After features/support/hooks.rb:100 0.000
Tags: @product
16.136
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 9.719
Then persistence for "Persistent" is active 0.100
When I create a file in the Persistent directory 0.070
And I disable the first tps feature 3.085
And I delete the data of the Persistent Folder feature 3.109
Then the file I created does not exist on the Persistent Storage 0.051
After features/support/hooks.rb:331 0.739
After features/support/hooks.rb:100 0.000
Tags: @product
50.202
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 9.562
And the network is plugged 0.075
And Tor is ready 10.803
And I take note of which tps features are available 0.542
When I write some files expected to persist 1.227
And I shutdown Tails and wait for the computer to power off 10.635
# 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" 17.354
After features/support/hooks.rb:331 0.124
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.542
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 enabled and logged in 9.702
And the network is plugged 0.056
And Tor is ready 10.869
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.141
And I shutdown Tails and wait for the computer to power off 10.617
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:35.904
And I capture all network traffic 0.005
And the network is plugged 0.086
And Tor is ready 41.425
And I switch to the "persistent-con-current" NetworkManager connection 0.427
And the 1st network device has a spoofed MAC address configured 0.078
And no network device leaked the real MAC address 0.226
After features/support/hooks.rb:331 0.862
After features/support/hooks.rb:100 0.043
Tags: @product
50.456
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 12.444
And I enable persistence creation in Tails Greeter 1.099
And I log in to a new session expecting no warning about the Persistent Storage not being activated 17.007
Then I create a persistent partition with the default settings using the wizard that was already open 19.905
After features/support/hooks.rb:331 1.636
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.212
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 11.145
When I enable persistence 20.079
Then no persistent Greeter options were restored 15.183
When I set all Greeter options to non-default values 39.763
And I log in to a new session in German (de) after having activated the Persistent Storage 28.439
Then all Greeter options are set to non-default values 0.156
When I cold reboot the computer 10.193
And the computer reboots Tails 1:2.692
Given I enable persistence 12.306
Then persistent Greeter options were restored 0.577
When I log in to a new session after having activated the Persistent Storage 10.508
Then all Greeter options are set to non-default values 0.165
After features/support/hooks.rb:331 0.820
After features/support/hooks.rb:100 0.009
Tags: @product
2:46.751
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 10.817
# 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 27.653
And I shutdown Tails and wait for the computer to power off 9.361
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:39.219
And I change the passphrase of the Persistent Storage back to the original 19.699
After features/support/hooks.rb:331 1.063
After features/support/hooks.rb:100 0.011
Tags: @product
49.646
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 11.704
And I log in to a new session without activating the Persistent Storage 17.294
Then persistence is disabled 0.126
But a Tails persistence partition exists on USB drive "__internal" 5.965
And all notifications have disappeared 11.044
When I delete the persistent partition 3.026
Then there is no persistence partition on USB drive "__internal" 0.484
After features/support/hooks.rb:331 0.937
After features/support/hooks.rb:100 0.000
Tags: @product
2:0.415
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 enabled and logged in 10.728
When I write some dotfile expected to persist 0.095
And I shutdown Tails and wait for the computer to power off 9.598
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:39.747
Then the expected persistent dotfile is present in the filesystem 0.245
After features/support/hooks.rb:331 1.044
After features/support/hooks.rb:100 0.008
Tags: @product
55.922
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.779
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.061
When I try to enable persistence 1.334
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 16.468
When I log in to a new session after having activated the Persistent Storage 12.017
And all notifications have disappeared 9.687
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.394
And all tps features are enabled 2.203
And all tps features but the first one are active 1.975
After features/support/hooks.rb:331 0.944
After features/support/hooks.rb:100 0.000
Tags: @product
6:0.374
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 5:21.663
And I enable persistence 25.377
And I log in to a new session after having activated the Persistent Storage 10.575
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.669
And persistence is enabled 2.088
After features/support/hooks.rb:331 1.991
After features/support/hooks.rb:100 0.000
Tags: @product
30.266
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.297
And I enable persistence but something goes wrong during the LUKS header upgrade 20.241
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.727
After features/support/hooks.rb:331 1.055
After features/support/hooks.rb:100 0.000
Tags: @product
35.940
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.194
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.988
When I enable persistence 12.306
Then the filesystem of the Persistent Storage was repaired 0.054
And persistence is successfully enabled 2.398
After features/support/hooks.rb:331 0.918
After features/support/hooks.rb:100 0.000
Tags: @product
31.269
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 9.883
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.720
When I try to enable persistence 1.330
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.303
When I repair the filesystem of the Persistent Storage 1.257
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.263
And the filesystem of the Persistent Storage was repaired 0.055
When I close the filesystem repair dialog 1.290
Then persistence is successfully enabled 1.164
After features/support/hooks.rb:331 1.065
After features/support/hooks.rb:100 0.000
Tags: @product @doc
52.826
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.861
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.074
When I try to enable persistence 1.342
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 12.389
When I repair the filesystem of the Persistent Storage 1.306
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.044
When I log in to a new session 12.087
And all notifications have disappeared 10.481
# 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.255
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.513
When I close the "whisperback" window 1.252
Then the Tor Browser starts 1.963
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.254
After features/support/hooks.rb:331 1.023
After features/support/hooks.rb:100 0.000
Tags: @product @doc
51.895
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 10.083
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.421
And Tails detects disk read failures on the boot device 0.321
When I try to enable persistence 1.268
Then the Welcome Screen tells me that my hardware is probably failing 3.313
When I log in to a new session 11.993
And all notifications have disappeared 10.003
Then the Tor Browser starts 2.260
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.228
After features/support/hooks.rb:331 0.987
After features/support/hooks.rb:100 0.000