Project Number Date
test_Tails_ISO_devel 4071 13 Nov 2025, 14:31

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

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

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

After features/support/hooks.rb:100 0.000
Tags: @product
37.602
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.352
When I log in to a new session without activating the Persistent Storage 18.352
Then Tails is running from USB drive "__internal" 0.322
And persistence is disabled 0.104
But a Tails persistence partition exists on USB drive "__internal" 6.470
After features/support/hooks.rb:331 0.772
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.079
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 13.765
Then Tails is running from USB drive "__internal" 0.420
When I create a file in the Persistent directory 0.117
And I create a persistent partition with the default settings 23.505
Then the file I created was copied to the Persistent Storage 0.552
When I shutdown Tails and wait for the computer to power off 9.600
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:36.832
Then persistence for "Persistent" is active 0.224
And the file I created in the Persistent directory exists 0.058
After features/support/hooks.rb:331 0.850
After features/support/hooks.rb:100 0.010
Tags: @product
39.236
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 11.281
And the system is very low on memory 4.899
When I create a file in the Persistent directory 0.304
When I try to create a persistent partition 5.705
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.121
When I close the Persistent Storage app 2.520
And I free up some memory 1.037
And I create a persistent partition with the default settings 12.768
Then the file I created was copied to the Persistent Storage 0.596
After features/support/hooks.rb:331 1.404
After features/support/hooks.rb:100 0.000
Tags: @product
2:20.502
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 13.026
Then Tails is running from USB drive "__internal" 0.346
And all tps features are active 2.273
And all persistent directories have safe access rights 2.538
When I disable the first tps feature 3.142
Then all tps features but the first one are active 2.133
And I shutdown Tails and wait for the computer to power off 11.717
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:42.972
Then all tps features but the first one are active 2.351
After features/support/hooks.rb:331 0.880
After features/support/hooks.rb:100 0.010
Tags: @product
17.598
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.281
Then persistence for "Persistent" is active 0.073
And I create a file in the Persistent directory 0.062
Then the file I created was copied to the Persistent Storage 0.112
When I disable the first tps feature 3.197
Then persistence for "Persistent" is not active 0.063
And the Persistent directory does not exist 0.040
When I enable the first tps feature 2.620
Then persistence for "Persistent" is active 0.065
And the file I created in the Persistent directory exists 0.080
After features/support/hooks.rb:331 0.730
After features/support/hooks.rb:100 0.000
Tags: @product
16.595
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.007
Then persistence for "Persistent" is active 0.088
When I create a file in the Persistent directory 0.054
And I disable the first tps feature 3.212
And I delete the data of the Persistent Folder feature 3.175
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:331 0.998
After features/support/hooks.rb:100 0.000
Tags: @product
53.090
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.010
And the network is plugged 0.053
And Tor is ready 11.687
And I take note of which tps features are available 0.563
When I write some files expected to persist 1.347
And I shutdown Tails and wait for the computer to power off 11.165
# 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.263
After features/support/hooks.rb:331 0.297
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.059
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.716
And the network is plugged 0.056
And Tor is ready 11.820
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.142
And I shutdown Tails and wait for the computer to power off 11.060
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:36.978
And I capture all network traffic 0.006
And the network is plugged 0.052
And Tor is ready 12.543
And I switch to the "persistent-con-current" NetworkManager connection 0.397
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.195
After features/support/hooks.rb:331 0.959
After features/support/hooks.rb:100 0.043
Tags: @product
50.116
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 12.493
And I enable persistence creation in Tails Greeter 1.195
And I log in to a new session expecting no warning about the Persistent Storage not being activated 16.642
Then I create a persistent partition with the default settings using the wizard that was already open 19.784
After features/support/hooks.rb:331 1.492
After features/support/hooks.rb:100 0.000
Tags: @product
3:35.867
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 12.527
When I enable persistence 21.693
Then no persistent Greeter options were restored 15.045
When I set all Greeter options to non-default values 40.168
And I log in to a new session in German (de) after having activated the Persistent Storage 28.178
Then all Greeter options are set to non-default values 0.162
When I cold reboot the computer 11.019
And the computer reboots Tails 1:4.028
Given I enable persistence 10.100
Then persistent Greeter options were restored 0.546
When I log in to a new session after having activated the Persistent Storage 12.227
Then all Greeter options are set to non-default values 0.168
After features/support/hooks.rb:331 1.089
After features/support/hooks.rb:100 0.010
Tags: @product
3:10.121
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.629
# 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 35.429
And I shutdown Tails and wait for the computer to power off 9.341
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:50.659
And I change the passphrase of the Persistent Storage back to the original 22.061
After features/support/hooks.rb:331 1.400
After features/support/hooks.rb:100 0.010
Tags: @product
52.127
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.718
And I log in to a new session without activating the Persistent Storage 18.051
Then persistence is disabled 0.101
But a Tails persistence partition exists on USB drive "__internal" 8.058
And all notifications have disappeared 10.850
When I delete the persistent partition 2.936
Then there is no persistence partition on USB drive "__internal" 0.410
After features/support/hooks.rb:331 1.046
After features/support/hooks.rb:100 0.000
Tags: @product
1:58.526
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 10.772
When I write some dotfile expected to persist 0.068
And I shutdown Tails and wait for the computer to power off 11.039
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:36.395
Then the expected persistent dotfile is present in the filesystem 0.251
After features/support/hooks.rb:331 0.851
After features/support/hooks.rb:100 0.010
Tags: @product
1:8.203
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 19.491
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 1.303
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 17.828
When I log in to a new session after having activated the Persistent Storage 13.266
And all notifications have disappeared 9.744
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.905
And all tps features are enabled 2.424
And all tps features but the first one are active 2.155
After features/support/hooks.rb:331 0.974
After features/support/hooks.rb:100 0.000
Tags: @product
6:37.913
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:54.080
And I enable persistence 28.535
And I log in to a new session after having activated the Persistent Storage 12.166
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.732
And persistence is enabled 2.398
After features/support/hooks.rb:331 0.894
After features/support/hooks.rb:100 0.000
Tags: @product
30.196
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.153
And I enable persistence but something goes wrong during the LUKS header upgrade 20.417
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.625
After features/support/hooks.rb:331 0.924
After features/support/hooks.rb:100 0.000
Tags: @product
40.869
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 12.832
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 13.008
When I enable persistence 12.326
Then the filesystem of the Persistent Storage was repaired 0.077
And persistence is successfully enabled 2.624
After features/support/hooks.rb:331 1.337
After features/support/hooks.rb:100 0.000
Tags: @product
33.271
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.771
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.037
When I try to enable persistence 1.400
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 4.651
When I repair the filesystem of the Persistent Storage 1.316
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.227
And the filesystem of the Persistent Storage was repaired 0.062
When I close the filesystem repair dialog 1.288
Then persistence is successfully enabled 1.515
After features/support/hooks.rb:331 1.193
After features/support/hooks.rb:100 0.000
Tags: @product @doc
56.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.978
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.081
When I try to enable persistence 1.330
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 13.133
When I repair the filesystem of the Persistent Storage 1.334
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.070
When I log in to a new session 13.408
And all notifications have disappeared 10.499
# 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.263
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.563
When I close the "whisperback" window 1.307
Then the Tor Browser starts 1.968
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.135
After features/support/hooks.rb:331 1.050
After features/support/hooks.rb:100 0.000
Tags: @product @doc
54.375
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.541
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 11.347
And Tails detects disk read failures on the boot device 0.345
When I try to enable persistence 1.381
Then the Welcome Screen tells me that my hardware is probably failing 4.186
When I log in to a new session 12.456
And all notifications have disappeared 10.325
Then the Tor Browser starts 2.619
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.172
After features/support/hooks.rb:331 1.247
After features/support/hooks.rb:100 0.000