Project Number Date
test_Tails_ISO_20634-greeter-tps-update-failure-fix 13 08 Nov 2024, 11:57

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:21.613 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:38.637
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:56.522
And I update APT using apt 13.770
And I install "python3-behave" using apt 25.602
Then the Tails Persistent Storage behave tests pass 2.742
After features/support/hooks.rb:326 0.739
After features/support/hooks.rb:100 0.000
Tags: @product
52.141
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 15.358
When I log in to a new session without activating the Persistent Storage 24.411
Then Tails is running from USB drive "__internal" 0.772
And persistence is disabled 0.348
But a Tails persistence partition exists on USB drive "__internal" 11.250
After features/support/hooks.rb:326 1.795
After features/support/hooks.rb:100 0.000
Tags: @product
3:18.308
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 14.688
Then Tails is running from USB drive "__internal" 0.456
When I create a file in the Persistent directory 0.154
And I create a persistent partition with the default settings 27.971
Then the file I created was copied to the Persistent Storage 0.638
When I shutdown Tails and wait for the computer to power off 15.228
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:18.697
Then persistence for "Persistent" is active 0.387
And the file I created in the Persistent directory exists 0.086
After features/support/hooks.rb:326 0.591
After features/support/hooks.rb:100 0.007
Tags: @product
1:4.308
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 13.868
And the system is very low on memory 3.716
When I create a file in the Persistent directory 0.804
When I try to create a persistent partition 28.568
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.144
When I close the Persistent Storage app 2.579
And I free up some memory 1.829
And I create a persistent partition with the default settings 12.537
Then the file I created was copied to the Persistent Storage 0.258
After features/support/hooks.rb:326 1.158
After features/support/hooks.rb:100 0.000
Tags: @product
2:47.413
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 11.636
Then Tails is running from USB drive "__internal" 1.135
And all tps features are active 2.377
And all persistent directories have safe access rights 2.557
When I disable the first tps feature 5.768
Then all tps features but the first one are active 2.079
And I shutdown Tails and wait for the computer to power off 8.705
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:10.629
Then all tps features but the first one are active 2.522
After features/support/hooks.rb:326 1.139
After features/support/hooks.rb:100 0.011
Tags: @product
20.046
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.871
Then persistence for "Persistent" is active 0.115
And I create a file in the Persistent directory 0.154
Then the file I created was copied to the Persistent Storage 0.133
When I disable the first tps feature 6.207
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.069
When I enable the first tps feature 3.252
Then persistence for "Persistent" is active 0.091
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 1.197
After features/support/hooks.rb:100 0.000
Tags: @product
19.979
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.672
Then persistence for "Persistent" is active 0.105
When I create a file in the Persistent directory 0.088
And I disable the first tps feature 6.368
And I delete the data of the Persistent Folder feature 3.693
Then the file I created does not exist on the Persistent Storage 0.050
After features/support/hooks.rb:326 1.042
After features/support/hooks.rb:100 0.000
Tags: @product
1:5.466
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.546
And the network is plugged 0.106
And Tor is ready 17.081
And I take note of which tps features are available 0.689
When I write some files expected to persist 1.636
And I shutdown Tails and wait for the computer to power off 10.903
# 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.502
After features/support/hooks.rb:326 0.135
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.342
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.363
And the network is plugged 0.075
And Tor is ready 22.317
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.218
And I shutdown Tails and wait for the computer to power off 8.323
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:5.589
And I capture all network traffic 0.007
And the network is plugged 0.086
And Tor is ready 19.694
And I switch to the "persistent-con-current" NetworkManager connection 0.422
And the 1st network device has a spoofed MAC address configured 0.107
And no network device leaked the real MAC address 0.136
After features/support/hooks.rb:326 0.842
After features/support/hooks.rb:100 0.042
Tags: @product
1:2.716
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.971
And I enable persistence creation in Tails Greeter 1.114
And I log in to a new session expecting no warning about the Persistent Storage not being activated 23.305
Then I create a persistent partition with the default settings using the wizard that was already open 24.324
After features/support/hooks.rb:326 2.017
After features/support/hooks.rb:100 0.000
Tags: @product
4:39.065
Before features/support/hooks.rb:269 0.011
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 14.717
When I enable persistence 42.912
Then no persistent Greeter options were restored 14.253
When I set all Greeter options to non-default values 26.849
And I log in to a new session in German (de) after having activated the Persistent Storage 51.277
Then all Greeter options are set to non-default values 0.364
When I cold reboot the computer 9.370
And the computer reboots Tails 1:0.060
Given I enable persistence 19.084
Then persistent Greeter options were restored 0.565
When I log in to a new session after having activated the Persistent Storage 39.315
Then all Greeter options are set to non-default values 0.295
After features/support/hooks.rb:326 1.198
After features/support/hooks.rb:100 0.008
Tags: @product
3:45.461
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.960
# 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 31.836
And I shutdown Tails and wait for the computer to power off 12.683
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.694
And I change the passphrase of the Persistent Storage back to the original 43.287
After features/support/hooks.rb:326 1.679
After features/support/hooks.rb:100 0.010
Tags: @product
59.200
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.658
And I log in to a new session without activating the Persistent Storage 21.431
Then persistence is disabled 0.488
But a Tails persistence partition exists on USB drive "__internal" 11.102
And all notifications have disappeared 9.248
When I delete the persistent partition 5.861
Then there is no persistence partition on USB drive "__internal" 0.410
After features/support/hooks.rb:326 1.003
After features/support/hooks.rb:100 0.000
Tags: @product
2:29.213
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.948
When I write some dotfile expected to persist 0.283
And I shutdown Tails and wait for the computer to power off 8.955
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.503
Then the expected persistent dotfile is present in the filesystem 0.521
After features/support/hooks.rb:326 0.719
After features/support/hooks.rb:100 0.012
Tags: @product
1:37.580
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.331
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.116
When I try to enable persistence 0.497
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 29.255
When I log in to a new session after having activated the Persistent Storage 40.661
And all notifications have disappeared 8.675
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.774
And all tps features are enabled 2.292
And all tps features but the first one are active 1.975
After features/support/hooks.rb:326 0.791
After features/support/hooks.rb:100 0.000
Tags: @product
5:0.131
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 3:35.981
And I enable persistence 35.178
And I log in to a new session after having activated the Persistent Storage 43.208
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.016
And persistence is enabled 3.746
After features/support/hooks.rb:326 1.063
After features/support/hooks.rb:100 0.000
Tags: @product
32.052
Before features/support/hooks.rb:269 0.004
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.344
And I enable persistence but something goes wrong during the LUKS header upgrade 21.988
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.718
After features/support/hooks.rb:326 0.827
After features/support/hooks.rb:100 0.000
Tags: @product
46.176
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.410
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.038
When I enable persistence 27.251
Then the filesystem of the Persistent Storage was repaired 0.098
And persistence is successfully enabled 3.377
After features/support/hooks.rb:326 2.377
After features/support/hooks.rb:100 0.000
Tags: @product
56.294
Scenario Manual filesystem repair is successful
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.334
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.551
When I try to enable persistence 0.399
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 5.907
When I repair the filesystem of the Persistent Storage 1.331
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.179
And the filesystem of the Persistent Storage was repaired 0.091
When I close the filesystem repair dialog 1.242
Then persistence is successfully enabled 31.256
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.116

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/13/artifact/build-artifacts/03:37: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/13/artifact/build-artifacts/03:37:33_Manual_filesystem_repair_is_successful.png

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

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

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:48.771
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.226
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.423
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 28.049
When I repair the filesystem of the Persistent Storage 2.377
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.092
When I log in to a new session 42.704
And all notifications have disappeared 10.338
# 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.526
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.831
When I close the "whisperback" window 1.564
Then the Tor Browser starts 11.713
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.807
After features/support/hooks.rb:326 2.221
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:12.305
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.286
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.990
And Tails detects disk read failures on the boot device 0.509
When I try to enable persistence 0.549
Then the Welcome Screen tells me that my hardware is probably failing 4.979
When I log in to a new session 19.890
And all notifications have disappeared 8.377
Then the Tor Browser starts 20.844
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.876
After features/support/hooks.rb:326 1.249
After features/support/hooks.rb:100 0.000