Public bug reported:

[ 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-on basis. The current criteria 
lists all source packages, however, new hwe kernels are named as linux-hwe-5.8 
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.

** Affects: linux (Ubuntu)
     Importance: Medium
     Assignee: Kleber Sacilotto de Souza (kleber-souza)
         Status: Confirmed

** Affects: linux (Ubuntu Focal)
     Importance: Medium
     Assignee: Kleber Sacilotto de Souza (kleber-souza)
         Status: Confirmed

** Affects: linux (Ubuntu Groovy)
     Importance: Medium
     Assignee: Kleber Sacilotto de Souza (kleber-souza)
         Status: Confirmed

** Affects: linux (Ubuntu Hirsute)
     Importance: Medium
     Assignee: Kleber Sacilotto de Souza (kleber-souza)
         Status: Confirmed

** Also affects: linux (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Focal)
     Assignee: (unassigned) => Kleber Sacilotto de Souza (kleber-souza)

** Changed in: linux (Ubuntu Groovy)
     Assignee: (unassigned) => Kleber Sacilotto de Souza (kleber-souza)

** Changed in: linux (Ubuntu Hirsute)
     Assignee: (unassigned) => Kleber Sacilotto de Souza (kleber-souza)

** Changed in: linux (Ubuntu Focal)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Groovy)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Hirsute)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Groovy)
       Status: New => Confirmed

** Changed in: linux (Ubuntu Hirsute)
       Status: New => Confirmed

** Changed in: linux (Ubuntu Focal)
       Status: New => Confirmed

** Description changed:

  [ 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-on basis. The current criteria 
lists all source packages, however, new hwe kernels are named as linux-hwe-5.8 
and are not included on the list. 
+ 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-on basis. The current criteria 
lists all source packages, however, new hwe kernels are named as linux-hwe-5.8 
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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1908529

Title:
  dep-8 ubuntu-regression-suite tests are not run for all linux-hwe-*
  kernels

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1908529/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to