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

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 39:42.549 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:17.373
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:35.936
And I update APT using apt 13.500
And I install "python3-behave" using apt 25.548
Then the Tails Persistent Storage behave tests pass 2.387
After features/support/hooks.rb:326 0.635
After features/support/hooks.rb:100 0.000
Tags: @product
43.927
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 13.362
When I log in to a new session without activating the Persistent Storage 22.781
Then Tails is running from USB drive "__internal" 0.406
And persistence is disabled 0.329
But a Tails persistence partition exists on USB drive "__internal" 7.048
After features/support/hooks.rb:326 0.933
After features/support/hooks.rb:100 0.000
Tags: @product
3:4.512
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 12.765
Then Tails is running from USB drive "__internal" 0.810
When I create a file in the Persistent directory 0.188
And I create a persistent partition with the default settings 24.942
Then the file I created was copied to the Persistent Storage 0.696
When I shutdown Tails and wait for the computer to power off 13.032
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.629
Then persistence for "Persistent" is active 0.373
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 0.949
After features/support/hooks.rb:100 0.008
Tags: @product
1:1.395
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 11.172
And the system is very low on memory 4.445
When I create a file in the Persistent directory 1.468
When I try to create a persistent partition 26.399
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.120
When I close the Persistent Storage app 3.289
And I free up some memory 1.496
And I create a persistent partition with the default settings 12.800
Then the file I created was copied to the Persistent Storage 0.201
After features/support/hooks.rb:326 1.537
After features/support/hooks.rb:100 0.000
Tags: @product
2:59.186
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.658
Then Tails is running from USB drive "__internal" 1.289
And all tps features are active 2.835
And all persistent directories have safe access rights 2.798
When I disable the first tps feature 5.678
Then all tps features but the first one are active 2.179
And I shutdown Tails and wait for the computer to power off 15.862
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.823
Then all tps features but the first one are active 2.059
After features/support/hooks.rb:326 0.945
After features/support/hooks.rb:100 0.009
Tags: @product
19.008
Before features/support/hooks.rb:269 0.016
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.783
Then persistence for "Persistent" is active 0.149
And I create a file in the Persistent directory 0.077
Then the file I created was copied to the Persistent Storage 0.081
When I disable the first tps feature 5.590
Then persistence for "Persistent" is not active 0.075
And the Persistent directory does not exist 0.048
When I enable the first tps feature 3.066
Then persistence for "Persistent" is active 0.061
And the file I created in the Persistent directory exists 0.073
After features/support/hooks.rb:326 1.020
After features/support/hooks.rb:100 0.000
Tags: @product
19.198
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.502
Then persistence for "Persistent" is active 0.200
When I create a file in the Persistent directory 0.068
And I disable the first tps feature 5.663
And I delete the data of the Persistent Folder feature 3.700
Then the file I created does not exist on the Persistent Storage 0.062
After features/support/hooks.rb:326 1.086
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.022
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.385
And the network is plugged 0.093
And Tor is ready 19.354
And I take note of which tps features are available 0.651
When I write some files expected to persist 1.544
And I shutdown Tails and wait for the computer to power off 8.654
# 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.338
After features/support/hooks.rb:326 0.113
After features/support/hooks.rb:100 0.000
Tags: @product
3:6.936
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.571
And the network is plugged 0.096
And Tor is ready 20.502
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.384
And I shutdown Tails and wait for the computer to power off 6.649
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.996
And I capture all network traffic 0.007
And the network is plugged 0.075
And Tor is ready 20.054
And I switch to the "persistent-con-current" NetworkManager connection 0.351
And the 1st network device has a spoofed MAC address configured 0.121
And no network device leaked the real MAC address 0.126
After features/support/hooks.rb:326 0.661
After features/support/hooks.rb:100 0.043
Tags: @product
57.974
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 12.694
And I enable persistence creation in Tails Greeter 1.142
And I log in to a new session expecting no warning about the Persistent Storage not being activated 20.881
Then I create a persistent partition with the default settings using the wizard that was already open 23.255
After features/support/hooks.rb:326 1.878
After features/support/hooks.rb:100 0.000
Tags: @product
4:28.938
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 12.194
When I enable persistence 38.475
Then no persistent Greeter options were restored 14.135
When I set all Greeter options to non-default values 29.401
And I log in to a new session in German (de) after having activated the Persistent Storage 42.437
Then all Greeter options are set to non-default values 0.682
When I cold reboot the computer 7.391
And the computer reboots Tails 1:1.280
Given I enable persistence 21.087
Then persistent Greeter options were restored 0.594
When I log in to a new session after having activated the Persistent Storage 40.661
Then all Greeter options are set to non-default values 0.595
After features/support/hooks.rb:326 1.133
After features/support/hooks.rb:100 0.009
Tags: @product
3:54.277
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 10.519
# 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 39.140
And I shutdown Tails and wait for the computer to power off 12.994
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:16.535
And I change the passphrase of the Persistent Storage back to the original 35.087
After features/support/hooks.rb:326 2.335
After features/support/hooks.rb:100 0.008
Tags: @product
57.790
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 11.585
And I log in to a new session without activating the Persistent Storage 21.547
Then persistence is disabled 0.359
But a Tails persistence partition exists on USB drive "__internal" 5.550
And all notifications have disappeared 10.118
When I delete the persistent partition 8.171
Then there is no persistence partition on USB drive "__internal" 0.457
After features/support/hooks.rb:326 1.115
After features/support/hooks.rb:100 0.000
Tags: @product
2:31.004
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 11.384
When I write some dotfile expected to persist 0.183
And I shutdown Tails and wait for the computer to power off 10.834
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:8.158
Then the expected persistent dotfile is present in the filesystem 0.444
After features/support/hooks.rb:326 0.815
After features/support/hooks.rb:100 0.007
Tags: @product
1:42.403
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 8.734
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.094
When I try to enable persistence 0.266
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 30.142
When I log in to a new session after having activated the Persistent Storage 45.565
And all notifications have disappeared 9.253
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.061
And all tps features are enabled 2.221
And all tps features but the first one are active 2.063
After features/support/hooks.rb:326 1.241
After features/support/hooks.rb:100 0.000
Tags: @product
4:58.992
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 3:31.201
And I enable persistence 35.661
And I log in to a new session after having activated the Persistent Storage 47.883
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.300
And persistence is enabled 2.946
After features/support/hooks.rb:326 1.263
After features/support/hooks.rb:100 0.000
Tags: @product
34.762
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 9.224
And I enable persistence but something goes wrong during the LUKS header upgrade 24.798
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.739
After features/support/hooks.rb:326 0.829
After features/support/hooks.rb:100 0.000
Tags: @product
52.181
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.028
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.757
When I enable persistence 33.506
Then the filesystem of the Persistent Storage was repaired 0.081
And persistence is successfully enabled 2.807
After features/support/hooks.rb:326 1.104
After features/support/hooks.rb:100 0.000
Tags: @product
56.729
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.502
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.931
When I try to enable persistence 0.436
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.799
When I repair the filesystem of the Persistent Storage 1.268
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.226
And the filesystem of the Persistent Storage was repaired 0.093
When I close the filesystem repair dialog 1.252
Then persistence is successfully enabled 31.219
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.056

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

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

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

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

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:42.549
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.226
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.114
When I try to enable persistence 0.427
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 29.867
When I repair the filesystem of the Persistent Storage 1.266
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.075
When I log in to a new session 34.484
And all notifications have disappeared 10.080
# 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.550
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.496
When I close the "whisperback" window 1.516
Then the Tor Browser starts 13.647
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.794
After features/support/hooks.rb:326 1.313
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:9.382
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 8.373
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.736
And Tails detects disk read failures on the boot device 0.459
When I try to enable persistence 0.428
Then the Welcome Screen tells me that my hardware is probably failing 5.415
When I log in to a new session 20.115
And all notifications have disappeared 8.421
Then the Tor Browser starts 19.625
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 1.828
After features/support/hooks.rb:100 0.000