make -C tools/testing/selftests TARGETS=net/netfilter TEST_PROGS=nft_auditt.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-15/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-15/tools/testing/selftests/net/netfilter' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-15/tools/testing/selftests/net/netfilter' make[1]: Entering directory '/home/virtme/testing-15/tools/testing/selftests/net/netfilter' TAP version 13 1..2 # timeout set to 45 # selftests: net/netfilter: conntrack_dump_flush # TAP version 13 # 1..3 # # Starting 3 tests from 1 test cases. # # RUN conntrack_dump_flush.test_dump_by_zone ... # mnl_socket_recvfrom: Operation not supported # mnl_cb_run: Operation not supported # # conntrack_dump_flush.c:332:test_dump_by_zone:Expected ret (-1) == 0 (0) # mnl_cb_run: Operation not supported # # conntrack_dump_flush.c:335:test_dump_by_zone:Expected ret (-1) == 0 (0) # mnl_cb_run: Operation not supported # # conntrack_dump_flush.c:338:test_dump_by_zone:Expected ret (-1) == 0 (0) # mnl_cb_run: Operation not supported # # conntrack_dump_flush.c:341:test_dump_by_zone:Expected ret (-1) == 0 (0) # mnl_cb_run: Operation not supported # # conntrack_dump_flush.c:361:test_dump_by_zone:Expected ret (-1) == 0 (0) # mnl_cb_run: Operation not supported # # conntrack_dump_flush.c:380:test_dump_by_zone:Expected ret (-1) == 0 (0) # mnl_cb_run: Operation not supported # # conntrack_dump_flush.c:399:test_dump_by_zone:Expected ret (-1) == 0 (0) # mnl_cb_run: Operation not supported # # conntrack_dump_flush.c:419:test_dump_by_zone:Expected ret (-1) == 0 (0) # mnl_socket_recvfrom: Operation not supported # # conntrack_dump_flush.c:422:test_dump_by_zone:Expected ret (-1) >= 2 (2) # # test_dump_by_zone: Test failed # # FAIL conntrack_dump_flush.test_dump_by_zone # not ok 1 conntrack_dump_flush.test_dump_by_zone # # RUN conntrack_dump_flush.test_flush_by_zone ... # mnl_socket_recvfrom: Operation not supported # # SKIP Kernel does not seem to support conntrack zones # # OK conntrack_dump_flush.test_flush_by_zone # ok 2 conntrack_dump_flush.test_flush_by_zone # SKIP Kernel does not seem to support conntrack zones # # RUN conntrack_dump_flush.test_flush_by_zone_default ... # mnl_socket_recvfrom: Operation not supported # # SKIP Kernel does not seem to support conntrack zones # # OK conntrack_dump_flush.test_flush_by_zone_default # ok 3 conntrack_dump_flush.test_flush_by_zone_default # SKIP Kernel does not seem to support conntrack zones # # FAILED: 2 / 3 tests passed. # # Totals: pass:0 fail:1 xfail:0 xpass:0 skip:2 error:0 not ok 1 selftests: net/netfilter: conntrack_dump_flush # exit=1 # timeout set to 45 # selftests: net/netfilter: nft_audit.sh # logging into /tmp/tmp.WDEiUrCC47 # testing for cmd: nft add table t1 ... OK # testing for cmd: nft add chain t1 c1 ... OK # testing for cmd: nft add chain t1 c2; add chain t1 c3 ... OK # testing for cmd: nft add rule t1 c1 counter ... OK # testing for cmd: nft add rule t1 c1 counter; add rule t1 c1 counter ... OK # testing for cmd: nft add rule t1 c2 counter; add rule t1 c2 counter; add rule t1 c2 counter; add rule t1 c3 counter; add rule t1 c3 counter; add rule t1 c3 counter ... OK # testing for cmd: nft add table t2 ... OK # testing for cmd: nft add chain t2 c1 ... OK # testing for cmd: nft add chain t2 c2; add chain t2 c3 ... OK # testing for cmd: nft add rule t2 c1 counter ... OK # testing for cmd: nft add rule t2 c1 counter; add rule t2 c1 counter ... OK # testing for cmd: nft add rule t2 c2 counter; add rule t2 c2 counter; add rule t2 c2 counter; add rule t2 c3 counter; add rule t2 c3 counter; add rule t2 c3 counter ... OK # testing for cmd: nft -f /tmp/tmp.xJ4Ram1ztu ... OK # testing for cmd: nft add set t1 s { type inet_service; counter; elements = { 22, 80, 443 }; } ... OK # testing for cmd: nft add set t1 s2 { type inet_service; counter; elements = { 22, 80, 443 }; }; add set t1 s3 { type inet_service; counter; } ... OK # testing for cmd: nft add element t1 s3 { 22, 80, 443 } ... OK # testing for cmd: nft add counter t1 c1 ... OK # testing for cmd: nft add counter t2 c1; add counter t2 c2 ... OK # testing for cmd: nft -f /tmp/tmp.xJ4Ram1ztu ... OK # testing for cmd: nft add quota t1 q1 { 10 bytes } ... OK # testing for cmd: nft add quota t2 q1 { 10 bytes }; add quota t2 q2 { 10 bytes } ... OK # testing for cmd: nft -f /tmp/tmp.xJ4Ram1ztu ... OK # testing for cmd: nft add quota t1 q1 { 20 bytes } ... OK # testing for cmd: nft reset rules t1 c2 ... Error: syntax error, unexpected string, expecting counter or counters or quotas or quota # reset rules t1 c2 # ^^^^^ not ok 2 selftests: net/netfilter: nft_audit.sh # exit=1 make[1]: Leaving directory '/home/virtme/testing-15/tools/testing/selftests/net/netfilter' make: Leaving directory '/home/virtme/testing-15/tools/testing/selftests' xx__-> echo $? 0 xx__->