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.14 [+0.14] # 0.14 [+0.00] IPv6 FIB rule tests # 0.18 [+0.04] TEST: rule6 check: oif redirect to table [ OK ] # 0.19 [+0.01] TEST: rule6 check: oif no redirect to table [ OK ] # 0.21 [+0.02] 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.30 [+0.03] TEST: rule6 check: dsfield 1 [ OK ] # 0.32 [+0.02] TEST: rule6 check: dsfield 2 [ OK ] # 0.34 [+0.02] TEST: rule6 check: dsfield 3 [ OK ] # 0.37 [+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.43 [+0.03] TEST: rule6 check: tos 0x11 redirect to table [ OK ] # 0.45 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 0.47 [+0.03] TEST: rule6 del by pref: tos 0x11 redirect to table [ OK ] # 0.50 [+0.03] TEST: rule6 check: tos 0x12 redirect to table [ OK ] # 0.51 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 0.54 [+0.03] TEST: rule6 del by pref: tos 0x12 redirect to table [ OK ] # 0.57 [+0.03] TEST: rule6 check: tos 0x13 redirect to table [ OK ] # 0.58 [+0.02] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 0.61 [+0.03] TEST: rule6 del by pref: tos 0x13 redirect to table [ OK ] # 0.64 [+0.03] TEST: rule6 check: iif tos 0x10 redirect to table [ OK ] # 0.65 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 0.68 [+0.03] TEST: rule6 del by pref: iif tos 0x10 redirect to table [ OK ] # 0.71 [+0.03] TEST: rule6 check: iif tos 0x11 redirect to table [ OK ] # 0.72 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 0.75 [+0.03] TEST: rule6 del by pref: iif tos 0x11 redirect to table [ OK ] # 0.77 [+0.03] TEST: rule6 check: iif tos 0x12 redirect to table [ OK ] # 0.79 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 0.82 [+0.03] TEST: rule6 del by pref: iif tos 0x12 redirect to table [ OK ] # 0.84 [+0.03] TEST: rule6 check: iif tos 0x13 redirect to table [ OK ] # 0.85 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 0.88 [+0.03] TEST: rule6 del by pref: iif tos 0x13 redirect to table [ OK ] # 0.91 [+0.03] TEST: rule6 check: fwmark redirect to table [ OK ] # 0.92 [+0.01] TEST: rule6 check: fwmark no redirect to table [ OK ] # 0.95 [+0.03] TEST: rule6 del by pref: fwmark redirect to table [ OK ] # 1.00 [+0.05] TEST: rule6 check: uid redirect to table [ OK ] # 1.01 [+0.01] TEST: rule6 check: uid no redirect to table [ OK ] # 1.04 [+0.02] TEST: rule6 del by pref: uid redirect to table [ OK ] # 1.08 [+0.05] TEST: rule6 check: sport and dport redirect to table [ OK ] # 1.09 [+0.01] TEST: rule6 check: sport and dport no redirect to table [ OK ] # 1.12 [+0.03] TEST: rule6 del by pref: sport and dport redirect to table [ OK ] # 1.17 [+0.05] TEST: rule6 check: ipproto tcp match [ OK ] # 1.19 [+0.02] TEST: rule6 check: ipproto udp no match [ OK ] # 1.21 [+0.03] TEST: rule6 del by pref: ipproto tcp match [ OK ] # 1.27 [+0.05] TEST: rule6 check: ipproto ipv6-icmp match [ OK ] # 1.28 [+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.31 [+0.00] # 1.31 [+0.00] IPv4 FIB rule tests # 1.35 [+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.07] TEST: rule4 check: iif redirect to table [ OK ] # 1.48 [+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.55 [+0.01] TEST: rule4 check: dsfield 2 [ OK ] # 1.57 [+0.02] TEST: rule4 check: dsfield 3 [ OK ] # 1.60 [+0.03] TEST: rule4 check: tos 0x10 redirect to table [ OK ] # 1.61 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 1.64 [+0.03] TEST: rule4 del by pref: tos 0x10 redirect to table [ OK ] # 1.67 [+0.03] TEST: rule4 check: tos 0x11 redirect to table [ OK ] # 1.68 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 1.71 [+0.03] TEST: rule4 del by pref: tos 0x11 redirect to table [ OK ] # 1.74 [+0.03] TEST: rule4 check: tos 0x12 redirect to table [ OK ] # 1.75 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 1.78 [+0.03] TEST: rule4 del by pref: tos 0x12 redirect to table [ OK ] # 1.81 [+0.03] TEST: rule4 check: tos 0x13 redirect to table [ OK ] # 1.82 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 1.85 [+0.03] TEST: rule4 del by pref: tos 0x13 redirect to table [ OK ] # 1.88 [+0.03] TEST: rule4 check: iif tos 0x10 redirect to table [ OK ] # 1.89 [+0.02] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 1.92 [+0.03] TEST: rule4 del by pref: iif tos 0x10 redirect to table [ OK ] # 1.95 [+0.03] TEST: rule4 check: iif tos 0x11 redirect to table [ OK ] # 1.97 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 2.00 [+0.03] TEST: rule4 del by pref: iif tos 0x11 redirect to table [ OK ] # 2.03 [+0.03] TEST: rule4 check: iif tos 0x12 redirect to table [ OK ] # 2.04 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 2.07 [+0.03] TEST: rule4 del by pref: iif tos 0x12 redirect to table [ OK ] # 2.10 [+0.03] TEST: rule4 check: iif tos 0x13 redirect to table [ OK ] # 2.11 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 2.14 [+0.03] TEST: rule4 del by pref: iif tos 0x13 redirect to table [ OK ] # 2.16 [+0.03] TEST: rule4 check: fwmark redirect to table [ OK ] # 2.18 [+0.01] TEST: rule4 check: fwmark no redirect to table [ OK ] # 2.20 [+0.03] TEST: rule4 del by pref: fwmark redirect to table [ OK ] # 2.25 [+0.05] TEST: rule4 check: uid redirect to table [ OK ] # 2.26 [+0.01] TEST: rule4 check: uid no redirect to table [ OK ] # 2.29 [+0.03] TEST: rule4 del by pref: uid redirect to table [ OK ] # 2.33 [+0.04] TEST: rule4 check: sport and dport redirect to table [ OK ] # 2.34 [+0.01] TEST: rule4 check: sport and dport no redirect to table [ OK ] # 2.37 [+0.02] TEST: rule4 del by pref: sport and dport redirect to table [ OK ] # 2.42 [+0.05] TEST: rule4 check: ipproto tcp match [ OK ] # 2.43 [+0.01] TEST: rule4 check: ipproto udp no match [ OK ] # 2.46 [+0.03] TEST: rule4 del by pref: ipproto tcp match [ OK ] # 2.51 [+0.05] TEST: rule4 check: ipproto icmp match [ OK ] # 2.53 [+0.02] TEST: rule4 check: ipproto tcp no match [ OK ] # 2.56 [+0.03] TEST: rule4 del by pref: ipproto icmp match [ OK ] # 2.56 [+0.00] # 2.56 [+0.00] IPv6 FIB rule connect tests # 2.81 [+0.25] TEST: rule6 dsfield udp connect (dsfield 0x04) [ OK ] # 2.82 [+0.01] TEST: rule6 dsfield tcp connect (dsfield 0x04) [ OK ] # 2.83 [+0.01] TEST: rule6 dsfield udp connect (dsfield 0x05) [ OK ] # 2.85 [+0.01] TEST: rule6 dsfield tcp connect (dsfield 0x05) [ OK ] # 2.86 [+0.01] TEST: rule6 dsfield udp connect (dsfield 0x06) [ OK ] # 2.87 [+0.01] TEST: rule6 dsfield tcp connect (dsfield 0x06) [ OK ] # 2.88 [+0.01] TEST: rule6 dsfield udp connect (dsfield 0x07) [ OK ] # 2.89 [+0.01] TEST: rule6 dsfield tcp connect (dsfield 0x07) [ OK ] # 2.90 [+0.01] TEST: rule6 dsfield udp no connect (dsfield 0x20) [ OK ] # 2.91 [+0.01] TEST: rule6 dsfield tcp no connect (dsfield 0x20) [ OK ] # 2.97 [+0.06] # 2.97 [+0.00] IPv4 FIB rule connect tests # 3.25 [+0.27] TEST: rule4 dsfield udp connect (dsfield 0x04) [ OK ] # 3.26 [+0.01] TEST: rule4 dsfield tcp connect (dsfield 0x04) [ OK ] # 3.27 [+0.01] TEST: rule4 dsfield udp connect (dsfield 0x05) [ OK ] # 3.28 [+0.01] TEST: rule4 dsfield tcp connect (dsfield 0x05) [ OK ] # 3.30 [+0.01] TEST: rule4 dsfield udp connect (dsfield 0x06) [ OK ] # 3.31 [+0.01] TEST: rule4 dsfield tcp connect (dsfield 0x06) [ OK ] # 3.32 [+0.01] TEST: rule4 dsfield udp connect (dsfield 0x07) [ OK ] # 3.33 [+0.01] TEST: rule4 dsfield tcp connect (dsfield 0x07) [ OK ] # 3.34 [+0.01] TEST: rule4 dsfield udp no connect (dsfield 0x20) [ OK ] # 3.35 [+0.01] TEST: rule4 dsfield tcp no connect (dsfield 0x20) [ OK ] # 3.45 [+0.10] # 3.45 [+0.00] IPv6 FIB rule tests - with VRF # 3.49 [+0.04] TEST: rule6 check: oif redirect to table [ OK ] # 3.50 [+0.01] TEST: rule6 check: oif no redirect to table [ OK ] # 3.53 [+0.03] TEST: rule6 del by pref: oif redirect to table [ OK ] # 3.55 [+0.03] TEST: rule6 check: iif redirect to table [ OK ] # 3.57 [+0.01] TEST: rule6 check: iif no redirect to table [ OK ] # 3.59 [+0.03] TEST: rule6 del by pref: iif redirect to table [ OK ] # 3.62 [+0.03] TEST: rule6 check: dsfield 1 [ OK ] # 3.63 [+0.02] TEST: rule6 check: dsfield 2 [ OK ] # 3.65 [+0.02] TEST: rule6 check: dsfield 3 [ OK ] # 3.68 [+0.03] TEST: rule6 check: tos 0x10 redirect to table [ OK ] # 3.69 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 3.72 [+0.03] TEST: rule6 del by pref: tos 0x10 redirect to table [ OK ] # 3.75 [+0.03] TEST: rule6 check: tos 0x11 redirect to table [ OK ] # 3.76 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 3.78 [+0.03] TEST: rule6 del by pref: tos 0x11 redirect to table [ OK ] # 3.81 [+0.02] TEST: rule6 check: tos 0x12 redirect to table [ OK ] # 3.82 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 3.85 [+0.03] TEST: rule6 del by pref: tos 0x12 redirect to table [ OK ] # 3.87 [+0.03] TEST: rule6 check: tos 0x13 redirect to table [ OK ] # 3.88 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 3.91 [+0.03] TEST: rule6 del by pref: tos 0x13 redirect to table [ OK ] # 3.94 [+0.03] TEST: rule6 check: iif tos 0x10 redirect to table [ OK ] # 3.95 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 3.98 [+0.03] TEST: rule6 del by pref: iif tos 0x10 redirect to table [ OK ] # 4.00 [+0.03] TEST: rule6 check: iif tos 0x11 redirect to table [ OK ] # 4.02 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 4.04 [+0.03] TEST: rule6 del by pref: iif tos 0x11 redirect to table [ OK ] # 4.07 [+0.03] TEST: rule6 check: iif tos 0x12 redirect to table [ OK ] # 4.08 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 4.10 [+0.02] TEST: rule6 del by pref: iif tos 0x12 redirect to table [ OK ] # 4.13 [+0.03] TEST: rule6 check: iif tos 0x13 redirect to table [ OK ] # 4.14 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 4.17 [+0.03] TEST: rule6 del by pref: iif tos 0x13 redirect to table [ OK ] # 4.19 [+0.03] TEST: rule6 check: fwmark redirect to table [ OK ] # 4.20 [+0.01] TEST: rule6 check: fwmark no redirect to table [ OK ] # 4.23 [+0.03] TEST: rule6 del by pref: fwmark redirect to table [ OK ] # 4.28 [+0.05] TEST: rule6 check: uid redirect to table [ OK ] # 4.29 [+0.01] TEST: rule6 check: uid no redirect to table [ OK ] # 4.32 [+0.03] TEST: rule6 del by pref: uid redirect to table [ OK ] # 4.36 [+0.04] TEST: rule6 check: sport and dport redirect to table [ OK ] # 4.37 [+0.01] TEST: rule6 check: sport and dport no redirect to table [ OK ] # 4.39 [+0.03] TEST: rule6 del by pref: sport and dport redirect to table [ OK ] # 4.44 [+0.04] TEST: rule6 check: ipproto tcp match [ OK ] # 4.45 [+0.01] TEST: rule6 check: ipproto udp no match [ OK ] # 4.48 [+0.03] TEST: rule6 del by pref: ipproto tcp match [ OK ] # 4.53 [+0.05] TEST: rule6 check: ipproto ipv6-icmp match [ OK ] # 4.54 [+0.01] TEST: rule6 check: ipproto ipv6-tcp no match [ OK ] # 4.57 [+0.03] TEST: rule6 del by pref: ipproto ipv6-icmp match [ OK ] # 4.63 [+0.07] # 4.63 [+0.00] IPv4 FIB rule tests - with VRF # 4.67 [+0.04] TEST: rule4 check: oif redirect to table [ OK ] # 4.69 [+0.01] TEST: rule4 check: oif no redirect to table [ OK ] # 4.71 [+0.03] 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.03] TEST: rule4 del by pref: iif redirect to table [ OK ] # 4.84 [+0.03] TEST: rule4 check: dsfield 1 [ OK ] # 4.86 [+0.02] TEST: rule4 check: dsfield 2 [ OK ] # 4.88 [+0.02] TEST: rule4 check: dsfield 3 [ OK ] # 4.91 [+0.03] TEST: rule4 check: tos 0x10 redirect to table [ OK ] # 4.92 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 4.94 [+0.02] TEST: rule4 del by pref: tos 0x10 redirect to table [ OK ] # 4.97 [+0.03] TEST: rule4 check: tos 0x11 redirect to table [ OK ] # 4.98 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 5.01 [+0.03] TEST: rule4 del by pref: tos 0x11 redirect to table [ OK ] # 5.04 [+0.03] TEST: rule4 check: tos 0x12 redirect to table [ OK ] # 5.05 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 5.07 [+0.02] TEST: rule4 del by pref: tos 0x12 redirect to table [ OK ] # 5.10 [+0.03] TEST: rule4 check: tos 0x13 redirect to table [ OK ] # 5.12 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 5.14 [+0.03] TEST: rule4 del by pref: tos 0x13 redirect to table [ OK ] # 5.17 [+0.03] TEST: rule4 check: iif tos 0x10 redirect to table [ OK ] # 5.18 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 5.21 [+0.03] TEST: rule4 del by pref: iif tos 0x10 redirect to table [ OK ] # 5.24 [+0.03] TEST: rule4 check: iif tos 0x11 redirect to table [ OK ] # 5.25 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 5.28 [+0.03] TEST: rule4 del by pref: iif tos 0x11 redirect to table [ OK ] # 5.31 [+0.03] TEST: rule4 check: iif tos 0x12 redirect to table [ OK ] # 5.32 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 5.35 [+0.03] TEST: rule4 del by pref: iif tos 0x12 redirect to table [ OK ] # 5.37 [+0.03] TEST: rule4 check: iif tos 0x13 redirect to table [ OK ] # 5.39 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 5.41 [+0.03] TEST: rule4 del by pref: iif tos 0x13 redirect to table [ OK ] # 5.44 [+0.03] TEST: rule4 check: fwmark redirect to table [ OK ] # 5.45 [+0.01] TEST: rule4 check: fwmark no redirect to table [ OK ] # 5.48 [+0.03] TEST: rule4 del by pref: fwmark redirect to table [ OK ] # 5.53 [+0.05] TEST: rule4 check: uid redirect to table [ OK ] # 5.54 [+0.01] TEST: rule4 check: uid no redirect to table [ OK ] # 5.57 [+0.03] TEST: rule4 del by pref: uid redirect to table [ OK ] # 5.61 [+0.05] TEST: rule4 check: sport and dport redirect to table [ OK ] # 5.63 [+0.01] TEST: rule4 check: sport and dport no redirect to table [ OK ] # 5.65 [+0.03] TEST: rule4 del by pref: sport and dport redirect to table [ OK ] # 5.70 [+0.05] TEST: rule4 check: ipproto tcp match [ OK ] # 5.72 [+0.01] TEST: rule4 check: ipproto udp no match [ OK ] # 5.75 [+0.03] TEST: rule4 del by pref: ipproto tcp match [ OK ] # 5.80 [+0.05] TEST: rule4 check: ipproto icmp match [ OK ] # 5.81 [+0.01] TEST: rule4 check: ipproto tcp no match [ OK ] # 5.84 [+0.03] TEST: rule4 del by pref: ipproto icmp match [ OK ] # 5.97 [+0.13] # 5.97 [+0.00] Tests passed: 212 # 5.97 [+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__->