[Bug 2001568] [NEW] unattended-upgrades 2.9.1+nmu2ubuntu1 failing autopkgtest on arm64
Dave Jones
2001568 at bugs.launchpad.net
Tue Jan 3 22:01:16 UTC 2023
Public bug reported:
u-u is currently failing autopkgtest on arm64. It does not look like
this is a new failure (2.8ubuntu1 appears to have had exactly the same
failure) but it's due to the kernel-patterns test assuming that kernel
flavors cannot be a suffix of each other. This is true under Debian, and
under several architectures on Ubuntu, but the arm64 architecture on
Ubuntu has -generic and -generic-64k flavors which cause the test to
fail.
The attached debdiff corrects the test for this case.
One may wonder why the test currently passes under armhf, which has
-generic and -generic-lpae flavors (I certainly did!). It turns out this
is only because Ubuntu autopkgtest runs armhf in a container so the
kernel release reported by "uname -r" (used in the test) does not
meaningfully match anything in the apt cache.
Given this, the attached debdiff also restricts the kernel-patterns test
to isolation-machine as the test assumes a meaningful link between the
running kernel and the packages in the archive which is only true in a
VM or on the bare metal.
** Affects: unattended-upgrades (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "uu-arm64-kernels.patch"
https://bugs.launchpad.net/bugs/2001568/+attachment/5639008/+files/uu-arm64-kernels.patch
** Patch removed: "uu-arm64-kernels.patch"
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/2001568/+attachment/5639008/+files/uu-arm64-kernels.patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/2001568
Title:
unattended-upgrades 2.9.1+nmu2ubuntu1 failing autopkgtest on arm64
Status in unattended-upgrades package in Ubuntu:
New
Bug description:
u-u is currently failing autopkgtest on arm64. It does not look like
this is a new failure (2.8ubuntu1 appears to have had exactly the same
failure) but it's due to the kernel-patterns test assuming that kernel
flavors cannot be a suffix of each other. This is true under Debian,
and under several architectures on Ubuntu, but the arm64 architecture
on Ubuntu has -generic and -generic-64k flavors which cause the test
to fail.
The attached debdiff corrects the test for this case.
One may wonder why the test currently passes under armhf, which has
-generic and -generic-lpae flavors (I certainly did!). It turns out
this is only because Ubuntu autopkgtest runs armhf in a container so
the kernel release reported by "uname -r" (used in the test) does not
meaningfully match anything in the apt cache.
Given this, the attached debdiff also restricts the kernel-patterns
test to isolation-machine as the test assumes a meaningful link
between the running kernel and the packages in the archive which is
only true in a VM or on the bare metal.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/2001568/+subscriptions
More information about the foundations-bugs
mailing list