make -C tools/testing/selftests TARGETS="drivers/net" TEST_PROGS=xdp.py TEEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-22/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net' make[1]: Entering directory '/home/virtme/testing/wt-22/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-22/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net' TAP version 13 1..1 # overriding timeout to 360 # selftests: drivers/net: xdp.py # TAP version 13 # 1..13 # ok 1 xdp.test_xdp_native_pass_sb # ok 2 xdp.test_xdp_native_pass_mb # ok 3 xdp.test_xdp_native_drop_sb # ok 4 xdp.test_xdp_native_drop_mb # ok 5 xdp.test_xdp_native_tx_sb # ok 6 xdp.test_xdp_native_tx_mb # # Failed run: pkt_sz 2048, offset 64. Last successful run: pkt_sz 2048, offset 32. Reason: Adjustment failed # ok 7 xdp.test_xdp_native_adjst_tail_grow_data # ok 8 xdp.test_xdp_native_adjst_tail_shrnk_data # # hds-thresh not supported. Using default: 1500 # # Failed run: pkt_sz 512, offset -256. Last successful run: pkt_sz 512, offset -128. Reason: Adjustment failed # ok 9 xdp.test_xdp_native_adjst_head_grow_data # # hds-thresh not supported. Using default: 1500 # # Failed run: pkt_sz (2048) > HDS threshold (1500) and offset 64 > 48 # ok 10 xdp.test_xdp_native_adjst_head_shrnk_data # # Before close stats: {'rx': {'bytes': 350126051, 'packets': 237672, 'errors': 0, 'dropped': 2009, 'over_errors': 0, 'multicast': 0, 'length_errors': 0, 'crc_errors': 0, 'frame_errors': 0, 'fifo_errors': 0, 'missed_errors': 0}, 'tx': {'bytes': 5050835, 'packets': 25113, 'errors': 0, 'dropped': 3, 'carrier_errors': 0, 'collisions': 0, 'aborted_errors': 0, 'fifo_errors': 0, 'window_errors': 0, 'heartbeat_errors': 0, 'carrier_changes': 30}} # # Before far stats: {'rx': {'bytes': 5027165, 'packets': 25118, 'errors': 0, 'dropped': 0, 'over_errors': 0, 'multicast': 0, 'length_errors': 0, 'crc_errors': 0, 'frame_errors': 0, 'fifo_errors': 0, 'missed_errors': 0, 'otherhost': 43}, 'tx': {'bytes': 334596401, 'packets': 29057, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0, 'aborted_errors': 0, 'fifo_errors': 0, 'window_errors': 0, 'heartbeat_errors': 0, 'carrier_changes': 2}} # # Tx cmd: 4.703957557678223 # # After close stats: {'rx': {'bytes': 350254051, 'packets': 239672, 'errors': 0, 'dropped': 2009, 'over_errors': 0, 'multicast': 0, 'length_errors': 0, 'crc_errors': 0, 'frame_errors': 0, 'fifo_errors': 0, 'missed_errors': 0}, 'tx': {'bytes': 5050835, 'packets': 25113, 'errors': 0, 'dropped': 3, 'carrier_errors': 0, 'collisions': 0, 'aborted_errors': 0, 'fifo_errors': 0, 'window_errors': 0, 'heartbeat_errors': 0, 'carrier_changes': 30}} # # After far stats: {'rx': {'bytes': 5027165, 'packets': 25118, 'errors': 0, 'dropped': 0, 'over_errors': 0, 'multicast': 0, 'length_errors': 0, 'crc_errors': 0, 'frame_errors': 0, 'fifo_errors': 0, 'missed_errors': 0, 'otherhost': 43}, 'tx': {'bytes': 334724401, 'packets': 31057, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0, 'aborted_errors': 0, 'fifo_errors': 0, 'window_errors': 0, 'heartbeat_errors': 0, 'carrier_changes': 2}} # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/ksft.py", line 254, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/./xdp.py", line 758, in test_xdp_native_qstats_pass # # Exception| _test_xdp_native_ifc_stats(cfg, XDPAction.PASS) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/./xdp.py", line 741, in _test_xdp_native_ifc_stats # # Exception| cfg.ethnl.channels_set({'header': {'dev-index': cfg.ifindex}, # # Exception| File "/home/virtme/testing/wt-22/tools/net/ynl/pyynl/lib/ynl.py", line 1150, in _op # # Exception| return self._ops(ops)[0] # # Exception| File "/home/virtme/testing/wt-22/tools/net/ynl/pyynl/lib/ynl.py", line 1106, in _ops # # Exception| raise NlError(nl_msg) # # Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Invalid argument # not ok 11 xdp.test_xdp_native_qstats_pass # # Before close stats: {'rx': {'bytes': 350254411, 'packets': 239676, 'errors': 0, 'dropped': 2009, 'over_errors': 0, 'multicast': 0, 'length_errors': 0, 'crc_errors': 0, 'frame_errors': 0, 'fifo_errors': 0, 'missed_errors': 0}, 'tx': {'bytes': 5051275, 'packets': 25117, 'errors': 0, 'dropped': 3, 'carrier_errors': 0, 'collisions': 0, 'aborted_errors': 0, 'fifo_errors': 0, 'window_errors': 0, 'heartbeat_errors': 0, 'carrier_changes': 30}} # # Before far stats: {'rx': {'bytes': 5027605, 'packets': 25122, 'errors': 0, 'dropped': 0, 'over_errors': 0, 'multicast': 0, 'length_errors': 0, 'crc_errors': 0, 'frame_errors': 0, 'fifo_errors': 0, 'missed_errors': 0, 'otherhost': 43}, 'tx': {'bytes': 334724401, 'packets': 31057, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0, 'aborted_errors': 0, 'fifo_errors': 0, 'window_errors': 0, 'heartbeat_errors': 0, 'carrier_changes': 2}} # # Tx cmd: 4.5507988929748535 # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/ksft.py", line 254, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/./xdp.py", line 766, in test_xdp_native_qstats_drop # # Exception| _test_xdp_native_ifc_stats(cfg, XDPAction.DROP) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net/./xdp.py", line 732, in _test_xdp_native_ifc_stats # # Exception| far = ip("-s -s link show dev " + cfg.remote_ifname, json=True, host=cfg.remote)[0]["stats64"] # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/utils.py", line 190, in ip # # Exception| return tool('ip', args, json=json, host=host) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/utils.py", line 177, in tool # # Exception| cmd_obj = cmd(cmd_str, ns=ns, host=host) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/utils.py", line 75, in __init__ # # Exception| self.process(terminate=False, fail=fail, timeout=timeout) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/utils.py", line 85, in process # # Exception| stdout, stderr = self.proc.communicate(timeout) # # Exception| File "/usr/lib64/python3.9/subprocess.py", line 1134, in communicate # # Exception| stdout, stderr = self._communicate(input, endtime, timeout) # # Exception| File "/usr/lib64/python3.9/subprocess.py", line 1995, in _communicate # # Exception| ready = selector.select(timeout) # # Exception| File "/usr/lib64/python3.9/selectors.py", line 416, in select # # Exception| fd_event_list = self._selector.poll(timeout) # # Exception| File "/home/virtme/testing/wt-22/tools/testing/selftests/net/lib/py/ksft.py", line 218, in _ksft_intr # # Exception| raise KsftTerminate() # # Exception| net.lib.py.ksft.KsftTerminate # # Stopping tests due to KsftTerminate. # # Ignoring SIGTERM (cnt: 2), already exiting... # not ok 12 xdp.test_xdp_native_qstats_drop # # Totals: pass:10 fail:2 xfail:0 xpass:0 skip:0 error:0 # not ok 1 selftests: drivers/net: xdp.py # TIMEOUT 360 seconds make[1]: Leaving directory '/home/virtme/testing/wt-22/tools/testing/selftests/drivers/net' make: Leaving directory '/home/virtme/testing/wt-22/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->