make -C tools/testing/selftests TARGETS="net" TEST_PROGS=fib_tests.sh TESTT_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: fib_tests.sh # 0.59 [+0.59] # 0.59 [+0.00] Single path route test # 2.29 [+1.71] Start point # 2.40 [+0.11] TEST: IPv4 fibmatch [ OK ] # 2.52 [+0.12] TEST: IPv6 fibmatch [ OK ] # 2.68 [+0.16] Nexthop device deleted # 2.81 [+0.12] TEST: IPv4 fibmatch - no route [ OK ] # 2.92 [+0.11] TEST: IPv6 fibmatch - no route [ OK ] # 3.70 [+0.78] # 3.70 [+0.00] Multipath route test # 6.34 [+2.64] Start point # 6.47 [+0.13] TEST: IPv4 fibmatch [ OK ] # 6.58 [+0.11] TEST: IPv6 fibmatch [ OK ] # 6.75 [+0.16] One nexthop device deleted # 6.87 [+0.12] TEST: IPv4 - multipath route removed on delete [ OK ] # 6.99 [+0.12] TEST: IPv6 - multipath down to single path [ OK ] # 7.16 [+0.17] Second nexthop device deleted # 7.28 [+0.12] TEST: IPv6 - no route [ OK ] # 8.01 [+0.73] # 8.01 [+0.00] Single path, admin down # 9.97 [+1.96] Start point # 10.09 [+0.12] TEST: IPv4 fibmatch [ OK ] # 10.19 [+0.10] TEST: IPv6 fibmatch [ OK ] # 10.31 [+0.12] Route deleted on down # 10.44 [+0.12] TEST: IPv4 fibmatch [ OK ] # 10.56 [+0.12] TEST: IPv6 fibmatch [ OK ] # 11.14 [+0.58] # 11.14 [+0.00] Admin down multipath # 13.77 [+2.63] Verify start point # 13.89 [+0.12] TEST: IPv4 fibmatch [ OK ] # 14.02 [+0.14] TEST: IPv6 fibmatch [ OK ] # 14.15 [+0.12] One device down, one up # 14.26 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 14.38 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 14.50 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 14.62 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 14.74 [+0.12] TEST: IPv4 flags on down device [ OK ] # 14.87 [+0.13] TEST: IPv6 flags on down device [ OK ] # 15.00 [+0.13] TEST: IPv4 flags on up device [ OK ] # 15.11 [+0.11] TEST: IPv6 flags on up device [ OK ] # 15.36 [+0.25] Other device down and up # 15.48 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 15.62 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 15.72 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 15.84 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 15.96 [+0.12] TEST: IPv4 flags on down device [ OK ] # 16.10 [+0.14] TEST: IPv6 flags on down device [ OK ] # 16.21 [+0.12] TEST: IPv4 flags on up device [ OK ] # 16.34 [+0.12] TEST: IPv6 flags on up device [ OK ] # 16.45 [+0.11] Both devices down # 16.56 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.67 [+0.12] TEST: IPv6 fibmatch [ OK ] # 17.37 [+0.70] # 17.37 [+0.00] Local carrier tests - single path # 19.38 [+2.01] Start point # 19.49 [+0.11] TEST: IPv4 fibmatch [ OK ] # 19.61 [+0.12] TEST: IPv6 fibmatch [ OK ] # 19.73 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 19.87 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 21.05 [+1.18] Carrier off on nexthop # 21.18 [+0.13] TEST: IPv4 fibmatch [ OK ] # 21.28 [+0.11] TEST: IPv6 fibmatch [ OK ] # 21.41 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 21.51 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 21.74 [+0.23] Route to local address with carrier down # 21.84 [+0.10] TEST: IPv4 fibmatch [ OK ] # 21.96 [+0.12] TEST: IPv6 fibmatch [ OK ] # 22.07 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 22.20 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 22.80 [+0.60] # 22.80 [+0.00] Single path route carrier test # 24.78 [+1.98] Start point # 24.89 [+0.11] TEST: IPv4 fibmatch [ OK ] # 25.01 [+0.12] TEST: IPv6 fibmatch [ OK ] # 25.12 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 25.23 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 26.40 [+1.17] Carrier down # 26.53 [+0.13] TEST: IPv4 fibmatch [ OK ] # 26.64 [+0.11] TEST: IPv6 fibmatch [ OK ] # 26.76 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 26.88 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 27.09 [+0.22] Second address added with carrier down # 27.21 [+0.12] TEST: IPv4 fibmatch [ OK ] # 27.31 [+0.10] TEST: IPv6 fibmatch [ OK ] # 27.43 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 27.54 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 33.36 [+5.83] # 33.36 [+0.00] IPv4 nexthop tests # 33.36 [+0.00] <<< write me >>> # 33.67 [+0.30] # 33.67 [+0.00] IPv6 nexthop tests # 33.80 [+0.13] TEST: Directly connected nexthop, unicast address [ OK ] # 33.92 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 34.07 [+0.15] TEST: Gateway is linklocal address [ OK ] # 34.20 [+0.12] TEST: Gateway is linklocal address, no device [ OK ] # 34.34 [+0.14] TEST: Gateway can not be local unicast address [ OK ] # 34.46 [+0.12] TEST: Gateway can not be local unicast address, with device [ OK ] # 34.61 [+0.15] TEST: Gateway can not be a local linklocal address [ OK ] # 34.74 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 34.87 [+0.13] TEST: Gateway can be local address in a VRF, with device [ OK ] # 35.00 [+0.13] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 35.14 [+0.14] TEST: Redirect to VRF lookup [ OK ] # 35.27 [+0.13] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 35.40 [+0.13] TEST: VRF route, gateway can not be a local address [ OK ] # 35.53 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 36.80 [+1.27] # 36.80 [+0.00] FIB rule with suppress_prefixlength # 39.55 [+2.75] TEST: FIB rule suppress test [ OK ] # 42.09 [+2.54] # 42.09 [+0.00] Fib6 info length calculation in route notify test # 46.89 [+4.80] TEST: ipv6 route add notify [ OK ] # 49.53 [+2.64] # 49.53 [+0.00] Fib4 info length calculation in route notify test # 54.43 [+4.90] TEST: ipv4 route add notify [ OK ] # 61.16 [+6.73] # 61.16 [+0.00] IPv6 route add / append tests # 61.69 [+0.53] TEST: Attempt to add duplicate route - gw [ OK ] # 62.19 [+0.50] TEST: Attempt to add duplicate route - dev only [ OK ] # 62.71 [+0.52] TEST: Attempt to add duplicate route - reject route [ OK ] # 63.39 [+0.68] TEST: Append nexthop to existing route - gw [ OK ] # 63.91 [+0.52] TEST: Add multipath route [ OK ] # 64.42 [+0.51] TEST: Attempt to add duplicate multipath route [ OK ] # 65.08 [+0.66] TEST: Route add with different metrics [ OK ] # 65.36 [+0.28] TEST: Route delete with metric [ OK ] # 65.36 [+0.00] # 65.36 [+0.00] IPv6 route replace tests # 66.00 [+0.64] TEST: Single path with single path [ OK ] # 66.66 [+0.67] TEST: Single path with multipath [ OK ] # 67.34 [+0.67] TEST: Single path with single path via multipath attribute [ OK ] # 68.02 [+0.68] TEST: Invalid nexthop [ OK ] # 68.55 [+0.53] TEST: Single path - replace of non-existent route [ OK ] # 69.23 [+0.68] TEST: Multipath with multipath [ OK ] # 69.89 [+0.66] TEST: Multipath with single path [ OK ] # 70.54 [+0.65] TEST: Multipath with single path via multipath attribute [ OK ] # 71.22 [+0.68] TEST: Multipath with dev-only [ OK ] # 71.90 [+0.67] TEST: Multipath - invalid first nexthop [ OK ] # 72.57 [+0.68] TEST: Multipath - invalid second nexthop [ OK ] # 73.08 [+0.51] TEST: Multipath - replace of non-existent route [ OK ] # 73.08 [+0.00] # 73.08 [+0.00] IPv6 route with dsfield tests # 73.34 [+0.26] TEST: Reject route with dsfield [ OK ] # 82.38 [+9.04] # 82.38 [+0.00] IPv4 route add / append tests # 82.87 [+0.49] TEST: Attempt to add duplicate route - gw [ OK ] # 83.36 [+0.50] TEST: Attempt to add duplicate route - dev only [ OK ] # 83.86 [+0.50] TEST: Attempt to add duplicate route - reject route [ OK ] # 84.47 [+0.61] TEST: Add new nexthop for existing prefix [ OK ] # 85.08 [+0.61] TEST: Append nexthop to existing route - gw [ OK ] # 85.72 [+0.63] TEST: Append nexthop to existing route - dev only [ OK ] # 86.31 [+0.59] TEST: Append nexthop to existing route - reject route [ OK ] # 86.82 [+0.51] TEST: Append nexthop to existing reject route - gw [ OK ] # 87.33 [+0.51] TEST: Append nexthop to existing reject route - dev only [ OK ] # 87.84 [+0.51] TEST: add multipath route [ OK ] # 88.36 [+0.52] TEST: Attempt to add duplicate multipath route [ OK ] # 88.98 [+0.62] TEST: Route add with different metrics [ OK ] # 89.24 [+0.26] TEST: Route delete with metric [ OK ] # 89.24 [+0.00] # 89.24 [+0.00] IPv4 route replace tests # 89.84 [+0.60] TEST: Single path with single path [ OK ] # 90.47 [+0.63] TEST: Single path with multipath [ OK ] # 91.10 [+0.63] TEST: Single path with reject route [ OK ] # 91.71 [+0.61] TEST: Single path with single path via multipath attribute [ OK ] # 92.36 [+0.65] TEST: Invalid nexthop [ OK ] # 92.84 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 93.47 [+0.63] TEST: Multipath with multipath [ OK ] # 94.11 [+0.64] TEST: Multipath with single path [ OK ] # 94.72 [+0.61] TEST: Multipath with single path via multipath attribute [ OK ] # 95.36 [+0.63] TEST: Multipath with reject route [ OK ] # 96.02 [+0.66] TEST: Multipath - invalid first nexthop [ OK ] # 96.63 [+0.62] TEST: Multipath - invalid second nexthop [ OK ] # 97.14 [+0.50] TEST: Multipath - replace of non-existent route [ OK ] # 99.10 [+1.97] TEST: Cached route removed from VRF port device [ OK ] # 99.10 [+0.00] # 99.10 [+0.00] IPv4 route with dsfield tests # 99.37 [+0.26] TEST: Reject route with dsfield 0x01 [ OK ] # 99.50 [+0.13] TEST: Reject route with dsfield 0x02 [ OK ] # 99.63 [+0.13] TEST: Reject route with dsfield 0x03 [ OK ] # 99.98 [+0.35] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 100.11 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 100.24 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 100.39 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 100.52 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 100.63 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 100.76 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 100.91 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 101.01 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 101.14 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 101.27 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 101.40 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 103.66 [+2.26] # 103.66 [+0.00] IPv6 prefix route tests # 106.52 [+2.86] TEST: Default metric [ OK ] # 106.94 [+0.42] TEST: User specified metric on first device [ OK ] # 107.34 [+0.40] TEST: User specified metric on second device [ OK ] # 107.63 [+0.29] TEST: Delete of address on first device [ OK ] # 107.92 [+0.29] TEST: Modify metric of address [ OK ] # 108.33 [+0.41] TEST: Prefix route removed on link down [ OK ] # 108.62 [+0.29] TEST: Prefix route with metric on link up [ OK ] # 109.12 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 109.27 [+0.15] TEST: Set metric with peer route on peer side [ OK ] # 109.56 [+0.28] TEST: Modify metric and peer address on local side [ OK ] # 109.70 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 111.11 [+1.40] # 111.11 [+0.00] IPv4 prefix route tests # 114.03 [+2.92] TEST: Default metric [ OK ] # 114.40 [+0.37] TEST: User specified metric on first device [ OK ] # 114.80 [+0.40] TEST: User specified metric on second device [ OK ] # 115.06 [+0.26] TEST: Delete of address on first device [ OK ] # 115.31 [+0.25] TEST: Modify metric of address [ OK ] # 115.56 [+0.26] TEST: Prefix route removed on link down [ OK ] # 115.83 [+0.27] TEST: Prefix route with metric on link up [ OK ] # 116.34 [+0.50] TEST: Modify metric of .0/24 address [ OK ] # 116.72 [+0.39] TEST: Set metric of address with peer route [ OK ] # 116.99 [+0.27] TEST: Modify metric and peer address for peer route [ OK ] # 118.26 [+1.27] # 118.26 [+0.00] IPv6 routes with metrics # 125.19 [+6.93] TEST: Single path route with mtu metric [ OK ] # 125.59 [+0.39] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 125.98 [+0.39] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 126.24 [+0.26] TEST: MTU of second leg [ OK ] # 126.51 [+0.26] TEST: Multipath route with mtu metric [ OK ] # 126.86 [+0.35] TEST: Using route with mtu metric [ OK ] # 127.07 [+0.20] TEST: Invalid metric (fails metric_convert) [ OK ] # 129.45 [+2.38] # 129.45 [+0.00] IPv4 route add / append tests # 136.37 [+6.92] TEST: Single path route with mtu metric [ OK ] # 136.62 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 136.93 [+0.31] TEST: Using route with mtu metric [ OK ] # 137.14 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 139.32 [+2.18] # 139.32 [+0.00] IPv4 route with IPv6 gateway tests # 148.07 [+8.74] TEST: Single path route with IPv6 gateway [ OK ] # 148.39 [+0.32] TEST: Single path route with IPv6 gateway - ping [ OK ] # 148.51 [+0.12] TEST: Single path route delete [ OK ] # 148.75 [+0.24] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 148.99 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 149.12 [+0.13] TEST: Multipath route delete exact match [ OK ] # 149.24 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 149.48 [+0.23] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 149.60 [+0.12] TEST: Multipath route delete exact match [ OK ] # 151.68 [+2.09] # 151.69 [+0.00] IPv4 rp_filter tests DETECTED CRASH, lowering timeout WAIT TIMEOUT stdout Ctrl-C stdout Ctrl-C stdout ^Cmake[1]: *** [../lib.mk:142: run_tests] Interrupt make: *** [Makefile:218: run_tests] Interrupt xx__->