Project Number Date
test_Tails_ISO_20634-greeter-tps-update-failure-fix 12 05 Nov 2024, 12:20

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 156 1 0 0 0 157 20 1 21 40:28.558 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.886
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:35.827
And I update APT using apt 13.582
And I install "python3-behave" using apt 25.664
Then the Tails Persistent Storage behave tests pass 2.810
After features/support/hooks.rb:326 0.733
After features/support/hooks.rb:100 0.000
Tags: @product
50.212
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 14.013
When I log in to a new session without activating the Persistent Storage 27.450
Then Tails is running from USB drive "__internal" 0.435
And persistence is disabled 0.463
But a Tails persistence partition exists on USB drive "__internal" 7.849
After features/support/hooks.rb:326 1.478
After features/support/hooks.rb:100 0.000
Tags: @product
3:21.341
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 16.866
Then Tails is running from USB drive "__internal" 0.420
When I create a file in the Persistent directory 0.189
And I create a persistent partition with the default settings 23.601
Then the file I created was copied to the Persistent Storage 0.591
When I shutdown Tails and wait for the computer to power off 12.698
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:26.431
Then persistence for "Persistent" is active 0.448
And the file I created in the Persistent directory exists 0.093
After features/support/hooks.rb:326 0.694
After features/support/hooks.rb:100 0.007
Tags: @product
1:32.685
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 43.129
And the system is very low on memory 8.065
When I create a file in the Persistent directory 1.375
When I try to create a persistent partition 21.905
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.467
When I close the Persistent Storage app 2.670
And I free up some memory 1.516
And I create a persistent partition with the default settings 12.907
Then the file I created was copied to the Persistent Storage 0.646
After features/support/hooks.rb:326 1.390
After features/support/hooks.rb:100 0.000
Tags: @product
2:48.601
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.786
Then Tails is running from USB drive "__internal" 0.885
And all tps features are active 2.253
And all persistent directories have safe access rights 2.615
When I disable the first tps feature 6.797
Then all tps features but the first one are active 2.072
And I shutdown Tails and wait for the computer to power off 9.091
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.549
Then all tps features but the first one are active 2.550
After features/support/hooks.rb:326 1.097
After features/support/hooks.rb:100 0.009
Tags: @product
21.069
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.336
Then persistence for "Persistent" is active 0.433
And I create a file in the Persistent directory 0.068
Then the file I created was copied to the Persistent Storage 0.073
When I disable the first tps feature 6.440
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.068
When I enable the first tps feature 3.406
Then persistence for "Persistent" is active 0.090
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.733
After features/support/hooks.rb:100 0.000
Tags: @product
20.253
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.236
Then persistence for "Persistent" is active 0.448
When I create a file in the Persistent directory 0.077
And I disable the first tps feature 6.346
And I delete the data of the Persistent Folder feature 4.074
Then the file I created does not exist on the Persistent Storage 0.070
After features/support/hooks.rb:326 1.252
After features/support/hooks.rb:100 0.000
Tags: @product
1:6.258
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.514
And the network is plugged 0.093
And Tor is ready 20.212
And I take note of which tps features are available 0.559
When I write some files expected to persist 1.614
And I shutdown Tails and wait for the computer to power off 8.629
# 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.634
After features/support/hooks.rb:326 0.156
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.481
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 9.682
And the network is plugged 0.079
And Tor is ready 18.483
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.193
And I shutdown Tails and wait for the computer to power off 8.948
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:6.570
And I capture all network traffic 0.008
And the network is plugged 0.092
And Tor is ready 18.840
And I switch to the "persistent-con-current" NetworkManager connection 0.371
And the 1st network device has a spoofed MAC address configured 0.079
And no network device leaked the real MAC address 0.131
After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.060
Tags: @product
55.928
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 11.850
And I enable persistence creation in Tails Greeter 1.138
And I log in to a new session expecting no warning about the Persistent Storage not being activated 19.706
Then I create a persistent partition with the default settings using the wizard that was already open 23.233
After features/support/hooks.rb:326 1.514
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.909
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 14.848
When I enable persistence 37.634
Then no persistent Greeter options were restored 14.079
When I set all Greeter options to non-default values 27.173
And I log in to a new session in German (de) after having activated the Persistent Storage 47.463
Then all Greeter options are set to non-default values 0.600
When I cold reboot the computer 8.131
And the computer reboots Tails 1:0.565
Given I enable persistence 18.244
Then persistent Greeter options were restored 0.595
When I log in to a new session after having activated the Persistent Storage 39.109
Then all Greeter options are set to non-default values 0.463
After features/support/hooks.rb:326 0.786
After features/support/hooks.rb:100 0.010
Tags: @product
3:58.545
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.265
# 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.077
And I shutdown Tails and wait for the computer to power off 12.633
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:25.301
And I change the passphrase of the Persistent Storage back to the original 34.267
After features/support/hooks.rb:326 1.829
After features/support/hooks.rb:100 0.007
Tags: @product
1:0.179
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 10.215
And I log in to a new session without activating the Persistent Storage 20.385
Then persistence is disabled 0.436
But a Tails persistence partition exists on USB drive "__internal" 10.891
And all notifications have disappeared 11.734
When I delete the persistent partition 6.109
Then there is no persistence partition on USB drive "__internal" 0.406
After features/support/hooks.rb:326 0.834
After features/support/hooks.rb:100 0.000
Tags: @product
2:25.857
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.675
When I write some dotfile expected to persist 0.068
And I shutdown Tails and wait for the computer to power off 8.907
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.829
Then the expected persistent dotfile is present in the filesystem 0.376
After features/support/hooks.rb:326 0.743
After features/support/hooks.rb:100 0.021
Tags: @product
1:36.510
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.968
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.102
When I try to enable persistence 0.332
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.329
When I log in to a new session after having activated the Persistent Storage 40.023
And all notifications have disappeared 8.534
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.750
And all tps features are enabled 2.207
And all tps features but the first one are active 2.262
After features/support/hooks.rb:326 1.207
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.087
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:36.349
And I enable persistence 35.756
And I log in to a new session after having activated the Persistent Storage 43.686
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.865
And persistence is enabled 2.429
After features/support/hooks.rb:326 1.484
After features/support/hooks.rb:100 0.000
Tags: @product
32.565
Before features/support/hooks.rb:269 0.008
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.901
And I enable persistence but something goes wrong during the LUKS header upgrade 22.906
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.757
After features/support/hooks.rb:326 0.760
After features/support/hooks.rb:100 0.000
Tags: @product
47.946
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.212
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.327
When I enable persistence 30.597
Then the filesystem of the Persistent Storage was repaired 0.096
And persistence is successfully enabled 2.712
After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.000
Tags: @product
55.851
Scenario Manual filesystem repair is successful
Before features/support/hooks.rb:269 0.005
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.386
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.617
When I try to enable persistence 0.404
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.102
When I repair the filesystem of the Persistent Storage 1.296
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.287
And the filesystem of the Persistent Storage was repaired 0.080
When I close the filesystem repair dialog 1.318
Then persistence is successfully enabled 31.359
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: 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:


./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:693:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/usb.rb:691:in `block in <top (required)>' (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:691:in `/^persistence is successfully enabled$/'
features/persistence.feature:181:in `Then persistence is successfully enabled'
After features/support/hooks.rb:326 5.092

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 03:34:33)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/12/artifact/build-artifacts/03:34:33_Manual_filesystem_repair_is_successful.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/12/artifact/build-artifacts/03:34:33_Manual_filesystem_repair_is_successful.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/12/artifact/build-artifacts/03:34:33_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/12/artifact/build-artifacts/03:34:33_Manual_filesystem_repair_is_successful.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.726
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.445
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.100
When I try to enable persistence 0.273
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.935
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.075
When I log in to a new session 39.317
And all notifications have disappeared 8.825
# 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.431
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.384
When I close the "whisperback" window 1.660
Then the Tor Browser starts 15.303
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.751
After features/support/hooks.rb:326 2.493
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:12.659
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.044
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.711
And Tails detects disk read failures on the boot device 0.510
When I try to enable persistence 0.438
Then the Welcome Screen tells me that my hardware is probably failing 5.046
When I log in to a new session 22.502
And all notifications have disappeared 7.185
Then the Tor Browser starts 21.144
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.074
After features/support/hooks.rb:326 1.366
After features/support/hooks.rb:100 0.000