Project Number Date
test_Tails_ISO_stable 5918 29 Oct 2025, 20:55

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 148 2 7 0 0 157 19 2 21 35:26.276 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.717
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:7.451
And I update APT using apt 7.807
And I install "python3-behave" using apt 9.435
Then the Tails Persistent Storage behave tests pass 1.023
After features/support/hooks.rb:331 0.810
After features/support/hooks.rb:100 0.000
Tags: @product
40.221
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.403
When I log in to a new session without activating the Persistent Storage 19.481
Then Tails is running from USB drive "__internal" 0.368
And persistence is disabled 0.123
But a Tails persistence partition exists on USB drive "__internal" 7.845
After features/support/hooks.rb:331 1.364
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.327
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.786
Then Tails is running from USB drive "__internal" 0.362
When I create a file in the Persistent directory 0.154
And I create a persistent partition with the default settings 25.545
Then the file I created was copied to the Persistent Storage 0.639
When I shutdown Tails and wait for the computer to power off 9.903
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:0.661
Then persistence for "Persistent" is active 0.216
And the file I created in the Persistent directory exists 0.057
After features/support/hooks.rb:331 3.798
After features/support/hooks.rb:100 0.023
Tags: @product
1:0.719
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 16.530
And the system is very low on memory 5.403
When I create a file in the Persistent directory 0.267
When I try to create a persistent partition 5.754
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.141
When I close the Persistent Storage app 2.587
And I free up some memory 1.145
And I create a persistent partition with the default settings 28.312
Then the file I created was copied to the Persistent Storage 0.576
After features/support/hooks.rb:331 1.770
After features/support/hooks.rb:100 0.000
Tags: @product
46.629
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
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 20.008
Then Tails is running from USB drive "__internal" 0.554
And all tps features are active 10.519
And all persistent directories have safe access rights 2.425
When I disable the first tps feature 13.122
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:46:in `When I disable the first tps feature'
Then all tps features but the first one are active 0.000
And I shutdown Tails and wait for the computer to power off 0.000
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 0.000
Then all tps features but the first one are active 0.000
After features/support/hooks.rb:331 5.089

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 02:58:57)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5918/artifact/build-artifacts/02:58:57_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5918/artifact/build-artifacts/02:58:57_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5918/artifact/build-artifacts/02:58:57_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5918/artifact/build-artifacts/02:58:57_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:100 0.000
Tags: @product
16.342
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.093
Then persistence for "Persistent" is active 0.084
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.083
When I disable the first tps feature 3.142
Then persistence for "Persistent" is not active 0.061
And the Persistent directory does not exist 0.058
When I enable the first tps feature 2.612
Then persistence for "Persistent" is active 0.073
And the file I created in the Persistent directory exists 0.056
After features/support/hooks.rb:331 0.988
After features/support/hooks.rb:100 0.000
Tags: @product
21.592
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.143
Then persistence for "Persistent" is active 0.099
When I create a file in the Persistent directory 0.069
And I disable the first tps feature 7.610
And I delete the data of the Persistent Folder feature 3.615
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:331 2.715
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.862
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.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 24.842
And the network is plugged 5.023
And Tor is ready 12.896
And I take note of which tps features are available 25.100
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 7.425

SCENARIO FAILED: 'Writing files to a read/write-enabled persistent partition' (at time 03:00:53)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5918/artifact/build-artifacts/03:00:53_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/5918/artifact/build-artifacts/03:00:53_Writing_files_to_a_read_write-enabled_persistent_partition.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5918/artifact/build-artifacts/03:00:53_Writing_files_to_a_read_write-enabled_persistent_partition.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5918/artifact/build-artifacts/03:00:53_Writing_files_to_a_read_write-enabled_persistent_partition.journal

After features/support/hooks.rb:100 0.000
Tags: @product
3:48.533
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 18.345
And the network is plugged 10.960
And Tor is ready 40.031
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 9.910
And I shutdown Tails and wait for the computer to power off 10.328
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.298
And I capture all network traffic 0.006
And the network is plugged 0.055
And Tor is ready 13.877
And I switch to the "persistent-con-current" NetworkManager connection 0.402
And the 1st network device has a spoofed MAC address configured 0.123
And no network device leaked the real MAC address 0.193
After features/support/hooks.rb:331 1.197
After features/support/hooks.rb:100 0.052
Tags: @product
56.812
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.568
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 17.005
Then I create a persistent partition with the default settings using the wizard that was already open 25.111
After features/support/hooks.rb:331 1.748
After features/support/hooks.rb:100 0.000
Tags: @product
3:48.682
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.898
When I enable persistence 33.405
Then no persistent Greeter options were restored 15.322
When I set all Greeter options to non-default values 40.622
And I log in to a new session in German (de) after having activated the Persistent Storage 28.898
Then all Greeter options are set to non-default values 0.160
When I cold reboot the computer 6.450
And the computer reboots Tails 1:7.615
Given I enable persistence 13.135
Then persistent Greeter options were restored 0.601
When I log in to a new session after having activated the Persistent Storage 11.375
Then all Greeter options are set to non-default values 0.196
After features/support/hooks.rb:331 0.862
After features/support/hooks.rb:100 0.009
Tags: @product
3:3.213
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 enabled and logged in 19.477
# 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 28.705
And I shutdown Tails and wait for the computer to power off 10.069
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:40.689
And I change the passphrase of the Persistent Storage back to the original 24.270
After features/support/hooks.rb:331 1.429
After features/support/hooks.rb:100 0.008
Tags: @product
52.323
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.923
And I log in to a new session without activating the Persistent Storage 20.466
Then persistence is disabled 0.138
But a Tails persistence partition exists on USB drive "__internal" 6.116
And all notifications have disappeared 11.279
When I delete the persistent partition 2.947
Then there is no persistence partition on USB drive "__internal" 0.451
After features/support/hooks.rb:331 1.128
After features/support/hooks.rb:100 0.000
Tags: @product
2:2.808
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.917
When I write some dotfile expected to persist 0.242
And I shutdown Tails and wait for the computer to power off 8.059
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:43.312
Then the expected persistent dotfile is present in the filesystem 0.275
After features/support/hooks.rb:331 2.457
After features/support/hooks.rb:100 0.011
Tags: @product
1:2.879
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.739
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.068
When I try to enable persistence 1.261
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 18.658
When I log in to a new session after having activated the Persistent Storage 13.769
And all notifications have disappeared 10.183
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 1.408
And all tps features are enabled 2.587
And all tps features but the first one are active 2.202
After features/support/hooks.rb:331 1.323
After features/support/hooks.rb:100 0.000
Tags: @product
6:30.878
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:42.349
And I enable persistence 33.263
And I log in to a new session after having activated the Persistent Storage 12.312
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.715
And persistence is enabled 2.237
After features/support/hooks.rb:331 0.788
After features/support/hooks.rb:100 0.000
Tags: @product
32.513
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 9.938
And I enable persistence but something goes wrong during the LUKS header upgrade 21.890
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.683
After features/support/hooks.rb:331 0.940
After features/support/hooks.rb:100 0.000
Tags: @product
43.749
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.598
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 13.404
When I enable persistence 17.315
Then the filesystem of the Persistent Storage was repaired 0.053
And persistence is successfully enabled 2.376
After features/support/hooks.rb:331 1.363
After features/support/hooks.rb:100 0.000
Tags: @product
36.118
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.050
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 13.755
When I try to enable persistence 1.458
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.867
When I repair the filesystem of the Persistent Storage 1.306
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.189
And the filesystem of the Persistent Storage was repaired 0.064
When I close the filesystem repair dialog 1.282
Then persistence is successfully enabled 1.143
After features/support/hooks.rb:331 1.061
After features/support/hooks.rb:100 0.000
Tags: @product @doc
56.092
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.205
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.075
When I try to enable persistence 1.339
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 13.659
When I repair the filesystem of the Persistent Storage 1.328
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.051
When I log in to a new session 14.183
And all notifications have disappeared 9.921
# 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.231
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.563
When I close the "whisperback" window 1.248
Then the Tor Browser starts 2.052
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.230
After features/support/hooks.rb:331 1.894
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:1.258
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.908
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 14.579
And Tails detects disk read failures on the boot device 1.518
When I try to enable persistence 1.316
Then the Welcome Screen tells me that my hardware is probably failing 4.912
When I log in to a new session 13.372
And all notifications have disappeared 10.624
Then the Tor Browser starts 2.857
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.168
After features/support/hooks.rb:331 1.148
After features/support/hooks.rb:100 0.000