Project Number Date
test_Tails_ISO_20872-more-gtk-launch 5 30 Mar 2025, 08:27

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 148 2 7 0 0 157 19 2 21 1:17:13.178 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
36:35.528
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.513
And I update APT using apt 35:0.014
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/misc_helpers.rb:180:in `new'
./features/support/helpers/misc_helpers.rb:180:in `force_new_tor_circuit'
./features/support/helpers/misc_helpers.rb:192:in `block in retry_tor'
./features/support/helpers/misc_helpers.rb:222:in `rescue in block in retry_action'
./features/support/helpers/misc_helpers.rb:209:in `block in retry_action'
./features/support/helpers/misc_helpers.rb:208:in `loop'
./features/support/helpers/misc_helpers.rb:208:in `retry_action'
./features/support/helpers/misc_helpers.rb:196:in `retry_tor'
./features/step_definitions/apt.rb:59:in `/^I update APT using apt$/'
features/persistence.feature:8:in `And I update APT using apt'
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 10.848

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:42:37)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20872-more-gtk-launch/5/artifact/build-artifacts/03:42:37_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20872-more-gtk-launch/5/artifact/build-artifacts/03:42:37_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20872-more-gtk-launch/5/artifact/build-artifacts/03:42:37_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
43.579
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.728
When I log in to a new session without activating the Persistent Storage 23.333
Then Tails is running from USB drive "__internal" 0.506
And persistence is disabled 1.689
But a Tails persistence partition exists on USB drive "__internal" 6.321
After features/support/hooks.rb:330 1.548
After features/support/hooks.rb:100 0.000
Tags: @product
3:11.468
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.793
Then Tails is running from USB drive "__internal" 0.432
When I create a file in the Persistent directory 0.124
And I create a persistent partition with the default settings 24.280
Then the file I created was copied to the Persistent Storage 2.322
When I shutdown Tails and wait for the computer to power off 12.872
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.101
Then persistence for "Persistent" is active 0.401
And the file I created in the Persistent directory exists 0.140
After features/support/hooks.rb:330 1.739
After features/support/hooks.rb:100 0.009
Tags: @product
1:29.372
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.663
And the system is very low on memory 31.201
When I create a file in the Persistent directory 3.341
When I try to create a persistent partition 22.142
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.400
When I close the Persistent Storage app 2.591
And I free up some memory 2.826
And I create a persistent partition with the default settings 15.205
Then the file I created was copied to the Persistent Storage 0.999
After features/support/hooks.rb:330 2.600
After features/support/hooks.rb:100 0.000
Tags: @product
3:2.248
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 enabled and logged in 14.403
Then Tails is running from USB drive "__internal" 0.636
And all tps features are active 3.104
And all persistent directories have safe access rights 2.862
When I disable the first tps feature 5.972
Then all tps features but the first one are active 2.200
And I shutdown Tails and wait for the computer to power off 12.941
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:17.982
Then all tps features but the first one are active 2.144
After features/support/hooks.rb:330 1.385
After features/support/hooks.rb:100 0.009
Tags: @product
20.732
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.925
Then persistence for "Persistent" is active 0.088
And I create a file in the Persistent directory 0.072
Then the file I created was copied to the Persistent Storage 0.075
When I disable the first tps feature 6.016
Then persistence for "Persistent" is not active 0.109
And the Persistent directory does not exist 0.096
When I enable the first tps feature 3.194
Then persistence for "Persistent" is active 0.069
And the file I created in the Persistent directory exists 0.082
After features/support/hooks.rb:330 1.437
After features/support/hooks.rb:100 0.000
Tags: @product
19.493
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.532
Then persistence for "Persistent" is active 0.076
When I create a file in the Persistent directory 0.065
And I disable the first tps feature 5.982
And I delete the data of the Persistent Folder feature 3.754
Then the file I created does not exist on the Persistent Storage 0.081
After features/support/hooks.rb:330 1.462
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.386
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.526
And the network is plugged 0.096
And Tor is ready 22.328
And I take note of which tps features are available 0.769
When I write some files expected to persist 1.692
And I shutdown Tails and wait for the computer to power off 8.548
# 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.424
After features/support/hooks.rb:330 0.123
After features/support/hooks.rb:100 0.000
Tags: @product
3:16.710
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.699
And the network is plugged 0.096
And Tor is ready 22.403
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.283
And I shutdown Tails and wait for the computer to power off 8.455
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.647
And I capture all network traffic 0.007
And the network is plugged 0.068
And Tor is ready 21.391
And I switch to the "persistent-con-current" NetworkManager connection 0.399
And the 1st network device has a spoofed MAC address configured 0.114
And no network device leaked the real MAC address 0.144
After features/support/hooks.rb:330 0.646
After features/support/hooks.rb:100 0.053
Tags: @product
1:5.334
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 16.829
And I enable persistence creation in Tails Greeter 1.245
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.358
Then I create a persistent partition with the default settings using the wizard that was already open 23.900
After features/support/hooks.rb:330 2.914
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.580
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.746
When I enable persistence 50.739
Then no persistent Greeter options were restored 14.582
When I set all Greeter options to non-default values 25.341
And I log in to a new session in German (de) after having activated the Persistent Storage 45.596
Then all Greeter options are set to non-default values 0.560
When I cold reboot the computer 7.849
And the computer reboots Tails 1:13.007
Given I enable persistence 18.881
Then persistent Greeter options were restored 0.569
When I log in to a new session after having activated the Persistent Storage 40.450
Then all Greeter options are set to non-default values 0.254
After features/support/hooks.rb:330 2.196
After features/support/hooks.rb:100 0.010
Tags: @product
3:52.837
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.520
# 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.382
And I shutdown Tails and wait for the computer to power off 14.882
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:15.331
And I change the passphrase of the Persistent Storage back to the original 33.721
After features/support/hooks.rb:330 2.810
After features/support/hooks.rb:100 0.011
Tags: @product
1:13.820
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.622
And I log in to a new session without activating the Persistent Storage 23.628
Then persistence is disabled 0.384
But a Tails persistence partition exists on USB drive "__internal" 22.119
And all notifications have disappeared 9.674
When I delete the persistent partition 7.148
Then there is no persistence partition on USB drive "__internal" 0.243
After features/support/hooks.rb:330 1.473
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.664
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.395
When I write some dotfile expected to persist 0.184
And I shutdown Tails and wait for the computer to power off 11.180
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.498
Then the expected persistent dotfile is present in the filesystem 0.405
After features/support/hooks.rb:330 1.627
After features/support/hooks.rb:100 0.010
Tags: @product
1:10.238
Scenario Feature activation fails
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.834
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.098
When I try to enable persistence 0.304
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 1:0.001
try_for() timeout expired (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/usb.rb:1724:in `/^the Welcome Screen tells me that the Persistent Folder feature couldn't be activated$/'
features/persistence.feature:146:in `Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated'
When I log in to a new session after having activated the Persistent Storage 0.000
And all notifications have disappeared 0.000
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 0.000
And all tps features are enabled 0.000
And all tps features but the first one are active 0.000
After features/support/hooks.rb:330 8.836

SCENARIO FAILED: 'Feature activation fails' (at time 04:11:44)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20872-more-gtk-launch/5/artifact/build-artifacts/04:11:44_Feature_activation_fails.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20872-more-gtk-launch/5/artifact/build-artifacts/04:11:44_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20872-more-gtk-launch/5/artifact/build-artifacts/04:11:44_Feature_activation_fails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20872-more-gtk-launch/5/artifact/build-artifacts/04:11:44_Feature_activation_fails.journal

After features/support/hooks.rb:100 0.000
Tags: @product
5:34.118
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 4:2.428
And I enable persistence 36.459
And I log in to a new session after having activated the Persistent Storage 50.659
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.697
And persistence is enabled 2.874
After features/support/hooks.rb:330 1.785
After features/support/hooks.rb:100 0.000
Tags: @product
34.963
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 9.441
And I enable persistence but something goes wrong during the LUKS header upgrade 24.721
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.800
After features/support/hooks.rb:330 0.876
After features/support/hooks.rb:100 0.000
Tags: @product
50.640
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.307
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 9.373
When I enable persistence 28.971
Then the filesystem of the Persistent Storage was repaired 0.090
And persistence is successfully enabled 2.897
After features/support/hooks.rb:330 1.617
After features/support/hooks.rb:100 0.000
Tags: @product
50.676
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.228
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.111
When I try to enable persistence 0.452
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 25.280
When I repair the filesystem of the Persistent Storage 1.330
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.901
And the filesystem of the Persistent Storage was repaired 4.453
When I close the filesystem repair dialog 1.240
Then persistence is successfully enabled 1.678
After features/support/hooks.rb:330 2.029
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:9.257
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.402
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.123
When I try to enable persistence 0.299
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.155
When I repair the filesystem of the Persistent Storage 1.348
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.311
When I log in to a new session 48.967
And all notifications have disappeared 11.580
# 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.329
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.177
When I close the "whisperback" window 1.446
Then the Tor Browser starts 19.140
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 3.978
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:4.524
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.566
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.632
And Tails detects disk read failures on the boot device 1.749
When I try to enable persistence 0.477
Then the Welcome Screen tells me that my hardware is probably failing 24.001
When I log in to a new session 53.428
And all notifications have disappeared 7.412
Then the Tor Browser starts 20.418
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.838
After features/support/hooks.rb:330 1.977
After features/support/hooks.rb:100 0.000