Project Number Date
test_Tails_ISO_devel 3663 27 Jan 2025, 17:52

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:30.521 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
6:28.415
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:28.415
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.149

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 04:18:50)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3663/artifact/build-artifacts/04:18:50_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3663/artifact/build-artifacts/04:18:50_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3663/artifact/build-artifacts/04:18:50_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3663/artifact/build-artifacts/04:18:50_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
53.939
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.145
When I log in to a new session without activating the Persistent Storage 25.244
Then Tails is running from USB drive "__internal" 0.739
And persistence is disabled 0.401
But a Tails persistence partition exists on USB drive "__internal" 16.409
After features/support/hooks.rb:326 1.322
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.764
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.494
Then Tails is running from USB drive "__internal" 0.474
When I create a file in the Persistent directory 0.133
And I create a persistent partition with the default settings 26.711
Then the file I created was copied to the Persistent Storage 0.633
When I shutdown Tails and wait for the computer to power off 13.103
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.651
Then persistence for "Persistent" is active 0.488
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 1.070
After features/support/hooks.rb:100 0.007
Tags: @product
1:14.324
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.986
And the system is very low on memory 11.667
When I create a file in the Persistent directory 1.791
When I try to create a persistent partition 26.998
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.218
When I close the Persistent Storage app 2.984
And I free up some memory 1.815
And I create a persistent partition with the default settings 15.577
Then the file I created was copied to the Persistent Storage 0.284
After features/support/hooks.rb:326 1.580
After features/support/hooks.rb:100 0.000
Tags: @product
3:8.938
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 15.428
Then Tails is running from USB drive "__internal" 0.698
And all tps features are active 5.768
And all persistent directories have safe access rights 3.062
When I disable the first tps feature 6.409
Then all tps features but the first one are active 5.338
And I shutdown Tails and wait for the computer to power off 16.240
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.147
Then all tps features but the first one are active 2.844
After features/support/hooks.rb:326 1.086
After features/support/hooks.rb:100 0.007
Tags: @product
24.931
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 13.477
Then persistence for "Persistent" is active 0.431
And I create a file in the Persistent directory 0.084
Then the file I created was copied to the Persistent Storage 0.087
When I disable the first tps feature 6.772
Then persistence for "Persistent" is not active 0.101
And the Persistent directory does not exist 0.067
When I enable the first tps feature 3.738
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 1.150
After features/support/hooks.rb:100 0.000
Tags: @product
21.107
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.115
Then persistence for "Persistent" is active 0.497
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 6.587
And I delete the data of the Persistent Folder feature 3.760
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:326 1.383
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.709
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 11.421
And the network is plugged 0.139
And Tor is ready 22.496
And I take note of which tps features are available 0.630
When I write some files expected to persist 2.197
And I shutdown Tails and wait for the computer to power off 8.838
# 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.986
After features/support/hooks.rb:326 0.112
After features/support/hooks.rb:100 0.000
Tags: @product
3:13.400
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.311
And the network is plugged 0.082
And Tor is ready 20.922
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.279
And I shutdown Tails and wait for the computer to power off 10.946
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.509
And I capture all network traffic 0.004
And the network is plugged 0.106
And Tor is ready 18.533
And I switch to the "persistent-con-current" NetworkManager connection 0.471
And the 1st network device has a spoofed MAC address configured 0.096
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.082
Tags: @product
1:6.105
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.575
And I enable persistence creation in Tails Greeter 1.323
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.535
Then I create a persistent partition with the default settings using the wizard that was already open 28.670
After features/support/hooks.rb:326 1.895
After features/support/hooks.rb:100 0.000
Tags: @product
4:49.140
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 12.462
When I enable persistence 42.732
Then no persistent Greeter options were restored 14.501
When I set all Greeter options to non-default values 32.003
And I log in to a new session in German (de) after having activated the Persistent Storage 53.582
Then all Greeter options are set to non-default values 0.458
When I cold reboot the computer 7.715
And the computer reboots Tails 1:0.919
Given I enable persistence 21.125
Then persistent Greeter options were restored 0.562
When I log in to a new session after having activated the Persistent Storage 42.495
Then all Greeter options are set to non-default values 0.581
After features/support/hooks.rb:326 0.997
After features/support/hooks.rb:100 0.006
Tags: @product
3:56.615
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.223
# 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 40.704
And I shutdown Tails and wait for the computer to power off 13.044
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:19.594
And I change the passphrase of the Persistent Storage back to the original 33.048
After features/support/hooks.rb:326 2.319
After features/support/hooks.rb:100 0.008
Tags: @product
1:1.462
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 9.250
And I log in to a new session without activating the Persistent Storage 24.123
Then persistence is disabled 0.347
But a Tails persistence partition exists on USB drive "__internal" 10.768
And all notifications have disappeared 10.848
When I delete the persistent partition 5.722
Then there is no persistence partition on USB drive "__internal" 0.401
After features/support/hooks.rb:326 0.913
After features/support/hooks.rb:100 0.000
Tags: @product
2:33.828
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.935
When I write some dotfile expected to persist 0.075
And I shutdown Tails and wait for the computer to power off 10.382
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.007
Then the expected persistent dotfile is present in the filesystem 0.428
After features/support/hooks.rb:326 0.724
After features/support/hooks.rb:100 0.006
Tags: @product
1:34.718
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 9.709
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.107
When I try to enable persistence 0.266
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.340
When I log in to a new session after having activated the Persistent Storage 33.853
And all notifications have disappeared 7.609
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.687
And all tps features are enabled 2.906
And all tps features but the first one are active 2.237
After features/support/hooks.rb:326 0.814
After features/support/hooks.rb:100 0.000
Tags: @product
5:5.368
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 3:42.672
And I enable persistence 36.860
And I log in to a new session after having activated the Persistent Storage 39.846
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.225
And persistence is enabled 3.763
After features/support/hooks.rb:326 1.090
After features/support/hooks.rb:100 0.000
Tags: @product
29.245
Before features/support/hooks.rb:269 0.004
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.061
And I enable persistence but something goes wrong during the LUKS header upgrade 19.262
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.920
After features/support/hooks.rb:326 0.835
After features/support/hooks.rb:100 0.000
Tags: @product
52.612
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.673
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.624
When I enable persistence 29.482
Then the filesystem of the Persistent Storage was repaired 0.075
And persistence is successfully enabled 2.756
After features/support/hooks.rb:326 2.438
After features/support/hooks.rb:100 0.000
Tags: @product
54.963
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 9.298
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 10.281
When I try to enable persistence 0.500
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.581
When I repair the filesystem of the Persistent Storage 1.324
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.204
And the filesystem of the Persistent Storage was repaired 1.645
When I close the filesystem repair dialog 1.467
Then persistence is successfully enabled 1.658
After features/support/hooks.rb:326 0.883
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.893
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.433
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.121
When I try to enable persistence 0.297
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 35.244
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.078
When I log in to a new session 42.179
And all notifications have disappeared 8.848
# 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.403
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.873
When I close the "whisperback" window 1.705
Then the Tor Browser starts 12.445
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.006
After features/support/hooks.rb:326 4.869
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:54.035
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 9.198
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.569
And Tails detects disk read failures on the boot device 1.667
When I try to enable persistence 0.505
Then the Welcome Screen tells me that my hardware is probably failing 23.255
When I log in to a new session 43.468
And all notifications have disappeared 7.346
Then the Tor Browser starts 18.143
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.881
After features/support/hooks.rb:326 2.581
After features/support/hooks.rb:100 0.000