kernel_selftest: devlink_port_split.py mlx5_core warning triggers a failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
Lunar |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
The devlink command seems to print a warning that is considered as a failure during this test:
4356 12:18:20 DEBUG| Running 'make run_tests -C net TEST_PROGS=
14357 12:18:20 DEBUG| [stdout] make: Entering directory '/home/
14358 12:18:20 DEBUG| [stdout] TAP version 13
14359 12:18:20 DEBUG| [stdout] 1..1
14360 12:18:20 DEBUG| [stdout] # selftests: net: devlink_
14361 12:18:20 DEBUG| [stdout] # Error sending command: devlink -j port show ens1
14362 12:18:20 DEBUG| [stdout] # {"port"
14363 12:18:20 DEBUG| [stdout] #
14364 12:18:20 DEBUG| [stdout] # Warning: mlx5_core: Invalid port.
14365 12:18:20 DEBUG| [stdout] #
14366 12:18:20 DEBUG| [stdout] # Traceback (most recent call last):
14367 12:18:20 DEBUG| [stdout] # File "/home/
14368 12:18:20 DEBUG| [stdout] # main()
14369 12:18:20 DEBUG| [stdout] # File "/home/
14370 12:18:20 DEBUG| [stdout] # max_lanes = get_max_
14371 12:18:20 DEBUG| [stdout] # ^^^^^^^
14372 12:18:20 DEBUG| [stdout] # File "/home/
14373 12:18:20 DEBUG| [stdout] # assert stderr == ""
14374 12:18:20 DEBUG| [stdout] # ^^^^^^^^^^^^
14375 12:18:20 DEBUG| [stdout] # AssertionError
14376 12:18:20 DEBUG| [stdout] not ok 1 selftests: net: devlink_
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 2014953
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.