Project Number Date
test_Tails_ISO_feature-arti 77 31 May 2025, 16:51

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 150 1 6 0 0 157 20 1 21 59:35.950 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:36.590
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:30.761
And I update APT using apt 39.479
And I install "python3-behave" using apt 23.108
Then the Tails Persistent Storage behave tests pass 3.242
After features/support/hooks.rb:330 0.660
After features/support/hooks.rb:100 0.000
Tags: @product
43.029
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.228
When I log in to a new session without activating the Persistent Storage 23.856
Then Tails is running from USB drive "__internal" 0.676
And persistence is disabled 0.519
But a Tails persistence partition exists on USB drive "__internal" 6.748
After features/support/hooks.rb:330 1.754
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.752
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.623
Then Tails is running from USB drive "__internal" 0.425
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 24.087
Then the file I created was copied to the Persistent Storage 2.049
When I shutdown Tails and wait for the computer to power off 12.773
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.220
Then persistence for "Persistent" is active 0.352
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:330 1.530
After features/support/hooks.rb:100 0.009
Tags: @product
1:4.717
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.347
And the system is very low on memory 3.155
When I create a file in the Persistent directory 1.431
When I try to create a persistent partition 29.095
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.258
When I close the Persistent Storage app 2.968
And I free up some memory 3.044
And I create a persistent partition with the default settings 13.164
Then the file I created was copied to the Persistent Storage 0.252
After features/support/hooks.rb:330 2.247
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.124
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 12.661
Then Tails is running from USB drive "__internal" 0.620
And all tps features are active 2.405
And all persistent directories have safe access rights 2.722
When I disable the first tps feature 5.976
Then all tps features but the first one are active 1.920
And I shutdown Tails and wait for the computer to power off 16.855
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.812
Then all tps features but the first one are active 2.150
After features/support/hooks.rb:330 1.338
After features/support/hooks.rb:100 0.030
Tags: @product
19.150
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 9.866
Then persistence for "Persistent" is active 0.109
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.071
When I disable the first tps feature 5.600
Then persistence for "Persistent" is not active 0.095
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.128
Then persistence for "Persistent" is active 0.075
And the file I created in the Persistent directory exists 0.065
After features/support/hooks.rb:330 1.687
After features/support/hooks.rb:100 0.000
Tags: @product
18.730
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 9.347
Then persistence for "Persistent" is active 0.071
When I create a file in the Persistent directory 0.085
And I disable the first tps feature 5.568
And I delete the data of the Persistent Folder feature 3.603
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:330 1.548
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.276
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 8.909
And the network is plugged 0.067
And Tor is ready 20.456
And I take note of which tps features are available 0.665
When I write some files expected to persist 1.586
And I shutdown Tails and wait for the computer to power off 8.497
# 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.093
After features/support/hooks.rb:330 0.136
After features/support/hooks.rb:100 0.000
Tags: @product
22:35.812
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.550
And the network is plugged 0.078
And Tor is ready 20.003
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.240
And I shutdown Tails and wait for the computer to power off 8.459
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 21:56.480
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:730:in `new'
./features/step_definitions/common_steps.rb:730:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:309: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:88:in `Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
And I capture all network traffic 0.000
And the network is plugged 0.000
And Tor is ready 0.000
And I switch to the "persistent-con-current" NetworkManager connection 0.000
And the 1st network device has a spoofed MAC address configured 0.000
And no network device leaked the real MAC address 0.000
After features/support/hooks.rb:330 10.823

SCENARIO FAILED: 'Creating and using a persistent NetworkManager connection' (at time 04:19:35)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/77/artifact/build-artifacts/04:19:35_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/77/artifact/build-artifacts/04:19:35_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_feature-arti/77/artifact/build-artifacts/04:19:35_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:100 0.008
Tags: @product
54.677
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 stopped at Tails Greeter's login screen 11.880
And I enable persistence creation in Tails Greeter 1.112
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 20.713
After features/support/hooks.rb:330 2.802
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.271
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.474
When I enable persistence 36.612
Then no persistent Greeter options were restored 14.232
When I set all Greeter options to non-default values 24.912
And I log in to a new session in German (de) after having activated the Persistent Storage 50.458
Then all Greeter options are set to non-default values 2.033
When I cold reboot the computer 7.360
And the computer reboots Tails 59.533
Given I enable persistence 19.105
Then persistent Greeter options were restored 0.550
When I log in to a new session after having activated the Persistent Storage 40.552
Then all Greeter options are set to non-default values 0.445
After features/support/hooks.rb:330 1.555
After features/support/hooks.rb:100 0.009
Tags: @product
3:31.991
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.063
# 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.929
And I shutdown Tails and wait for the computer to power off 12.441
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.280
And I change the passphrase of the Persistent Storage back to the original 27.276
After features/support/hooks.rb:330 3.712
After features/support/hooks.rb:100 0.009
Tags: @product
51.223
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 9.613
And I log in to a new session without activating the Persistent Storage 20.326
Then persistence is disabled 0.230
But a Tails persistence partition exists on USB drive "__internal" 6.491
And all notifications have disappeared 7.519
When I delete the persistent partition 6.111
Then there is no persistence partition on USB drive "__internal" 0.930
After features/support/hooks.rb:330 1.028
After features/support/hooks.rb:100 0.000
Tags: @product
2:21.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 9.152
When I write some dotfile expected to persist 0.178
And I shutdown Tails and wait for the computer to power off 8.293
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.571
Then the expected persistent dotfile is present in the filesystem 0.330
After features/support/hooks.rb:330 1.338
After features/support/hooks.rb:100 0.009
Tags: @product
1:39.236
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 9.174
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.103
When I try to enable persistence 0.275
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.778
When I log in to a new session after having activated the Persistent Storage 41.694
And all notifications have disappeared 8.872
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.179
And all tps features are enabled 3.011
And all tps features but the first one are active 2.147
After features/support/hooks.rb:330 1.543
After features/support/hooks.rb:100 0.000
Tags: @product
5:11.154
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:49.595
And I enable persistence 30.005
And I log in to a new session after having activated the Persistent Storage 46.186
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.466
And persistence is enabled 2.901
After features/support/hooks.rb:330 1.648
After features/support/hooks.rb:100 0.000
Tags: @product
32.557
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 10.263
And I enable persistence but something goes wrong during the LUKS header upgrade 21.603
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.689
After features/support/hooks.rb:330 0.729
After features/support/hooks.rb:100 0.000
Tags: @product
46.483
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 9.240
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.473
When I enable persistence 28.864
Then the filesystem of the Persistent Storage was repaired 0.082
And persistence is successfully enabled 2.821
After features/support/hooks.rb:330 1.741
After features/support/hooks.rb:100 0.000
Tags: @product
53.072
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 14.209
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.707
When I try to enable persistence 1.467
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.541
When I repair the filesystem of the Persistent Storage 1.508
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.395
And the filesystem of the Persistent Storage was repaired 4.474
When I close the filesystem repair dialog 1.377
Then persistence is successfully enabled 1.390
After features/support/hooks.rb:330 1.818
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.145
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.015
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.097
When I try to enable persistence 0.271
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.457
When I repair the filesystem of the Persistent Storage 1.269
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.069
When I log in to a new session 41.404
And all notifications have disappeared 9.013
# 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.872
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.571
When I close the "whisperback" window 1.364
Then the Tor Browser starts 20.790
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.947
After features/support/hooks.rb:330 3.183
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:49.424
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 8.858
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.882
And Tails detects disk read failures on the boot device 1.544
When I try to enable persistence 0.440
Then the Welcome Screen tells me that my hardware is probably failing 18.294
When I log in to a new session 47.953
And all notifications have disappeared 9.395
Then the Tor Browser starts 16.141
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.914
After features/support/hooks.rb:330 1.698
After features/support/hooks.rb:100 0.000