← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2014953] Re: kernel_selftest: devlink_port_split.py mlx5_core warning triggers a failure

 

Ubuntu 23.04 (Lunar Lobster) has reached end of life, so this bug will
not be fixed for that specific release.

** Changed in: linux (Ubuntu Lunar)
       Status: Incomplete => Won't Fix

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2014953

Title:
  kernel_selftest: devlink_port_split.py mlx5_core warning triggers a
  failure

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Lunar:
  Won't Fix

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=devlink_port_split.py TEST_GEN_PROGS='' TEST_CUSTOM_PROGS='''
      14357	 	12:18:20 DEBUG| [stdout] make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
      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_port_split.py
      14361	 	12:18:20 DEBUG| [stdout] # Error sending command: devlink -j port show ens1
      14362	 	12:18:20 DEBUG| [stdout] # {"port":{"pci/0000:08:00.0/65535":{"type":"eth","netdev":"ens1","flavour":"physical","port":0,"splittable":false}}}
      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/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/./devlink_port_split.py", line 309, in
      14368	 	12:18:20 DEBUG| [stdout] #     main()
      14369	 	12:18:20 DEBUG| [stdout] #   File "/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/./devlink_port_split.py", line 280, in main
      14370	 	12:18:20 DEBUG| [stdout] #     max_lanes = get_max_lanes(port.name)
      14371	 	12:18:20 DEBUG| [stdout] #                 ^^^^^^^^^^^^^^^^^^^^^^^^
      14372	 	12:18:20 DEBUG| [stdout] #   File "/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net/./devlink_port_split.py", line 83, in get_max_lanes
      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_port_split.py # exit=1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2014953/+subscriptions