Public bug reported:

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

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete

** Affects: linux (Ubuntu Lunar)
     Importance: Undecided
         Status: Incomplete

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

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

** Description changed:

+ 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
+     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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
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:
  Incomplete

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to