Project Number Date
test_Tails_ISO_20816-block-paths-bwrap 22 25 Mar 2025, 07:12

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 1:4:47.466 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:53.797
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.016
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:41.236
And I update APT using apt 4:15.111
And I install "python3-behave" using apt 53.638
Then the Tails Persistent Storage behave tests pass 3.809
After features/support/hooks.rb:330 0.750
After features/support/hooks.rb:100 0.000
Tags: @product
49.144
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.024
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.235
When I log in to a new session without activating the Persistent Storage 22.779
Then Tails is running from USB drive "__internal" 0.495
And persistence is disabled 0.394
But a Tails persistence partition exists on USB drive "__internal" 13.239
After features/support/hooks.rb:330 3.023
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.646
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 12.741
Then Tails is running from USB drive "__internal" 0.367
When I create a file in the Persistent directory 0.142
And I create a persistent partition with the default settings 26.616
Then the file I created was copied to the Persistent Storage 0.554
When I shutdown Tails and wait for the computer to power off 14.841
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.926
Then persistence for "Persistent" is active 0.382
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:330 2.116
After features/support/hooks.rb:100 0.012
Tags: @product
57.814
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 10.967
And the system is very low on memory 4.404
When I create a file in the Persistent directory 1.690
When I try to create a persistent partition 24.313
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.177
When I close the Persistent Storage app 2.523
And I free up some memory 1.383
And I create a persistent partition with the default settings 11.993
Then the file I created was copied to the Persistent Storage 0.361
After features/support/hooks.rb:330 1.961
After features/support/hooks.rb:100 0.000
Tags: @product
2:57.065
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.387
Then Tails is running from USB drive "__internal" 0.585
And all tps features are active 5.099
And all persistent directories have safe access rights 2.615
When I disable the first tps feature 5.916
Then all tps features but the first one are active 2.216
And I shutdown Tails and wait for the computer to power off 15.527
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.462
Then all tps features but the first one are active 2.253
After features/support/hooks.rb:330 0.668
After features/support/hooks.rb:100 0.009
Tags: @product
20.551
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.740
Then persistence for "Persistent" is active 0.159
And I create a file in the Persistent directory 0.096
Then the file I created was copied to the Persistent Storage 0.117
When I disable the first tps feature 5.991
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.189
Then persistence for "Persistent" is active 0.063
And the file I created in the Persistent directory exists 0.061
After features/support/hooks.rb:330 1.497
After features/support/hooks.rb:100 0.000
Tags: @product
20.272
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.695
Then persistence for "Persistent" is active 0.110
When I create a file in the Persistent directory 0.079
And I disable the first tps feature 6.230
And I delete the data of the Persistent Folder feature 4.103
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.519
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.317
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.846
And the network is plugged 0.082
And Tor is ready 20.391
And I take note of which tps features are available 0.582
When I write some files expected to persist 1.620
And I shutdown Tails and wait for the computer to power off 8.889
# 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.903
After features/support/hooks.rb:330 0.173
After features/support/hooks.rb:100 0.000
Tags: @product
3:14.736
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.069
And the network is plugged 0.096
And Tor is ready 21.975
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.204
And I shutdown Tails and wait for the computer to power off 8.706
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.806
And I capture all network traffic 0.008
And the network is plugged 0.089
And Tor is ready 18.102
And I switch to the "persistent-con-current" NetworkManager connection 0.429
And the 1st network device has a spoofed MAC address configured 0.094
And no network device leaked the real MAC address 0.153
After features/support/hooks.rb:330 0.653
After features/support/hooks.rb:100 0.041
Tags: @product
1:3.390
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 13.888
And I enable persistence creation in Tails Greeter 5.035
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.970
Then I create a persistent partition with the default settings using the wizard that was already open 23.496
After features/support/hooks.rb:330 1.705
After features/support/hooks.rb:100 0.000
Tags: @product
4:44.389
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 11.671
When I enable persistence 38.051
Then no persistent Greeter options were restored 14.915
When I set all Greeter options to non-default values 30.596
And I log in to a new session in German (de) after having activated the Persistent Storage 49.088
Then all Greeter options are set to non-default values 0.502
When I cold reboot the computer 7.281
And the computer reboots Tails 1:0.062
Given I enable persistence 33.609
Then persistent Greeter options were restored 0.535
When I log in to a new session after having activated the Persistent Storage 37.616
Then all Greeter options are set to non-default values 0.458
After features/support/hooks.rb:330 1.824
After features/support/hooks.rb:100 0.032
Tags: @product
22:53.066
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.163
# 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 32.065
And I shutdown Tails and wait for the computer to power off 12.566
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 21:57.270
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55: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/common_steps.rb:719:in `new'
./features/step_definitions/common_steps.rb:719:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:298: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 10.843

SCENARIO FAILED: 'Changing the Persistent Storage passphrase' (at time 04:19:56)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20816-block-paths-bwrap/22/artifact/build-artifacts/04:19:56_Changing_the_Persistent_Storage_passphrase.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20816-block-paths-bwrap/22/artifact/build-artifacts/04:19:56_Changing_the_Persistent_Storage_passphrase.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20816-block-paths-bwrap/22/artifact/build-artifacts/04:19:56_Changing_the_Persistent_Storage_passphrase.journal

After features/support/hooks.rb:100 0.008
Tags: @product
1:1.821
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.241
And I log in to a new session without activating the Persistent Storage 21.232
Then persistence is disabled 0.575
But a Tails persistence partition exists on USB drive "__internal" 11.310
And all notifications have disappeared 11.262
When I delete the persistent partition 6.778
Then there is no persistence partition on USB drive "__internal" 0.419
After features/support/hooks.rb:330 1.542
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.985
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.492
When I write some dotfile expected to persist 0.157
And I shutdown Tails and wait for the computer to power off 11.045
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.659
Then the expected persistent dotfile is present in the filesystem 0.629
After features/support/hooks.rb:330 1.207
After features/support/hooks.rb:100 0.010
Tags: @product
1:36.233
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.237
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.078
When I try to enable persistence 0.429
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.102
When I log in to a new session after having activated the Persistent Storage 38.295
And all notifications have disappeared 8.126
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.410
And all tps features are enabled 2.548
And all tps features but the first one are active 2.004
After features/support/hooks.rb:330 1.971
After features/support/hooks.rb:100 0.000
Tags: @product
4:54.452
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 3:34.422
And I enable persistence 32.865
And I log in to a new session after having activated the Persistent Storage 41.287
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.117
And persistence is enabled 2.759
After features/support/hooks.rb:330 1.742
After features/support/hooks.rb:100 0.000
Tags: @product
31.131
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.887
And I enable persistence but something goes wrong during the LUKS header upgrade 21.498
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.745
After features/support/hooks.rb:330 0.925
After features/support/hooks.rb:100 0.000
Tags: @product
47.963
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.521
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.131
When I enable persistence 29.935
Then the filesystem of the Persistent Storage was repaired 0.086
And persistence is successfully enabled 3.288
After features/support/hooks.rb:330 2.169
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.486
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.141
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.662
When I try to enable persistence 0.460
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.727
When I repair the filesystem of the Persistent Storage 5.096
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.390
And the filesystem of the Persistent Storage was repaired 1.860
When I close the filesystem repair dialog 5.426
Then persistence is successfully enabled 1.720
After features/support/hooks.rb:330 1.835
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.802
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.201
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.152
When I try to enable persistence 0.382
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.699
When I repair the filesystem of the Persistent Storage 1.257
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.074
When I log in to a new session 39.890
And all notifications have disappeared 8.110
# 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.091
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.281
When I close the "whisperback" window 1.664
Then the Tor Browser starts 18.052
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.943
After features/support/hooks.rb:330 2.761
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:57.396
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.019
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.771
And Tails detects disk read failures on the boot device 1.523
When I try to enable persistence 0.396
Then the Welcome Screen tells me that my hardware is probably failing 20.526
When I log in to a new session 49.557
And all notifications have disappeared 7.200
Then the Tor Browser starts 21.426
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.974
After features/support/hooks.rb:330 2.114
After features/support/hooks.rb:100 0.000