Project Number Date
test_Tails_ISO_test-suite-trixie-2 4 08 Jun 2025, 11:35

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 146 3 8 0 0 157 18 3 21 49:41.686 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:50.251
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.013
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:5.858
And I update APT using apt 13.197
And I install "python3-behave" using apt 27.139
Then the Tails Persistent Storage behave tests pass 4.056
After features/support/hooks.rb:330 0.945
After features/support/hooks.rb:100 0.000
Tags: @product
1:19.140
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 28.863
When I log in to a new session without activating the Persistent Storage 33.870
Then Tails is running from USB drive "__internal" 0.788
And persistence is disabled 0.856
But a Tails persistence partition exists on USB drive "__internal" 14.761
After features/support/hooks.rb:330 2.230
After features/support/hooks.rb:100 0.000
Tags: @product
2:56.989
Scenario Creating a Persistent Storage
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.831
Then Tails is running from USB drive "__internal" 0.473
When I create a file in the Persistent directory 0.175
And I create a persistent partition with the default settings 24.333
Then the file I created was copied to the Persistent Storage 2.042
When I shutdown Tails and wait for the computer to power off 14.731
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.399
cannot find TailsGreeter.png on the screen (FindFailed)
./features/support/helpers/screen.rb:181:in `rescue in wait'
./features/support/helpers/screen.rb:165:in `wait'
./features/step_definitions/common_steps.rb:449:in `/^the computer (?:re)?boots Tails$/'
./features/step_definitions/common_steps.rb:276:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:26:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
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:330 7.693

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 05:18:26)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-trixie-2/4/artifact/build-artifacts/05:18:26_Creating_a_Persistent_Storage.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-trixie-2/4/artifact/build-artifacts/05:18:26_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-trixie-2/4/artifact/build-artifacts/05:18:26_Creating_a_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-trixie-2/4/artifact/build-artifacts/05:18:26_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:100 0.007
Tags: @product
1:3.992
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.507
And the system is very low on memory 7.026
When I create a file in the Persistent directory 1.346
When I try to create a persistent partition 19.481
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.403
When I close the Persistent Storage app 2.658
And I free up some memory 3.268
And I create a persistent partition with the default settings 16.209
Then the file I created was copied to the Persistent Storage 2.090
After features/support/hooks.rb:330 1.065
After features/support/hooks.rb:100 0.000
Tags: @product
3:56.923
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 16.481
Then Tails is running from USB drive "__internal" 0.432
And all tps features are active 2.539
And all persistent directories have safe access rights 2.750
When I disable the first tps feature 6.716
Then all tps features but the first one are active 2.344
And I shutdown Tails and wait for the computer to power off 14.807
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:8.148
Then all tps features but the first one are active 2.703
After features/support/hooks.rb:330 0.674
After features/support/hooks.rb:100 0.005
Tags: @product
19.616
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 enabled and logged in 10.070
Then persistence for "Persistent" is active 0.104
And I create a file in the Persistent directory 0.097
Then the file I created was copied to the Persistent Storage 0.393
When I disable the first tps feature 6.033
Then persistence for "Persistent" is not active 0.089
And the Persistent directory does not exist 0.057
When I enable the first tps feature 2.625
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 0.757
After features/support/hooks.rb:100 0.000
Tags: @product
19.798
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 9.589
Then persistence for "Persistent" is active 0.078
When I create a file in the Persistent directory 0.086
And I disable the first tps feature 6.103
And I delete the data of the Persistent Folder feature 3.883
Then the file I created does not exist on the Persistent Storage 0.056
After features/support/hooks.rb:330 0.807
After features/support/hooks.rb:100 0.000
Tags: @product
1:18.234
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.042
And the network is plugged 0.111
And Tor is ready 28.605
And I take note of which tps features are available 0.609
When I write some files expected to persist 1.600
And I shutdown Tails and wait for the computer to power off 12.517
# 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" 24.747
After features/support/hooks.rb:330 0.091
After features/support/hooks.rb:100 0.000
Tags: @product
4:21.763
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 enabled and logged in 9.713
And the network is plugged 0.093
And Tor is ready 23.691
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.717
And I shutdown Tails and wait for the computer to power off 13.257
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:14.302
And I capture all network traffic 0.005
And the network is plugged 0.067
And Tor is ready 18.538
And I switch to the "persistent-con-current" NetworkManager connection 1.031
And the 1st network device has a spoofed MAC address configured 0.225
And no network device leaked the real MAC address 0.119
After features/support/hooks.rb:330 1.194
After features/support/hooks.rb:100 0.048
Tags: @product
1:12.262
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 without a persistent partition and stopped at Tails Greeter's login screen 12.185
And I enable persistence creation in Tails Greeter 1.117
And I log in to a new session expecting no warning about the Persistent Storage not being activated 36.097
Then I create a persistent partition with the default settings using the wizard that was already open 22.862
After features/support/hooks.rb:330 3.029
After features/support/hooks.rb:100 0.000
Tags: @product
5:40.356
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.798
When I enable persistence 41.848
Then no persistent Greeter options were restored 15.864
When I set all Greeter options to non-default values 34.622
And I log in to a new session in German (de) after having activated the Persistent Storage 54.530
Then all Greeter options are set to non-default values 0.631
When I cold reboot the computer 11.187
And the computer reboots Tails 1:50.727
Given I enable persistence 20.057
Then persistent Greeter options were restored 0.622
When I log in to a new session after having activated the Persistent Storage 38.984
Then all Greeter options are set to non-default values 0.480
After features/support/hooks.rb:330 0.978
After features/support/hooks.rb:100 0.007
Tags: @product
4:41.228
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 9.687
# 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.447
And I shutdown Tails and wait for the computer to power off 16.625
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 3:9.363
And I change the passphrase of the Persistent Storage back to the original 34.105
After features/support/hooks.rb:330 3.144
After features/support/hooks.rb:100 0.006
Tags: @product
1:18.124
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.259
And I log in to a new session without activating the Persistent Storage 31.082
Then persistence is disabled 1.217
But a Tails persistence partition exists on USB drive "__internal" 17.895
And all notifications have disappeared 13.645
When I delete the persistent partition 4.523
Then there is no persistence partition on USB drive "__internal" 0.499
After features/support/hooks.rb:330 1.695
After features/support/hooks.rb:100 0.000
Tags: @product
3:26.925
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 enabled and logged in 9.714
When I write some dotfile expected to persist 0.100
And I shutdown Tails and wait for the computer to power off 10.646
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 3:5.276
Then the expected persistent dotfile is present in the filesystem 1.187
After features/support/hooks.rb:330 0.687
After features/support/hooks.rb:100 0.056
Tags: @product
1:58.234
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.174
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.129
When I try to enable persistence 0.341
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 38.736
When I log in to a new session after having activated the Persistent Storage 45.679
And all notifications have disappeared 15.983
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.060
And all tps features are enabled 2.865
And all tps features but the first one are active 2.264
After features/support/hooks.rb:330 1.104
After features/support/hooks.rb:100 0.000
Tags: @product
5:36.874
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:1.546
And I enable persistence 43.009
And I log in to a new session after having activated the Persistent Storage 47.900
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.842
And persistence is enabled 2.575
After features/support/hooks.rb:330 1.371
After features/support/hooks.rb:100 0.000
Tags: @product
34.579
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.817
And I enable persistence but something goes wrong during the LUKS header upgrade 24.936
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.825
After features/support/hooks.rb:330 1.119
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.593
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.156
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.340
When I enable persistence 44.046
Then the filesystem of the Persistent Storage was repaired 0.106
And persistence is successfully enabled 2.943
After features/support/hooks.rb:330 1.414
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.233
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.200
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 12.140
When I try to enable persistence 0.603
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.672
When I repair the filesystem of the Persistent Storage 1.858
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.105
And the filesystem of the Persistent Storage was repaired 2.910
When I close the filesystem repair dialog 1.293
Then persistence is successfully enabled 1.448
After features/support/hooks.rb:330 1.872
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.362
Scenario Manual filesystem repair fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.672
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.307
When I try to enable persistence 0.427
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 38.586
When I repair the filesystem of the Persistent Storage 2.340
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.170
When I log in to a new session 40.216
And all notifications have disappeared 27.642
The
The Dogtail init script raised: DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
STDOUT:

STDERR:
Exception ignored in: <function Ponytail.__del__ at 0x7ecfe496d260>
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ponytail/ponytail.py", line 51, in __del__
    if (self.connected):
AttributeError: 'Ponytail' object has no attribute 'connected'

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:85:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:718:in `new'
./features/step_definitions/common_steps.rb:718:in `/^all notifications have disappeared$/'
features/persistence.feature:192:in `And all notifications have disappeared'
# 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.000
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.000
When I close the "whisperback" window 0.000
Then the Tor Browser starts 0.000
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:330 7.493

SCENARIO FAILED: 'Manual filesystem repair fails' (at time 05:58:57)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-trixie-2/4/artifact/build-artifacts/05:58:57_Manual_filesystem_repair_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-trixie-2/4/artifact/build-artifacts/05:58:57_Manual_filesystem_repair_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-trixie-2/4/artifact/build-artifacts/05:58:57_Manual_filesystem_repair_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-trixie-2/4/artifact/build-artifacts/05:58:57_Manual_filesystem_repair_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:33.200
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.300
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 16.440
And Tails detects disk read failures on the boot device 2.057
When I try to enable persistence 1.900
Then the Welcome Screen tells me that my hardware is probably failing 23.642
When I log in to a new session 56.493
And all notifications have disappeared 23.637
Then the Tor Browser starts 19.727
cannot find TorBrowserNewTabButton.png on the screen (FindFailed)
./features/support/helpers/screen.rb:181:in `rescue in wait'
./features/support/helpers/screen.rb:165:in `wait'
./features/step_definitions/browser.rb:497:in `/^the Tor Browser (?:has started|starts)$/'
features/persistence.feature:213:in `Then the Tor Browser starts'
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:330 8.968

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 06:01:38)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-trixie-2/4/artifact/build-artifacts/06:01:38_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-trixie-2/4/artifact/build-artifacts/06:01:38_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-trixie-2/4/artifact/build-artifacts/06:01:38_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000