Project Number Date
test_Tails_ISO_20635-greeter-threading-fixes 7 28 Oct 2024, 20:56

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 148 3 6 0 0 157 18 3 21 38:36.980 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:9.250
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:29.989
And I update APT using apt 13.500
And I install "python3-behave" using apt 22.960
Then the Tails Persistent Storage behave tests pass 2.799
After features/support/hooks.rb:326 1.638
After features/support/hooks.rb:100 0.000
Tags: @product
40.846
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.609
When I log in to a new session without activating the Persistent Storage 20.584
Then Tails is running from USB drive "__internal" 0.416
And persistence is disabled 0.265
But a Tails persistence partition exists on USB drive "__internal" 7.969
After features/support/hooks.rb:326 1.678
After features/support/hooks.rb:100 0.000
Tags: @product
2:58.779
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 12.094
Then Tails is running from USB drive "__internal" 0.563
When I create a file in the Persistent directory 0.119
And I create a persistent partition with the default settings 21.579
Then the file I created was copied to the Persistent Storage 0.745
When I shutdown Tails and wait for the computer to power off 12.401
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.125
Then persistence for "Persistent" is active 1.084
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:326 0.769
After features/support/hooks.rb:100 0.009
Tags: @product
58.010
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 10.839
And the system is very low on memory 4.052
When I create a file in the Persistent directory 1.130
When I try to create a persistent partition 25.048
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.128
When I close the Persistent Storage app 2.578
And I free up some memory 1.456
And I create a persistent partition with the default settings 12.549
Then the file I created was copied to the Persistent Storage 0.226
After features/support/hooks.rb:326 1.253
After features/support/hooks.rb:100 0.000
Tags: @product
2:37.052
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.247
Then Tails is running from USB drive "__internal" 0.451
And all tps features are active 2.053
And all persistent directories have safe access rights 2.472
When I disable the first tps feature 6.599
Then all tps features but the first one are active 2.011
And I shutdown Tails and wait for the computer to power off 8.473
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:2.743
Then all tps features but the first one are active 2.000
After features/support/hooks.rb:326 1.046
After features/support/hooks.rb:100 0.033
Tags: @product
19.259
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.592
Then persistence for "Persistent" is active 0.085
And I create a file in the Persistent directory 0.074
Then the file I created was copied to the Persistent Storage 0.066
When I disable the first tps feature 5.917
Then persistence for "Persistent" is not active 0.097
And the Persistent directory does not exist 0.070
When I enable the first tps feature 3.212
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.894
After features/support/hooks.rb:100 0.000
Tags: @product
19.719
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.397
Then persistence for "Persistent" is active 0.252
When I create a file in the Persistent directory 0.087
And I disable the first tps feature 6.080
And I delete the data of the Persistent Folder feature 3.845
Then the file I created does not exist on the Persistent Storage 0.054
After features/support/hooks.rb:326 0.810
After features/support/hooks.rb:100 0.000
Tags: @product
1:2.118
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.318
And the network is plugged 0.064
And Tor is ready 18.510
And I take note of which tps features are available 0.574
When I write some files expected to persist 1.446
And I shutdown Tails and wait for the computer to power off 8.188
# 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.014
After features/support/hooks.rb:326 0.147
After features/support/hooks.rb:100 0.000
Tags: @product
3:0.449
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 8.961
And the network is plugged 0.154
And Tor is ready 18.619
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.188
And I shutdown Tails and wait for the computer to power off 8.595
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.951
And I capture all network traffic 0.007
And the network is plugged 0.074
And Tor is ready 19.377
And I switch to the "persistent-con-current" NetworkManager connection 0.297
And the 1st network device has a spoofed MAC address configured 0.073
And no network device leaked the real MAC address 0.147
After features/support/hooks.rb:326 0.654
After features/support/hooks.rb:100 0.057
Tags: @product
53.511
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.950
And I enable persistence creation in Tails Greeter 1.135
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.366
Then I create a persistent partition with the default settings using the wizard that was already open 21.058
After features/support/hooks.rb:326 2.090
After features/support/hooks.rb:100 0.000
Tags: @product
3:55.840
Scenario Persistent Greeter options
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.131
When I enable persistence 32.665
Then no persistent Greeter options were restored 17.707
When I set all Greeter options to non-default values 30.582
And I log in to a new session in German (de) after having activated the Persistent Storage 53.177
Then all Greeter options are set to non-default values 0.479
When I cold reboot the computer 7.391
And the computer reboots Tails 56.337
Given I enable persistence 25.367
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.328

SCENARIO FAILED: 'Persistent Greeter options' (at time 03:06:59)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/7/artifact/build-artifacts/03:06:59_Persistent_Greeter_options.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/7/artifact/build-artifacts/03:06:59_Persistent_Greeter_options.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/7/artifact/build-artifacts/03:06:59_Persistent_Greeter_options.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/7/artifact/build-artifacts/03:06:59_Persistent_Greeter_options.journal

After features/support/hooks.rb:100 0.009
Tags: @product
3:33.350
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.656
# 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 36.655
And I shutdown Tails and wait for the computer to power off 12.278
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:5.089
And I change the passphrase of the Persistent Storage back to the original 29.670
After features/support/hooks.rb:326 2.535
After features/support/hooks.rb:100 0.009
Tags: @product
54.616
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 10.054
And I log in to a new session without activating the Persistent Storage 20.006
Then persistence is disabled 0.312
But a Tails persistence partition exists on USB drive "__internal" 7.562
And all notifications have disappeared 10.202
When I delete the persistent partition 6.081
Then there is no persistence partition on USB drive "__internal" 0.396
After features/support/hooks.rb:326 0.913
After features/support/hooks.rb:100 0.000
Tags: @product
2:22.231
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.464
When I write some dotfile expected to persist 0.069
And I shutdown Tails and wait for the computer to power off 8.678
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.474
Then the expected persistent dotfile is present in the filesystem 0.544
After features/support/hooks.rb:326 0.618
After features/support/hooks.rb:100 0.009
Tags: @product
1:39.599
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.944
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.102
When I try to enable persistence 0.255
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 28.037
When I log in to a new session after having activated the Persistent Storage 45.650
And all notifications have disappeared 8.317
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.086
And all tps features are enabled 2.323
And all tps features but the first one are active 1.882
After features/support/hooks.rb:326 1.265
After features/support/hooks.rb:100 0.000
Tags: @product
4:11.689
Before features/support/hooks.rb:269 0.006
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 2:51.287
And I enable persistence 30.268
And I log in to a new session after having activated the Persistent Storage 48.386
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.604
And persistence is enabled 0.142
After features/support/hooks.rb:326 1.134
After features/support/hooks.rb:100 0.000
Tags: @product
2:9.291
Scenario LUKS backup header is restored if something goes wrong during upgrade
Before features/support/hooks.rb:269 0.006
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.557
And I enable persistence but something goes wrong during the LUKS header upgrade 2:0.733
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.978

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

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

After features/support/hooks.rb:100 0.000
Tags: @product
38.730
Scenario Automatic filesystem repair
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.350
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.209
When I enable persistence 24.170
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:168:in `When I enable persistence'
Then the filesystem of the Persistent Storage was repaired 0.000
And persistence is successfully enabled 0.000
After features/support/hooks.rb:326 5.235

SCENARIO FAILED: 'Automatic filesystem repair' (at time 03:22:46)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/7/artifact/build-artifacts/03:22:46_Automatic_filesystem_repair.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/7/artifact/build-artifacts/03:22:46_Automatic_filesystem_repair.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/7/artifact/build-artifacts/03:22:46_Automatic_filesystem_repair.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20635-greeter-threading-fixes/7/artifact/build-artifacts/03:22:46_Automatic_filesystem_repair.journal

After features/support/hooks.rb:100 0.000
Tags: @product
43.206
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.900
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.275
When I try to enable persistence 0.516
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 20.895
When I repair the filesystem of the Persistent Storage 3.221
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.487
And the filesystem of the Persistent Storage was repaired 1.106
When I close the filesystem repair dialog 1.251
Then persistence is successfully enabled 0.552
After features/support/hooks.rb:326 1.612
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:42.272
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.304
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.115
When I try to enable persistence 0.263
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.579
When I repair the filesystem of the Persistent Storage 1.220
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.080
When I log in to a new session 38.035
And all notifications have disappeared 8.604
# 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.364
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.150
When I close the "whisperback" window 1.557
Then the Tor Browser starts 14.311
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.684
After features/support/hooks.rb:326 1.827
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.156
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.760
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.325
And Tails detects disk read failures on the boot device 0.536
When I try to enable persistence 0.506
Then the Welcome Screen tells me that my hardware is probably failing 17.241
When I log in to a new session 48.520
And all notifications have disappeared 7.985
Then the Tor Browser starts 17.659
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.621
After features/support/hooks.rb:326 2.118
After features/support/hooks.rb:100 0.000