Project Number Date
test_Tails_ISO_20816-block-paths-bwrap 31 03 Apr 2025, 09:36

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 153 1 3 0 0 157 20 1 21 46:4.062 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:52.242
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:52.242
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/common_steps.rb:715:in `/^available upgrades have been checked$/'
./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: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.153

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:10:51)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20816-block-paths-bwrap/31/artifact/build-artifacts/04:10:51_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20816-block-paths-bwrap/31/artifact/build-artifacts/04:10:51_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20816-block-paths-bwrap/31/artifact/build-artifacts/04:10:51_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20816-block-paths-bwrap/31/artifact/build-artifacts/04:10:51_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
50.946
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 10.941
When I log in to a new session without activating the Persistent Storage 27.633
Then Tails is running from USB drive "__internal" 0.799
And persistence is disabled 0.373
But a Tails persistence partition exists on USB drive "__internal" 11.198
After features/support/hooks.rb:330 2.101
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.928
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.579
Then Tails is running from USB drive "__internal" 0.577
When I create a file in the Persistent directory 0.178
And I create a persistent partition with the default settings 29.174
Then the file I created was copied to the Persistent Storage 2.061
When I shutdown Tails and wait for the computer to power off 12.585
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:25.335
Then persistence for "Persistent" is active 0.348
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:330 1.994
After features/support/hooks.rb:100 0.026
Tags: @product
1:7.620
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 without a persistent partition and logged in 11.695
And the system is very low on memory 3.998
When I create a file in the Persistent directory 2.954
When I try to create a persistent partition 25.943
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.106
When I close the Persistent Storage app 2.709
And I free up some memory 3.048
And I create a persistent partition with the default settings 14.522
Then the file I created was copied to the Persistent Storage 1.642
After features/support/hooks.rb:330 2.279
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.285
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.145
Then Tails is running from USB drive "__internal" 0.934
And all tps features are active 2.628
And all persistent directories have safe access rights 2.918
When I disable the first tps feature 6.435
Then all tps features but the first one are active 2.185
And I shutdown Tails and wait for the computer to power off 15.776
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.710
Then all tps features but the first one are active 2.550
After features/support/hooks.rb:330 1.523
After features/support/hooks.rb:100 0.008
Tags: @product
21.157
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 11.341
Then persistence for "Persistent" is active 0.139
And I create a file in the Persistent directory 0.136
Then the file I created was copied to the Persistent Storage 0.140
When I disable the first tps feature 6.006
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.043
When I enable the first tps feature 3.135
Then persistence for "Persistent" is active 0.072
And the file I created in the Persistent directory exists 0.068
After features/support/hooks.rb:330 1.554
After features/support/hooks.rb:100 0.000
Tags: @product
20.292
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 10.440
Then persistence for "Persistent" is active 0.251
When I create a file in the Persistent directory 0.120
And I disable the first tps feature 5.714
And I delete the data of the Persistent Folder feature 3.696
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:330 1.576
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.822
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.944
And the network is plugged 0.092
And Tor is ready 20.827
And I take note of which tps features are available 0.701
When I write some files expected to persist 2.308
And I shutdown Tails and wait for the computer to power off 8.611
# 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.336
After features/support/hooks.rb:330 0.133
After features/support/hooks.rb:100 0.000
Tags: @product
3:15.854
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.469
And the network is plugged 0.096
And Tor is ready 22.126
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 10.769
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.546
And I capture all network traffic 0.011
And the network is plugged 0.084
And Tor is ready 20.787
And I switch to the "persistent-con-current" NetworkManager connection 0.468
And the 1st network device has a spoofed MAC address configured 0.169
And no network device leaked the real MAC address 0.118
After features/support/hooks.rb:330 0.703
After features/support/hooks.rb:100 0.039
Tags: @product
1:10.983
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.230
And I enable persistence creation in Tails Greeter 1.448
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.979
Then I create a persistent partition with the default settings using the wizard that was already open 30.325
After features/support/hooks.rb:330 3.338
After features/support/hooks.rb:100 0.000
Tags: @product
4:29.168
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 12.111
When I enable persistence 37.392
Then no persistent Greeter options were restored 14.362
When I set all Greeter options to non-default values 28.578
And I log in to a new session in German (de) after having activated the Persistent Storage 48.889
Then all Greeter options are set to non-default values 0.567
When I cold reboot the computer 7.824
And the computer reboots Tails 1:3.066
Given I enable persistence 18.298
Then persistent Greeter options were restored 0.569
When I log in to a new session after having activated the Persistent Storage 36.860
Then all Greeter options are set to non-default values 0.646
After features/support/hooks.rb:330 1.868
After features/support/hooks.rb:100 0.037
Tags: @product
3:43.098
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 10.470
# 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 36.790
And I shutdown Tails and wait for the computer to power off 13.257
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.267
And I change the passphrase of the Persistent Storage back to the original 32.312
After features/support/hooks.rb:330 2.701
After features/support/hooks.rb:100 0.046
Tags: @product
54.755
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.870
And I log in to a new session without activating the Persistent Storage 21.091
Then persistence is disabled 0.487
But a Tails persistence partition exists on USB drive "__internal" 6.346
And all notifications have disappeared 8.427
When I delete the persistent partition 7.733
Then there is no persistence partition on USB drive "__internal" 0.797
After features/support/hooks.rb:330 1.540
After features/support/hooks.rb:100 0.000
Tags: @product
2:35.987
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 10.553
When I write some dotfile expected to persist 0.064
And I shutdown Tails and wait for the computer to power off 10.815
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.073
Then the expected persistent dotfile is present in the filesystem 0.480
After features/support/hooks.rb:330 0.757
After features/support/hooks.rb:100 0.006
Tags: @product
1:43.846
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.309
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.108
When I try to enable persistence 0.505
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.584
When I log in to a new session after having activated the Persistent Storage 48.413
And all notifications have disappeared 8.198
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.203
And all tps features are enabled 2.482
And all tps features but the first one are active 2.040
After features/support/hooks.rb:330 1.630
After features/support/hooks.rb:100 0.000
Tags: @product
5:7.139
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 LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:37.562
And I enable persistence 34.888
And I log in to a new session after having activated the Persistent Storage 50.334
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.199
And persistence is enabled 3.155
After features/support/hooks.rb:330 1.796
After features/support/hooks.rb:100 0.000
Tags: @product
31.687
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
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.394
And I enable persistence but something goes wrong during the LUKS header upgrade 21.345
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.948
After features/support/hooks.rb:330 0.792
After features/support/hooks.rb:100 0.000
Tags: @product
47.287
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.746
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.530
When I enable persistence 27.616
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 3.308
After features/support/hooks.rb:330 1.573
After features/support/hooks.rb:100 0.000
Tags: @product
49.925
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.231
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.180
When I try to enable persistence 0.425
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 22.187
When I repair the filesystem of the Persistent Storage 2.511
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.381
And the filesystem of the Persistent Storage was repaired 4.288
When I close the filesystem repair dialog 1.288
Then persistence is successfully enabled 1.431
After features/support/hooks.rb:330 1.851
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:55.077
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.765
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.113
When I try to enable persistence 0.440
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.444
When I repair the filesystem of the Persistent Storage 1.335
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.090
When I log in to a new session 42.547
And all notifications have disappeared 8.363
# 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.664
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.287
When I close the "whisperback" window 1.566
Then the Tor Browser starts 20.644
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.815
After features/support/hooks.rb:330 1.931
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.954
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.704
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.408
And Tails detects disk read failures on the boot device 0.523
When I try to enable persistence 0.428
Then the Welcome Screen tells me that my hardware is probably failing 19.999
When I log in to a new session 52.330
And all notifications have disappeared 8.931
Then the Tor Browser starts 21.826
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.802
After features/support/hooks.rb:330 2.457
After features/support/hooks.rb:100 0.000