make -C tools/testing/selftests TARGETS="net/netfilter" TEST_PROGS=nft_natt.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-16/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-16/tools/testing/selftests/net/netfilter' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-16/tools/testing/selftests/net/netfilter' make[1]: Entering directory '/home/virtme/testing-16/tools/testing/selftests/net/netfilter' TAP version 13 1..1 # overriding timeout to 3600 # selftests: net/netfilter: nft_nat.sh # PASS: netns routing/connectivity: ns0-7mRGGJ can reach ns1-KIUa6c and ns2-wqJmxt # PASS: ping to ns1-KIUa6c was ip NATted to ns2-wqJmxt # PASS: ping to ns1-KIUa6c OK after ip nat output chain flush # PASS: ipv6 ping to ns1-KIUa6c was ip6 NATted to ns2-wqJmxt # PASS: inet port rewrite without l3 address # PASS: ping to ns1-KIUa6c was inet NATted to ns2-wqJmxt # PASS: ping to ns1-KIUa6c OK after inet nat output chain flush # PASS: ipv6 ping to ns1-KIUa6c was inet NATted to ns2-wqJmxt # PASS: ip IP masquerade for ns2-wqJmxt # PASS: ip6 IPv6 masquerade for ns2-wqJmxt # PASS: inet IP masquerade for ns2-wqJmxt # PASS: inet IPv6 masquerade for ns2-wqJmxt # PASS: ip IP masquerade fully-random for ns2-wqJmxt # PASS: ip6 IPv6 masquerade fully-random for ns2-wqJmxt # PASS: inet IP masquerade fully-random for ns2-wqJmxt # PASS: inet IPv6 masquerade fully-random for ns2-wqJmxt # PASS: ip IP redirection for ns2-wqJmxt # PASS: ip6 IPv6 redirection for ns2-wqJmxt # PASS: inet IP redirection for ns2-wqJmxt # PASS: inet IPv6 redirection for ns2-wqJmxt # PASS: portshadow test default: got reply from CLIENT # 2025/07/24 09:03:07 socat[19968] E read(7, 0x55c54cf75000, 8192): Connection refused # ERROR: portshadow test port-filter: got reply from "", not ROUTER as intended # PASS: portshadow test port-notrack: got reply from ROUTER # 2025/07/24 09:03:22 socat[20020] E read(7, 0x563c04470000, 8192): Connection refused # ERROR: portshadow test pat: got reply from "", not ROUTER as intended # cmp: EOF on /tmp/tmp.OiI0NFCRmH which is empty # Infile -rw------- 1 root root 4096 Jul 24 09:03 /tmp/tmp.Mkj5EYy4me # Outfile -rw------- 1 root root 0 Jul 24 08:59 /tmp/tmp.OiI0NFCRmH # ERROR: in and output file mismatch when checking # PASS: IP dnat clash ns1-KIUa6c:ns2-wqJmxt # FAIL: nftables v1.1.3 (Commodore Bullmoose #4) not ok 1 selftests: net/netfilter: nft_nat.sh # exit=1 make[1]: Leaving directory '/home/virtme/testing-16/tools/testing/selftests/net/netfilter' make: Leaving directory '/home/virtme/testing-16/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__->