Project Number Date
test_Tails_ISO_stable 5951 14 Nov 2025, 07:10

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 34:12.313 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1.741
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.017
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1.741
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.806
<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:41:59)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5951/artifact/build-artifacts/01:41:59_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5951/artifact/build-artifacts/01:41:59_Tails_Persistent_Storage_behave_tests.mkv

After features/support/hooks.rb:100 0.000
Tags: @product
39.792
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 12.293
When I log in to a new session without activating the Persistent Storage 18.811
Then Tails is running from USB drive "__internal" 0.379
And persistence is disabled 0.355
But a Tails persistence partition exists on USB drive "__internal" 7.952
After features/support/hooks.rb:331 1.193
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.192
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 13.389
Then Tails is running from USB drive "__internal" 0.453
When I create a file in the Persistent directory 0.115
And I create a persistent partition with the default settings 27.927
Then the file I created was copied to the Persistent Storage 0.608
When I shutdown Tails and wait for the computer to power off 8.057
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:43.958
Then persistence for "Persistent" is active 0.620
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:331 0.896
After features/support/hooks.rb:100 0.023
Tags: @product
41.479
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 11.564
And the system is very low on memory 5.775
When I create a file in the Persistent directory 0.346
When I try to create a persistent partition 6.653
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.158
When I close the Persistent Storage app 2.534
And I free up some memory 0.934
And I create a persistent partition with the default settings 12.842
Then the file I created was copied to the Persistent Storage 0.670
After features/support/hooks.rb:331 1.075
After features/support/hooks.rb:100 0.000
Tags: @product
2:21.926
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 12.872
Then Tails is running from USB drive "__internal" 0.458
And all tps features are active 2.306
And all persistent directories have safe access rights 2.753
When I disable the first tps feature 3.174
Then all tps features but the first one are active 2.085
And I shutdown Tails and wait for the computer to power off 10.104
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:46.185
Then all tps features but the first one are active 1.984
After features/support/hooks.rb:331 0.969
After features/support/hooks.rb:100 0.009
Tags: @product
17.013
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.754
Then persistence for "Persistent" is active 0.128
And I create a file in the Persistent directory 0.065
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 3.163
Then persistence for "Persistent" is not active 0.066
And the Persistent directory does not exist 0.040
When I enable the first tps feature 2.593
Then persistence for "Persistent" is active 0.071
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:331 0.908
After features/support/hooks.rb:100 0.000
Tags: @product
16.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 enabled and logged in 10.035
Then persistence for "Persistent" is active 0.088
When I create a file in the Persistent directory 0.073
And I disable the first tps feature 3.179
And I delete the data of the Persistent Folder feature 3.223
Then the file I created does not exist on the Persistent Storage 0.046
After features/support/hooks.rb:331 0.701
After features/support/hooks.rb:100 0.000
Tags: @product
51.920
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.339
And the network is plugged 0.057
And Tor is ready 11.151
And I take note of which tps features are available 0.602
When I write some files expected to persist 1.549
And I shutdown Tails and wait for the computer to power off 9.989
# 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" 18.229
After features/support/hooks.rb:331 0.420
After features/support/hooks.rb:100 0.000
Tags: @product
2:34.674
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.664
And the network is plugged 0.060
And Tor is ready 10.684
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.153
And I shutdown Tails and wait for the computer to power off 8.518
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:51.067
And I capture all network traffic 0.044
And the network is plugged 0.074
And Tor is ready 12.708
And I switch to the "persistent-con-current" NetworkManager connection 0.433
And the 1st network device has a spoofed MAC address configured 0.076
And no network device leaked the real MAC address 0.187
After features/support/hooks.rb:331 1.138
After features/support/hooks.rb:100 0.040
Tags: @product
54.411
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 stopped at Tails Greeter's login screen 14.699
And I enable persistence creation in Tails Greeter 1.145
And I log in to a new session expecting no warning about the Persistent Storage not being activated 17.581
Then I create a persistent partition with the default settings using the wizard that was already open 20.985
After features/support/hooks.rb:331 1.373
After features/support/hooks.rb:100 0.000
Tags: @product
3:44.927
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 13.842
When I enable persistence 23.117
Then no persistent Greeter options were restored 15.260
When I set all Greeter options to non-default values 40.783
And I log in to a new session in German (de) after having activated the Persistent Storage 30.327
Then all Greeter options are set to non-default values 0.199
When I cold reboot the computer 7.810
And the computer reboots Tails 1:5.927
Given I enable persistence 13.194
Then persistent Greeter options were restored 0.615
When I log in to a new session after having activated the Persistent Storage 13.696
Then all Greeter options are set to non-default values 0.153
After features/support/hooks.rb:331 1.151
After features/support/hooks.rb:100 0.014
Tags: @product
3:8.321
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.660
# 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 32.733
And I shutdown Tails and wait for the computer to power off 6.497
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:54.911
And I change the passphrase of the Persistent Storage back to the original 21.518
After features/support/hooks.rb:331 1.195
After features/support/hooks.rb:100 0.019
Tags: @product
53.335
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 11.273
And I log in to a new session without activating the Persistent Storage 18.984
Then persistence is disabled 0.132
But a Tails persistence partition exists on USB drive "__internal" 7.668
And all notifications have disappeared 11.533
When I delete the persistent partition 3.346
Then there is no persistence partition on USB drive "__internal" 0.396
After features/support/hooks.rb:331 2.022
After features/support/hooks.rb:100 0.000
Tags: @product
2:3.143
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 11.026
When I write some dotfile expected to persist 0.063
And I shutdown Tails and wait for the computer to power off 11.542
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:40.187
Then the expected persistent dotfile is present in the filesystem 0.323
After features/support/hooks.rb:331 0.767
After features/support/hooks.rb:100 0.009
Tags: @product
58.075
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.616
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.064
When I try to enable persistence 1.350
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 17.670
When I log in to a new session after having activated the Persistent Storage 12.751
And all notifications have disappeared 9.621
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.367
And all tps features are enabled 2.627
And all tps features but the first one are active 2.006
After features/support/hooks.rb:331 0.914
After features/support/hooks.rb:100 0.000
Tags: @product
8:8.037
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 7:6.254
And I enable persistence 28.077
And I log in to a new session after having activated the Persistent Storage 14.935
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.582
And persistence is enabled 18.187
After features/support/hooks.rb:331 3.746
After features/support/hooks.rb:100 0.000
Tags: @product
33.086
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 10.238
And I enable persistence but something goes wrong during the LUKS header upgrade 22.028
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.819
After features/support/hooks.rb:331 1.049
After features/support/hooks.rb:100 0.000
Tags: @product
59.104
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.734
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 30.829
When I enable persistence 12.780
Then the filesystem of the Persistent Storage was repaired 0.052
And persistence is successfully enabled 2.708
After features/support/hooks.rb:331 1.130
After features/support/hooks.rb:100 0.000
Tags: @product
37.099
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 11.743
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.039
When I try to enable persistence 1.415
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.303
When I repair the filesystem of the Persistent Storage 1.323
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.213
And the filesystem of the Persistent Storage was repaired 0.564
When I close the filesystem repair dialog 1.271
Then persistence is successfully enabled 1.222
After features/support/hooks.rb:331 1.380
After features/support/hooks.rb:100 0.000
Tags: @product @doc
56.281
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.269
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.074
When I try to enable persistence 1.417
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 13.918
When I repair the filesystem of the Persistent Storage 1.287
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.051
When I log in to a new session 13.198
And all notifications have disappeared 10.086
# 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.280
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.572
When I close the "whisperback" window 1.538
Then the Tor Browser starts 2.295
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.291
After features/support/hooks.rb:331 0.920
After features/support/hooks.rb:100 0.000
Tags: @product @doc
56.100
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.306
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.442
And Tails detects disk read failures on the boot device 0.331
When I try to enable persistence 1.320
Then the Welcome Screen tells me that my hardware is probably failing 4.551
When I log in to a new session 13.452
And all notifications have disappeared 9.414
Then the Tor Browser starts 2.828
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.452
After features/support/hooks.rb:331 1.163
After features/support/hooks.rb:100 0.000