Package grub-efi-arm64-signed 1.173.2~18.04.1+2.04-1ubuntu47.4 from bionic-proposed fails to install/upgrade (grub-install: error: efibootmgr: not found.)

Bug #1991676 reported by Kleber Sacilotto de Souza
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
grub2-signed (Ubuntu)
Invalid
Undecided
Julian Andres Klode
Bionic
Triaged
High
Julian Andres Klode
linux-hwe-5.4 (Ubuntu)
Confirmed
Undecided
Unassigned
Bionic
Confirmed
Undecided
Unassigned

Bug Description

The ADT tests for arm64 kernels in Bionic are failing during the setup phase with the following errors:

Setting up grub-efi-arm64-signed (1.173.2~18.04.1+2.04-1ubuntu47.4) ...
Installing for arm64-efi platform.
grub-install: error: efibootmgr: not found.
dpkg: error processing package grub-efi-arm64-signed (--configure):
 installed grub-efi-arm64-signed package post-installation script subprocess returned error exit status 1
Setting up libx11-6:arm64 (2:1.6.4-3ubuntu0.5) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
Errors were encountered while processing:
 grub-efi-arm64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
blame:
badpkg: testbed setup commands failed with status 100
autopkgtest [15:12:03]: ERROR: erroneous package: testbed setup commands failed with status 100

ADT test log:
https://autopkgtest.ubuntu.com/results/autopkgtest-bionic/bionic/arm64/l/linux-hwe-5.4/20220930_151219_13ac3@/log.gz

tags: added: kernel-adt-failure
description: updated
summary: - linux-hwe-5.4 ADT test failure with linux-hwe-5.4/5.4.0-128.144~18.04.1
+ Package grub-efi-arm64-signed 1.173.2~18.04.1+2.04-1ubuntu47.4 from
+ bionic-proposed fails to install/upgrade
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Could this be the same issue as reported in bug 1936857?

summary: Package grub-efi-arm64-signed 1.173.2~18.04.1+2.04-1ubuntu47.4 from
- bionic-proposed fails to install/upgrade
+ bionic-proposed fails to install/upgrade (grub-install: error:
+ efibootmgr: not found.)
tags: added: bionic regression-proposed
no longer affects: grub2-unsigned (Ubuntu)
no longer affects: grub2-unsigned (Ubuntu Bionic)
Dan Bungert (dbungert)
tags: added: foundations-todo
Changed in grub2-signed (Ubuntu Bionic):
status: New → Triaged
importance: Undecided → High
Changed in grub2-signed (Ubuntu):
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-hwe-5.4 (Ubuntu Bionic):
status: New → Confirmed
Changed in linux-hwe-5.4 (Ubuntu):
status: New → Confirmed
Changed in grub2-signed (Ubuntu Bionic):
assignee: nobody → Julian Andres Klode (juliank)
Changed in grub2-signed (Ubuntu):
assignee: nobody → Julian Andres Klode (juliank)
Revision history for this message
Francis Ginther (fginther) wrote :

@juliank Hello, I see that you picked up https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.4/+bug/1991676. I just want to mention so that you are aware, that this is blocking most, if not all, kernel ADT testing on bionic arm64.

Revision history for this message
Julian Andres Klode (juliank) wrote :

Well surely not more than the past year, this is not a new bug after all, the regression was introduced with the initial boothole update when we did the one grub split.

Revision history for this message
Francis Ginther (fginther) wrote :

@juliank, ah, I found another detail. This appears to only break when the package is updated in the ADT testbed. My assumption is if the latest package version is already in the base image, there is no package update and therefore no breakage. For example:

[1] older image, fails: https://autopkgtest.ubuntu.com/results/autopkgtest-bionic/bionic/arm64/d/dpdk/20221027_190645_aae03@/log.gz
[2] newer image, passes: https://autopkgtest.ubuntu.com/results/autopkgtest-bionic/bionic/arm64/d/dpdk/20221028_185258_2a00f@/log.gz

The second run occurred about a day later. I can't tell if this is using a new image, but when I inspected the artifacts from the run. I do see `grub-efi-arm64-bin 2.04-1ubuntu47.4`, which is the latest and the version that [1] tried to upgrade to.

So I guess we generally avoid this by refreshing the ADT base images.

Revision history for this message
Andrei Gherzan (agherzan) wrote (last edit ):

I just bumped into this on a new linux-hwe-5.4 version:

Setting up grub-efi-arm64-signed (1.187.3~18.04.1+2.06-2ubuntu14.1) ...
Installing for arm64-efi platform.
grub-install: error: efibootmgr: not found.

ref.: https://autopkgtest.ubuntu.com/results/autopkgtest-bionic/bionic/arm64/l/lttng-modules/20230223_161020_a9d08@/log.gz

Do we have any progress on it?

Revision history for this message
Brian Murray (brian-murray) wrote :

This issue has been worked around in the autopkgtest environment with the following change:

https://code.launchpad.net/~ubuntu-release/autopkgtest/+git/development/+merge/437822

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.