make -C tools/testing/selftests TARGETS="net" TEST_PROGS=fib_tests.sh TESTT_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_tests.sh # 0.04 [+0.04] # 0.04 [+0.00] Single path route test # 0.13 [+0.09] Start point # 0.14 [+0.01] TEST: IPv4 fibmatch [ OK ] # 0.15 [+0.01] TEST: IPv6 fibmatch [ OK ] # 0.18 [+0.02] Nexthop device deleted # 0.19 [+0.01] TEST: IPv4 fibmatch - no route [ OK ] # 0.19 [+0.01] TEST: IPv6 fibmatch - no route [ OK ] # 0.25 [+0.06] # 0.25 [+0.00] Multipath route test # 0.40 [+0.15] Start point # 0.41 [+0.01] TEST: IPv4 fibmatch [ OK ] # 0.42 [+0.01] TEST: IPv6 fibmatch [ OK ] # 0.46 [+0.04] One nexthop device deleted # 0.47 [+0.01] TEST: IPv4 - multipath route removed on delete [ OK ] # 0.48 [+0.01] TEST: IPv6 - multipath down to single path [ OK ] # 0.52 [+0.04] Second nexthop device deleted # 0.53 [+0.01] TEST: IPv6 - no route [ OK ] # 0.58 [+0.05] # 0.58 [+0.00] Single path, admin down # 0.69 [+0.11] Start point # 0.70 [+0.01] TEST: IPv4 fibmatch [ OK ] # 0.70 [+0.01] TEST: IPv6 fibmatch [ OK ] # 0.71 [+0.01] Route deleted on down # 0.72 [+0.01] TEST: IPv4 fibmatch [ OK ] # 0.73 [+0.01] TEST: IPv6 fibmatch [ OK ] # 0.78 [+0.05] # 0.78 [+0.00] Admin down multipath # 0.94 [+0.15] Verify start point # 0.95 [+0.01] TEST: IPv4 fibmatch [ OK ] # 0.96 [+0.01] TEST: IPv6 fibmatch [ OK ] # 0.96 [+0.01] One device down, one up # 0.97 [+0.01] TEST: IPv4 fibmatch on down device [ OK ] # 0.98 [+0.01] TEST: IPv6 fibmatch on down device [ OK ] # 0.99 [+0.01] TEST: IPv4 fibmatch on up device [ OK ] # 1.00 [+0.01] TEST: IPv6 fibmatch on up device [ OK ] # 1.01 [+0.01] TEST: IPv4 flags on down device [ OK ] # 1.02 [+0.01] TEST: IPv6 flags on down device [ OK ] # 1.03 [+0.01] TEST: IPv4 flags on up device [ OK ] # 1.04 [+0.01] TEST: IPv6 flags on up device [ OK ] # 1.06 [+0.02] Other device down and up # 1.06 [+0.01] TEST: IPv4 fibmatch on down device [ OK ] # 1.08 [+0.01] TEST: IPv6 fibmatch on down device [ OK ] # 1.09 [+0.01] TEST: IPv4 fibmatch on up device [ OK ] # 1.10 [+0.01] TEST: IPv6 fibmatch on up device [ OK ] # 1.11 [+0.01] TEST: IPv4 flags on down device [ OK ] # 1.12 [+0.01] TEST: IPv6 flags on down device [ OK ] # 1.13 [+0.01] TEST: IPv4 flags on up device [ OK ] # 1.14 [+0.01] TEST: IPv6 flags on up device [ OK ] # 1.15 [+0.01] Both devices down # 1.16 [+0.01] TEST: IPv4 fibmatch [ OK ] # 1.17 [+0.01] TEST: IPv6 fibmatch [ OK ] # 1.25 [+0.09] # 1.25 [+0.00] Local carrier tests - single path # 1.36 [+0.11] Start point # 1.37 [+0.01] TEST: IPv4 fibmatch [ OK ] # 1.38 [+0.01] TEST: IPv6 fibmatch [ OK ] # 1.39 [+0.01] TEST: IPv4 - no linkdown flag [ OK ] # 1.40 [+0.01] TEST: IPv6 - no linkdown flag [ OK ] # 2.42 [+1.01] Carrier off on nexthop # 2.43 [+0.01] TEST: IPv4 fibmatch [ OK ] # 2.44 [+0.01] TEST: IPv6 fibmatch [ OK ] # 2.45 [+0.01] TEST: IPv4 - linkdown flag set [ OK ] # 2.46 [+0.01] TEST: IPv6 - linkdown flag set [ OK ] # 2.47 [+0.02] Route to local address with carrier down # 2.48 [+0.01] TEST: IPv4 fibmatch [ OK ] # 2.49 [+0.01] TEST: IPv6 fibmatch [ OK ] # 2.50 [+0.01] TEST: IPv4 linkdown flag set [ OK ] # 2.51 [+0.01] TEST: IPv6 linkdown flag set [ OK ] # 2.58 [+0.07] # 2.58 [+0.00] Single path route carrier test # 2.69 [+0.11] Start point # 2.70 [+0.01] TEST: IPv4 fibmatch [ OK ] # 2.70 [+0.01] TEST: IPv6 fibmatch [ OK ] # 2.71 [+0.01] TEST: IPv4 no linkdown flag [ OK ] # 2.72 [+0.01] TEST: IPv6 no linkdown flag [ OK ] # 3.74 [+1.01] Carrier down # 3.75 [+0.01] TEST: IPv4 fibmatch [ OK ] # 3.76 [+0.01] TEST: IPv6 fibmatch [ OK ] # 3.76 [+0.01] TEST: IPv4 linkdown flag set [ OK ] # 3.77 [+0.01] TEST: IPv6 linkdown flag set [ OK ] # 3.79 [+0.02] Second address added with carrier down # 3.80 [+0.01] TEST: IPv4 fibmatch [ OK ] # 3.81 [+0.01] TEST: IPv6 fibmatch [ OK ] # 3.82 [+0.01] TEST: IPv4 linkdown flag set [ OK ] # 3.82 [+0.01] TEST: IPv6 linkdown flag set [ OK ] # 5.12 [+1.30] # 5.12 [+0.00] IPv4 nexthop tests # 5.12 [+0.00] <<< write me >>> # 5.15 [+0.02] # 5.15 [+0.00] IPv6 nexthop tests # 5.16 [+0.01] TEST: Directly connected nexthop, unicast address [ OK ] # 5.16 [+0.01] TEST: Directly connected nexthop, unicast address with device [ OK ] # 5.17 [+0.01] TEST: Gateway is linklocal address [ OK ] # 5.18 [+0.01] TEST: Gateway is linklocal address, no device [ OK ] # 5.19 [+0.01] TEST: Gateway can not be local unicast address [ OK ] # 5.20 [+0.01] TEST: Gateway can not be local unicast address, with device [ OK ] # 5.21 [+0.01] TEST: Gateway can not be a local linklocal address [ OK ] # 5.22 [+0.01] TEST: Gateway can be local address in a VRF [ OK ] # 5.23 [+0.01] TEST: Gateway can be local address in a VRF, with device [ OK ] # 5.24 [+0.01] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 5.25 [+0.01] TEST: Redirect to VRF lookup [ OK ] # 5.26 [+0.01] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 5.27 [+0.01] TEST: VRF route, gateway can not be a local address [ OK ] # 5.28 [+0.01] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 5.44 [+0.15] # 5.44 [+0.00] FIB rule with suppress_prefixlength # 5.62 [+0.19] TEST: FIB rule suppress test [ OK ] # 5.80 [+0.18] # 5.80 [+0.00] Fib6 info length calculation in route notify test # 7.98 [+2.18] TEST: ipv6 route add notify [ OK ] # 8.16 [+0.18] # 8.16 [+0.00] Fib4 info length calculation in route notify test # 10.35 [+2.19] TEST: ipv4 route add notify [ OK ] # 10.81 [+0.46] # 10.81 [+0.00] IPv6 route add / append tests # 10.85 [+0.04] TEST: Attempt to add duplicate route - gw [ OK ] # 10.88 [+0.04] TEST: Attempt to add duplicate route - dev only [ OK ] # 10.92 [+0.04] TEST: Attempt to add duplicate route - reject route [ OK ] # 10.97 [+0.05] TEST: Append nexthop to existing route - gw [ OK ] # 11.00 [+0.04] TEST: Add multipath route [ OK ] # 11.04 [+0.04] TEST: Attempt to add duplicate multipath route [ OK ] # 11.09 [+0.05] TEST: Route add with different metrics [ OK ] # 11.11 [+0.02] TEST: Route delete with metric [ OK ] # 11.11 [+0.00] # 11.11 [+0.00] IPv6 route replace tests # 11.15 [+0.04] TEST: Single path with single path [ OK ] # 11.20 [+0.05] TEST: Single path with multipath [ OK ] # 11.24 [+0.04] TEST: Single path with single path via multipath attribute [ OK ] # 11.29 [+0.04] TEST: Invalid nexthop [ OK ] # 11.32 [+0.04] TEST: Single path - replace of non-existent route [ OK ] # 11.37 [+0.05] TEST: Multipath with multipath [ OK ] # 11.42 [+0.04] TEST: Multipath with single path [ OK ] # 11.46 [+0.04] TEST: Multipath with single path via multipath attribute [ OK ] # 11.51 [+0.05] TEST: Multipath with dev-only [ OK ] # 11.55 [+0.04] TEST: Multipath - invalid first nexthop [ OK ] # 11.60 [+0.05] TEST: Multipath - invalid second nexthop [ OK ] # 11.63 [+0.04] TEST: Multipath - replace of non-existent route [ OK ] # 11.64 [+0.00] # 11.64 [+0.00] IPv6 route with dsfield tests # 11.65 [+0.02] TEST: Reject route with dsfield [ OK ] # 12.32 [+0.67] # 12.32 [+0.00] IPv4 route add / append tests # 12.36 [+0.04] TEST: Attempt to add duplicate route - gw [ OK ] # 12.39 [+0.04] TEST: Attempt to add duplicate route - dev only [ OK ] # 12.43 [+0.04] TEST: Attempt to add duplicate route - reject route [ OK ] # 12.47 [+0.04] TEST: Add new nexthop for existing prefix [ OK ] # 12.51 [+0.04] TEST: Append nexthop to existing route - gw [ OK ] # 12.56 [+0.04] TEST: Append nexthop to existing route - dev only [ OK ] # 12.60 [+0.05] TEST: Append nexthop to existing route - reject route [ OK ] # 12.64 [+0.04] TEST: Append nexthop to existing reject route - gw [ OK ] # 12.68 [+0.04] TEST: Append nexthop to existing reject route - dev only [ OK ] # 12.71 [+0.04] TEST: add multipath route [ OK ] # 12.75 [+0.03] TEST: Attempt to add duplicate multipath route [ OK ] # 12.79 [+0.04] TEST: Route add with different metrics [ OK ] # 12.81 [+0.02] TEST: Route delete with metric [ OK ] # 12.81 [+0.00] # 12.81 [+0.00] IPv4 route replace tests # 12.85 [+0.04] TEST: Single path with single path [ OK ] # 12.90 [+0.04] TEST: Single path with multipath [ OK ] # 12.94 [+0.04] TEST: Single path with reject route [ OK ] # 12.98 [+0.04] TEST: Single path with single path via multipath attribute [ OK ] # 13.02 [+0.04] TEST: Invalid nexthop [ OK ] # 13.06 [+0.03] TEST: Single path - replace of non-existent route [ OK ] # 13.10 [+0.04] TEST: Multipath with multipath [ OK ] # 13.14 [+0.04] TEST: Multipath with single path [ OK ] # 13.18 [+0.04] TEST: Multipath with single path via multipath attribute [ OK ] # 13.23 [+0.04] TEST: Multipath with reject route [ OK ] # 13.27 [+0.04] TEST: Multipath - invalid first nexthop [ OK ] # 13.31 [+0.04] TEST: Multipath - invalid second nexthop [ OK ] # 13.34 [+0.03] TEST: Multipath - replace of non-existent route [ OK ] # 13.49 [+0.15] TEST: Cached route removed from VRF port device [ OK ] # 13.49 [+0.00] # 13.49 [+0.00] IPv4 route with dsfield tests # 13.51 [+0.02] TEST: Reject route with dsfield 0x01 [ OK ] # 13.52 [+0.01] TEST: Reject route with dsfield 0x02 [ OK ] # 13.53 [+0.01] TEST: Reject route with dsfield 0x03 [ OK ] # 13.56 [+0.03] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 13.57 [+0.01] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 13.58 [+0.01] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 13.59 [+0.01] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 13.60 [+0.01] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 13.61 [+0.01] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 13.61 [+0.01] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 13.62 [+0.01] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 13.63 [+0.01] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 13.64 [+0.01] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 13.65 [+0.01] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 13.66 [+0.01] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 13.85 [+0.19] # 13.85 [+0.00] IPv6 prefix route tests # 14.02 [+0.17] TEST: Default metric [ OK ] # 14.05 [+0.03] TEST: User specified metric on first device [ OK ] # 14.07 [+0.03] TEST: User specified metric on second device [ OK ] # 14.09 [+0.02] TEST: Delete of address on first device [ OK ] # 14.11 [+0.02] TEST: Modify metric of address [ OK ] # 14.14 [+0.03] TEST: Prefix route removed on link down [ OK ] # 14.16 [+0.02] TEST: Prefix route with metric on link up [ OK ] # 14.18 [+0.02] TEST: Set metric with peer route on local side [ OK ] # 14.19 [+0.01] TEST: Set metric with peer route on peer side [ OK ] # 14.21 [+0.02] TEST: Modify metric and peer address on local side [ OK ] # 14.22 [+0.01] TEST: Modify metric and peer address on peer side [ OK ] # 14.34 [+0.12] # 14.34 [+0.00] IPv4 prefix route tests # 14.51 [+0.17] TEST: Default metric [ OK ] not ok 1 selftests: net: fib_tests.sh # exit=2 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__->