Project Number Date
test_Tails_ISO_20263-test-suite-without-spice 16 23 Mar 2025, 03:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 146 2 9 0 0 157 19 2 21 1:1:3.322 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
3:18.896
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 3:18.896
cannot find GnomeApplicationsMenu.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:520:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:476:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:137:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ and\ logged\ in\ with\ an\ administration\ password\ and\ the\ network\ is\ connected$/'
features/persistence.feature:7:in `Given I have started Tails from DVD and logged in with an administration password and the network is connected'
And I update APT using apt 0.000
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:330 5.080

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:36:01)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/16/artifact/build-artifacts/03:36:01_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/16/artifact/build-artifacts/03:36:01_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/16/artifact/build-artifacts/03:36:01_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/16/artifact/build-artifacts/03:36:01_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
44.770
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.320
When I log in to a new session without activating the Persistent Storage 23.713
Then Tails is running from USB drive "__internal" 0.512
And persistence is disabled 0.389
But a Tails persistence partition exists on USB drive "__internal" 9.834
After features/support/hooks.rb:330 1.415
After features/support/hooks.rb:100 0.000
Tags: @product
3:7.201
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 15.236
Then Tails is running from USB drive "__internal" 0.608
When I create a file in the Persistent directory 0.164
And I create a persistent partition with the default settings 23.296
Then the file I created was copied to the Persistent Storage 0.551
When I shutdown Tails and wait for the computer to power off 13.144
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.651
Then persistence for "Persistent" is active 0.460
And the file I created in the Persistent directory exists 0.088
After features/support/hooks.rb:330 1.042
After features/support/hooks.rb:100 0.011
Tags: @product
1:5.792
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 without a persistent partition and logged in 14.193
And the system is very low on memory 3.539
When I create a file in the Persistent directory 1.359
When I try to create a persistent partition 26.810
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.345
When I close the Persistent Storage app 2.578
And I free up some memory 1.414
And I create a persistent partition with the default settings 14.919
Then the file I created was copied to the Persistent Storage 0.631
After features/support/hooks.rb:330 2.771
After features/support/hooks.rb:100 0.000
Tags: @product
2:45.879
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 11.770
Then Tails is running from USB drive "__internal" 1.018
And all tps features are active 2.292
And all persistent directories have safe access rights 2.569
When I disable the first tps feature 6.356
Then all tps features but the first one are active 2.026
And I shutdown Tails and wait for the computer to power off 13.334
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.360
Then all tps features but the first one are active 2.152
After features/support/hooks.rb:330 1.392
After features/support/hooks.rb:100 0.007
Tags: @product
18.722
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.475
Then persistence for "Persistent" is active 0.259
And I create a file in the Persistent directory 0.144
Then the file I created was copied to the Persistent Storage 0.071
When I disable the first tps feature 5.407
Then persistence for "Persistent" is not active 0.093
And the Persistent directory does not exist 0.066
When I enable the first tps feature 3.047
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:330 0.821
After features/support/hooks.rb:100 0.000
Tags: @product
18.646
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.147
Then persistence for "Persistent" is active 0.155
When I create a file in the Persistent directory 0.209
And I disable the first tps feature 5.498
And I delete the data of the Persistent Folder feature 3.578
Then the file I created does not exist on the Persistent Storage 0.055
After features/support/hooks.rb:330 1.119
After features/support/hooks.rb:100 0.000
Tags: @product
1:31.634
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.708
And the network is plugged 0.128
And Tor is ready 47.376
And I take note of which tps features are available 0.616
When I write some files expected to persist 1.338
And I shutdown Tails and wait for the computer to power off 8.585
# 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" 23.881
After features/support/hooks.rb:330 0.089
After features/support/hooks.rb:100 0.000
Tags: @product
22:41.072
Scenario Creating and using a persistent NetworkManager connection
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.255
And the network is plugged 0.146
And Tor is ready 20.857
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.219
And I shutdown Tails and wait for the computer to power off 8.705
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:1.888
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:673:in `new'
./features/step_definitions/common_steps.rb:673:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:253: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.597

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/16/artifact/build-artifacts/04:08:49_Creating_and_using_a_persistent_NetworkManager_connection.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/16/artifact/build-artifacts/04:08:49_Creating_and_using_a_persistent_NetworkManager_connection.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20263-test-suite-without-spice/16/artifact/build-artifacts/04:08:49_Creating_and_using_a_persistent_NetworkManager_connection.journal

After features/support/hooks.rb:100 0.010
Tags: @product
56.769
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.109
And I enable persistence creation in Tails Greeter 1.139
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.769
Then I create a persistent partition with the default settings using the wizard that was already open 19.750
After features/support/hooks.rb:330 2.026
After features/support/hooks.rb:100 0.000
Tags: @product
4:24.409
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.713
When I enable persistence 35.387
Then no persistent Greeter options were restored 14.400
When I set all Greeter options to non-default values 26.956
And I log in to a new session in German (de) after having activated the Persistent Storage 53.032
Then all Greeter options are set to non-default values 0.331
When I cold reboot the computer 7.499
And the computer reboots Tails 59.570
Given I enable persistence 17.390
Then persistent Greeter options were restored 0.545
When I log in to a new session after having activated the Persistent Storage 38.168
Then all Greeter options are set to non-default values 0.412
After features/support/hooks.rb:330 1.879
After features/support/hooks.rb:100 0.007
Tags: @product
3:36.955
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.340
# 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 38.802
And I shutdown Tails and wait for the computer to power off 14.909
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:4.163
And I change the passphrase of the Persistent Storage back to the original 29.738
After features/support/hooks.rb:330 2.196
After features/support/hooks.rb:100 0.008
Tags: @product
1:0.833
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.435
And I log in to a new session without activating the Persistent Storage 27.125
Then persistence is disabled 0.308
But a Tails persistence partition exists on USB drive "__internal" 6.158
And all notifications have disappeared 10.738
When I delete the persistent partition 6.701
Then there is no persistence partition on USB drive "__internal" 0.366
After features/support/hooks.rb:330 1.433
After features/support/hooks.rb:100 0.000
Tags: @product
2:20.266
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.108
When I write some dotfile expected to persist 0.320
And I shutdown Tails and wait for the computer to power off 9.085
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:1.316
Then the expected persistent dotfile is present in the filesystem 0.435
After features/support/hooks.rb:330 1.084
After features/support/hooks.rb:100 0.008
Tags: @product
1:38.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 with a persistent partition and stopped at Tails Greeter's login screen 8.926
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.212
When I try to enable persistence 0.381
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 27.575
When I log in to a new session after having activated the Persistent Storage 44.373
And all notifications have disappeared 7.475
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.210
And all tps features are enabled 2.840
And all tps features but the first one are active 2.061
After features/support/hooks.rb:330 1.216
After features/support/hooks.rb:100 0.000
Tags: @product
5:46.102
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 4:27.415
And I enable persistence 27.803
And I log in to a new session after having activated the Persistent Storage 47.078
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.131
And persistence is enabled 2.672
After features/support/hooks.rb:330 1.056
After features/support/hooks.rb:100 0.000
Tags: @product
29.988
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 8.408
And I enable persistence but something goes wrong during the LUKS header upgrade 20.560
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.019
After features/support/hooks.rb:330 0.728
After features/support/hooks.rb:100 0.000
Tags: @product
41.543
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 8.851
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.710
When I enable persistence 23.464
Then the filesystem of the Persistent Storage was repaired 0.079
And persistence is successfully enabled 2.436
After features/support/hooks.rb:330 1.223
After features/support/hooks.rb:100 0.000
Tags: @product
41.413
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 8.920
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.016
When I try to enable persistence 0.527
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 19.650
When I repair the filesystem of the Persistent Storage 1.593
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.239
And the filesystem of the Persistent Storage was repaired 0.809
When I close the filesystem repair dialog 1.231
Then persistence is successfully enabled 1.423
After features/support/hooks.rb:330 1.273
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:51.962
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.541
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.559
When I try to enable persistence 0.298
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.994
When I repair the filesystem of the Persistent Storage 1.198
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.071
When I log in to a new session 44.769
And all notifications have disappeared 8.839
# 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.882
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.984
When I close the "whisperback" window 2.287
Then the Tor Browser starts 13.687
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.848
After features/support/hooks.rb:330 1.899
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:42.407
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 8.634
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.224
And Tails detects disk read failures on the boot device 0.476
When I try to enable persistence 1.717
Then the Welcome Screen tells me that my hardware is probably failing 16.808
When I log in to a new session 48.701
And all notifications have disappeared 8.521
Then the Tor Browser starts 10.227
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.095
After features/support/hooks.rb:330 1.718
After features/support/hooks.rb:100 0.000