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

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 154 2 1 0 0 157 19 2 21 1:2:36.044 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.648
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:43.184
And I update APT using apt 14.001
And I install "python3-behave" using apt 26.085
Then the Tails Persistent Storage behave tests pass 4.376
After features/support/hooks.rb:326 1.381
After features/support/hooks.rb:100 0.000
Tags: @product
54.526
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 16.341
When I log in to a new session without activating the Persistent Storage 24.328
Then Tails is running from USB drive "__internal" 0.919
And persistence is disabled 0.350
But a Tails persistence partition exists on USB drive "__internal" 12.586
After features/support/hooks.rb:326 1.704
After features/support/hooks.rb:100 0.000
Tags: @product
3:19.446
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive without a persistent partition and logged in 15.626
Then Tails is running from USB drive "__internal" 0.488
When I create a file in the Persistent directory 0.158
And I create a persistent partition with the default settings 25.605
Then the file I created was copied to the Persistent Storage 0.764
When I shutdown Tails and wait for the computer to power off 15.249
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:20.892
Then persistence for "Persistent" is active 0.593
And the file I created in the Persistent directory exists 0.066
After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.008
Tags: @product
1:2.203
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.695
And the system is very low on memory 7.597
When I create a file in the Persistent directory 0.929
When I try to create a persistent partition 22.897
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.176
When I close the Persistent Storage app 2.559
And I free up some memory 1.354
And I create a persistent partition with the default settings 13.738
Then the file I created was copied to the Persistent Storage 0.254
After features/support/hooks.rb:326 1.177
After features/support/hooks.rb:100 0.000
Tags: @product
22:39.138
Scenario Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.704
Then Tails is running from USB drive "__internal" 0.364
And all tps features are active 2.793
And all persistent directories have safe access rights 2.745
When I disable the first tps feature 5.986
Then all tps features but the first one are active 2.303
And I shutdown Tails and wait for the computer to power off 8.796
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:5.443
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:712:in `new'
./features/step_definitions/common_steps.rb:712:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:298:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/persistence.feature:49:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then all tps features but the first one are active 0.000
After features/support/hooks.rb:326 10.820

SCENARIO FAILED: 'Booting Tails from a USB drive with an enabled persistent partition and reconfiguring it' (at time 03:30:19)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/16/artifact/build-artifacts/03:30:19_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/16/artifact/build-artifacts/03:30:19_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/16/artifact/build-artifacts/03:30:19_Booting_Tails_from_a_USB_drive_with_an_enabled_persistent_partition_and_reconfiguring_it.journal

After features/support/hooks.rb:100 0.009
Tags: @product
21.020
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.664
Then persistence for "Persistent" is active 0.408
And I create a file in the Persistent directory 0.078
Then the file I created was copied to the Persistent Storage 0.068
When I disable the first tps feature 6.869
Then persistence for "Persistent" is not active 0.079
And the Persistent directory does not exist 0.057
When I enable the first tps feature 3.640
Then persistence for "Persistent" is active 0.079
And the file I created in the Persistent directory exists 0.072
After features/support/hooks.rb:326 0.753
After features/support/hooks.rb:100 0.000
Tags: @product
21.257
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.807
Then persistence for "Persistent" is active 0.686
When I create a file in the Persistent directory 0.114
And I disable the first tps feature 6.409
And I delete the data of the Persistent Folder feature 4.170
Then the file I created does not exist on the Persistent Storage 0.068
After features/support/hooks.rb:326 0.770
After features/support/hooks.rb:100 0.000
Tags: @product
1:7.019
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.468
And the network is plugged 0.165
And Tor is ready 22.608
And I take note of which tps features are available 0.614
When I write some files expected to persist 1.497
And I shutdown Tails and wait for the computer to power off 8.342
# 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.320
After features/support/hooks.rb:326 0.112
After features/support/hooks.rb:100 0.000
Tags: @product
3:3.219
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.437
And the network is plugged 0.085
And Tor is ready 19.155
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.214
And I shutdown Tails and wait for the computer to power off 8.713
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.728
And I capture all network traffic 0.006
And the network is plugged 0.619
And Tor is ready 19.704
And I switch to the "persistent-con-current" NetworkManager connection 0.368
And the 1st network device has a spoofed MAC address configured 0.071
And no network device leaked the real MAC address 0.114
After features/support/hooks.rb:326 0.656
After features/support/hooks.rb:100 0.053
Tags: @product
1:0.146
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.097
And I enable persistence creation in Tails Greeter 1.198
And I log in to a new session expecting no warning about the Persistent Storage not being activated 24.078
Then I create a persistent partition with the default settings using the wizard that was already open 22.772
After features/support/hooks.rb:326 1.569
After features/support/hooks.rb:100 0.000
Tags: @product
4:43.243
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.145
When I enable persistence 41.313
Then no persistent Greeter options were restored 14.580
When I set all Greeter options to non-default values 28.049
And I log in to a new session in German (de) after having activated the Persistent Storage 51.565
Then all Greeter options are set to non-default values 0.470
When I cold reboot the computer 7.823
And the computer reboots Tails 1:3.880
Given I enable persistence 17.382
Then persistent Greeter options were restored 0.505
When I log in to a new session after having activated the Persistent Storage 44.039
Then all Greeter options are set to non-default values 0.484
After features/support/hooks.rb:326 0.881
After features/support/hooks.rb:100 0.011
Tags: @product
3:43.145
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.694
# 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 35.864
And I shutdown Tails and wait for the computer to power off 14.733
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:3.552
And I change the passphrase of the Persistent Storage back to the original 38.300
After features/support/hooks.rb:326 1.945
After features/support/hooks.rb:100 0.011
Tags: @product
1:2.505
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.314
And I log in to a new session without activating the Persistent Storage 25.794
Then persistence is disabled 0.392
But a Tails persistence partition exists on USB drive "__internal" 7.559
And all notifications have disappeared 10.135
When I delete the persistent partition 7.830
Then there is no persistence partition on USB drive "__internal" 0.477
After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.000
Tags: @product
2:36.325
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.922
When I write some dotfile expected to persist 0.251
And I shutdown Tails and wait for the computer to power off 8.861
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:16.938
Then the expected persistent dotfile is present in the filesystem 0.352
After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.008
Tags: @product
1:47.749
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.266
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.099
When I try to enable persistence 0.546
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 33.439
When I log in to a new session after having activated the Persistent Storage 45.343
And all notifications have disappeared 9.774
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.353
And all tps features are enabled 2.767
And all tps features but the first one are active 2.158
After features/support/hooks.rb:326 1.727
After features/support/hooks.rb:100 0.000
Tags: @product
7:4.622
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 5:39.418
And I enable persistence 36.070
And I log in to a new session after having activated the Persistent Storage 43.531
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.653
And persistence is enabled 2.948
After features/support/hooks.rb:326 0.724
After features/support/hooks.rb:100 0.000
Tags: @product
31.517
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 9.574
And I enable persistence but something goes wrong during the LUKS header upgrade 21.151
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.791
After features/support/hooks.rb:326 0.891
After features/support/hooks.rb:100 0.000
Tags: @product
47.640
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.612
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 5.243
When I enable persistence 29.869
Then the filesystem of the Persistent Storage was repaired 0.150
And persistence is successfully enabled 2.765
After features/support/hooks.rb:326 0.968
After features/support/hooks.rb:100 0.000
Tags: @product
57.597
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.816
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.318
When I try to enable persistence 0.430
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.848
When I repair the filesystem of the Persistent Storage 1.255
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.271
And the filesystem of the Persistent Storage was repaired 0.091
When I close the filesystem repair dialog 1.225
Then persistence is successfully enabled 31.339
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.589

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 03:59:50)

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

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/16/artifact/build-artifacts/03:59:50_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/16/artifact/build-artifacts/03:59:50_Manual_filesystem_repair_is_successful.journal

After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:52.680
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.138
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.162
When I try to enable persistence 0.420
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 34.292
When I repair the filesystem of the Persistent Storage 1.215
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.322
When I log in to a new session 37.977
And all notifications have disappeared 8.971
# 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" 1.015
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.493
When I close the "whisperback" window 1.487
Then the Tor Browser starts 16.436
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.746
After features/support/hooks.rb:326 3.126
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:13.389
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.160
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.230
And Tails detects disk read failures on the boot device 1.564
When I try to enable persistence 0.412
Then the Welcome Screen tells me that my hardware is probably failing 5.758
When I log in to a new session 18.505
And all notifications have disappeared 7.313
Then the Tor Browser starts 23.534
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.910
After features/support/hooks.rb:326 1.208
After features/support/hooks.rb:100 0.000