Project Number Date
test_Tails_ISO_20634-greeter-tps-update-failure-fix 29 26 Nov 2024, 12:17

Failures Overview

The following summary displays scenarios that failed.

Tags: @product @uefi
3:15.052
Scenario Booting Tails from a USB drive in UEFI mode
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 13.140
And I power off the computer 0.358
And the computer is set to boot in UEFI mode 0.036
When I start Tails from USB drive "__internal" with network unplugged and I login 3:1.517
try_for() timeout expired
Last ignored exception was: FindFailed: can not find any of the patterns ["TailsBootMenuGRUB_Bullseye.png", "TailsBootMenuGRUB_Bookworm.png"] on the screen
./features/support/helpers/screen.rb:240:in `rescue in wait_any'
./features/support/helpers/screen.rb:224:in `wait_any'
./features/step_definitions/common_steps.rb:407:in `block in enter_boot_menu_cmdline'
./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/common_steps.rb:404:in `enter_boot_menu_cmdline'
./features/step_definitions/common_steps.rb:434:in `the_computer_boots'
./features/step_definitions/common_steps.rb:448:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:284: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/common_steps.rb:404:in `enter_boot_menu_cmdline'
./features/step_definitions/common_steps.rb:434:in `the_computer_boots'
./features/step_definitions/common_steps.rb:448:in `/^the computer (?:re)?boots Tails$/'
./features/step_definitions/common_steps.rb:284: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/usb_install.feature:85:in `When I start Tails from USB drive "__internal" with network unplugged and I login'
Then Tails is running from USB drive "__internal" 0.000
And the boot device has safe access rights 0.000
And Tails has started in UEFI mode 0.000
After features/support/hooks.rb:326 10.933

SCENARIO FAILED: 'Booting Tails from a USB drive in UEFI mode' (at time 01:00:17)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/29/artifact/build-artifacts/01:00:17_Booting_Tails_from_a_USB_drive_in_UEFI_mode.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/29/artifact/build-artifacts/01:00:17_Booting_Tails_from_a_USB_drive_in_UEFI_mode.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/29/artifact/build-artifacts/01:00:17_Booting_Tails_from_a_USB_drive_in_UEFI_mode.journal

After features/support/hooks.rb:100 0.079
Tags: @source
5.079
Scenario All packages are up-to-date
Before features/support/hooks.rb:532 0.000
Steps
Given I have the build manifest for the image under test 0.000
Then all packages listed in the build manifest are up-to-date 5.079
Command failed (returned pid 70103 exit 1): ["/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/bin/needed-package-updates", "--config=/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/config/ci/needed-package-updates.yml", "--file=/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/tmp/tails-amd64-20634-greeter-tps-update-failure-fix@f89ed2ae99+stable@7d8b103702-20241126T0639Z.build-manifest", {:err=>[:child, :out]}]:
INFO: Check local file /var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/tmp/tails-amd64-20634-greeter-tps-update-failure-fix@f89ed2ae99+stable@7d8b103702-20241126T0639Z.build-manifest
Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/bin/needed-package-updates", line 127, in _request
    curs.execute(
psycopg2.OperationalError: SSL connection has been closed unexpectedly


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/bin/needed-package-updates", line 444, in <module>
    main()
  File "/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/bin/needed-package-updates", line 435, in main
    propose_update = check_build_manifest(build_manifest, config, suites, args.verbose)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/bin/needed-package-updates", line 293, in check_build_manifest
    udd = get_udd(pkg_dict, suites)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/bin/needed-package-updates", line 231, in get_udd
    return UDD(package_dict.keys(), suites)  # type: ignore[arg-type]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/bin/needed-package-updates", line 115, in __init__
    self.packages = self._request(packages)
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/bin/needed-package-updates", line 119, in _request
    with psycopg2.connect(
psycopg2.InterfaceError: connection already closed
.
<0> expected but was
<#<Process::Status: pid 70103 exit 1>>. (Test::Unit::AssertionFailedError)
/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/features/support/helpers/misc_helpers.rb:307:in `block in cmd_helper'
/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/features/support/helpers/misc_helpers.rb:303:in `popen'
/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/features/support/helpers/misc_helpers.rb:303:in `cmd_helper'
/var/lib/jenkins/workspace/test_Tails_ISO_20634-greeter-tps-update-failure-fix/features/step_definitions/needed_package_updates.rb:8:in `/^all packages listed in the build manifest are up-to-date$/'
features/needed_package_updates.feature:12:in `Then all packages listed in the build manifest are up-to-date'
After features/support/hooks.rb:539 0.000
After features/support/hooks.rb:100 0.000
Tags: @product
1:3.727
Scenario Manual filesystem repair is successful
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.365
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 9.099
When I try to enable persistence 0.378
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 7.806
When I repair the filesystem of the Persistent Storage 1.246
Then the Welcome Screen tells me that the filesystem was repaired successfully 1.404
And the filesystem of the Persistent Storage was repaired 0.563
When I close the filesystem repair dialog 1.441
Then persistence is successfully enabled 31.421
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.141

SCENARIO FAILED: 'Manual filesystem repair is successful' (at time 03:53:21)

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

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/29/artifact/build-artifacts/03:53:21_Manual_filesystem_repair_is_successful.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/29/artifact/build-artifacts/03:53:21_Manual_filesystem_repair_is_successful.journal

After features/support/hooks.rb:100 0.000
Feature: Random Seed
Tags: @product
2:46.271
Scenario A random seed is read during boot and written during boot and shutdown
Before features/support/hooks.rb:269 0.005
Steps
Given a computer 0.258
And I temporarily create a 7200 MiB disk named "temp" 0.056
And I plug USB drive "temp" 1.053
And I write the Tails USB image to disk "temp" 31.986
Then there is no random seed on USB drive "temp" 6.191
When I start Tails from USB drive "temp" with network unplugged 2:6.725
try_for() timeout expired
Last ignored exception was: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gdm-env'
./features/support/helpers/remote_shell.rb:71: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/usb.rb:108:in `new'
./features/step_definitions/usb.rb:108:in `greeter'
./features/step_definitions/common_steps.rb:451: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/common_steps.rb:450:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:284: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/common_steps.rb:450:in `/^the computer (?:re)?boots Tails$/'
./features/step_definitions/common_steps.rb:284: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/random_seed.feature:13:in `When I start Tails from USB drive "temp" with network unplugged'
Then the random seed was written multiple times on first boot 0.000
And there is a random seed on USB drive "temp" 0.000
When I log in to a new session 0.000
And I wait for the random seed to be updated 0.000
Then there is a random seed on USB drive "temp" 0.000
And the random seed is different from the previous one 0.000
And I shutdown Tails and wait for the computer to power off 0.000
Then there is a random seed on USB drive "temp" 0.000
And the random seed is different from the previous one 0.000
After features/support/hooks.rb:326 5.229

SCENARIO FAILED: 'A random seed is read during boot and written during boot and shutdown' (at time 04:08:32)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/29/artifact/build-artifacts/04:08:32_A_random_seed_is_read_during_boot_and_written_during_boot_and_shutdown.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/29/artifact/build-artifacts/04:08:32_A_random_seed_is_read_during_boot_and_written_during_boot_and_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/29/artifact/build-artifacts/04:08:32_A_random_seed_is_read_during_boot_and_written_during_boot_and_shutdown.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/29/artifact/build-artifacts/04:08:32_A_random_seed_is_read_during_boot_and_written_during_boot_and_shutdown.journal

After features/support/hooks.rb:100 0.153