kernel version for P-lts is not correct for test result gathering
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Critical
|
Po-Hsu Lin |
Bug Description
For 3.13.0-
"kernel": "3.13.0-174.1",
This is caused by bug 1838610.
Here is the code we use in lib/test_
def kernel_
m = re.match(
version = m.group(1)
flavour = m.group(2)
m = re.match(
upload = m.group(1)
retval = "%s.%s" % (version, upload)
return retval, flavour
The platform.release() will return:
3.13.
m.group(1) will be:
3.13.0-174
The platform.version() will return:
#1-Ubuntu SMP Fri Oct 4 13:07:52 UTC 2019
So the m.group(1) will be:
1
This combined will generate the wrong kernel version: "3.13.0-174.1"
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
importance: | Undecided → Critical |
Precise EOL, the temporary fix is no longer needed.