make -C tools/testing/selftests TARGETS="drivers/net" TEST_PROGS=xdp.py TEEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-21/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-21/tools/testing/selftests/drivers/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-21/tools/testing/selftests/drivers/net' make[1]: Entering directory '/home/virtme/testing/wt-21/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-21/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing/wt-21/tools/testing/selftests/drivers/net' TAP version 13 1..1 # timeout set to 180 # 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 16. Last successful run: pkt_sz 2048, offset 1. 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': 18244809074, 'packets': 12056765, 'errors': 0, 'dropped': 2009, 'over_errors': 0, 'multicast': 0}, 'tx': {'bytes': 57084752, 'packets': 623332, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0}} # # Before far stats: {'rx': {'bytes': 57061192, 'packets': 623338, 'errors': 0, 'dropped': 0, 'over_errors': 0, 'multicast': 0}, 'tx': {'bytes': 17293867032, 'packets': 497548, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0}} # # Tx cmd: 0.06820511817932129 # # After close stats: {'rx': {'bytes': 18244937164, 'packets': 12058766, 'errors': 0, 'dropped': 2009, 'over_errors': 0, 'multicast': 0}, 'tx': {'bytes': 57084862, 'packets': 623333, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0}} # # After far stats: {'rx': {'bytes': 57061302, 'packets': 623339, 'errors': 0, 'dropped': 0, 'over_errors': 0, 'multicast': 0}, 'tx': {'bytes': 17293995032, 'packets': 499548, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0}} # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-21/tools/testing/selftests/net/lib/py/ksft.py", line 254, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-21/tools/testing/selftests/drivers/net/./xdp.py", line 751, in test_xdp_native_qstats_pass # # Exception| _test_xdp_native_ifc_stats(cfg, XDPAction.PASS) # # Exception| File "/home/virtme/testing/wt-21/tools/testing/selftests/drivers/net/./xdp.py", line 734, in _test_xdp_native_ifc_stats # # Exception| cfg.ethnl.channels_set({'header': {'dev-index': cfg.ifindex}, # # Exception| File "/home/virtme/testing/wt-21/tools/net/ynl/pyynl/lib/ynl.py", line 1159, in _op # # Exception| return self._ops(ops)[0] # # Exception| File "/home/virtme/testing/wt-21/tools/net/ynl/pyynl/lib/ynl.py", line 1115, 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': 18244937434, 'packets': 12058769, 'errors': 0, 'dropped': 2009, 'over_errors': 0, 'multicast': 0}, 'tx': {'bytes': 57085082, 'packets': 623335, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0}} # # Before far stats: {'rx': {'bytes': 57061522, 'packets': 623341, 'errors': 0, 'dropped': 0, 'over_errors': 0, 'multicast': 0}, 'tx': {'bytes': 17293995032, 'packets': 499548, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0}} # # Tx cmd: 0.07235264778137207 # # After close stats: {'rx': {'bytes': 18245065434, 'packets': 12060769, 'errors': 0, 'dropped': 4009, 'over_errors': 0, 'multicast': 0}, 'tx': {'bytes': 57085192, 'packets': 623336, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0}} # # After far stats: {'rx': {'bytes': 57061632, 'packets': 623342, 'errors': 0, 'dropped': 0, 'over_errors': 0, 'multicast': 0}, 'tx': {'bytes': 17294123032, 'packets': 501548, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0}} # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-21/tools/testing/selftests/net/lib/py/ksft.py", line 254, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-21/tools/testing/selftests/drivers/net/./xdp.py", line 759, in test_xdp_native_qstats_drop # # Exception| _test_xdp_native_ifc_stats(cfg, XDPAction.DROP) # # Exception| File "/home/virtme/testing/wt-21/tools/testing/selftests/drivers/net/./xdp.py", line 734, in _test_xdp_native_ifc_stats # # Exception| cfg.ethnl.channels_set({'header': {'dev-index': cfg.ifindex}, # # Exception| File "/home/virtme/testing/wt-21/tools/net/ynl/pyynl/lib/ynl.py", line 1159, in _op # # Exception| return self._ops(ops)[0] # # Exception| File "/home/virtme/testing/wt-21/tools/net/ynl/pyynl/lib/ynl.py", line 1115, in _ops # # Exception| raise NlError(nl_msg) # # Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Invalid argument # not ok 12 xdp.test_xdp_native_qstats_drop # # Before close stats: {'rx': {'bytes': 18245065614, 'packets': 12060771, 'errors': 0, 'dropped': 4009, 'over_errors': 0, 'multicast': 0}, 'tx': {'bytes': 57085412, 'packets': 623338, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0}} # # Before far stats: {'rx': {'bytes': 57061852, 'packets': 623344, 'errors': 0, 'dropped': 0, 'over_errors': 0, 'multicast': 0}, 'tx': {'bytes': 17294123032, 'packets': 501548, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0}} # # Tx cmd: 0.1121363639831543 # # After close stats: {'rx': {'bytes': 18245193704, 'packets': 12062772, 'errors': 0, 'dropped': 4009, 'over_errors': 0, 'multicast': 0}, 'tx': {'bytes': 57237446, 'packets': 625338, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0}} # # After far stats: {'rx': {'bytes': 57189962, 'packets': 625345, 'errors': 0, 'dropped': 0, 'over_errors': 0, 'multicast': 0}, 'tx': {'bytes': 17294251032, 'packets': 503548, 'errors': 0, 'dropped': 0, 'carrier_errors': 0, 'collisions': 0}} # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing/wt-21/tools/testing/selftests/net/lib/py/ksft.py", line 254, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing/wt-21/tools/testing/selftests/drivers/net/./xdp.py", line 767, in test_xdp_native_qstats_tx # # Exception| _test_xdp_native_ifc_stats(cfg, XDPAction.TX) # # Exception| File "/home/virtme/testing/wt-21/tools/testing/selftests/drivers/net/./xdp.py", line 734, in _test_xdp_native_ifc_stats # # Exception| cfg.ethnl.channels_set({'header': {'dev-index': cfg.ifindex}, # # Exception| File "/home/virtme/testing/wt-21/tools/net/ynl/pyynl/lib/ynl.py", line 1159, in _op # # Exception| return self._ops(ops)[0] # # Exception| File "/home/virtme/testing/wt-21/tools/net/ynl/pyynl/lib/ynl.py", line 1115, in _ops # # Exception| raise NlError(nl_msg) # # Exception| net.ynl.pyynl.lib.ynl.NlError: Netlink error: Invalid argument # not ok 13 xdp.test_xdp_native_qstats_tx # # Totals: pass:10 fail:3 xfail:0 xpass:0 skip:0 error:0 not ok 1 selftests: drivers/net: xdp.py # exit=1 make[1]: Leaving directory '/home/virtme/testing/wt-21/tools/testing/selftests/drivers/net' make: Leaving directory '/home/virtme/testing/wt-21/tools/testing/selftests' xx__-> echo $? 0 xx__->