make -C tools/testing/selftests TARGETS="net" TEST_PROGS=fib_rule_tests.shh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 3600 # selftests: net: fib_rule_tests.sh # # IPv6 FIB rule tests # TEST: rule6 check: oif redirect to table [ OK ] # TEST: rule6 check: oif no redirect to table [ OK ] # TEST: rule6 del by pref: oif redirect to table [ OK ] # TEST: rule6 check: iif redirect to table [ OK ] # TEST: rule6 check: iif no redirect to table [ OK ] # TEST: rule6 del by pref: iif redirect to table [ OK ] # TEST: rule6 check: dsfield 1 [ OK ] # TEST: rule6 check: dsfield 2 [ OK ] # TEST: rule6 check: dsfield 3 [ OK ] # TEST: rule6 check: tos 0x10 redirect to table [ OK ] # TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: tos 0x10 redirect to table [ OK ] # TEST: rule6 check: tos 0x11 redirect to table [ OK ] # TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: tos 0x11 redirect to table [ OK ] # TEST: rule6 check: tos 0x12 redirect to table [ OK ] # TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: tos 0x12 redirect to table [ OK ] # TEST: rule6 check: tos 0x13 redirect to table [ OK ] # TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: tos 0x13 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x10 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: iif tos 0x10 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x11 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: iif tos 0x11 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x12 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: iif tos 0x12 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x13 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: iif tos 0x13 redirect to table [ OK ] # TEST: rule6 check: fwmark redirect to table [ OK ] # TEST: rule6 check: fwmark no redirect to table [ OK ] # TEST: rule6 del by pref: fwmark redirect to table [ OK ] # TEST: rule6 check: uid redirect to table [ OK ] # TEST: rule6 check: uid no redirect to table [ OK ] # TEST: rule6 del by pref: uid redirect to table [ OK ] # TEST: rule6 check: sport and dport redirect to table [ OK ] # TEST: rule6 check: sport and dport no redirect to table [ OK ] # TEST: rule6 del by pref: sport and dport redirect to table [ OK ] # TEST: rule6 check: ipproto tcp match [ OK ] # TEST: rule6 check: ipproto udp no match [ OK ] # TEST: rule6 del by pref: ipproto tcp match [ OK ] # TEST: rule6 check: ipproto ipv6-icmp match [ OK ] # TEST: rule6 check: ipproto ipv6-tcp no match [ OK ] # TEST: rule6 del by pref: ipproto ipv6-icmp match [ OK ] # # IPv4 FIB rule tests # TEST: rule4 check: oif redirect to table [ OK ] # TEST: rule4 check: oif no redirect to table [ OK ] # TEST: rule4 del by pref: oif redirect to table [ OK ] # TEST: rule4 check: iif redirect to table [ OK ] # TEST: rule4 check: iif no redirect to table [ OK ] # TEST: rule4 del by pref: iif redirect to table [ OK ] # TEST: rule4 check: dsfield 1 [ OK ] # TEST: rule4 check: dsfield 2 [ OK ] # TEST: rule4 check: dsfield 3 [ OK ] # TEST: rule4 check: tos 0x10 redirect to table [ OK ] # TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: tos 0x10 redirect to table [ OK ] # TEST: rule4 check: tos 0x11 redirect to table [ OK ] # TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: tos 0x11 redirect to table [ OK ] # TEST: rule4 check: tos 0x12 redirect to table [ OK ] # TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: tos 0x12 redirect to table [ OK ] # TEST: rule4 check: tos 0x13 redirect to table [ OK ] # TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: tos 0x13 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x10 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: iif tos 0x10 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x11 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: iif tos 0x11 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x12 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: iif tos 0x12 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x13 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: iif tos 0x13 redirect to table [ OK ] # TEST: rule4 check: fwmark redirect to table [ OK ] # TEST: rule4 check: fwmark no redirect to table [ OK ] # TEST: rule4 del by pref: fwmark redirect to table [ OK ] # TEST: rule4 check: uid redirect to table [ OK ] # TEST: rule4 check: uid no redirect to table [ OK ] # TEST: rule4 del by pref: uid redirect to table [ OK ] # TEST: rule4 check: sport and dport redirect to table [ OK ] # TEST: rule4 check: sport and dport no redirect to table [ OK ] # TEST: rule4 del by pref: sport and dport redirect to table [ OK ] # TEST: rule4 check: ipproto tcp match [ OK ] # TEST: rule4 check: ipproto udp no match [ OK ] # TEST: rule4 del by pref: ipproto tcp match [ OK ] # TEST: rule4 check: ipproto icmp match [ OK ] # TEST: rule4 check: ipproto tcp no match [ OK ] # TEST: rule4 del by pref: ipproto icmp match [ OK ] # # IPv6 FIB rule connect tests # TEST: rule6 dsfield udp connect (dsfield 0x04) [ OK ] # TEST: rule6 dsfield tcp connect (dsfield 0x04) [ OK ] # TEST: rule6 dsfield udp connect (dsfield 0x05) [ OK ] # TEST: rule6 dsfield tcp connect (dsfield 0x05) [ OK ] # TEST: rule6 dsfield udp connect (dsfield 0x06) [ OK ] # TEST: rule6 dsfield tcp connect (dsfield 0x06) [ OK ] # TEST: rule6 dsfield udp connect (dsfield 0x07) [ OK ] # TEST: rule6 dsfield tcp connect (dsfield 0x07) [ OK ] # TEST: rule6 dsfield udp no connect (dsfield 0x20) [ OK ] # TEST: rule6 dsfield tcp no connect (dsfield 0x20) [ OK ] # # IPv4 FIB rule connect tests # TEST: rule4 dsfield udp connect (dsfield 0x04) [ OK ] # TEST: rule4 dsfield tcp connect (dsfield 0x04) [ OK ] # TEST: rule4 dsfield udp connect (dsfield 0x05) [ OK ] # TEST: rule4 dsfield tcp connect (dsfield 0x05) [ OK ] # TEST: rule4 dsfield udp connect (dsfield 0x06) [ OK ] # TEST: rule4 dsfield tcp connect (dsfield 0x06) [ OK ] # TEST: rule4 dsfield udp connect (dsfield 0x07) [ OK ] # TEST: rule4 dsfield tcp connect (dsfield 0x07) [ OK ] # TEST: rule4 dsfield udp no connect (dsfield 0x20) [ OK ] # TEST: rule4 dsfield tcp no connect (dsfield 0x20) [ OK ] # # IPv6 FIB rule tests - with VRF # TEST: rule6 check: oif redirect to table [ OK ] # TEST: rule6 check: oif no redirect to table [ OK ] # TEST: rule6 del by pref: oif redirect to table [ OK ] # TEST: rule6 check: iif redirect to table [ OK ] # TEST: rule6 check: iif no redirect to table [ OK ] # TEST: rule6 del by pref: iif redirect to table [ OK ] # TEST: rule6 check: dsfield 1 [ OK ] # TEST: rule6 check: dsfield 2 [ OK ] # TEST: rule6 check: dsfield 3 [ OK ] # TEST: rule6 check: tos 0x10 redirect to table [ OK ] # TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: tos 0x10 redirect to table [ OK ] # TEST: rule6 check: tos 0x11 redirect to table [ OK ] # TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: tos 0x11 redirect to table [ OK ] # TEST: rule6 check: tos 0x12 redirect to table [ OK ] # TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: tos 0x12 redirect to table [ OK ] # TEST: rule6 check: tos 0x13 redirect to table [ OK ] # TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: tos 0x13 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x10 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: iif tos 0x10 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x11 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: iif tos 0x11 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x12 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: iif tos 0x12 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x13 redirect to table [ OK ] # TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule6 del by pref: iif tos 0x13 redirect to table [ OK ] # TEST: rule6 check: fwmark redirect to table [ OK ] # TEST: rule6 check: fwmark no redirect to table [ OK ] # TEST: rule6 del by pref: fwmark redirect to table [ OK ] # TEST: rule6 check: uid redirect to table [ OK ] # TEST: rule6 check: uid no redirect to table [ OK ] # TEST: rule6 del by pref: uid redirect to table [ OK ] # TEST: rule6 check: sport and dport redirect to table [ OK ] # TEST: rule6 check: sport and dport no redirect to table [ OK ] # TEST: rule6 del by pref: sport and dport redirect to table [ OK ] # TEST: rule6 check: ipproto tcp match [ OK ] # TEST: rule6 check: ipproto udp no match [ OK ] # TEST: rule6 del by pref: ipproto tcp match [ OK ] # TEST: rule6 check: ipproto ipv6-icmp match [ OK ] # TEST: rule6 check: ipproto ipv6-tcp no match [ OK ] # TEST: rule6 del by pref: ipproto ipv6-icmp match [ OK ] # # IPv4 FIB rule tests - with VRF # TEST: rule4 check: oif redirect to table [ OK ] # TEST: rule4 check: oif no redirect to table [ OK ] # TEST: rule4 del by pref: oif redirect to table [ OK ] # TEST: rule4 check: iif redirect to table [ OK ] # TEST: rule4 check: iif no redirect to table [ OK ] # TEST: rule4 del by pref: iif redirect to table [ OK ] # TEST: rule4 check: dsfield 1 [ OK ] # TEST: rule4 check: dsfield 2 [ OK ] # TEST: rule4 check: dsfield 3 [ OK ] # TEST: rule4 check: tos 0x10 redirect to table [ OK ] # TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: tos 0x10 redirect to table [ OK ] # TEST: rule4 check: tos 0x11 redirect to table [ OK ] # TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: tos 0x11 redirect to table [ OK ] # TEST: rule4 check: tos 0x12 redirect to table [ OK ] # TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: tos 0x12 redirect to table [ OK ] # TEST: rule4 check: tos 0x13 redirect to table [ OK ] # TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: tos 0x13 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x10 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: iif tos 0x10 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x11 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: iif tos 0x11 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x12 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: iif tos 0x12 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x13 redirect to table [ OK ] # TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # TEST: rule4 del by pref: iif tos 0x13 redirect to table [ OK ] # TEST: rule4 check: fwmark redirect to table [ OK ] # TEST: rule4 check: fwmark no redirect to table [ OK ] # TEST: rule4 del by pref: fwmark redirect to table [ OK ] # TEST: rule4 check: uid redirect to table [ OK ] # TEST: rule4 check: uid no redirect to table [ OK ] # TEST: rule4 del by pref: uid redirect to table [ OK ] # TEST: rule4 check: sport and dport redirect to table [ OK ] # TEST: rule4 check: sport and dport no redirect to table [ OK ] # TEST: rule4 del by pref: sport and dport redirect to table [ OK ] # TEST: rule4 check: ipproto tcp match [ OK ] # TEST: rule4 check: ipproto udp no match [ OK ] # TEST: rule4 del by pref: ipproto tcp match [ OK ] # TEST: rule4 check: ipproto icmp match [ OK ] # TEST: rule4 check: ipproto tcp no match [ OK ] # TEST: rule4 del by pref: ipproto icmp match [ OK ] # # Tests passed: 212 # Tests failed: 0 ok 1 selftests: net: fib_rule_tests.sh make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->