Project Number Date
test_Tails_ISO_devel 4072 14 Nov 2025, 09:06

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/4072/artifact/build-artifacts/01:36:42_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/4072/artifact/build-artifacts/01:36:42_Tails_Persistent_Storage_behave_tests.mkv

After features/support/hooks.rb:100 0.000
Tags: @product
39.939
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.992
When I log in to a new session without activating the Persistent Storage 20.545
Then Tails is running from USB drive "__internal" 0.332
And persistence is disabled 0.125
But a Tails persistence partition exists on USB drive "__internal" 5.942
After features/support/hooks.rb:331 1.099
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.429
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 14.577
Then Tails is running from USB drive "__internal" 0.432
When I create a file in the Persistent directory 0.120
And I create a persistent partition with the default settings 24.682
Then the file I created was copied to the Persistent Storage 0.571
When I shutdown Tails and wait for the computer to power off 11.581
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:44.717
Then persistence for "Persistent" is active 0.664
And the file I created in the Persistent directory exists 0.081
After features/support/hooks.rb:331 0.977
After features/support/hooks.rb:100 0.012
Tags: @product
51.988
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 12.123
And the system is very low on memory 5.345
When I create a file in the Persistent directory 0.303
When I try to create a persistent partition 5.488
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.215
When I close the Persistent Storage app 2.762
And I free up some memory 1.158
And I create a persistent partition with the default settings 23.866
Then the file I created was copied to the Persistent Storage 0.723
After features/support/hooks.rb:331 1.356
After features/support/hooks.rb:100 0.000
Tags: @product
2:16.084
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 14.021
Then Tails is running from USB drive "__internal" 0.411
And all tps features are active 2.641
And all persistent directories have safe access rights 2.451
When I disable the first tps feature 2.901
Then all tps features but the first one are active 2.374
And I shutdown Tails and wait for the computer to power off 7.973
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:40.868
Then all tps features but the first one are active 2.439
After features/support/hooks.rb:331 0.925
After features/support/hooks.rb:100 0.030
Tags: @product
18.417
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.629
Then persistence for "Persistent" is active 0.115
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.167
When I disable the first tps feature 3.203
Then persistence for "Persistent" is not active 0.062
And the Persistent directory does not exist 0.045
When I enable the first tps feature 2.695
Then persistence for "Persistent" is active 0.121
And the file I created in the Persistent directory exists 0.294
After features/support/hooks.rb:331 0.993
After features/support/hooks.rb:100 0.000
Tags: @product
17.133
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.771
Then persistence for "Persistent" is active 0.093
When I create a file in the Persistent directory 0.081
And I disable the first tps feature 2.875
And I delete the data of the Persistent Folder feature 3.254
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:331 0.822
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.668
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 11.720
And the network is plugged 0.084
And Tor is ready 15.304
And I take note of which tps features are available 2.461
When I write some files expected to persist 1.535
And I shutdown Tails and wait for the computer to power off 11.711
# 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.848
After features/support/hooks.rb:331 0.292
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.922
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 11.274
And the network is plugged 0.244
And Tor is ready 10.824
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.215
And I shutdown Tails and wait for the computer to power off 11.336
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:43.278
And I capture all network traffic 0.006
And the network is plugged 0.055
And Tor is ready 12.925
And I switch to the "persistent-con-current" NetworkManager connection 0.417
And the 1st network device has a spoofed MAC address configured 0.104
And no network device leaked the real MAC address 0.239
After features/support/hooks.rb:331 1.076
After features/support/hooks.rb:100 0.045
Tags: @product
1:13.855
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 19.336
And I enable persistence creation in Tails Greeter 1.105
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.071
Then I create a persistent partition with the default settings using the wizard that was already open 34.341
After features/support/hooks.rb:331 2.101
After features/support/hooks.rb:100 0.000
Tags: @product
3:51.670
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.263
When I enable persistence 23.353
Then no persistent Greeter options were restored 16.006
When I set all Greeter options to non-default values 40.881
And I log in to a new session in German (de) after having activated the Persistent Storage 30.008
Then all Greeter options are set to non-default values 0.160
When I cold reboot the computer 12.381
And the computer reboots Tails 1:5.543
Given I enable persistence 11.510
Then persistent Greeter options were restored 0.661
When I log in to a new session after having activated the Persistent Storage 17.685
Then all Greeter options are set to non-default values 0.215
After features/support/hooks.rb:331 0.978
After features/support/hooks.rb:100 0.010
Tags: @product
3:2.874
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 14.070
# 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.718
And I shutdown Tails and wait for the computer to power off 9.887
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:41.433
And I change the passphrase of the Persistent Storage back to the original 24.764
After features/support/hooks.rb:331 1.062
After features/support/hooks.rb:100 0.010
Tags: @product
52.597
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.524
And I log in to a new session without activating the Persistent Storage 19.996
Then persistence is disabled 0.132
But a Tails persistence partition exists on USB drive "__internal" 6.603
And all notifications have disappeared 11.755
When I delete the persistent partition 3.054
Then there is no persistence partition on USB drive "__internal" 0.530
After features/support/hooks.rb:331 0.915
After features/support/hooks.rb:100 0.000
Tags: @product
2:2.301
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 12.426
When I write some dotfile expected to persist 0.056
And I shutdown Tails and wait for the computer to power off 10.000
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:39.537
Then the expected persistent dotfile is present in the filesystem 0.280
After features/support/hooks.rb:331 0.653
After features/support/hooks.rb:100 0.008
Tags: @product
58.890
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.670
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.052
When I try to enable persistence 1.421
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 18.053
When I log in to a new session after having activated the Persistent Storage 12.174
And all notifications have disappeared 9.741
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.914
And all tps features are enabled 2.330
And all tps features but the first one are active 2.532
After features/support/hooks.rb:331 1.349
After features/support/hooks.rb:100 0.000
Tags: @product
6:16.790
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 5:28.641
And I enable persistence 31.933
And I log in to a new session after having activated the Persistent Storage 13.161
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.695
And persistence is enabled 2.358
After features/support/hooks.rb:331 1.338
After features/support/hooks.rb:100 0.000
Tags: @product
30.523
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 10.317
And I enable persistence but something goes wrong during the LUKS header upgrade 19.433
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.772
After features/support/hooks.rb:331 0.833
After features/support/hooks.rb:100 0.000
Tags: @product
41.354
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.287
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 12.663
When I enable persistence 12.604
Then the filesystem of the Persistent Storage was repaired 0.054
And persistence is successfully enabled 2.744
After features/support/hooks.rb:331 1.300
After features/support/hooks.rb:100 0.000
Tags: @product
34.757
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.166
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.214
When I try to enable persistence 1.378
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.783
When I repair the filesystem of the Persistent Storage 1.347
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.320
And the filesystem of the Persistent Storage was repaired 0.056
When I close the filesystem repair dialog 1.269
Then persistence is successfully enabled 1.220
After features/support/hooks.rb:331 1.438
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:0.192
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.248
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.074
When I try to enable persistence 1.383
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 13.606
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.042
When I log in to a new session 13.810
And all notifications have disappeared 12.960
# 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.269
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.687
When I close the "whisperback" window 1.288
Then the Tor Browser starts 2.508
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.024
After features/support/hooks.rb:331 0.976
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:0.102
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 11.018
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.498
And Tails detects disk read failures on the boot device 0.309
When I try to enable persistence 1.368
Then the Welcome Screen tells me that my hardware is probably failing 5.304
When I log in to a new session 13.128
And all notifications have disappeared 11.387
Then the Tor Browser starts 3.810
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.276
After features/support/hooks.rb:331 1.067
After features/support/hooks.rb:100 0.000