make -C tools/testing/selftests TARGETS="drivers/net" TEST_PROGS=stats.py TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-18/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-18/tools/testing/selftests/drivers/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-18/tools/testing/selftests/drivers/net' make[1]: Entering directory '/home/virtme/testing-18/tools/testing/selftests/drivers/net' TAP version 13 1..1 # overriding timeout to 90 # selftests: drivers/net: stats.py # KTAP version 1 # 1..7 # ok 1 stats.check_pause # ok 2 stats.check_fec # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing-18/tools/net/ynl/pyynl/lib/ynl.py", line 728, in _decode # # Exception| attr_spec = attr_space.attrs_by_val[attr.type] # # Exception| KeyError: 67 # # Exception| # # Exception| During handling of the above exception, another exception occurred: # # Exception| # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing-18/tools/testing/selftests/net/lib/py/ksft.py", line 218, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing-18/tools/testing/selftests/drivers/net/./stats.py", line 78, in pkt_byte_sum # # Exception| rtstat = rtnl.getlink({"ifi-index": cfg.ifindex})['stats64'] # # Exception| File "/home/virtme/testing-18/tools/net/ynl/pyynl/lib/ynl.py", line 1058, in _op # # Exception| return self._ops(ops)[0] # # Exception| File "/home/virtme/testing-18/tools/net/ynl/pyynl/lib/ynl.py", line 1045, in _ops # # Exception| rsp_msg = self._decode(decoded.raw_attrs, op.attr_set.name) # # Exception| File "/home/virtme/testing-18/tools/net/ynl/pyynl/lib/ynl.py", line 731, in _decode # # Exception| raise Exception(f"Space '{space}' has no attribute with value '{attr.type}'") # # Exception| Exception: Space 'link-attrs' has no attribute with value '67' # not ok 3 stats.pkt_byte_sum # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing-18/tools/testing/selftests/net/lib/py/ksft.py", line 218, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing-18/tools/testing/selftests/drivers/net/./stats.py", line 147, in qstat_by_ifindex # # Exception| devs = rtnl.getlink({}, dump=True) # # Exception| File "/home/virtme/testing-18/tools/net/ynl/pyynl/lib/ynl.py", line 1058, in _op # # Exception| return self._ops(ops)[0] # # Exception| File "/home/virtme/testing-18/tools/net/ynl/pyynl/lib/ynl.py", line 1030, in _ops # # Exception| del reqs_by_seq[nl_msg.nl_seq] # # Exception| KeyError: 46626 # not ok 4 stats.qstat_by_ifindex # ok 5 stats.check_down # Unexpected message: nl_len = 1448 (1432) nl_flags = 0x2 nl_type = 16 # Unexpected message: nl_len = 1572 (1556) nl_flags = 0x2 nl_type = 16 # Unexpected message: nl_len = 1580 (1564) nl_flags = 0x2 nl_type = 16 # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing-18/tools/testing/selftests/net/lib/py/ksft.py", line 218, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing-18/tools/testing/selftests/drivers/net/./stats.py", line 210, in procfs_hammer # # Exception| rtstat1 = rtnl.getlink({"ifi-index": cfg.ifindex})['stats64'] # # Exception| File "/home/virtme/testing-18/tools/net/ynl/pyynl/lib/ynl.py", line 1058, in _op # # Exception| return self._ops(ops)[0] # # Exception| File "/home/virtme/testing-18/tools/net/ynl/pyynl/lib/ynl.py", line 1002, in _ops # # Exception| nms = NlMsgs(reply, attr_space=op.attr_set) # # Exception| AttributeError: 'NoneType' object has no attribute 'attr_set' # not ok 6 stats.procfs_hammer # Unexpected message: nl_len = 1580 (1564) nl_flags = 0x0 nl_type = 16 # # Exception| Traceback (most recent call last): # # Exception| File "/home/virtme/testing-18/tools/testing/selftests/net/lib/py/ksft.py", line 218, in ksft_run # # Exception| case(*args) # # Exception| File "/home/virtme/testing-18/tools/testing/selftests/net/lib/py/ksft.py", line 164, in wrapper # # Exception| return func(*args, **kwargs) # # Exception| File "/home/virtme/testing-18/tools/testing/selftests/drivers/net/./stats.py", line 254, in procfs_downup_hammer # # Exception| rtstat1 = rtnl.getlink({"ifi-index": cfg.ifindex})['stats64'] # # Exception| File "/home/virtme/testing-18/tools/net/ynl/pyynl/lib/ynl.py", line 1058, in _op # # Exception| return self._ops(ops)[0] # # Exception| File "/home/virtme/testing-18/tools/net/ynl/pyynl/lib/ynl.py", line 1002, in _ops # # Exception| nms = NlMsgs(reply, attr_space=op.attr_set) # # Exception| AttributeError: 'NoneType' object has no attribute 'attr_set' # not ok 7 stats.procfs_downup_hammer # # Totals: pass:3 fail:4 xfail:0 xpass:0 skip:0 error:0 not ok 1 selftests: drivers/net: stats.py # exit=1 make[1]: Leaving directory '/home/virtme/testing-18/tools/testing/selftests/drivers/net' make: Leaving directory '/home/virtme/testing-18/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->