make -C tools/testing/selftests TARGETS="net/netfilter" TEST_PROGS=nft_floowtable.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing/wt-15/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing/wt-15/tools/testing/selftests/net/netfilter' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing/wt-15/tools/testing/selftests/net/netfilter' make[1]: Entering directory '/home/virtme/testing/wt-15/tools/testing/selftests/net/netfilter' TAP version 13 1..1 # timeout set to 1800 # selftests: net/netfilter: nft_flowtable.sh # PASS: flow offloaded for ns1/ns2 # PASS: dscp_none: dscp packet counters match # PASS: dscp_ingress: dscp packet counters match # PASS: dscp_egress: dscp packet counters match # PASS: dscp_fwd: dscp packet counters match # PASS: flow offload for ns1/ns2 with masquerade # PASS: flow offload for ns1/ns2 with dnat ns1 <- ns2 # PASS: flow offload for ns1/ns2 with masquerade and pmtu discovery # PASS: flow offload for ns1/ns2 with dnat and pmtu discovery ns1 <- ns2 # PASS: flow offload for ns1/ns2 with masquerade and pmtu discovery on bridge # PASS: flow offload for ns1/ns2 with dnat and pmtu discovery ns1 <- ns2 # PASS: flow offload for ns1/ns2 with masquerade and pmtu discovery bridge and VLAN # PASS: flow offload for ns1/ns2 with dnat and pmtu discovery ns1 <- ns2 # PASS: ipsec tunnel mode for ns1/ns2 # re-run with random mtus and file size: -o 27225 -l 2668 -r 19896 -s 14456136 # FAIL: file mismatch for ns1 -> ns2 # -rw------- 1 root root 14456136 Aug 26 14:23 /tmp/tmp.A3ITtnN9HC # -rw------- 1 root root 6747652 Aug 26 14:24 /tmp/tmp.KlbhxvSnPB # FAIL: file mismatch for ns1 <- ns2 # -rw------- 1 root root 14456136 Aug 26 14:23 /tmp/tmp.A3ITtnN9HC # -rw------- 1 root root 8606188 Aug 26 14:24 /tmp/tmp.o6fHxdGat7 # FAIL: flow offload for ns1/ns2: # table inet filter { # counter routed_orig { # packets 337 bytes 6798720 # } # # counter routed_repl { # packets 476 bytes 8658004 # } # # flowtable f1 { # hook ingress priority filter # devices = { veth0, veth1 } # } # # chain forward { # type filter hook forward priority filter; policy drop; # oif "veth1" tcp dport 12345 ct mark set 0x00000001 flow add @f1 counter name "routed_orig" accept # ct mark 0x00000001 counter name ct direction map { original : "routed_orig", reply : "routed_repl" } accept # ct state established,related accept # meta l4proto icmp accept # meta l4proto ipv6-icmp accept # } # } # PASS: dscp_none: dscp packet counters match # PASS: dscp_ingress: dscp packet counters match # FAIL: file mismatch for ns1 <- ns2 # -rw------- 1 root root 14456136 Aug 26 14:23 /tmp/tmp.A3ITtnN9HC # -rw------- 1 root root 8970532 Aug 26 14:25 /tmp/tmp.o6fHxdGat7 # PASS: dscp_egress: dscp packet counters match # PASS: dscp_fwd: dscp packet counters match # PASS: flow offload for ns1/ns2 with masquerade # PASS: flow offload for ns1/ns2 with dnat ns1 <- ns2 # PASS: flow offload for ns1/ns2 with masquerade and pmtu discovery # PASS: flow offload for ns1/ns2 with dnat and pmtu discovery ns1 <- ns2 # PASS: flow offload for ns1/ns2 with masquerade and pmtu discovery on bridge # PASS: flow offload for ns1/ns2 with dnat and pmtu discovery ns1 <- ns2 # PASS: flow offload for ns1/ns2 with masquerade and pmtu discovery bridge and VLAN # PASS: flow offload for ns1/ns2 with dnat and pmtu discovery ns1 <- ns2 # PASS: ipsec tunnel mode for ns1/ns2 ok 1 selftests: net/netfilter: nft_flowtable.sh make[1]: Leaving directory '/home/virtme/testing/wt-15/tools/testing/selftests/net/netfilter' make: Leaving directory '/home/virtme/testing/wt-15/tools/testing/selftests' xx__-> echo $? 0 xx__->