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 # 0.13 [+0.13] # 0.13 [+0.00] IPv6 FIB rule tests # 0.17 [+0.04] TEST: rule6 check: oif redirect to table [ OK ] # 0.18 [+0.01] TEST: rule6 check: oif no redirect to table [ OK ] # 0.21 [+0.03] TEST: rule6 del by pref: oif redirect to table [ OK ] # 0.24 [+0.03] TEST: rule6 check: iif redirect to table [ OK ] # 0.25 [+0.01] TEST: rule6 check: iif no redirect to table [ OK ] # 0.28 [+0.03] TEST: rule6 del by pref: iif redirect to table [ OK ] # 0.31 [+0.03] TEST: rule6 check: dsfield 1 [ OK ] # 0.32 [+0.01] TEST: rule6 check: dsfield 2 [ OK ] # 0.34 [+0.02] TEST: rule6 check: dsfield 3 [ OK ] # 0.36 [+0.03] TEST: rule6 check: tos 0x10 redirect to table [ OK ] # 0.38 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 0.41 [+0.03] TEST: rule6 del by pref: tos 0x10 redirect to table [ OK ] # 0.44 [+0.03] TEST: rule6 check: tos 0x11 redirect to table [ OK ] # 0.46 [+0.02] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 0.48 [+0.03] TEST: rule6 del by pref: tos 0x11 redirect to table [ OK ] # 0.51 [+0.03] TEST: rule6 check: tos 0x12 redirect to table [ OK ] # 0.53 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 0.56 [+0.03] TEST: rule6 del by pref: tos 0x12 redirect to table [ OK ] # 0.59 [+0.03] TEST: rule6 check: tos 0x13 redirect to table [ OK ] # 0.60 [+0.02] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 0.63 [+0.03] TEST: rule6 del by pref: tos 0x13 redirect to table [ OK ] # 0.65 [+0.03] TEST: rule6 check: iif tos 0x10 redirect to table [ OK ] # 0.67 [+0.02] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 0.70 [+0.03] TEST: rule6 del by pref: iif tos 0x10 redirect to table [ OK ] # 0.73 [+0.03] TEST: rule6 check: iif tos 0x11 redirect to table [ OK ] # 0.74 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 0.77 [+0.03] TEST: rule6 del by pref: iif tos 0x11 redirect to table [ OK ] # 0.79 [+0.03] TEST: rule6 check: iif tos 0x12 redirect to table [ OK ] # 0.81 [+0.02] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 0.84 [+0.03] TEST: rule6 del by pref: iif tos 0x12 redirect to table [ OK ] # 0.87 [+0.03] TEST: rule6 check: iif tos 0x13 redirect to table [ OK ] # 0.88 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 0.91 [+0.03] TEST: rule6 del by pref: iif tos 0x13 redirect to table [ OK ] # 0.94 [+0.03] TEST: rule6 check: fwmark redirect to table [ OK ] # 0.95 [+0.01] TEST: rule6 check: fwmark no redirect to table [ OK ] # 0.98 [+0.03] TEST: rule6 del by pref: fwmark redirect to table [ OK ] # 1.02 [+0.04] TEST: rule6 check: uid redirect to table [ OK ] # 1.03 [+0.01] TEST: rule6 check: uid no redirect to table [ OK ] # 1.06 [+0.03] TEST: rule6 del by pref: uid redirect to table [ OK ] # 1.10 [+0.04] TEST: rule6 check: sport and dport redirect to table [ OK ] # 1.11 [+0.01] TEST: rule6 check: sport and dport no redirect to table [ OK ] # 1.14 [+0.03] TEST: rule6 del by pref: sport and dport redirect to table [ OK ] # 1.18 [+0.04] TEST: rule6 check: ipproto tcp match [ OK ] # 1.20 [+0.01] TEST: rule6 check: ipproto udp no match [ OK ] # 1.22 [+0.03] TEST: rule6 del by pref: ipproto tcp match [ OK ] # 1.27 [+0.05] TEST: rule6 check: ipproto ipv6-icmp match [ OK ] # 1.29 [+0.01] TEST: rule6 check: ipproto ipv6-tcp no match [ OK ] # 1.31 [+0.03] TEST: rule6 del by pref: ipproto ipv6-icmp match [ OK ] # 1.32 [+0.00] # 1.32 [+0.00] IPv4 FIB rule tests # 1.36 [+0.04] TEST: rule4 check: oif redirect to table [ OK ] # 1.37 [+0.01] TEST: rule4 check: oif no redirect to table [ OK ] # 1.40 [+0.03] TEST: rule4 del by pref: oif redirect to table [ OK ] # 1.47 [+0.08] TEST: rule4 check: iif redirect to table [ OK ] # 1.49 [+0.01] TEST: rule4 check: iif no redirect to table [ OK ] # 1.51 [+0.03] TEST: rule4 del by pref: iif redirect to table [ OK ] # 1.54 [+0.03] TEST: rule4 check: dsfield 1 [ OK ] # 1.56 [+0.02] TEST: rule4 check: dsfield 2 [ OK ] # 1.58 [+0.02] TEST: rule4 check: dsfield 3 [ OK ] # 1.61 [+0.03] TEST: rule4 check: tos 0x10 redirect to table [ OK ] # 1.63 [+0.02] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 1.66 [+0.03] TEST: rule4 del by pref: tos 0x10 redirect to table [ OK ] # 1.69 [+0.03] TEST: rule4 check: tos 0x11 redirect to table [ OK ] # 1.70 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 1.72 [+0.03] TEST: rule4 del by pref: tos 0x11 redirect to table [ OK ] # 1.75 [+0.03] TEST: rule4 check: tos 0x12 redirect to table [ OK ] # 1.77 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 1.79 [+0.03] TEST: rule4 del by pref: tos 0x12 redirect to table [ OK ] # 1.82 [+0.03] TEST: rule4 check: tos 0x13 redirect to table [ OK ] # 1.83 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 1.86 [+0.03] TEST: rule4 del by pref: tos 0x13 redirect to table [ OK ] # 1.89 [+0.03] TEST: rule4 check: iif tos 0x10 redirect to table [ OK ] # 1.91 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 1.94 [+0.03] TEST: rule4 del by pref: iif tos 0x10 redirect to table [ OK ] # 1.97 [+0.03] TEST: rule4 check: iif tos 0x11 redirect to table [ OK ] # 1.98 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 2.01 [+0.03] TEST: rule4 del by pref: iif tos 0x11 redirect to table [ OK ] # 2.04 [+0.03] TEST: rule4 check: iif tos 0x12 redirect to table [ OK ] # 2.06 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 2.09 [+0.03] TEST: rule4 del by pref: iif tos 0x12 redirect to table [ OK ] # 2.12 [+0.03] TEST: rule4 check: iif tos 0x13 redirect to table [ OK ] # 2.13 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 2.16 [+0.03] TEST: rule4 del by pref: iif tos 0x13 redirect to table [ OK ] # 2.19 [+0.03] TEST: rule4 check: fwmark redirect to table [ OK ] # 2.20 [+0.01] TEST: rule4 check: fwmark no redirect to table [ OK ] # 2.23 [+0.03] TEST: rule4 del by pref: fwmark redirect to table [ OK ] # 2.28 [+0.05] TEST: rule4 check: uid redirect to table [ OK ] # 2.30 [+0.01] TEST: rule4 check: uid no redirect to table [ OK ] # 2.32 [+0.03] TEST: rule4 del by pref: uid redirect to table [ OK ] # 2.37 [+0.05] TEST: rule4 check: sport and dport redirect to table [ OK ] # 2.38 [+0.01] TEST: rule4 check: sport and dport no redirect to table [ OK ] # 2.41 [+0.03] TEST: rule4 del by pref: sport and dport redirect to table [ OK ] # 2.47 [+0.05] TEST: rule4 check: ipproto tcp match [ OK ] # 2.48 [+0.01] TEST: rule4 check: ipproto udp no match [ OK ] # 2.51 [+0.03] TEST: rule4 del by pref: ipproto tcp match [ OK ] # 2.55 [+0.05] TEST: rule4 check: ipproto icmp match [ OK ] # 2.57 [+0.01] TEST: rule4 check: ipproto tcp no match [ OK ] # 2.60 [+0.03] TEST: rule4 del by pref: ipproto icmp match [ OK ] # 2.60 [+0.00] # 2.60 [+0.00] IPv6 FIB rule connect tests # 2.85 [+0.25] TEST: rule6 dsfield udp connect (dsfield 0x04) [ OK ] # 2.86 [+0.01] TEST: rule6 dsfield tcp connect (dsfield 0x04) [ OK ] # 2.87 [+0.01] TEST: rule6 dsfield udp connect (dsfield 0x05) [ OK ] # 2.89 [+0.01] TEST: rule6 dsfield tcp connect (dsfield 0x05) [ OK ] # 2.90 [+0.01] TEST: rule6 dsfield udp connect (dsfield 0x06) [ OK ] # 2.91 [+0.01] TEST: rule6 dsfield tcp connect (dsfield 0x06) [ OK ] # 2.93 [+0.01] TEST: rule6 dsfield udp connect (dsfield 0x07) [ OK ] # 2.94 [+0.01] TEST: rule6 dsfield tcp connect (dsfield 0x07) [ OK ] # 2.95 [+0.01] TEST: rule6 dsfield udp no connect (dsfield 0x20) [ OK ] # 2.96 [+0.01] TEST: rule6 dsfield tcp no connect (dsfield 0x20) [ OK ] # 3.02 [+0.05] # 3.02 [+0.00] IPv4 FIB rule connect tests # 3.29 [+0.28] TEST: rule4 dsfield udp connect (dsfield 0x04) [ OK ] # 3.30 [+0.01] TEST: rule4 dsfield tcp connect (dsfield 0x04) [ OK ] # 3.32 [+0.01] TEST: rule4 dsfield udp connect (dsfield 0x05) [ OK ] # 3.33 [+0.01] TEST: rule4 dsfield tcp connect (dsfield 0x05) [ OK ] # 3.34 [+0.01] TEST: rule4 dsfield udp connect (dsfield 0x06) [ OK ] # 3.35 [+0.01] TEST: rule4 dsfield tcp connect (dsfield 0x06) [ OK ] # 3.36 [+0.01] TEST: rule4 dsfield udp connect (dsfield 0x07) [ OK ] # 3.38 [+0.01] TEST: rule4 dsfield tcp connect (dsfield 0x07) [ OK ] # 3.39 [+0.01] TEST: rule4 dsfield udp no connect (dsfield 0x20) [ OK ] # 3.40 [+0.01] TEST: rule4 dsfield tcp no connect (dsfield 0x20) [ OK ] # 3.49 [+0.09] # 3.49 [+0.00] IPv6 FIB rule tests - with VRF # 3.53 [+0.04] TEST: rule6 check: oif redirect to table [ OK ] # 3.54 [+0.01] TEST: rule6 check: oif no redirect to table [ OK ] # 3.57 [+0.03] TEST: rule6 del by pref: oif redirect to table [ OK ] # 3.59 [+0.02] TEST: rule6 check: iif redirect to table [ OK ] # 3.60 [+0.01] TEST: rule6 check: iif no redirect to table [ OK ] # 3.63 [+0.03] TEST: rule6 del by pref: iif redirect to table [ OK ] # 3.65 [+0.03] TEST: rule6 check: dsfield 1 [ OK ] # 3.67 [+0.02] TEST: rule6 check: dsfield 2 [ OK ] # 3.69 [+0.02] TEST: rule6 check: dsfield 3 [ OK ] # 3.72 [+0.03] TEST: rule6 check: tos 0x10 redirect to table [ OK ] # 3.73 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 3.75 [+0.02] TEST: rule6 del by pref: tos 0x10 redirect to table [ OK ] # 3.78 [+0.03] TEST: rule6 check: tos 0x11 redirect to table [ OK ] # 3.80 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 3.82 [+0.03] TEST: rule6 del by pref: tos 0x11 redirect to table [ OK ] # 3.85 [+0.03] TEST: rule6 check: tos 0x12 redirect to table [ OK ] # 3.86 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 3.89 [+0.03] TEST: rule6 del by pref: tos 0x12 redirect to table [ OK ] # 3.92 [+0.03] TEST: rule6 check: tos 0x13 redirect to table [ OK ] # 3.93 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 3.95 [+0.02] TEST: rule6 del by pref: tos 0x13 redirect to table [ OK ] # 3.98 [+0.03] TEST: rule6 check: iif tos 0x10 redirect to table [ OK ] # 3.99 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 4.02 [+0.03] TEST: rule6 del by pref: iif tos 0x10 redirect to table [ OK ] # 4.05 [+0.03] TEST: rule6 check: iif tos 0x11 redirect to table [ OK ] # 4.06 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 4.08 [+0.02] TEST: rule6 del by pref: iif tos 0x11 redirect to table [ OK ] # 4.11 [+0.03] TEST: rule6 check: iif tos 0x12 redirect to table [ OK ] # 4.12 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 4.14 [+0.02] TEST: rule6 del by pref: iif tos 0x12 redirect to table [ OK ] # 4.17 [+0.03] TEST: rule6 check: iif tos 0x13 redirect to table [ OK ] # 4.18 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 4.20 [+0.03] TEST: rule6 del by pref: iif tos 0x13 redirect to table [ OK ] # 4.23 [+0.03] TEST: rule6 check: fwmark redirect to table [ OK ] # 4.24 [+0.01] TEST: rule6 check: fwmark no redirect to table [ OK ] # 4.26 [+0.02] TEST: rule6 del by pref: fwmark redirect to table [ OK ] # 4.31 [+0.04] TEST: rule6 check: uid redirect to table [ OK ] # 4.32 [+0.01] TEST: rule6 check: uid no redirect to table [ OK ] # 4.34 [+0.02] TEST: rule6 del by pref: uid redirect to table [ OK ] # 4.38 [+0.04] TEST: rule6 check: sport and dport redirect to table [ OK ] # 4.40 [+0.01] TEST: rule6 check: sport and dport no redirect to table [ OK ] # 4.42 [+0.02] TEST: rule6 del by pref: sport and dport redirect to table [ OK ] # 4.46 [+0.04] TEST: rule6 check: ipproto tcp match [ OK ] # 4.47 [+0.01] TEST: rule6 check: ipproto udp no match [ OK ] # 4.50 [+0.02] TEST: rule6 del by pref: ipproto tcp match [ OK ] # 4.54 [+0.05] TEST: rule6 check: ipproto ipv6-icmp match [ OK ] # 4.56 [+0.01] TEST: rule6 check: ipproto ipv6-tcp no match [ OK ] # 4.58 [+0.03] TEST: rule6 del by pref: ipproto ipv6-icmp match [ OK ] # 4.65 [+0.06] # 4.65 [+0.00] IPv4 FIB rule tests - with VRF # 4.68 [+0.03] TEST: rule4 check: oif redirect to table [ OK ] # 4.69 [+0.01] TEST: rule4 check: oif no redirect to table [ OK ] # 4.71 [+0.02] TEST: rule4 del by pref: oif redirect to table [ OK ] # 4.78 [+0.07] TEST: rule4 check: iif redirect to table [ OK ] # 4.79 [+0.01] TEST: rule4 check: iif no redirect to table [ OK ] # 4.82 [+0.02] TEST: rule4 del by pref: iif redirect to table [ OK ] # 4.84 [+0.02] TEST: rule4 check: dsfield 1 [ OK ] # 4.85 [+0.01] TEST: rule4 check: dsfield 2 [ OK ] # 4.86 [+0.01] TEST: rule4 check: dsfield 3 [ OK ] # 4.88 [+0.02] TEST: rule4 check: tos 0x10 redirect to table [ OK ] # 4.89 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 4.92 [+0.02] TEST: rule4 del by pref: tos 0x10 redirect to table [ OK ] # 4.94 [+0.02] TEST: rule4 check: tos 0x11 redirect to table [ OK ] # 4.95 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 4.98 [+0.02] TEST: rule4 del by pref: tos 0x11 redirect to table [ OK ] # 5.00 [+0.02] TEST: rule4 check: tos 0x12 redirect to table [ OK ] # 5.01 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 5.03 [+0.02] TEST: rule4 del by pref: tos 0x12 redirect to table [ OK ] # 5.06 [+0.02] TEST: rule4 check: tos 0x13 redirect to table [ OK ] # 5.07 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 5.09 [+0.02] TEST: rule4 del by pref: tos 0x13 redirect to table [ OK ] # 5.12 [+0.02] TEST: rule4 check: iif tos 0x10 redirect to table [ OK ] # 5.13 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 5.15 [+0.02] TEST: rule4 del by pref: iif tos 0x10 redirect to table [ OK ] # 5.18 [+0.02] TEST: rule4 check: iif tos 0x11 redirect to table [ OK ] # 5.19 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 5.22 [+0.03] TEST: rule4 del by pref: iif tos 0x11 redirect to table [ OK ] # 5.24 [+0.03] TEST: rule4 check: iif tos 0x12 redirect to table [ OK ] # 5.26 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 5.28 [+0.03] TEST: rule4 del by pref: iif tos 0x12 redirect to table [ OK ] # 5.31 [+0.03] TEST: rule4 check: iif tos 0x13 redirect to table [ OK ] # 5.33 [+0.02] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 5.36 [+0.03] TEST: rule4 del by pref: iif tos 0x13 redirect to table [ OK ] # 5.38 [+0.03] TEST: rule4 check: fwmark redirect to table [ OK ] # 5.40 [+0.01] TEST: rule4 check: fwmark no redirect to table [ OK ] # 5.43 [+0.03] TEST: rule4 del by pref: fwmark redirect to table [ OK ] # 5.48 [+0.05] TEST: rule4 check: uid redirect to table [ OK ] # 5.49 [+0.01] TEST: rule4 check: uid no redirect to table [ OK ] # 5.52 [+0.03] TEST: rule4 del by pref: uid redirect to table [ OK ] # 5.57 [+0.05] TEST: rule4 check: sport and dport redirect to table [ OK ] # 5.59 [+0.02] TEST: rule4 check: sport and dport no redirect to table [ OK ] # 5.62 [+0.03] TEST: rule4 del by pref: sport and dport redirect to table [ OK ] # 5.67 [+0.06] TEST: rule4 check: ipproto tcp match [ OK ] # 5.69 [+0.01] TEST: rule4 check: ipproto udp no match [ OK ] # 5.72 [+0.03] TEST: rule4 del by pref: ipproto tcp match [ OK ] # 5.77 [+0.05] TEST: rule4 check: ipproto icmp match [ OK ] # 5.79 [+0.01] TEST: rule4 check: ipproto tcp no match [ OK ] # 5.81 [+0.03] TEST: rule4 del by pref: ipproto icmp match [ OK ] # 5.94 [+0.12] # 5.94 [+0.00] Tests passed: 212 # 5.94 [+0.00] 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__->