Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 10 29 Oct 2024, 20:03

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 44:4.253 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:26.641
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:43.081
And I update APT using apt 14.893
And I install "python3-behave" using apt 25.942
Then the Tails Persistent Storage behave tests pass 2.725
After features/support/hooks.rb:326 0.699
After features/support/hooks.rb:100 0.000
Tags: @product
59.846
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 20.066
When I log in to a new session without activating the Persistent Storage 27.814
Then Tails is running from USB drive "__internal" 0.969
And persistence is disabled 0.358
But a Tails persistence partition exists on USB drive "__internal" 10.638
After features/support/hooks.rb:326 1.200
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.101
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.500
Then Tails is running from USB drive "__internal" 0.418
When I create a file in the Persistent directory 0.132
And I create a persistent partition with the default settings 23.775
Then the file I created was copied to the Persistent Storage 0.705
When I shutdown Tails and wait for the computer to power off 15.117
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:28.884
Then persistence for "Persistent" is active 0.493
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 1.222
After features/support/hooks.rb:100 0.007
Tags: @product
1:6.236
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 12.662
And the system is very low on memory 7.348
When I create a file in the Persistent directory 0.993
When I try to create a persistent partition 25.674
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.169
When I close the Persistent Storage app 2.776
And I free up some memory 1.592
And I create a persistent partition with the default settings 14.588
Then the file I created was copied to the Persistent Storage 0.429
After features/support/hooks.rb:326 1.469
After features/support/hooks.rb:100 0.000
Tags: @product
2:49.227
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 11.912
Then Tails is running from USB drive "__internal" 0.343
And all tps features are active 2.948
And all persistent directories have safe access rights 2.698
When I disable the first tps feature 6.285
Then all tps features but the first one are active 2.513
And I shutdown Tails and wait for the computer to power off 11.443
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.290
Then all tps features but the first one are active 2.791
After features/support/hooks.rb:326 0.667
After features/support/hooks.rb:100 0.013
Tags: @product
20.624
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.866
Then persistence for "Persistent" is active 0.166
And I create a file in the Persistent directory 0.079
Then the file I created was copied to the Persistent Storage 0.110
When I disable the first tps feature 6.814
Then persistence for "Persistent" is not active 0.125
And the Persistent directory does not exist 0.056
When I enable the first tps feature 3.267
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.063
After features/support/hooks.rb:326 1.110
After features/support/hooks.rb:100 0.000
Tags: @product
20.891
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.237
Then persistence for "Persistent" is active 0.103
When I create a file in the Persistent directory 0.130
And I disable the first tps feature 5.987
And I delete the data of the Persistent Folder feature 4.335
Then the file I created does not exist on the Persistent Storage 0.097
After features/support/hooks.rb:326 0.940
After features/support/hooks.rb:100 0.000
Tags: @product
1:8.589
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.393
And the network is plugged 0.090
And Tor is ready 22.246
And I take note of which tps features are available 0.613
When I write some files expected to persist 1.524
And I shutdown Tails and wait for the computer to power off 8.456
# 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.265
After features/support/hooks.rb:326 0.159
After features/support/hooks.rb:100 0.000
Tags: @product
3:40.095
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.869
And the network is plugged 0.076
And Tor is ready 18.567
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.174
And I shutdown Tails and wait for the computer to power off 13.331
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.160
And I capture all network traffic 0.006
And the network is plugged 0.093
And Tor is ready 48.123
And I switch to the "persistent-con-current" NetworkManager connection 0.317
And the 1st network device has a spoofed MAC address configured 0.144
And no network device leaked the real MAC address 0.230
After features/support/hooks.rb:326 0.670
After features/support/hooks.rb:100 0.051
Tags: @product
1:2.946
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 15.209
And I enable persistence creation in Tails Greeter 1.152
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.944
Then I create a persistent partition with the default settings using the wizard that was already open 23.639
After features/support/hooks.rb:326 1.697
After features/support/hooks.rb:100 0.000
Tags: @product
4:11.799
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.560
When I enable persistence 40.643
Then no persistent Greeter options were restored 15.472
When I set all Greeter options to non-default values 29.626
And I log in to a new session in German (de) after having activated the Persistent Storage 54.214
Then all Greeter options are set to non-default values 0.438
When I cold reboot the computer 8.879
And the computer reboots Tails 1:1.335
Given I enable persistence 27.628
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.285

SCENARIO FAILED: 'Persistent Greeter options' (at time 03:32:55)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/10/artifact/build-artifacts/03:32:55_Persistent_Greeter_options.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/10/artifact/build-artifacts/03:32:55_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/10/artifact/build-artifacts/03:32:55_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/10/artifact/build-artifacts/03:32:55_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.008
Tags: @product
3:56.910
Before features/support/hooks.rb:269 0.017
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.740
# 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 37.187
And I shutdown Tails and wait for the computer to power off 12.751
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:22.635
And I change the passphrase of the Persistent Storage back to the original 33.594
After features/support/hooks.rb:326 1.964
After features/support/hooks.rb:100 0.011
Tags: @product
1:4.478
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.009
And I log in to a new session without activating the Persistent Storage 21.925
Then persistence is disabled 0.332
But a Tails persistence partition exists on USB drive "__internal" 11.352
And all notifications have disappeared 12.556
When I delete the persistent partition 6.715
Then there is no persistence partition on USB drive "__internal" 0.585
After features/support/hooks.rb:326 0.858
After features/support/hooks.rb:100 0.000
Tags: @product
2:30.712
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.593
When I write some dotfile expected to persist 0.074
And I shutdown Tails and wait for the computer to power off 9.078
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.517
Then the expected persistent dotfile is present in the filesystem 0.448
After features/support/hooks.rb:326 1.291
After features/support/hooks.rb:100 0.009
Tags: @product
1:40.444
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.349
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.073
When I try to enable persistence 0.302
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 34.261
When I log in to a new session after having activated the Persistent Storage 39.016
And all notifications have disappeared 8.289
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.381
And all tps features are enabled 2.330
And all tps features but the first one are active 2.439
After features/support/hooks.rb:326 1.049
After features/support/hooks.rb:100 0.000
Tags: @product
5:50.054
Before features/support/hooks.rb:269 0.007
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 4:34.440
And I enable persistence 34.752
And I log in to a new session after having activated the Persistent Storage 38.304
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.134
And persistence is enabled 0.422
After features/support/hooks.rb:326 3.634
After features/support/hooks.rb:100 0.000
Tags: @product
2:9.597
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.951
And I enable persistence but something goes wrong during the LUKS header upgrade 2:0.646
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.878

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

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

After features/support/hooks.rb:100 0.000
Tags: @product
46.138
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 10.135
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.451
When I enable persistence 26.017
Then the filesystem of the Persistent Storage was repaired 0.146
And persistence is successfully enabled 4.387
After features/support/hooks.rb:326 0.875
After features/support/hooks.rb:100 0.000
Tags: @product
45.858
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 8.399
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.889
When I try to enable persistence 0.616
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 24.513
When I repair the filesystem of the Persistent Storage 2.723
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.246
And the filesystem of the Persistent Storage was repaired 1.665
When I close the filesystem repair dialog 1.262
Then persistence is successfully enabled 0.541
After features/support/hooks.rb:326 0.978
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:58.673
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 22.897
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.096
When I try to enable persistence 0.275
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 30.560
When I repair the filesystem of the Persistent Storage 1.282
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.102
When I log in to a new session 36.347
And all notifications have disappeared 8.450
# 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.516
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.318
When I close the "whisperback" window 1.804
Then the Tor Browser starts 15.209
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.811
After features/support/hooks.rb:326 2.644
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:53.384
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.105
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.687
And Tails detects disk read failures on the boot device 0.625
When I try to enable persistence 0.482
Then the Welcome Screen tells me that my hardware is probably failing 18.930
When I log in to a new session 49.107
And all notifications have disappeared 7.486
Then the Tor Browser starts 21.234
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.723
After features/support/hooks.rb:326 1.165
After features/support/hooks.rb:100 0.000