Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 11 30 Oct 2024, 20:16

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 41:32.111 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:19.467
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:37.082
And I update APT using apt 13.705
And I install "python3-behave" using apt 25.835
Then the Tails Persistent Storage behave tests pass 2.843
After features/support/hooks.rb:326 0.917
After features/support/hooks.rb:100 0.000
Tags: @product
54.015
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 16.155
When I log in to a new session without activating the Persistent Storage 25.013
Then Tails is running from USB drive "__internal" 0.888
And persistence is disabled 0.344
But a Tails persistence partition exists on USB drive "__internal" 11.613
After features/support/hooks.rb:326 2.381
After features/support/hooks.rb:100 0.000
Tags: @product
3:27.973
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 14.273
Then Tails is running from USB drive "__internal" 0.566
When I create a file in the Persistent directory 0.141
And I create a persistent partition with the default settings 27.832
Then the file I created was copied to the Persistent Storage 0.812
When I shutdown Tails and wait for the computer to power off 12.996
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:30.871
Then persistence for "Persistent" is active 0.379
And the file I created in the Persistent directory exists 0.098
After features/support/hooks.rb:326 0.773
After features/support/hooks.rb:100 0.013
Tags: @product
54.520
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.405
And the system is very low on memory 4.506
When I create a file in the Persistent directory 0.857
When I try to create a persistent partition 20.313
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.321
When I close the Persistent Storage app 2.590
And I free up some memory 1.925
And I create a persistent partition with the default settings 12.356
Then the file I created was copied to the Persistent Storage 0.243
After features/support/hooks.rb:326 1.099
After features/support/hooks.rb:100 0.000
Tags: @product
2:54.758
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 11.423
Then Tails is running from USB drive "__internal" 0.445
And all tps features are active 2.456
And all persistent directories have safe access rights 2.860
When I disable the first tps feature 6.464
Then all tps features but the first one are active 2.403
And I shutdown Tails and wait for the computer to power off 10.908
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.199
Then all tps features but the first one are active 2.595
After features/support/hooks.rb:326 1.187
After features/support/hooks.rb:100 0.008
Tags: @product
20.410
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.680
Then persistence for "Persistent" is active 0.091
And I create a file in the Persistent directory 0.257
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 5.727
Then persistence for "Persistent" is not active 0.067
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.282
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 0.822
After features/support/hooks.rb:100 0.000
Tags: @product
19.646
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.526
Then persistence for "Persistent" is active 0.177
When I create a file in the Persistent directory 0.142
And I disable the first tps feature 5.807
And I delete the data of the Persistent Folder feature 3.932
Then the file I created does not exist on the Persistent Storage 0.058
After features/support/hooks.rb:326 1.312
After features/support/hooks.rb:100 0.000
Tags: @product
1:10.079
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 10.002
And the network is plugged 0.082
And Tor is ready 23.800
And I take note of which tps features are available 0.644
When I write some files expected to persist 1.619
And I shutdown Tails and wait for the computer to power off 8.921
# 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.008
After features/support/hooks.rb:326 0.134
After features/support/hooks.rb:100 0.000
Tags: @product
3:17.945
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.565
And the network is plugged 0.106
And Tor is ready 15.985
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.290
And I shutdown Tails and wait for the computer to power off 8.797
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:21.067
And I capture all network traffic 0.006
And the network is plugged 0.096
And Tor is ready 21.409
And I switch to the "persistent-con-current" NetworkManager connection 0.341
And the 1st network device has a spoofed MAC address configured 0.129
And no network device leaked the real MAC address 0.148
After features/support/hooks.rb:326 0.625
After features/support/hooks.rb:100 0.067
Tags: @product
1:5.112
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 16.539
And I enable persistence creation in Tails Greeter 1.156
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.964
Then I create a persistent partition with the default settings using the wizard that was already open 24.451
After features/support/hooks.rb:326 1.596
After features/support/hooks.rb:100 0.000
Tags: @product
4:9.916
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 16.717
When I enable persistence 36.117
Then no persistent Greeter options were restored 18.091
When I set all Greeter options to non-default values 26.330
And I log in to a new session in German (de) after having activated the Persistent Storage 58.371
Then all Greeter options are set to non-default values 0.746
When I cold reboot the computer 7.950
And the computer reboots Tails 1:1.344
Given I enable persistence 24.246
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 5.399

SCENARIO FAILED: 'Persistent Greeter options' (at time 03:31:02)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/11/artifact/build-artifacts/03:31:02_Persistent_Greeter_options.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/11/artifact/build-artifacts/03:31:02_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/11/artifact/build-artifacts/03:31:02_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/11/artifact/build-artifacts/03:31:02_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.007
Tags: @product
3:43.785
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.139
# 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.885
And I shutdown Tails and wait for the computer to power off 12.441
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.843
And I change the passphrase of the Persistent Storage back to the original 34.475
After features/support/hooks.rb:326 2.276
After features/support/hooks.rb:100 0.046
Tags: @product
1:3.920
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.307
And I log in to a new session without activating the Persistent Storage 24.386
Then persistence is disabled 0.345
But a Tails persistence partition exists on USB drive "__internal" 11.860
And all notifications have disappeared 10.431
When I delete the persistent partition 6.203
Then there is no persistence partition on USB drive "__internal" 0.385
After features/support/hooks.rb:326 0.974
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.805
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.241
When I write some dotfile expected to persist 0.070
And I shutdown Tails and wait for the computer to power off 8.585
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.439
Then the expected persistent dotfile is present in the filesystem 0.468
After features/support/hooks.rb:326 0.658
After features/support/hooks.rb:100 0.007
Tags: @product
1:38.362
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.074
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.092
When I try to enable persistence 0.290
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 32.052
When I log in to a new session after having activated the Persistent Storage 40.002
And all notifications have disappeared 8.431
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.916
And all tps features are enabled 2.348
And all tps features but the first one are active 2.153
After features/support/hooks.rb:326 0.824
After features/support/hooks.rb:100 0.000
Tags: @product
4:45.078
Before features/support/hooks.rb:269 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 3:27.710
And I enable persistence 29.062
And I log in to a new session after having activated the Persistent Storage 46.586
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.608
And persistence is enabled 0.109
After features/support/hooks.rb:326 1.231
After features/support/hooks.rb:100 0.000
Tags: @product
2:9.261
Scenario LUKS backup header is restored if something goes wrong during upgrade
Before features/support/hooks.rb:269 0.004
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 8.565
And I enable persistence but something goes wrong during the LUKS header upgrade 2:0.695
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 4.825

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/11/artifact/build-artifacts/03:46:57_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/11/artifact/build-artifacts/03:46:57_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/11/artifact/build-artifacts/03:46:57_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/11/artifact/build-artifacts/03:46:57_LUKS_backup_header_is_restored_if_something_goes_wrong_during_upgrade.journal

After features/support/hooks.rb:100 0.000
Tags: @product
42.487
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.692
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.050
When I enable persistence 23.858
Then the filesystem of the Persistent Storage was repaired 0.130
And persistence is successfully enabled 4.755
After features/support/hooks.rb:326 0.739
After features/support/hooks.rb:100 0.000
Tags: @product
44.201
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.900
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.549
When I try to enable persistence 0.412
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 21.355
When I repair the filesystem of the Persistent Storage 1.248
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.119
And the filesystem of the Persistent Storage was repaired 0.851
When I close the filesystem repair dialog 1.258
Then persistence is successfully enabled 0.507
After features/support/hooks.rb:326 0.839
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:40.662
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.502
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.318
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.833
When I repair the filesystem of the Persistent Storage 1.269
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.073
When I log in to a new session 36.806
And all notifications have disappeared 7.747
# 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.624
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.258
When I close the "whisperback" window 1.647
Then the Tor Browser starts 12.446
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.020
After features/support/hooks.rb:326 2.143
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:46.700
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.594
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.642
And Tails detects disk read failures on the boot device 0.544
When I try to enable persistence 0.458
Then the Welcome Screen tells me that my hardware is probably failing 18.085
When I log in to a new session 48.117
And all notifications have disappeared 7.062
Then the Tor Browser starts 17.375
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.819
After features/support/hooks.rb:326 1.485
After features/support/hooks.rb:100 0.000