[SRU][F/G/H/U][PATCH 0/1] Fix dep-8 ubuntu-regression-suite for hwe kernels

Kleber Sacilotto de Souza kleber.souza at canonical.com
Thu Dec 17 13:57:23 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1908529

[ Impact ]
On autopkgtest, ubuntu-regression-suite is not run for all kernels because
for most of them it doesn't make sense to run the tests on the environment
provided. If a given package is going to be tested is decided on
'debian/tests/ubuntu-regression-suite' on an opt-in basis. The current
criteria lists all source packages, however, new hwe kernels are named as
linux-hwe-x.y and are not included on the list.

Logs from a skipped test run:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/amd64/l/linux-hwe-5.8/20201216_001007_32069@/log.gz

[ Test case ]
ADT tests are triggered when packages are promoted to -proposed. Looking at
the logs one can check whether the tests were skipped or run.

[ Fix ]
The fix is to use a wild card to include all linux-hwe* kernels. A fix was
already applied locally for bionic/linux-hwe-5.4, the same patch can be
applied to F/G/H/U to carry it forward.

https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/bionic/commit/?h=hwe-5.4&id=a077e2f94c3a948e293fd31bce09b08c3fef7c1f

[ Where problems could occur ]
The code changed controls which kernel get tested on ADT
ubuntu-regression-suite, a failure on the selection could result in testing
kernels which shouldn't be tested or the other way around. However, the change
is simple and has already been applied to focal/linux-hwe-5.4, so I don't
expect it to cause issues.

Stefan Bader (1):
  UBUNTU: [dep-8] Allow all hwe kernels

 debian/tests/ubuntu-regression-suite | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.27.0




More information about the kernel-team mailing list