canonical / checkbox

Checkbox
https://checkbox.readthedocs.io
GNU General Public License v3.0
31 stars 45 forks source link

miscellanea/grub_file_check fails on hybrid images #1191

Open pieqq opened 2 months ago

pieqq commented 2 months ago

Bug Description

On a hybrid image (classic image with snap kernel), the miscellanea/grub_file_check job fails with:

Due to the absence of the file /boot/grub/x86_64-efi/core.efi, upgrading shim and grub becomes impossible.

The script it calls seems to be made for classic images (job is skipped on UC images)

It should be skipped on hybrid images as well. (Need a good way to determine if an image is "hybrid", though)

Sample submission on C3: https://certification.canonical.com/hardware/202207-30448/submission/364008/test-results/fail/

To Reproduce

  1. Launch miscellanea/grub_file_check job using Checkbox on a device running an hybrid image

Environment

Relevant log output

No response

Additional context

No response

syncronize-issues-to-jira[bot] commented 2 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1405.

This message was autogenerated