Project Number Date
test_Tails_ISO_devel 4073 14 Nov 2025, 10:26

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 32:9.974 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
1.802
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.802
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.755
<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:37:56)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/4073/artifact/build-artifacts/01:37:56_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/4073/artifact/build-artifacts/01:37:56_Tails_Persistent_Storage_behave_tests.mkv

After features/support/hooks.rb:100 0.000
Tags: @product
36.328
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.675
When I log in to a new session without activating the Persistent Storage 17.411
Then Tails is running from USB drive "__internal" 0.388
And persistence is disabled 0.112
But a Tails persistence partition exists on USB drive "__internal" 5.740
After features/support/hooks.rb:331 1.055
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.878
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.768
Then Tails is running from USB drive "__internal" 0.416
When I create a file in the Persistent directory 0.137
And I create a persistent partition with the default settings 26.394
Then the file I created was copied to the Persistent Storage 0.661
When I shutdown Tails and wait for the computer to power off 10.918
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:39.875
Then persistence for "Persistent" is active 0.608
And the file I created in the Persistent directory exists 0.096
After features/support/hooks.rb:331 0.683
After features/support/hooks.rb:100 0.019
Tags: @product
39.781
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 10.553
And the system is very low on memory 5.078
When I create a file in the Persistent directory 0.507
When I try to create a persistent partition 6.191
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.175
When I close the Persistent Storage app 2.555
And I free up some memory 0.980
And I create a persistent partition with the default settings 13.142
Then the file I created was copied to the Persistent Storage 0.596
After features/support/hooks.rb:331 1.429
After features/support/hooks.rb:100 0.000
Tags: @product
2:12.441
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.609
Then Tails is running from USB drive "__internal" 0.714
And all tps features are active 2.218
And all persistent directories have safe access rights 2.162
When I disable the first tps feature 3.093
Then all tps features but the first one are active 2.110
And I shutdown Tails and wait for the computer to power off 9.656
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:39.622
Then all tps features but the first one are active 2.252
After features/support/hooks.rb:331 1.037
After features/support/hooks.rb:100 0.017
Tags: @product
17.610
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.955
Then persistence for "Persistent" is active 0.087
And I create a file in the Persistent directory 0.109
Then the file I created was copied to the Persistent Storage 0.064
When I disable the first tps feature 3.208
Then persistence for "Persistent" is not active 0.061
And the Persistent directory does not exist 0.044
When I enable the first tps feature 2.668
Then persistence for "Persistent" is active 0.231
And the file I created in the Persistent directory exists 0.177
After features/support/hooks.rb:331 0.736
After features/support/hooks.rb:100 0.000
Tags: @product
17.477
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.810
Then persistence for "Persistent" is active 0.077
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 3.265
And I delete the data of the Persistent Folder feature 3.210
Then the file I created does not exist on the Persistent Storage 0.045
After features/support/hooks.rb:331 0.905
After features/support/hooks.rb:100 0.000
Tags: @product
54.929
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.896
And the network is plugged 0.059
And Tor is ready 12.127
And I take note of which tps features are available 0.606
When I write some files expected to persist 1.603
And I shutdown Tails and wait for the computer to power off 11.533
# 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.102
After features/support/hooks.rb:331 0.426
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.472
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.138
And the network is plugged 0.080
And Tor is ready 10.376
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.221
And I shutdown Tails and wait for the computer to power off 11.852
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:42.275
And I capture all network traffic 0.006
And the network is plugged 0.064
And Tor is ready 12.695
And I switch to the "persistent-con-current" NetworkManager connection 0.411
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.257
After features/support/hooks.rb:331 1.345
After features/support/hooks.rb:100 0.059
Tags: @product
51.460
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 stopped at Tails Greeter's login screen 13.278
And I enable persistence creation in Tails Greeter 1.126
And I log in to a new session expecting no warning about the Persistent Storage not being activated 16.512
Then I create a persistent partition with the default settings using the wizard that was already open 20.543
After features/support/hooks.rb:331 1.562
After features/support/hooks.rb:100 0.000
Tags: @product
3:45.383
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 13.195
When I enable persistence 22.139
Then no persistent Greeter options were restored 15.436
When I set all Greeter options to non-default values 40.682
And I log in to a new session in German (de) after having activated the Persistent Storage 31.774
Then all Greeter options are set to non-default values 0.198
When I cold reboot the computer 10.822
And the computer reboots Tails 1:6.015
Given I enable persistence 12.614
Then persistent Greeter options were restored 0.503
When I log in to a new session after having activated the Persistent Storage 11.828
Then all Greeter options are set to non-default values 0.172
After features/support/hooks.rb:331 0.706
After features/support/hooks.rb:100 0.012
Tags: @product
3:14.964
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 13.053
# 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 31.755
And I shutdown Tails and wait for the computer to power off 9.396
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:56.124
And I change the passphrase of the Persistent Storage back to the original 24.634
After features/support/hooks.rb:331 1.544
After features/support/hooks.rb:100 0.012
Tags: @product
51.755
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.668
And I log in to a new session without activating the Persistent Storage 19.511
Then persistence is disabled 0.124
But a Tails persistence partition exists on USB drive "__internal" 6.008
And all notifications have disappeared 12.061
When I delete the persistent partition 2.973
Then there is no persistence partition on USB drive "__internal" 0.407
After features/support/hooks.rb:331 1.376
After features/support/hooks.rb:100 0.000
Tags: @product
2:8.670
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.981
When I write some dotfile expected to persist 0.066
And I shutdown Tails and wait for the computer to power off 10.993
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:45.347
Then the expected persistent dotfile is present in the filesystem 0.281
After features/support/hooks.rb:331 1.115
After features/support/hooks.rb:100 0.010
Tags: @product
1:20.984
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.688
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.069
When I try to enable persistence 1.297
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 24.567
When I log in to a new session after having activated the Persistent Storage 12.134
And all notifications have disappeared 10.060
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.842
And all tps features are enabled 13.947
And all tps features but the first one are active 6.376
After features/support/hooks.rb:331 1.778
After features/support/hooks.rb:100 0.000
Tags: @product
6:18.144
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.042
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:35.225
And I enable persistence 27.937
And I log in to a new session after having activated the Persistent Storage 12.036
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.733
And persistence is enabled 2.212
After features/support/hooks.rb:331 1.285
After features/support/hooks.rb:100 0.000
Tags: @product
32.636
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.416
And I enable persistence but something goes wrong during the LUKS header upgrade 22.576
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.643
After features/support/hooks.rb:331 0.834
After features/support/hooks.rb:100 0.000
Tags: @product
37.076
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 with a persistent partition and stopped at Tails Greeter's login screen 12.705
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 12.738
When I enable persistence 9.219
Then the filesystem of the Persistent Storage was repaired 0.060
And persistence is successfully enabled 2.352
After features/support/hooks.rb:331 0.817
After features/support/hooks.rb:100 0.000
Tags: @product
33.121
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 and stopped at Tails Greeter's login screen 11.231
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.063
When I try to enable persistence 1.361
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.246
When I repair the filesystem of the Persistent Storage 1.346
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.281
And the filesystem of the Persistent Storage was repaired 0.058
When I close the filesystem repair dialog 1.313
Then persistence is successfully enabled 1.217
After features/support/hooks.rb:331 0.957
After features/support/hooks.rb:100 0.000
Tags: @product @doc
57.812
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.542
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.334
When I try to enable persistence 1.567
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 13.818
When I repair the filesystem of the Persistent Storage 1.327
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.061
When I log in to a new session 14.334
And all notifications have disappeared 10.474
# 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.286
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.578
When I close the "whisperback" window 1.318
Then the Tor Browser starts 2.140
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:331 1.339
After features/support/hooks.rb:100 0.000
Tags: @product @doc
54.240
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.297
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.003
And Tails detects disk read failures on the boot device 0.345
When I try to enable persistence 1.299
Then the Welcome Screen tells me that my hardware is probably failing 4.273
When I log in to a new session 12.727
And all notifications have disappeared 9.668
Then the Tor Browser starts 2.400
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.226
After features/support/hooks.rb:331 2.260
After features/support/hooks.rb:100 0.000