Project Number Date
test_Tails_ISO_devel 3670 29 Jan 2025, 14:43

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 51:13.036 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:25.087
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 6:25.087
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:708: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:326 5.072

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:13:01)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3670/artifact/build-artifacts/04:13:01_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3670/artifact/build-artifacts/04:13:01_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3670/artifact/build-artifacts/04:13:01_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3670/artifact/build-artifacts/04:13:01_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
50.156
Before features/support/hooks.rb:269 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 12.142
When I log in to a new session without activating the Persistent Storage 26.902
Then Tails is running from USB drive "__internal" 0.720
And persistence is disabled 0.350
But a Tails persistence partition exists on USB drive "__internal" 10.040
After features/support/hooks.rb:326 0.998
After features/support/hooks.rb:100 0.000
Tags: @product
3:5.995
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.358
Then Tails is running from USB drive "__internal" 0.593
When I create a file in the Persistent directory 0.131
And I create a persistent partition with the default settings 23.749
Then the file I created was copied to the Persistent Storage 0.741
When I shutdown Tails and wait for the computer to power off 13.100
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.288
Then persistence for "Persistent" is active 0.940
And the file I created in the Persistent directory exists 0.091
After features/support/hooks.rb:326 1.197
After features/support/hooks.rb:100 0.032
Tags: @product
1:8.711
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.360
And the system is very low on memory 7.575
When I create a file in the Persistent directory 1.294
When I try to create a persistent partition 29.600
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.136
When I close the Persistent Storage app 2.523
And I free up some memory 1.497
And I create a persistent partition with the default settings 13.486
Then the file I created was copied to the Persistent Storage 0.237
After features/support/hooks.rb:326 1.487
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.807
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.109
Then Tails is running from USB drive "__internal" 0.708
And all tps features are active 4.889
And all persistent directories have safe access rights 2.692
When I disable the first tps feature 6.053
Then all tps features but the first one are active 2.316
And I shutdown Tails and wait for the computer to power off 12.634
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.085
Then all tps features but the first one are active 2.316
After features/support/hooks.rb:326 0.758
After features/support/hooks.rb:100 0.008
Tags: @product
21.145
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.117
Then persistence for "Persistent" is active 0.181
And I create a file in the Persistent directory 0.070
Then the file I created was copied to the Persistent Storage 0.076
When I disable the first tps feature 7.100
Then persistence for "Persistent" is not active 0.080
And the Persistent directory does not exist 0.059
When I enable the first tps feature 3.271
Then persistence for "Persistent" is active 0.104
And the file I created in the Persistent directory exists 0.083
After features/support/hooks.rb:326 1.206
After features/support/hooks.rb:100 0.000
Tags: @product
20.573
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.202
Then persistence for "Persistent" is active 0.209
When I create a file in the Persistent directory 0.105
And I disable the first tps feature 6.295
And I delete the data of the Persistent Folder feature 3.699
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:326 1.309
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.373
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.479
And the network is plugged 0.078
And Tor is ready 21.016
And I take note of which tps features are available 0.755
When I write some files expected to persist 2.332
And I shutdown Tails and wait for the computer to power off 8.813
# 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.897
After features/support/hooks.rb:326 0.224
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.158
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.736
And the network is plugged 0.111
And Tor is ready 18.895
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.261
And I shutdown Tails and wait for the computer to power off 8.878
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.089
And I capture all network traffic 0.004
And the network is plugged 0.088
And Tor is ready 20.306
And I switch to the "persistent-con-current" NetworkManager connection 0.478
And the 1st network device has a spoofed MAC address configured 0.195
And no network device leaked the real MAC address 0.112
After features/support/hooks.rb:326 0.847
After features/support/hooks.rb:100 0.054
Tags: @product
58.399
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.167
And I enable persistence creation in Tails Greeter 1.360
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.927
Then I create a persistent partition with the default settings using the wizard that was already open 21.944
After features/support/hooks.rb:326 1.705
After features/support/hooks.rb:100 0.000
Tags: @product
4:27.642
Before features/support/hooks.rb:269 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 11.775
When I enable persistence 37.510
Then no persistent Greeter options were restored 14.262
When I set all Greeter options to non-default values 25.074
And I log in to a new session in German (de) after having activated the Persistent Storage 49.354
Then all Greeter options are set to non-default values 0.599
When I cold reboot the computer 7.602
And the computer reboots Tails 58.937
Given I enable persistence 18.371
Then persistent Greeter options were restored 0.601
When I log in to a new session after having activated the Persistent Storage 42.937
Then all Greeter options are set to non-default values 0.614
After features/support/hooks.rb:326 1.332
After features/support/hooks.rb:100 0.007
Tags: @product
4:2.039
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.877
# 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.976
And I shutdown Tails and wait for the computer to power off 12.368
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:14.671
And I change the passphrase of the Persistent Storage back to the original 46.145
After features/support/hooks.rb:326 2.630
After features/support/hooks.rb:100 0.007
Tags: @product
58.912
Before features/support/hooks.rb:269 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.439
And I log in to a new session without activating the Persistent Storage 21.898
Then persistence is disabled 0.398
But a Tails persistence partition exists on USB drive "__internal" 11.116
And all notifications have disappeared 8.756
When I delete the persistent partition 5.854
Then there is no persistence partition on USB drive "__internal" 0.449
After features/support/hooks.rb:326 0.847
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.820
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.566
When I write some dotfile expected to persist 0.120
And I shutdown Tails and wait for the computer to power off 11.498
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.113
Then the expected persistent dotfile is present in the filesystem 0.521
After features/support/hooks.rb:326 0.960
After features/support/hooks.rb:100 0.008
Tags: @product
1:32.987
Before features/support/hooks.rb:269 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.372
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.192
When I try to enable persistence 0.321
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.968
When I log in to a new session after having activated the Persistent Storage 37.328
And all notifications have disappeared 8.035
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.048
And all tps features are enabled 2.346
And all tps features but the first one are active 2.372
After features/support/hooks.rb:326 1.148
After features/support/hooks.rb:100 0.000
Tags: @product
9:40.822
Before features/support/hooks.rb:269 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 7:37.503
And I enable persistence 1:15.498
And I log in to a new session after having activated the Persistent Storage 40.833
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 3.555
And persistence is enabled 3.431
After features/support/hooks.rb:326 1.322
After features/support/hooks.rb:100 0.000
Tags: @product
56.150
Before features/support/hooks.rb:269 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 16.832
And I enable persistence but something goes wrong during the LUKS header upgrade 38.366
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.951
After features/support/hooks.rb:326 0.853
After features/support/hooks.rb:100 0.000
Tags: @product
59.653
Before features/support/hooks.rb:269 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 11.426
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 7.502
When I enable persistence 37.292
Then the filesystem of the Persistent Storage was repaired 0.097
And persistence is successfully enabled 3.333
After features/support/hooks.rb:326 1.584
After features/support/hooks.rb:100 0.000
Tags: @product
57.191
Before features/support/hooks.rb:269 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.813
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.191
When I try to enable persistence 1.551
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.548
When I repair the filesystem of the Persistent Storage 5.243
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.814
And the filesystem of the Persistent Storage was repaired 1.603
When I close the filesystem repair dialog 1.548
Then persistence is successfully enabled 1.877
After features/support/hooks.rb:326 1.499
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:20.436
Before features/support/hooks.rb:269 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 25.917
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.112
When I try to enable persistence 1.436
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.065
When I repair the filesystem of the Persistent Storage 1.303
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.087
When I log in to a new session 43.230
And all notifications have disappeared 10.202
# 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.471
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.147
When I close the "whisperback" window 1.877
Then the Tor Browser starts 19.610
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.972
After features/support/hooks.rb:326 2.414
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:11.970
Before features/support/hooks.rb:269 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.212
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.973
And Tails detects disk read failures on the boot device 1.665
When I try to enable persistence 0.668
Then the Welcome Screen tells me that my hardware is probably failing 23.463
When I log in to a new session 56.997
And all notifications have disappeared 9.117
Then the Tor Browser starts 20.845
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.026
After features/support/hooks.rb:326 3.731
After features/support/hooks.rb:100 0.000