Project Number Date
test_Tails_ISO_20634-greeter-tps-update-failure-fix 19 15 Nov 2024, 12:16

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 44:32.557 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:29.643
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:46.085
And I update APT using apt 14.685
And I install "python3-behave" using apt 26.104
Then the Tails Persistent Storage behave tests pass 2.767
After features/support/hooks.rb:326 1.294
After features/support/hooks.rb:100 0.000
Tags: @product
1:29.008
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 52.002
When I log in to a new session without activating the Persistent Storage 25.577
Then Tails is running from USB drive "__internal" 0.784
And persistence is disabled 0.356
But a Tails persistence partition exists on USB drive "__internal" 10.288
After features/support/hooks.rb:326 4.483
After features/support/hooks.rb:100 0.000
Tags: @product
3:33.702
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 34.969
Then Tails is running from USB drive "__internal" 0.449
When I create a file in the Persistent directory 0.162
And I create a persistent partition with the default settings 24.540
Then the file I created was copied to the Persistent Storage 0.634
When I shutdown Tails and wait for the computer to power off 13.394
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:19.083
Then persistence for "Persistent" is active 0.389
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 1.011
After features/support/hooks.rb:100 0.007
Tags: @product
1:1.275
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 13.996
And the system is very low on memory 3.850
When I create a file in the Persistent directory 1.161
When I try to create a persistent partition 23.685
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.294
When I close the Persistent Storage app 2.743
And I free up some memory 1.537
And I create a persistent partition with the default settings 13.737
Then the file I created was copied to the Persistent Storage 0.269
After features/support/hooks.rb:326 1.167
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.646
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.096
Then Tails is running from USB drive "__internal" 0.555
And all tps features are active 2.524
And all persistent directories have safe access rights 2.643
When I disable the first tps feature 5.532
Then all tps features but the first one are active 2.105
And I shutdown Tails and wait for the computer to power off 8.913
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.760
Then all tps features but the first one are active 2.513
After features/support/hooks.rb:326 0.903
After features/support/hooks.rb:100 0.008
Tags: @product
20.690
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.342
Then persistence for "Persistent" is active 0.270
And I create a file in the Persistent directory 0.084
Then the file I created was copied to the Persistent Storage 0.128
When I disable the first tps feature 6.243
Then persistence for "Persistent" is not active 0.081
And the Persistent directory does not exist 0.058
When I enable the first tps feature 4.318
Then persistence for "Persistent" is active 0.093
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.000
Tags: @product
18.720
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.070
Then persistence for "Persistent" is active 0.078
When I create a file in the Persistent directory 0.071
And I disable the first tps feature 5.820
And I delete the data of the Persistent Folder feature 3.626
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:326 1.392
After features/support/hooks.rb:100 0.000
Tags: @product
1:36.729
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.658
And the network is plugged 0.084
And Tor is ready 49.378
And I take note of which tps features are available 1.920
When I write some files expected to persist 1.576
And I shutdown Tails and wait for the computer to power off 8.944
# 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.166
After features/support/hooks.rb:326 0.142
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.941
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.275
And the network is plugged 0.232
And Tor is ready 19.883
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.250
And I shutdown Tails and wait for the computer to power off 8.974
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:13.360
And I capture all network traffic 0.010
And the network is plugged 0.072
And Tor is ready 20.240
And I switch to the "persistent-con-current" NetworkManager connection 0.411
And the 1st network device has a spoofed MAC address configured 0.106
And no network device leaked the real MAC address 0.123
After features/support/hooks.rb:326 0.684
After features/support/hooks.rb:100 0.048
Tags: @product
1:9.224
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 16.808
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 23.670
Then I create a persistent partition with the default settings using the wizard that was already open 27.607
After features/support/hooks.rb:326 1.824
After features/support/hooks.rb:100 0.000
Tags: @product
4:31.293
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 13.622
When I enable persistence 41.773
Then no persistent Greeter options were restored 14.402
When I set all Greeter options to non-default values 25.067
And I log in to a new session in German (de) after having activated the Persistent Storage 44.370
Then all Greeter options are set to non-default values 0.527
When I cold reboot the computer 7.585
And the computer reboots Tails 1:3.379
Given I enable persistence 18.698
Then persistent Greeter options were restored 0.601
When I log in to a new session after having activated the Persistent Storage 40.874
Then all Greeter options are set to non-default values 0.390
After features/support/hooks.rb:326 1.116
After features/support/hooks.rb:100 0.009
Tags: @product
4:2.945
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.892
# 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 40.558
And I shutdown Tails and wait for the computer to power off 13.405
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:24.033
And I change the passphrase of the Persistent Storage back to the original 35.055
After features/support/hooks.rb:326 2.191
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.971
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 11.745
And I log in to a new session without activating the Persistent Storage 24.603
Then persistence is disabled 0.298
But a Tails persistence partition exists on USB drive "__internal" 8.689
And all notifications have disappeared 9.794
When I delete the persistent partition 7.465
Then there is no persistence partition on USB drive "__internal" 0.374
After features/support/hooks.rb:326 0.936
After features/support/hooks.rb:100 0.000
Tags: @product
2:41.902
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 23.060
When I write some dotfile expected to persist 0.065
And I shutdown Tails and wait for the computer to power off 10.970
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.363
Then the expected persistent dotfile is present in the filesystem 0.442
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.011
Tags: @product
1:38.578
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.483
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.083
When I try to enable persistence 0.271
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.937
When I log in to a new session after having activated the Persistent Storage 39.760
And all notifications have disappeared 8.947
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.190
And all tps features are enabled 2.705
And all tps features but the first one are active 2.198
After features/support/hooks.rb:326 0.919
After features/support/hooks.rb:100 0.000
Tags: @product
6:33.388
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 4:56.742
And I enable persistence 39.446
And I log in to a new session after having activated the Persistent Storage 51.947
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.136
And persistence is enabled 3.115
After features/support/hooks.rb:326 1.363
After features/support/hooks.rb:100 0.000
Tags: @product
39.859
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 10.097
And I enable persistence but something goes wrong during the LUKS header upgrade 28.814
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.947
After features/support/hooks.rb:326 0.744
After features/support/hooks.rb:100 0.000
Tags: @product
50.964
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.982
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 6.575
When I enable persistence 31.261
Then the filesystem of the Persistent Storage was repaired 0.094
And persistence is successfully enabled 3.050
After features/support/hooks.rb:326 1.149
After features/support/hooks.rb:100 0.000
Tags: @product
56.822
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.625
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.930
When I try to enable persistence 0.513
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.580
When I repair the filesystem of the Persistent Storage 1.308
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.168
And the filesystem of the Persistent Storage was repaired 0.119
When I close the filesystem repair dialog 1.197
Then persistence is successfully enabled 31.377
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.194

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 03:46:26)

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

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/19/artifact/build-artifacts/03:46:26_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/19/artifact/build-artifacts/03:46:26_Manual_filesystem_repair_is_successful.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:2.919
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.868
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.117
When I try to enable persistence 0.312
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 36.029
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.078
When I log in to a new session 42.136
And all notifications have disappeared 12.707
# 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.770
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.674
When I close the "whisperback" window 1.764
Then the Tor Browser starts 16.162
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.027
After features/support/hooks.rb:326 3.548
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:28.330
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 10.217
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.276
And Tails detects disk read failures on the boot device 1.709
When I try to enable persistence 0.467
Then the Welcome Screen tells me that my hardware is probably failing 8.145
When I log in to a new session 22.829
And all notifications have disappeared 8.519
Then the Tor Browser starts 24.957
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 4.208
After features/support/hooks.rb:326 3.040
After features/support/hooks.rb:100 0.000