Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 8 29 Oct 2024, 02:48

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 151 2 4 0 0 157 19 2 21 47:12.559 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:51.468
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:8.529
And I update APT using apt 14.172
And I install "python3-behave" using apt 25.813
Then the Tails Persistent Storage behave tests pass 2.953
After features/support/hooks.rb:326 0.737
After features/support/hooks.rb:100 0.000
Tags: @product
48.050
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.133
When I log in to a new session without activating the Persistent Storage 25.112
Then Tails is running from USB drive "__internal" 0.956
And persistence is disabled 0.266
But a Tails persistence partition exists on USB drive "__internal" 9.582
After features/support/hooks.rb:326 1.235
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.024
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 15.139
Then Tails is running from USB drive "__internal" 1.136
When I create a file in the Persistent directory 0.304
And I create a persistent partition with the default settings 25.286
Then the file I created was copied to the Persistent Storage 0.713
When I shutdown Tails and wait for the computer to power off 17.920
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.653
Then persistence for "Persistent" is active 0.793
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 1.077
After features/support/hooks.rb:100 0.007
Tags: @product
1:10.643
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.246
And the system is very low on memory 6.539
When I create a file in the Persistent directory 0.902
When I try to create a persistent partition 28.407
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.204
When I close the Persistent Storage app 2.592
And I free up some memory 1.706
And I create a persistent partition with the default settings 14.203
Then the file I created was copied to the Persistent Storage 0.839
After features/support/hooks.rb:326 1.482
After features/support/hooks.rb:100 0.000
Tags: @product
3:1.154
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 30.400
Then Tails is running from USB drive "__internal" 0.668
And all tps features are active 2.406
And all persistent directories have safe access rights 2.845
When I disable the first tps feature 5.450
Then all tps features but the first one are active 1.925
And I shutdown Tails and wait for the computer to power off 8.758
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.456
Then all tps features but the first one are active 2.241
After features/support/hooks.rb:326 0.858
After features/support/hooks.rb:100 0.012
Tags: @product
21.762
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.102
Then persistence for "Persistent" is active 0.220
And I create a file in the Persistent directory 0.125
Then the file I created was copied to the Persistent Storage 0.109
When I disable the first tps feature 7.738
Then persistence for "Persistent" is not active 0.083
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.134
Then persistence for "Persistent" is active 0.105
And the file I created in the Persistent directory exists 0.076
After features/support/hooks.rb:326 1.075
After features/support/hooks.rb:100 0.000
Tags: @product
19.395
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 9.814
Then persistence for "Persistent" is active 0.244
When I create a file in the Persistent directory 0.123
And I disable the first tps feature 5.568
And I delete the data of the Persistent Folder feature 3.590
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:326 1.172
After features/support/hooks.rb:100 0.000
Tags: @product
1:34.235
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 9.496
And the network is plugged 0.102
And Tor is ready 49.024
And I take note of which tps features are available 0.607
When I write some files expected to persist 1.651
And I shutdown Tails and wait for the computer to power off 8.432
# 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.919
After features/support/hooks.rb:326 0.089
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.815
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.456
And the network is plugged 0.091
And Tor is ready 18.294
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 8.633
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.352
And I capture all network traffic 0.006
And the network is plugged 0.076
And Tor is ready 21.010
And I switch to the "persistent-con-current" NetworkManager connection 0.339
And the 1st network device has a spoofed MAC address configured 0.135
And no network device leaked the real MAC address 0.140
After features/support/hooks.rb:326 0.664
After features/support/hooks.rb:100 0.046
Tags: @product
1:2.386
Before features/support/hooks.rb:269 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 12.382
And I enable persistence creation in Tails Greeter 1.254
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.774
Then I create a persistent partition with the default settings using the wizard that was already open 25.974
After features/support/hooks.rb:326 1.933
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.980
Scenario Persistent Greeter options
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 13.039
When I enable persistence 50.679
Then no persistent Greeter options were restored 17.888
When I set all Greeter options to non-default values 31.685
And I log in to a new session in German (de) after having activated the Persistent Storage 55.657
Then all Greeter options are set to non-default values 1.379
When I cold reboot the computer 9.716
And the computer reboots Tails 1:13.936
Given I enable persistence 26.997
The
The Dogtail init script raised: SearchError: descendent of [application | Welcome to Tails!]: child with name="Your Persistent Storage is unlocked. Its content will be available until you shut down Tails." roleName='label'
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:339:in `initialize'
./features/support/helpers/dogtail.rb:268:in `new'
./features/support/helpers/dogtail.rb:268:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:276:in `child'
./features/step_definitions/usb.rb:695:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
features/persistence.feature:111:in `Given I enable persistence'
Then persistent Greeter options were restored 0.000
When I log in to a new session after having activated the Persistent Storage 0.000
Then all Greeter options are set to non-default values 0.000
After features/support/hooks.rb:326 6.936

SCENARIO FAILED: 'Persistent Greeter options' (at time 03:24:21)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/8/artifact/build-artifacts/03:24:21_Persistent_Greeter_options.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/8/artifact/build-artifacts/03:24:21_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/8/artifact/build-artifacts/03:24:21_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/8/artifact/build-artifacts/03:24:21_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.009
Tags: @product
3:50.614
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 10.225
# 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 32.980
And I shutdown Tails and wait for the computer to power off 12.708
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.687
And I change the passphrase of the Persistent Storage back to the original 47.013
After features/support/hooks.rb:326 1.529
After features/support/hooks.rb:100 0.009
Tags: @product
1:7.402
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.884
And I log in to a new session without activating the Persistent Storage 27.630
Then persistence is disabled 0.634
But a Tails persistence partition exists on USB drive "__internal" 11.336
And all notifications have disappeared 9.772
When I delete the persistent partition 5.763
Then there is no persistence partition on USB drive "__internal" 0.379
After features/support/hooks.rb:326 1.067
After features/support/hooks.rb:100 0.000
Tags: @product
2:24.720
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 10.264
When I write some dotfile expected to persist 0.055
And I shutdown Tails and wait for the computer to power off 8.873
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.437
Then the expected persistent dotfile is present in the filesystem 1.089
After features/support/hooks.rb:326 1.011
After features/support/hooks.rb:100 0.008
Tags: @product
1:43.776
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.452
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.257
When I try to enable persistence 1.436
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.003
When I log in to a new session after having activated the Persistent Storage 40.283
And all notifications have disappeared 7.996
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.588
And all tps features are enabled 2.515
And all tps features but the first one are active 2.241
After features/support/hooks.rb:326 1.307
After features/support/hooks.rb:100 0.000
Tags: @product
7:59.664
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 6:29.880
And I enable persistence 35.987
And I log in to a new session after having activated the Persistent Storage 50.405
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.616
And persistence is enabled 0.774
After features/support/hooks.rb:326 2.124
After features/support/hooks.rb:100 0.000
Tags: @product
2:10.188
Scenario LUKS backup header is restored if something goes wrong during upgrade
Before features/support/hooks.rb:269 0.009
Steps
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.465
And I enable persistence but something goes wrong during the LUKS header upgrade 2:0.723
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:683:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:712:in `/^I enable persistence but something goes wrong during the LUKS header upgrade$/'
features/persistence.feature:162:in `And I enable persistence but something goes wrong during the LUKS header upgrade'
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.000
After features/support/hooks.rb:326 5.023

SCENARIO FAILED: 'LUKS backup header is restored if something goes wrong during upgrade' (at time 03:43:52)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/8/artifact/build-artifacts/03:43:52_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/8/artifact/build-artifacts/03:43:52_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/8/artifact/build-artifacts/03:43:52_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/8/artifact/build-artifacts/03:43:52_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.journal

After features/support/hooks.rb:100 0.000
Tags: @product
49.056
Before features/support/hooks.rb:269 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 9.107
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.544
When I enable persistence 28.237
Then the filesystem of the Persistent Storage was repaired 0.195
And persistence is successfully enabled 4.972
After features/support/hooks.rb:326 1.073
After features/support/hooks.rb:100 0.000
Tags: @product
53.962
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 8.937
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.153
When I try to enable persistence 0.483
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 27.954
When I repair the filesystem of the Persistent Storage 1.367
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.672
And the filesystem of the Persistent Storage was repaired 1.381
When I close the filesystem repair dialog 5.568
Then persistence is successfully enabled 0.442
After features/support/hooks.rb:326 0.942
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.697
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 8.553
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.313
When I try to enable persistence 0.353
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.859
When I repair the filesystem of the Persistent Storage 1.329
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.098
When I log in to a new session 43.086
And all notifications have disappeared 9.788
# 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.358
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.529
When I close the "whisperback" window 1.571
Then the Tor Browser starts 15.884
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.968
After features/support/hooks.rb:326 1.839
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:1.557
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.130
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.924
And Tails detects disk read failures on the boot device 1.641
When I try to enable persistence 0.500
Then the Welcome Screen tells me that my hardware is probably failing 21.513
When I log in to a new session 52.438
And all notifications have disappeared 9.002
Then the Tor Browser starts 19.525
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 1.608
After features/support/hooks.rb:100 0.000