Skip to content

efi_boot_mode failure on non required devices #2441

@rene-oromtz

Description

@rene-oromtz

Bug Description

Latest run of linux-raspi SRU reports failure on miscellanea/efi_boot_mode several environments.

This tests seems to be pulled from the secure_boot_mode depends which may be running independently even when secure_boot_mode will be getting skipped:

id: miscellanea/secure_boot_mode
...
depends: miscellanea/efi_boot_mode

Cert-blocker Test Case

  • cert-blocker

To Reproduce

  1. Create manifest with secure boot disabled:
    "com.canonical.certification::has_secure_boot": false,
  2. Run checkbox with test plan com.canonical.certification::client-cert-iot-server-24-04-automated
  3. secure_boot_mode is skipped but efi_boot_mode is executed

Expected Result

Since secure_boot_mode is skipped, it is not a hard requirement to boot in EFI mode

Actual Result

efi_boot_mode test failing for device that is not required to boot in efi boot mode.

Environment

  • OS: 24.04.4
  • Kernel: 6.8.0-1052-raspi
  • Checkbox Version: 7.1.0dev49ubuntu24.04.1

Relevant log output

ERROR: FAIL: System did not boot in EFI mode

Additional context

Previous raspi runs were using client-cert-iot-server-22-04-automated test plan which does not include the secure_boot_mode and why the failure is just being reported in this latest run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions