Project Number Date
test_Tails_ISO_devel 3760 29 Mar 2025, 13:22

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 1 1 0 0 157 20 1 21 47:26.221 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:20.701
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.229
And I update APT using apt 3:14.514
And I install "python3-behave" using apt 26.262
Then the Tails Persistent Storage behave tests pass 2.695
After features/support/hooks.rb:330 2.291
After features/support/hooks.rb:100 0.000
Tags: @product
51.550
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 13.953
When I log in to a new session without activating the Persistent Storage 29.214
Then Tails is running from USB drive "__internal" 0.560
And persistence is disabled 0.364
But a Tails persistence partition exists on USB drive "__internal" 7.457
After features/support/hooks.rb:330 1.227
After features/support/hooks.rb:100 0.000
Tags: @product
3:41.487
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 without a persistent partition and logged in 14.832
Then Tails is running from USB drive "__internal" 0.504
When I create a file in the Persistent directory 0.430
And I create a persistent partition with the default settings 24.812
Then the file I created was copied to the Persistent Storage 2.889
When I shutdown Tails and wait for the computer to power off 15.555
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:42.032
Then persistence for "Persistent" is active 0.362
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:330 2.072
After features/support/hooks.rb:100 0.008
Tags: @product
1:10.055
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.671
And the system is very low on memory 3.988
When I create a file in the Persistent directory 1.723
When I try to create a persistent partition 32.111
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.507
When I close the Persistent Storage app 2.710
And I free up some memory 3.863
And I create a persistent partition with the default settings 13.211
Then the file I created was copied to the Persistent Storage 0.267
After features/support/hooks.rb:330 2.258
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.110
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 18.011
Then Tails is running from USB drive "__internal" 0.566
And all tps features are active 2.485
And all persistent directories have safe access rights 4.791
When I disable the first tps feature 7.155
Then all tps features but the first one are active 2.509
And I shutdown Tails and wait for the computer to power off 15.948
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.196
Then all tps features but the first one are active 2.445
After features/support/hooks.rb:330 1.824
After features/support/hooks.rb:100 0.007
Tags: @product
27.702
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 16.724
Then persistence for "Persistent" is active 0.235
And I create a file in the Persistent directory 0.087
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 6.314
Then persistence for "Persistent" is not active 0.182
And the Persistent directory does not exist 0.088
When I enable the first tps feature 3.816
Then persistence for "Persistent" is active 0.107
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.526
After features/support/hooks.rb:100 0.000
Tags: @product
21.484
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.607
Then persistence for "Persistent" is active 0.242
When I create a file in the Persistent directory 0.150
And I disable the first tps feature 6.634
And I delete the data of the Persistent Folder feature 3.792
Then the file I created does not exist on the Persistent Storage 0.057
After features/support/hooks.rb:330 1.390
After features/support/hooks.rb:100 0.000
Tags: @product
1:13.244
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.146
And the network is plugged 0.087
And Tor is ready 24.267
And I take note of which tps features are available 0.823
When I write some files expected to persist 1.701
And I shutdown Tails and wait for the computer to power off 10.937
# 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" 25.280
After features/support/hooks.rb:330 0.083
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.416
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.641
And the network is plugged 0.106
And Tor is ready 24.496
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.207
And I shutdown Tails and wait for the computer to power off 8.476
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.272
And I capture all network traffic 0.006
And the network is plugged 0.073
And Tor is ready 19.402
And I switch to the "persistent-con-current" NetworkManager connection 0.419
And the 1st network device has a spoofed MAC address configured 0.087
And no network device leaked the real MAC address 0.223
After features/support/hooks.rb:330 0.648
After features/support/hooks.rb:100 0.136
Tags: @product
1:9.361
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 without a persistent partition and stopped at Tails Greeter's login screen 17.036
And I enable persistence creation in Tails Greeter 1.142
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.168
Then I create a persistent partition with the default settings using the wizard that was already open 27.013
After features/support/hooks.rb:330 2.930
After features/support/hooks.rb:100 0.000
Tags: @product
4:51.611
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.662
When I enable persistence 43.773
Then no persistent Greeter options were restored 14.737
When I set all Greeter options to non-default values 26.191
And I log in to a new session in German (de) after having activated the Persistent Storage 46.313
Then all Greeter options are set to non-default values 3.040
When I cold reboot the computer 8.319
And the computer reboots Tails 1:11.878
Given I enable persistence 21.671
Then persistent Greeter options were restored 0.644
When I log in to a new session after having activated the Persistent Storage 41.713
Then all Greeter options are set to non-default values 0.666
After features/support/hooks.rb:330 2.649
After features/support/hooks.rb:100 0.010
Tags: @product
2:46.172
Scenario Changing the Persistent Storage passphrase
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 with a persistent partition enabled and logged in 11.097
# 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.328
And I shutdown Tails and wait for the computer to power off 14.681
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 1:45.065
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:123:in `Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase'
And I change the passphrase of the Persistent Storage back to the original 0.000
After features/support/hooks.rb:330 5.109

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 03:57:56)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3760/artifact/build-artifacts/03:57:56_Changing_the_Persistent_Storage_passphrase.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3760/artifact/build-artifacts/03:57:56_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3760/artifact/build-artifacts/03:57:56_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3760/artifact/build-artifacts/03:57:56_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.010
Tags: @product
57.520
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 10.137
And I log in to a new session without activating the Persistent Storage 21.360
Then persistence is disabled 0.242
But a Tails persistence partition exists on USB drive "__internal" 6.972
And all notifications have disappeared 10.716
When I delete the persistent partition 6.875
Then there is no persistence partition on USB drive "__internal" 1.215
After features/support/hooks.rb:330 0.985
After features/support/hooks.rb:100 0.000
Tags: @product
2:51.270
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.469
When I write some dotfile expected to persist 0.232
And I shutdown Tails and wait for the computer to power off 11.659
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.266
Then the expected persistent dotfile is present in the filesystem 0.642
After features/support/hooks.rb:330 0.768
After features/support/hooks.rb:100 0.037
Tags: @product
1:43.398
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 9.673
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.075
When I try to enable persistence 0.280
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.529
When I log in to a new session after having activated the Persistent Storage 39.751
And all notifications have disappeared 9.129
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.336
And all tps features are enabled 3.317
And all tps features but the first one are active 2.305
After features/support/hooks.rb:330 1.959
After features/support/hooks.rb:100 0.000
Tags: @product
7:12.274
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 5:48.871
And I enable persistence 31.495
And I log in to a new session after having activated the Persistent Storage 42.982
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.653
And persistence is enabled 5.271
After features/support/hooks.rb:330 1.876
After features/support/hooks.rb:100 0.000
Tags: @product
30.059
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 8.897
And I enable persistence but something goes wrong during the LUKS header upgrade 20.353
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.808
After features/support/hooks.rb:330 0.742
After features/support/hooks.rb:100 0.000
Tags: @product
48.406
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 9.408
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.550
When I enable persistence 30.214
Then the filesystem of the Persistent Storage was repaired 0.091
And persistence is successfully enabled 3.140
After features/support/hooks.rb:330 1.317
After features/support/hooks.rb:100 0.000
Tags: @product
1:1.529
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.924
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.478
When I try to enable persistence 1.482
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.888
When I repair the filesystem of the Persistent Storage 1.874
Then the Welcome Screen tells me that the filesystem was repaired successfully 4.054
And the filesystem of the Persistent Storage was repaired 3.816
When I close the filesystem repair dialog 1.280
Then persistence is successfully enabled 1.730
After features/support/hooks.rb:330 1.575
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.221
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.118
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.122
When I try to enable persistence 0.293
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.410
When I repair the filesystem of the Persistent Storage 1.616
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.072
When I log in to a new session 36.986
And all notifications have disappeared 7.880
# 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" 1.103
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.240
When I close the "whisperback" window 1.671
Then the Tor Browser starts 22.826
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.878
After features/support/hooks.rb:330 3.541
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:0.641
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.758
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.728
And Tails detects disk read failures on the boot device 0.610
When I try to enable persistence 0.412
Then the Welcome Screen tells me that my hardware is probably failing 21.090
When I log in to a new session 46.040
And all notifications have disappeared 11.111
Then the Tor Browser starts 24.954
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.934
After features/support/hooks.rb:330 1.826
After features/support/hooks.rb:100 0.000