devlink_port_split in net from ubuntu_kernel_selftests linux ADT test failure with linux/5.11.0-18.19 ( list index out of range)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Focal |
Invalid
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Impish |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux-oem-5.10 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Hirsute |
Invalid
|
Undecided
|
Unassigned | ||
Impish |
Invalid
|
Undecided
|
Unassigned | ||
linux-oem-5.13 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Invalid
|
Undecided
|
Unassigned | ||
Impish |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
If there is no devlink device available, the devlink_
# selftests: net: devlink_
# Traceback (most recent call last):
# File "/tmp/autopkgte
# main()
# File "/tmp/autopkgte
# dev = list(devs.
# IndexError: list index out of range
not ok 43 selftests: net: devlink_
[Fix]
* 25173dd4093a24 selftests: net: devlink_
This test only exist in our source tree since Hirsute, this patch can be cherry-picked into all affected kernels.
[Test Plan]
Run this test manually from the patched source tree, the test will be skipped when there is no devlink device:
# selftests: net: devlink_
# no devlink device was found, test skipped
ok 7 selftests: net: devlink_
[Where problems could occur]
Change limited to testing tool, if this change is incorrect it might cause false-negative result in our test report.
[Original Bug Report]
This is a scripted bug report about ADT failures while running linux tests for linux/5.11.0-18.19 on hirsute. Whether this is caused by the dep8 tests of the tested source or the kernel has yet to be determined.
Not a regression. Found to occur previously on hirsute/linux 5.11.0-14.15
Testing failed on:
amd64: https:/
arm64: https:/
ppc64el: https:/
s390x: https:/
17:39:37 DEBUG| [stdout] # selftests: net: devlink_
17:39:37 DEBUG| [stdout] # Traceback (most recent call last):
17:39:37 DEBUG| [stdout] # File "/tmp/autopkgte
17:39:37 DEBUG| [stdout] # main()
17:39:37 DEBUG| [stdout] # File "/tmp/autopkgte
17:39:37 DEBUG| [stdout] # dev = list(devs.
17:39:37 DEBUG| [stdout] # IndexError: list index out of range
17:39:37 DEBUG| [stdout] not ok 43 selftests: net: devlink_
CVE References
tags: | added: kernel-adt-failure |
description: | updated |
tags: | added: 5.11 hirsute |
summary: |
- linux ADT test failure with linux/5.11.0-18.19 + evlink_port_split linux ADT test failure with linux/5.11.0-18.19 ( list + index out of range) |
description: | updated |
summary: |
- evlink_port_split linux ADT test failure with linux/5.11.0-18.19 ( list - index out of range) + devlink_port_split in net from ubuntu_kernel_selftests linux ADT test + failure with linux/5.11.0-18.19 ( list index out of range) |
tags: | added: sru-20210510 ubuntu-kernel-selftests |
tags: | added: sru-20210531 |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
tags: | added: impish |
Changed in linux (Ubuntu Focal): | |
status: | New → Invalid |
Changed in linux (Ubuntu Impish): | |
status: | Incomplete → In Progress |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
description: | updated |
description: | updated |
Changed in linux-oem-5.10 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-5.13 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Hirsute): | |
status: | In Progress → Fix Committed |
tags: | added: sru-20210719 |
tags: | removed: hirsute |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Fix Released |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1928889
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.