Project Number Date
test_Tails_ISO_stable 5765 09 Jul 2025, 14:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 154 1 2 0 0 157 20 1 21 39:30.804 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:28.233
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:46.082
And I update APT using apt 13.645
And I install "python3-behave" using apt 26.339
Then the Tails Persistent Storage behave tests pass 2.166
After features/support/hooks.rb:330 0.832
After features/support/hooks.rb:100 0.000
Tags: @product
40.357
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.551
When I log in to a new session without activating the Persistent Storage 21.087
Then Tails is running from USB drive "__internal" 0.569
And persistence is disabled 0.415
But a Tails persistence partition exists on USB drive "__internal" 7.733
After features/support/hooks.rb:330 1.127
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.884
Scenario Creating a Persistent Storage
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.535
Then Tails is running from USB drive "__internal" 0.387
When I create a file in the Persistent directory 0.258
And I create a persistent partition with the default settings 20.714
Then the file I created was copied to the Persistent Storage 1.850
When I shutdown Tails and wait for the computer to power off 10.913
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:38.222
try_for() timeout expired
Last ignored exception was: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gdm-env'
./features/support/helpers/remote_shell.rb:71:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/usb.rb:108:in `new'
./features/step_definitions/usb.rb:108:in `greeter'
./features/step_definitions/common_steps.rb:460:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/common_steps.rb:459:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:284:in `block in <top (required)>' (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/common_steps.rb:459:in `/^the computer (?:re)?boots Tails$/'
./features/step_definitions/common_steps.rb:284: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 4.818

SCENARIO FAILED: 'Creating a Persistent Storage' (at time 03:10:51)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5765/artifact/build-artifacts/03:10:51_Creating_a_Persistent_Storage.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5765/artifact/build-artifacts/03:10:51_Creating_a_Persistent_Storage.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5765/artifact/build-artifacts/03:10:51_Creating_a_Persistent_Storage.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5765/artifact/build-artifacts/03:10:51_Creating_a_Persistent_Storage.journal

After features/support/hooks.rb:100 0.009
Tags: @product
58.704
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 10.852
And the system is very low on memory 2.976
When I create a file in the Persistent directory 0.580
When I try to create a persistent partition 24.169
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.233
When I close the Persistent Storage app 2.545
And I free up some memory 3.381
And I create a persistent partition with the default settings 13.729
Then the file I created was copied to the Persistent Storage 0.233
After features/support/hooks.rb:330 1.963
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.280
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.069
Then Tails is running from USB drive "__internal" 0.501
And all tps features are active 2.505
And all persistent directories have safe access rights 2.350
When I disable the first tps feature 5.801
Then all tps features but the first one are active 2.355
And I shutdown Tails and wait for the computer to power off 10.689
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.560
Then all tps features but the first one are active 2.445
After features/support/hooks.rb:330 0.629
After features/support/hooks.rb:100 0.009
Tags: @product
20.432
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.165
Then persistence for "Persistent" is active 0.097
And I create a file in the Persistent directory 0.146
Then the file I created was copied to the Persistent Storage 0.391
When I disable the first tps feature 5.800
Then persistence for "Persistent" is not active 0.090
And the Persistent directory does not exist 0.087
When I enable the first tps feature 3.395
Then persistence for "Persistent" is active 0.159
And the file I created in the Persistent directory exists 0.098
After features/support/hooks.rb:330 1.277
After features/support/hooks.rb:100 0.000
Tags: @product
20.859
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 9.971
Then persistence for "Persistent" is active 0.108
When I create a file in the Persistent directory 0.434
And I disable the first tps feature 6.253
And I delete the data of the Persistent Folder feature 4.029
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:330 1.295
After features/support/hooks.rb:100 0.000
Tags: @product
59.769
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 9.506
And the network is plugged 0.094
And Tor is ready 22.666
And I take note of which tps features are available 0.585
When I write some files expected to persist 1.683
And I shutdown Tails and wait for the computer to power off 6.570
# 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.661
After features/support/hooks.rb:330 0.092
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.171
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 9.459
And the network is plugged 0.073
And Tor is ready 20.295
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.381
And I shutdown Tails and wait for the computer to power off 6.337
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.424
And I capture all network traffic 0.008
And the network is plugged 0.103
And Tor is ready 22.507
And I switch to the "persistent-con-current" NetworkManager connection 0.343
And the 1st network device has a spoofed MAC address configured 0.088
And no network device leaked the real MAC address 0.146
After features/support/hooks.rb:330 0.575
After features/support/hooks.rb:100 0.057
Tags: @product
51.471
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 stopped at Tails Greeter's login screen 11.147
And I enable persistence creation in Tails Greeter 1.100
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.434
Then I create a persistent partition with the default settings using the wizard that was already open 20.789
After features/support/hooks.rb:330 2.299
After features/support/hooks.rb:100 0.000
Tags: @product
4:22.075
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.101
When I enable persistence 33.607
Then no persistent Greeter options were restored 14.260
When I set all Greeter options to non-default values 25.072
And I log in to a new session in German (de) after having activated the Persistent Storage 53.639
Then all Greeter options are set to non-default values 0.480
When I cold reboot the computer 7.388
And the computer reboots Tails 1:3.088
Given I enable persistence 16.929
Then persistent Greeter options were restored 0.526
When I log in to a new session after having activated the Persistent Storage 35.797
Then all Greeter options are set to non-default values 0.184
After features/support/hooks.rb:330 1.651
After features/support/hooks.rb:100 0.076
Tags: @product
3:43.533
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.250
# 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.838
And I shutdown Tails and wait for the computer to power off 13.030
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.551
And I change the passphrase of the Persistent Storage back to the original 33.861
After features/support/hooks.rb:330 4.058
After features/support/hooks.rb:100 0.009
Tags: @product
58.874
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.935
And I log in to a new session without activating the Persistent Storage 19.926
Then persistence is disabled 0.358
But a Tails persistence partition exists on USB drive "__internal" 10.683
And all notifications have disappeared 11.358
When I delete the persistent partition 5.839
Then there is no persistence partition on USB drive "__internal" 0.772
After features/support/hooks.rb:330 1.193
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.526
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.133
When I write some dotfile expected to persist 0.085
And I shutdown Tails and wait for the computer to power off 8.858
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.056
Then the expected persistent dotfile is present in the filesystem 0.393
After features/support/hooks.rb:330 1.143
After features/support/hooks.rb:100 0.010
Tags: @product
1:37.938
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 8.769
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.086
When I try to enable persistence 0.248
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.508
When I log in to a new session after having activated the Persistent Storage 41.392
And all notifications have disappeared 9.561
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.753
And all tps features are enabled 3.320
And all tps features but the first one are active 2.297
After features/support/hooks.rb:330 1.386
After features/support/hooks.rb:100 0.000
Tags: @product
5:11.231
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 3:49.875
And I enable persistence 29.898
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.293
And persistence is enabled 2.263
After features/support/hooks.rb:330 1.156
After features/support/hooks.rb:100 0.000
Tags: @product
34.554
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 8.418
And I enable persistence but something goes wrong during the LUKS header upgrade 25.413
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.722
After features/support/hooks.rb:330 0.674
After features/support/hooks.rb:100 0.000
Tags: @product
43.142
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 9.461
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.595
When I enable persistence 26.488
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 2.506
After features/support/hooks.rb:330 1.055
After features/support/hooks.rb:100 0.000
Tags: @product
49.091
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 8.968
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.260
When I try to enable persistence 0.404
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.322
When I repair the filesystem of the Persistent Storage 2.515
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.682
And the filesystem of the Persistent Storage was repaired 4.152
When I close the filesystem repair dialog 1.317
Then persistence is successfully enabled 1.467
After features/support/hooks.rb:330 1.107
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.604
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 8.744
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.084
When I try to enable persistence 0.259
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.559
When I repair the filesystem of the Persistent Storage 1.305
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.069
When I log in to a new session 42.835
And all notifications have disappeared 9.846
# 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.551
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.390
When I close the "whisperback" window 1.521
Then the Tor Browser starts 18.525
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.910
After features/support/hooks.rb:330 4.601
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.067
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 9.219
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.021
And Tails detects disk read failures on the boot device 1.532
When I try to enable persistence 0.400
Then the Welcome Screen tells me that my hardware is probably failing 20.092
When I log in to a new session 50.639
And all notifications have disappeared 9.753
Then the Tor Browser starts 19.332
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.075
After features/support/hooks.rb:330 2.005
After features/support/hooks.rb:100 0.000