Project Number Date
test_Tails_ISO_stable 6010 17 Dec 2025, 08:49

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 147 2 8 0 0 157 19 2 21 38:35.642 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:52.147
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:33.750
And I update APT using apt 7.929
And I install "python3-behave" using apt 9.436
Then the Tails Persistent Storage behave tests pass 1.031
After features/support/hooks.rb:331 0.953
After features/support/hooks.rb:100 0.000
Tags: @product
42.272
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.008
When I log in to a new session without activating the Persistent Storage 20.574
Then Tails is running from USB drive "__internal" 0.484
And persistence is disabled 0.215
But a Tails persistence partition exists on USB drive "__internal" 7.990
After features/support/hooks.rb:331 1.459
After features/support/hooks.rb:100 0.000
Tags: @product
2:13.806
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 14.552
Then Tails is running from USB drive "__internal" 0.467
When I create a file in the Persistent directory 0.135
And I create a persistent partition with the default settings 26.807
Then the file I created was copied to the Persistent Storage 0.598
When I shutdown Tails and wait for the computer to power off 11.933
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:18.596
Then persistence for "Persistent" is active 0.653
And the file I created in the Persistent directory exists 0.062
After features/support/hooks.rb:331 0.760
After features/support/hooks.rb:100 0.010
Tags: @product
44.564
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.418
And the system is very low on memory 5.074
When I create a file in the Persistent directory 0.226
When I try to create a persistent partition 6.262
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.179
When I close the Persistent Storage app 2.545
And I free up some memory 1.052
And I create a persistent partition with the default settings 17.160
Then the file I created was copied to the Persistent Storage 0.645
After features/support/hooks.rb:331 1.100
After features/support/hooks.rb:100 0.000
Tags: @product
2:7.559
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.294
Then Tails is running from USB drive "__internal" 0.521
And all tps features are active 2.431
And all persistent directories have safe access rights 2.405
When I disable the first tps feature 3.191
Then all tps features but the first one are active 2.038
And I shutdown Tails and wait for the computer to power off 13.829
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:27.534
Then all tps features but the first one are active 2.314
After features/support/hooks.rb:331 0.860
After features/support/hooks.rb:100 0.009
Tags: @product
27.540
Scenario Activating and deactivating Persistent Storage features
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.533
Then persistence for "Persistent" is active 0.096
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.077
When I disable the first tps feature 13.755
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/usb.rb:307:in `/^I (enable|disable) the first tps feature$/'
features/persistence.feature:57:in `When I disable the first tps feature'
Then persistence for "Persistent" is not active 0.000
And the Persistent directory does not exist 0.000
When I enable the first tps feature 0.000
Then persistence for "Persistent" is active 0.000
And the file I created in the Persistent directory exists 0.000
After features/support/hooks.rb:331 5.999

SCENARIO FAILED: 'Activating and deactivating Persistent Storage features' (at time 02:57:32)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/6010/artifact/build-artifacts/02:57:32_Activating_and_deactivating_Persistent_Storage_features.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/6010/artifact/build-artifacts/02:57:32_Activating_and_deactivating_Persistent_Storage_features.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/6010/artifact/build-artifacts/02:57:32_Activating_and_deactivating_Persistent_Storage_features.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/6010/artifact/build-artifacts/02:57:32_Activating_and_deactivating_Persistent_Storage_features.journal

After features/support/hooks.rb:100 0.000
Tags: @product
17.564
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.664
Then persistence for "Persistent" is active 0.090
When I create a file in the Persistent directory 0.087
And I disable the first tps feature 3.259
And I delete the data of the Persistent Folder feature 3.404
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:331 0.865
After features/support/hooks.rb:100 0.000
Tags: @product
53.242
Scenario Writing files to a read/write-enabled persistent partition
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.506
And the network is plugged 0.135
And Tor is ready 16.478
And I take note of which tps features are available 25.121
Command failed: /usr/local/lib/tpscli get-features
error code: 1
stdout: 
stderr: Call failed: Connection timed out
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import sys, json; print(json.dumps(json.load(sys.stdin)['data'][0]))
                                       ~~~~~~~~~^^^^^^^^^^^
  File "/usr/lib/python3.13/json/__init__.py", line 293, in load
    return loads(fp.read(),
        cls=cls, object_hook=object_hook,
        parse_float=parse_float, parse_int=parse_int,
        parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.13/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^
  File "/usr/lib/python3.13/json/decoder.py", line 345, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/json/decoder.py", line 363, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
.
<false> is not true. (ExecutionFailedInVM)
./features/support/helpers/vm_helper.rb:496:in `rescue in execute_successfully'
./features/support/helpers/vm_helper.rb:493:in `execute_successfully'
./features/step_definitions/usb.rb:55:in `tps_features'
./features/step_definitions/usb.rb:1084:in `/^I take note of which tps features are available$/'
features/persistence.feature:76:in `And I take note of which tps features are available'
When I write some files expected to persist 0.000
And I shutdown Tails and wait for the computer to power off 0.000
# 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" 0.000
After features/support/hooks.rb:331 5.528

SCENARIO FAILED: 'Writing files to a read/write-enabled persistent partition' (at time 02:58:49)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/6010/artifact/build-artifacts/02:58:49_Writing_files_to_a_read_write-enabled_persistent_partition.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/6010/artifact/build-artifacts/02:58:49_Writing_files_to_a_read_write-enabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/6010/artifact/build-artifacts/02:58:49_Writing_files_to_a_read_write-enabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/6010/artifact/build-artifacts/02:58:49_Writing_files_to_a_read_write-enabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
2:17.104
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.622
And the network is plugged 0.160
And Tor is ready 11.726
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.135
And I shutdown Tails and wait for the computer to power off 12.293
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:27.311
And I capture all network traffic 0.004
And the network is plugged 0.097
And Tor is ready 14.037
And I switch to the "persistent-con-current" NetworkManager connection 0.429
And the 1st network device has a spoofed MAC address configured 0.093
And no network device leaked the real MAC address 0.190
After features/support/hooks.rb:331 1.026
After features/support/hooks.rb:100 0.053
Tags: @product
59.029
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 stopped at Tails Greeter's login screen 13.798
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 19.598
Then I create a persistent partition with the default settings using the wizard that was already open 24.485
After features/support/hooks.rb:331 1.592
After features/support/hooks.rb:100 0.000
Tags: @product
3:34.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 with a persistent partition and stopped at Tails Greeter's login screen 13.838
When I enable persistence 26.439
Then no persistent Greeter options were restored 15.511
When I set all Greeter options to non-default values 40.732
And I log in to a new session in German (de) after having activated the Persistent Storage 30.173
Then all Greeter options are set to non-default values 0.170
When I cold reboot the computer 12.562
And the computer reboots Tails 47.754
Given I enable persistence 14.570
Then persistent Greeter options were restored 0.535
When I log in to a new session after having activated the Persistent Storage 11.628
Then all Greeter options are set to non-default values 0.199
After features/support/hooks.rb:331 0.995
After features/support/hooks.rb:100 0.016
Tags: @product
2:41.666
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.771
# 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 29.825
And I shutdown Tails and wait for the computer to power off 9.662
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:27.930
And I change the passphrase of the Persistent Storage back to the original 21.477
After features/support/hooks.rb:331 1.824
After features/support/hooks.rb:100 0.011
Tags: @product
53.393
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.254
And I log in to a new session without activating the Persistent Storage 18.294
Then persistence is disabled 0.146
But a Tails persistence partition exists on USB drive "__internal" 8.380
And all notifications have disappeared 11.242
When I delete the persistent partition 3.641
Then there is no persistence partition on USB drive "__internal" 0.433
After features/support/hooks.rb:331 1.195
After features/support/hooks.rb:100 0.000
Tags: @product
1:51.018
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.032
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.867
When I write some dotfile expected to persist 0.073
And I shutdown Tails and wait for the computer to power off 11.603
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:26.807
Then the expected persistent dotfile is present in the filesystem 0.666
After features/support/hooks.rb:331 0.868
After features/support/hooks.rb:100 0.010
Tags: @product
1:1.333
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.819
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.074
When I try to enable persistence 1.302
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 19.349
When I log in to a new session after having activated the Persistent Storage 12.962
And all notifications have disappeared 10.430
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.880
And all tps features are enabled 2.467
And all tps features but the first one are active 2.048
After features/support/hooks.rb:331 1.292
After features/support/hooks.rb:100 0.000
Tags: @product
8:27.664
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 6:52.333
And I enable persistence 1:9.999
And I log in to a new session after having activated the Persistent Storage 22.068
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.674
And persistence is enabled 2.588
After features/support/hooks.rb:331 1.314
After features/support/hooks.rb:100 0.000
Tags: @product
32.794
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 9.779
And I enable persistence but something goes wrong during the LUKS header upgrade 22.188
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.826
After features/support/hooks.rb:331 1.424
After features/support/hooks.rb:100 0.000
Tags: @product
2:26.424
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.097
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 1:10.789
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 29.401
When I enable persistence 43.161
Then the filesystem of the Persistent Storage was repaired 0.057
And persistence is successfully enabled 3.013
After features/support/hooks.rb:331 9.804
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.011
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 33.520
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.152
When I try to enable persistence 1.517
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.187
When I repair the filesystem of the Persistent Storage 1.292
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.248
And the filesystem of the Persistent Storage was repaired 0.569
When I close the filesystem repair dialog 1.296
Then persistence is successfully enabled 1.225
After features/support/hooks.rb:331 1.309
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:1.494
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.071
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.059
When I try to enable persistence 1.357
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 13.572
When I repair the filesystem of the Persistent Storage 1.299
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.049
When I log in to a new session 12.457
And all notifications have disappeared 13.316
# 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.270
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.505
When I close the "whisperback" window 1.239
Then the Tor Browser starts 4.797
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.496
After features/support/hooks.rb:331 1.335
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:11.893
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.031
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 22.467
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.088
And Tails detects disk read failures on the boot device 1.414
When I try to enable persistence 1.362
Then the Welcome Screen tells me that my hardware is probably failing 6.028
When I log in to a new session 12.564
And all notifications have disappeared 11.624
Then the Tor Browser starts 3.213
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.129
After features/support/hooks.rb:331 1.335
After features/support/hooks.rb:100 0.000