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.10 [+0.10] # 0.10 [+0.00] IPv6 FIB rule tests # 0.14 [+0.03] TEST: rule6 check: oif redirect to table [ OK ] # 0.15 [+0.01] TEST: rule6 check: oif no redirect to table [ OK ] # 0.17 [+0.02] TEST: rule6 del by pref: oif redirect to table [ OK ] # 0.20 [+0.02] TEST: rule6 check: iif redirect to table [ OK ] # 0.21 [+0.01] TEST: rule6 check: iif no redirect to table [ OK ] # 0.24 [+0.02] TEST: rule6 del by pref: iif redirect to table [ OK ] # 0.26 [+0.02] TEST: rule6 check: dsfield 1 [ OK ] # 0.27 [+0.02] TEST: rule6 check: dsfield 2 [ OK ] # 0.29 [+0.01] TEST: rule6 check: dsfield 3 [ OK ] # 0.31 [+0.03] TEST: rule6 check: tos 0x10 redirect to table [ OK ] # 0.33 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 0.35 [+0.03] TEST: rule6 del by pref: tos 0x10 redirect to table [ OK ] # 0.38 [+0.02] TEST: rule6 check: tos 0x11 redirect to table [ OK ] # 0.39 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 0.41 [+0.02] TEST: rule6 del by pref: tos 0x11 redirect to table [ OK ] # 0.44 [+0.02] TEST: rule6 check: tos 0x12 redirect to table [ OK ] # 0.45 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 0.47 [+0.02] TEST: rule6 del by pref: tos 0x12 redirect to table [ OK ] # 0.49 [+0.02] TEST: rule6 check: tos 0x13 redirect to table [ OK ] # 0.51 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 0.53 [+0.03] TEST: rule6 del by pref: tos 0x13 redirect to table [ OK ] # 0.56 [+0.02] TEST: rule6 check: iif tos 0x10 redirect to table [ OK ] # 0.57 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 0.59 [+0.02] TEST: rule6 del by pref: iif tos 0x10 redirect to table [ OK ] # 0.62 [+0.03] TEST: rule6 check: iif tos 0x11 redirect to table [ OK ] # 0.63 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 0.65 [+0.02] TEST: rule6 del by pref: iif tos 0x11 redirect to table [ OK ] # 0.68 [+0.02] TEST: rule6 check: iif tos 0x12 redirect to table [ OK ] # 0.69 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 0.71 [+0.02] TEST: rule6 del by pref: iif tos 0x12 redirect to table [ OK ] # 0.74 [+0.03] TEST: rule6 check: iif tos 0x13 redirect to table [ OK ] # 0.75 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 0.78 [+0.03] TEST: rule6 del by pref: iif tos 0x13 redirect to table [ OK ] # 0.80 [+0.02] TEST: rule6 check: fwmark redirect to table [ OK ] # 0.81 [+0.01] TEST: rule6 check: fwmark no redirect to table [ OK ] # 0.84 [+0.03] TEST: rule6 del by pref: fwmark redirect to table [ OK ] # 0.88 [+0.04] TEST: rule6 check: uid redirect to table [ OK ] # 0.89 [+0.01] TEST: rule6 check: uid no redirect to table [ OK ] # 0.92 [+0.02] TEST: rule6 del by pref: uid redirect to table [ OK ] # 0.96 [+0.04] TEST: rule6 check: sport and dport redirect to table [ OK ] # 0.97 [+0.01] TEST: rule6 check: sport and dport no redirect to table [ OK ] # 0.99 [+0.02] TEST: rule6 del by pref: sport and dport redirect to table [ OK ] # 1.04 [+0.05] TEST: rule6 check: ipproto tcp match [ OK ] # 1.05 [+0.01] TEST: rule6 check: ipproto udp no match [ OK ] # 1.07 [+0.02] TEST: rule6 del by pref: ipproto tcp match [ OK ] # 1.12 [+0.04] TEST: rule6 check: ipproto ipv6-icmp match [ OK ] # 1.13 [+0.01] TEST: rule6 check: ipproto ipv6-tcp no match [ OK ] # 1.16 [+0.03] TEST: rule6 del by pref: ipproto ipv6-icmp match [ OK ] # 1.16 [+0.00] # 1.16 [+0.00] IPv4 FIB rule tests # 1.19 [+0.03] TEST: rule4 check: oif redirect to table [ OK ] # 1.20 [+0.01] TEST: rule4 check: oif no redirect to table [ OK ] # 1.23 [+0.02] TEST: rule4 del by pref: oif redirect to table [ OK ] # 1.29 [+0.06] TEST: rule4 check: iif redirect to table [ OK ] # 1.30 [+0.01] TEST: rule4 check: iif no redirect to table [ OK ] # 1.33 [+0.02] TEST: rule4 del by pref: iif redirect to table [ OK ] # 1.35 [+0.02] TEST: rule4 check: dsfield 1 [ OK ] # 1.36 [+0.01] TEST: rule4 check: dsfield 2 [ OK ] # 1.38 [+0.01] TEST: rule4 check: dsfield 3 [ OK ] # 1.40 [+0.02] TEST: rule4 check: tos 0x10 redirect to table [ OK ] # 1.41 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 1.44 [+0.02] TEST: rule4 del by pref: tos 0x10 redirect to table [ OK ] # 1.46 [+0.03] TEST: rule4 check: tos 0x11 redirect to table [ OK ] # 1.48 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 1.50 [+0.02] TEST: rule4 del by pref: tos 0x11 redirect to table [ OK ] # 1.52 [+0.02] TEST: rule4 check: tos 0x12 redirect to table [ OK ] # 1.54 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 1.56 [+0.02] TEST: rule4 del by pref: tos 0x12 redirect to table [ OK ] # 1.59 [+0.03] TEST: rule4 check: tos 0x13 redirect to table [ OK ] # 1.60 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 1.62 [+0.02] TEST: rule4 del by pref: tos 0x13 redirect to table [ OK ] # 1.65 [+0.02] TEST: rule4 check: iif tos 0x10 redirect to table [ OK ] # 1.66 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 1.68 [+0.03] TEST: rule4 del by pref: iif tos 0x10 redirect to table [ OK ] # 1.71 [+0.02] TEST: rule4 check: iif tos 0x11 redirect to table [ OK ] # 1.72 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 1.74 [+0.02] TEST: rule4 del by pref: iif tos 0x11 redirect to table [ OK ] # 1.77 [+0.02] TEST: rule4 check: iif tos 0x12 redirect to table [ OK ] # 1.78 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 1.80 [+0.02] TEST: rule4 del by pref: iif tos 0x12 redirect to table [ OK ] # 1.82 [+0.02] TEST: rule4 check: iif tos 0x13 redirect to table [ OK ] # 1.83 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 1.86 [+0.03] TEST: rule4 del by pref: iif tos 0x13 redirect to table [ OK ] # 1.88 [+0.02] TEST: rule4 check: fwmark redirect to table [ OK ] # 1.89 [+0.01] TEST: rule4 check: fwmark no redirect to table [ OK ] # 1.92 [+0.02] TEST: rule4 del by pref: fwmark redirect to table [ OK ] # 1.96 [+0.04] TEST: rule4 check: uid redirect to table [ OK ] # 1.97 [+0.01] TEST: rule4 check: uid no redirect to table [ OK ] # 1.99 [+0.02] TEST: rule4 del by pref: uid redirect to table [ OK ] # 2.03 [+0.04] TEST: rule4 check: sport and dport redirect to table [ OK ] # 2.04 [+0.01] TEST: rule4 check: sport and dport no redirect to table [ OK ] # 2.07 [+0.02] TEST: rule4 del by pref: sport and dport redirect to table [ OK ] # 2.12 [+0.06] TEST: rule4 check: ipproto tcp match [ OK ] # 2.14 [+0.01] TEST: rule4 check: ipproto udp no match [ OK ] # 2.16 [+0.03] TEST: rule4 del by pref: ipproto tcp match [ OK ] # 2.20 [+0.04] TEST: rule4 check: ipproto icmp match [ OK ] # 2.21 [+0.01] TEST: rule4 check: ipproto tcp no match [ OK ] # 2.24 [+0.02] TEST: rule4 del by pref: ipproto icmp match [ OK ] # 2.24 [+0.00] # 2.24 [+0.00] IPv6 FIB rule connect tests # 2.44 [+0.20] TEST: rule6 dsfield udp connect (dsfield 0x04) [ OK ] # 2.46 [+0.01] TEST: rule6 dsfield tcp connect (dsfield 0x04) [ OK ] # 2.46 [+0.01] TEST: rule6 dsfield udp connect (dsfield 0x05) [ OK ] # 2.47 [+0.01] TEST: rule6 dsfield tcp connect (dsfield 0x05) [ OK ] # 2.49 [+0.01] TEST: rule6 dsfield udp connect (dsfield 0x06) [ OK ] # 2.50 [+0.01] TEST: rule6 dsfield tcp connect (dsfield 0x06) [ OK ] # 2.51 [+0.01] TEST: rule6 dsfield udp connect (dsfield 0x07) [ OK ] # 2.51 [+0.01] TEST: rule6 dsfield tcp connect (dsfield 0x07) [ OK ] # 2.52 [+0.01] TEST: rule6 dsfield udp no connect (dsfield 0x20) [ OK ] # 2.53 [+0.01] TEST: rule6 dsfield tcp no connect (dsfield 0x20) [ OK ] # 2.57 [+0.04] # 2.57 [+0.00] IPv4 FIB rule connect tests # 2.82 [+0.24] TEST: rule4 dsfield udp connect (dsfield 0x04) [ OK ] # 2.83 [+0.01] TEST: rule4 dsfield tcp connect (dsfield 0x04) [ OK ] # 2.84 [+0.01] TEST: rule4 dsfield udp connect (dsfield 0x05) [ OK ] # 2.85 [+0.01] TEST: rule4 dsfield tcp connect (dsfield 0x05) [ OK ] # 2.86 [+0.01] TEST: rule4 dsfield udp connect (dsfield 0x06) [ OK ] # 2.87 [+0.01] TEST: rule4 dsfield tcp connect (dsfield 0x06) [ OK ] # 2.88 [+0.01] TEST: rule4 dsfield udp connect (dsfield 0x07) [ OK ] # 2.89 [+0.01] TEST: rule4 dsfield tcp connect (dsfield 0x07) [ OK ] # 2.90 [+0.01] TEST: rule4 dsfield udp no connect (dsfield 0x20) [ OK ] # 2.90 [+0.01] TEST: rule4 dsfield tcp no connect (dsfield 0x20) [ OK ] # 2.97 [+0.07] # 2.97 [+0.00] IPv6 FIB rule tests - with VRF # 3.01 [+0.04] TEST: rule6 check: oif redirect to table [ OK ] # 3.02 [+0.01] TEST: rule6 check: oif no redirect to table [ OK ] # 3.05 [+0.03] TEST: rule6 del by pref: oif redirect to table [ OK ] # 3.08 [+0.03] TEST: rule6 check: iif redirect to table [ OK ] # 3.09 [+0.01] TEST: rule6 check: iif no redirect to table [ OK ] # 3.12 [+0.03] TEST: rule6 del by pref: iif redirect to table [ OK ] # 3.14 [+0.02] TEST: rule6 check: dsfield 1 [ OK ] # 3.15 [+0.01] TEST: rule6 check: dsfield 2 [ OK ] # 3.17 [+0.02] TEST: rule6 check: dsfield 3 [ OK ] # 3.20 [+0.03] TEST: rule6 check: tos 0x10 redirect to table [ OK ] # 3.22 [+0.02] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 3.25 [+0.03] TEST: rule6 del by pref: tos 0x10 redirect to table [ OK ] # 3.28 [+0.03] TEST: rule6 check: tos 0x11 redirect to table [ OK ] # 3.29 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 3.32 [+0.03] TEST: rule6 del by pref: tos 0x11 redirect to table [ OK ] # 3.35 [+0.03] TEST: rule6 check: tos 0x12 redirect to table [ OK ] # 3.37 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 3.39 [+0.03] TEST: rule6 del by pref: tos 0x12 redirect to table [ OK ] # 3.42 [+0.03] TEST: rule6 check: tos 0x13 redirect to table [ OK ] # 3.43 [+0.01] TEST: rule6 check: tos 0x20 no redirect to table [ OK ] # 3.46 [+0.03] TEST: rule6 del by pref: tos 0x13 redirect to table [ OK ] # 3.49 [+0.03] TEST: rule6 check: iif tos 0x10 redirect to table [ OK ] # 3.50 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 3.53 [+0.03] TEST: rule6 del by pref: iif tos 0x10 redirect to table [ OK ] # 3.56 [+0.03] TEST: rule6 check: iif tos 0x11 redirect to table [ OK ] # 3.57 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 3.60 [+0.03] TEST: rule6 del by pref: iif tos 0x11 redirect to table [ OK ] # 3.63 [+0.03] TEST: rule6 check: iif tos 0x12 redirect to table [ OK ] # 3.64 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 3.67 [+0.03] TEST: rule6 del by pref: iif tos 0x12 redirect to table [ OK ] # 3.70 [+0.03] TEST: rule6 check: iif tos 0x13 redirect to table [ OK ] # 3.72 [+0.01] TEST: rule6 check: iif tos 0x20 no redirect to table [ OK ] # 3.75 [+0.03] TEST: rule6 del by pref: iif tos 0x13 redirect to table [ OK ] # 3.78 [+0.03] TEST: rule6 check: fwmark redirect to table [ OK ] # 3.79 [+0.01] TEST: rule6 check: fwmark no redirect to table [ OK ] # 3.82 [+0.03] TEST: rule6 del by pref: fwmark redirect to table [ OK ] # 3.87 [+0.05] TEST: rule6 check: uid redirect to table [ OK ] # 3.89 [+0.01] TEST: rule6 check: uid no redirect to table [ OK ] # 3.92 [+0.03] TEST: rule6 del by pref: uid redirect to table [ OK ] # 3.97 [+0.05] TEST: rule6 check: sport and dport redirect to table [ OK ] # 3.98 [+0.01] TEST: rule6 check: sport and dport no redirect to table [ OK ] # 4.01 [+0.03] TEST: rule6 del by pref: sport and dport redirect to table [ OK ] # 4.06 [+0.05] TEST: rule6 check: ipproto tcp match [ OK ] # 4.08 [+0.01] TEST: rule6 check: ipproto udp no match [ OK ] # 4.10 [+0.03] TEST: rule6 del by pref: ipproto tcp match [ OK ] # 4.15 [+0.05] TEST: rule6 check: ipproto ipv6-icmp match [ OK ] # 4.17 [+0.02] TEST: rule6 check: ipproto ipv6-tcp no match [ OK ] # 4.19 [+0.03] TEST: rule6 del by pref: ipproto ipv6-icmp match [ OK ] # 4.28 [+0.09] # 4.28 [+0.00] IPv4 FIB rule tests - with VRF # 4.32 [+0.04] TEST: rule4 check: oif redirect to table [ OK ] # 4.33 [+0.01] TEST: rule4 check: oif no redirect to table [ OK ] # 4.35 [+0.03] TEST: rule4 del by pref: oif redirect to table [ OK ] # 4.43 [+0.07] TEST: rule4 check: iif redirect to table [ OK ] # 4.44 [+0.01] TEST: rule4 check: iif no redirect to table [ OK ] # 4.47 [+0.03] TEST: rule4 del by pref: iif redirect to table [ OK ] # 4.49 [+0.03] TEST: rule4 check: dsfield 1 [ OK ] # 4.51 [+0.02] TEST: rule4 check: dsfield 2 [ OK ] # 4.53 [+0.02] TEST: rule4 check: dsfield 3 [ OK ] # 4.55 [+0.03] TEST: rule4 check: tos 0x10 redirect to table [ OK ] # 4.57 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 4.60 [+0.03] TEST: rule4 del by pref: tos 0x10 redirect to table [ OK ] # 4.62 [+0.03] TEST: rule4 check: tos 0x11 redirect to table [ OK ] # 4.64 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 4.66 [+0.02] TEST: rule4 del by pref: tos 0x11 redirect to table [ OK ] # 4.69 [+0.03] TEST: rule4 check: tos 0x12 redirect to table [ OK ] # 4.70 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 4.73 [+0.03] TEST: rule4 del by pref: tos 0x12 redirect to table [ OK ] # 4.76 [+0.03] TEST: rule4 check: tos 0x13 redirect to table [ OK ] # 4.77 [+0.01] TEST: rule4 check: tos 0x20 no redirect to table [ OK ] # 4.80 [+0.03] TEST: rule4 del by pref: tos 0x13 redirect to table [ OK ] # 4.83 [+0.03] TEST: rule4 check: iif tos 0x10 redirect to table [ OK ] # 4.84 [+0.02] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 4.87 [+0.03] TEST: rule4 del by pref: iif tos 0x10 redirect to table [ OK ] # 4.90 [+0.03] TEST: rule4 check: iif tos 0x11 redirect to table [ OK ] # 4.92 [+0.02] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 4.94 [+0.03] TEST: rule4 del by pref: iif tos 0x11 redirect to table [ OK ] # 4.97 [+0.03] TEST: rule4 check: iif tos 0x12 redirect to table [ OK ] # 4.98 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 5.01 [+0.03] TEST: rule4 del by pref: iif tos 0x12 redirect to table [ OK ] # 5.03 [+0.02] TEST: rule4 check: iif tos 0x13 redirect to table [ OK ] # 5.05 [+0.01] TEST: rule4 check: iif tos 0x20 no redirect to table [ OK ] # 5.07 [+0.03] TEST: rule4 del by pref: iif tos 0x13 redirect to table [ OK ] # 5.10 [+0.02] TEST: rule4 check: fwmark redirect to table [ OK ] # 5.11 [+0.01] TEST: rule4 check: fwmark no redirect to table [ OK ] # 5.14 [+0.03] TEST: rule4 del by pref: fwmark redirect to table [ OK ] # 5.19 [+0.05] TEST: rule4 check: uid redirect to table [ OK ] # 5.20 [+0.01] TEST: rule4 check: uid no redirect to table [ OK ] # 5.23 [+0.03] TEST: rule4 del by pref: uid redirect to table [ OK ] # 5.27 [+0.04] TEST: rule4 check: sport and dport redirect to table [ OK ] # 5.28 [+0.01] TEST: rule4 check: sport and dport no redirect to table [ OK ] # 5.31 [+0.03] TEST: rule4 del by pref: sport and dport redirect to table [ OK ] # 5.36 [+0.05] TEST: rule4 check: ipproto tcp match [ OK ] # 5.37 [+0.01] TEST: rule4 check: ipproto udp no match [ OK ] # 5.40 [+0.03] TEST: rule4 del by pref: ipproto tcp match [ OK ] # 5.45 [+0.05] TEST: rule4 check: ipproto icmp match [ OK ] # 5.47 [+0.01] TEST: rule4 check: ipproto tcp no match [ OK ] # 5.49 [+0.03] TEST: rule4 del by pref: ipproto icmp match [ OK ] # 5.62 [+0.13] # 5.62 [+0.00] Tests passed: 212 # 5.62 [+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__->