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' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: fib_tests.sh # 0.38 [+0.38] # 0.38 [+0.00] Single path route test # 1.25 [+0.87] Start point # 1.34 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.41 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.53 [+0.12] Nexthop device deleted # 1.61 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.69 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.21 [+0.52] # 2.21 [+0.00] Multipath route test # 3.81 [+1.61] Start point # 3.92 [+0.10] TEST: IPv4 fibmatch [ OK ] # 4.00 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.13 [+0.13] One nexthop device deleted # 4.21 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.28 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.40 [+0.12] Second nexthop device deleted # 4.49 [+0.09] TEST: IPv6 - no route [ OK ] # 5.01 [+0.52] # 5.01 [+0.00] Single path, admin down # 6.07 [+1.06] Start point # 6.15 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.23 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.29 [+0.07] Route deleted on down # 6.38 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.45 [+0.07] TEST: IPv6 fibmatch [ OK ] # 6.87 [+0.42] # 6.87 [+0.00] Admin down multipath # 8.36 [+1.49] Verify start point # 8.43 [+0.07] TEST: IPv4 fibmatch [ OK ] # 8.50 [+0.07] TEST: IPv6 fibmatch [ OK ] # 8.57 [+0.07] One device down, one up # 8.64 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 8.72 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 8.79 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 8.86 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 8.94 [+0.08] TEST: IPv4 flags on down device [ OK ] # 9.03 [+0.09] TEST: IPv6 flags on down device [ OK ] # 9.11 [+0.08] TEST: IPv4 flags on up device [ OK ] # 9.19 [+0.07] TEST: IPv6 flags on up device [ OK ] # 9.34 [+0.15] Other device down and up # 9.41 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 9.48 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 9.55 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 9.62 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.71 [+0.09] TEST: IPv4 flags on down device [ OK ] # 9.81 [+0.10] TEST: IPv6 flags on down device [ OK ] # 9.88 [+0.08] TEST: IPv4 flags on up device [ OK ] # 9.97 [+0.08] TEST: IPv6 flags on up device [ OK ] # 10.04 [+0.07] Both devices down # 10.12 [+0.08] TEST: IPv4 fibmatch [ OK ] # 10.19 [+0.07] TEST: IPv6 fibmatch [ OK ] # 10.67 [+0.48] # 10.67 [+0.00] Local carrier tests - single path # 11.75 [+1.08] Start point # 11.82 [+0.07] TEST: IPv4 fibmatch [ OK ] # 11.90 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.98 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 12.07 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 13.19 [+1.12] Carrier off on nexthop # 13.27 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.35 [+0.08] TEST: IPv6 fibmatch [ OK ] # 13.43 [+0.08] TEST: IPv4 - linkdown flag set [ OK ] # 13.51 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 13.66 [+0.15] Route to local address with carrier down # 13.73 [+0.07] TEST: IPv4 fibmatch [ OK ] # 13.81 [+0.08] TEST: IPv6 fibmatch [ OK ] # 13.89 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 13.98 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 14.37 [+0.39] # 14.37 [+0.00] Single path route carrier test # 15.45 [+1.08] Start point # 15.52 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.60 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.66 [+0.07] TEST: IPv4 no linkdown flag [ OK ] # 15.74 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 16.85 [+1.12] Carrier down # 16.94 [+0.09] TEST: IPv4 fibmatch [ OK ] # 17.01 [+0.07] TEST: IPv6 fibmatch [ OK ] # 17.08 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 17.16 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 17.32 [+0.15] Second address added with carrier down # 17.39 [+0.07] TEST: IPv4 fibmatch [ OK ] # 17.47 [+0.08] TEST: IPv6 fibmatch [ OK ] # 17.53 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 17.61 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 21.48 [+3.87] # 21.48 [+0.00] IPv4 nexthop tests # 21.49 [+0.00] <<< write me >>> # 21.69 [+0.21] # 21.69 [+0.00] IPv6 nexthop tests # 21.78 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 21.86 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 21.94 [+0.08] TEST: Gateway is linklocal address [ OK ] # 22.02 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 22.11 [+0.08] TEST: Gateway can not be local unicast address [ OK ] # 22.19 [+0.08] TEST: Gateway can not be local unicast address, with device [ OK ] # 22.27 [+0.08] TEST: Gateway can not be a local linklocal address [ OK ] # 22.37 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 22.45 [+0.08] TEST: Gateway can be local address in a VRF, with device [ OK ] # 22.53 [+0.08] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 22.64 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 22.71 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 22.80 [+0.08] TEST: VRF route, gateway can not be a local address [ OK ] # 22.88 [+0.08] TEST: VRF route, gateway can not be a local addr with device [ OK ] DETECTED CRASH, lowering timeout # 23.64 [+0.76] # 23.64 [+0.00] FIB rule with suppress_prefixlength # 24.76 [+1.12] TEST: FIB rule suppress test [ OK ] # 25.79 [+1.03] # 25.79 [+0.00] Fib6 info length calculation in route notify test # 29.02 [+3.23] TEST: ipv6 route add notify [ OK ] # 30.05 [+1.02] # 30.05 [+0.00] Fib4 info length calculation in route notify test # 33.29 [+3.24] TEST: ipv4 route add notify [ OK ] # 36.04 [+2.76] # 36.05 [+0.00] IPv6 route add / append tests # 36.27 [+0.22] TEST: Attempt to add duplicate route - gw [ OK ] # 36.49 [+0.23] TEST: Attempt to add duplicate route - dev only [ OK ] # 36.72 [+0.23] TEST: Attempt to add duplicate route - reject route [ OK ] # 37.01 [+0.29] TEST: Append nexthop to existing route - gw [ OK ] # 37.25 [+0.24] TEST: Add multipath route [ OK ] # 37.48 [+0.22] TEST: Attempt to add duplicate multipath route [ OK ] # 37.76 [+0.28] TEST: Route add with different metrics [ OK ] # 37.89 [+0.13] TEST: Route delete with metric [ OK ] # 37.89 [+0.00] # 37.89 [+0.00] IPv6 route replace tests # 38.17 [+0.28] TEST: Single path with single path [ OK ] # 38.48 [+0.31] TEST: Single path with multipath [ OK ] # 38.78 [+0.30] TEST: Single path with single path via multipath attribute [ OK ] # 39.06 [+0.29] TEST: Invalid nexthop [ OK ] # 39.29 [+0.23] TEST: Single path - replace of non-existent route [ OK ] # 39.59 [+0.30] TEST: Multipath with multipath [ OK ] # 39.88 [+0.29] TEST: Multipath with single path [ OK ] # 40.18 [+0.30] TEST: Multipath with single path via multipath attribute [ OK ] # 40.47 [+0.29] TEST: Multipath with dev-only [ OK ] # 40.76 [+0.29] TEST: Multipath - invalid first nexthop [ OK ] # 41.05 [+0.29] TEST: Multipath - invalid second nexthop [ OK ] # 41.28 [+0.23] TEST: Multipath - replace of non-existent route [ OK ] # 41.28 [+0.00] # 41.28 [+0.00] IPv6 route with dsfield tests # 41.40 [+0.12] TEST: Reject route with dsfield [ OK ] # 45.33 [+3.93] # 45.33 [+0.00] IPv4 route add / append tests # 45.56 [+0.23] TEST: Attempt to add duplicate route - gw [ OK ] # 45.79 [+0.23] TEST: Attempt to add duplicate route - dev only [ OK ] # 46.02 [+0.23] TEST: Attempt to add duplicate route - reject route [ OK ] # 46.31 [+0.29] TEST: Add new nexthop for existing prefix [ OK ] # 46.59 [+0.28] TEST: Append nexthop to existing route - gw [ OK ] # 46.88 [+0.29] TEST: Append nexthop to existing route - dev only [ OK ] # 47.16 [+0.29] TEST: Append nexthop to existing route - reject route [ OK ] # 47.40 [+0.24] TEST: Append nexthop to existing reject route - gw [ OK ] # 47.63 [+0.23] TEST: Append nexthop to existing reject route - dev only [ OK ] # 47.86 [+0.23] TEST: add multipath route [ OK ] # 48.08 [+0.22] TEST: Attempt to add duplicate multipath route [ OK ] # 48.36 [+0.28] TEST: Route add with different metrics [ OK ] # 48.47 [+0.11] TEST: Route delete with metric [ OK ] # 48.47 [+0.00] # 48.47 [+0.00] IPv4 route replace tests # 48.76 [+0.29] TEST: Single path with single path [ OK ] # 49.05 [+0.29] TEST: Single path with multipath [ OK ] # 49.33 [+0.28] TEST: Single path with reject route [ OK ] # 49.61 [+0.28] TEST: Single path with single path via multipath attribute [ OK ] # 49.90 [+0.29] TEST: Invalid nexthop [ OK ] # 50.12 [+0.22] TEST: Single path - replace of non-existent route [ OK ] # 50.41 [+0.29] TEST: Multipath with multipath [ OK ] # 50.69 [+0.28] TEST: Multipath with single path [ OK ] # 50.98 [+0.29] TEST: Multipath with single path via multipath attribute [ OK ] # 51.27 [+0.29] TEST: Multipath with reject route [ OK ] # 51.58 [+0.30] TEST: Multipath - invalid first nexthop [ OK ] # 51.86 [+0.28] TEST: Multipath - invalid second nexthop [ OK ] # 52.10 [+0.24] TEST: Multipath - replace of non-existent route [ OK ] # 53.05 [+0.95] TEST: Cached route removed from VRF port device [ OK ] # 53.05 [+0.00] # 53.05 [+0.00] IPv4 route with dsfield tests # 53.17 [+0.12] TEST: Reject route with dsfield 0x01 [ OK ] # 53.22 [+0.06] TEST: Reject route with dsfield 0x02 [ OK ] # 53.28 [+0.06] TEST: Reject route with dsfield 0x03 [ OK ] # 53.45 [+0.17] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 53.54 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 53.63 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 53.70 [+0.07] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 53.77 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 53.84 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 53.93 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 53.99 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 54.05 [+0.06] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 54.13 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 54.24 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 54.31 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 55.56 [+1.25] # 55.56 [+0.00] IPv6 prefix route tests # 56.81 [+1.25] TEST: Default metric [ OK ] # 57.00 [+0.18] TEST: User specified metric on first device [ OK ] # 57.20 [+0.20] TEST: User specified metric on second device [ OK ] # 57.32 [+0.12] TEST: Delete of address on first device [ OK ] # 57.45 [+0.13] TEST: Modify metric of address [ OK ] # 57.66 [+0.21] TEST: Prefix route removed on link down [ OK ] # 57.79 [+0.13] TEST: Prefix route with metric on link up [ OK ] # 57.98 [+0.19] TEST: Set metric with peer route on local side [ OK ] # 58.04 [+0.06] TEST: Set metric with peer route on peer side [ OK ] # 58.17 [+0.13] TEST: Modify metric and peer address on local side [ OK ] # 58.23 [+0.05] TEST: Modify metric and peer address on peer side [ OK ] # 58.88 [+0.66] # 58.88 [+0.00] IPv4 prefix route tests # 60.08 [+1.20] TEST: Default metric [ OK ] # 60.27 [+0.19] TEST: User specified metric on first device [ OK ] # 60.44 [+0.17] TEST: User specified metric on second device [ OK ] # 60.56 [+0.12] TEST: Delete of address on first device [ OK ] # 60.69 [+0.12] TEST: Modify metric of address [ OK ] # 60.80 [+0.11] TEST: Prefix route removed on link down [ OK ] # 60.92 [+0.12] TEST: Prefix route with metric on link up [ OK ] # 61.16 [+0.25] TEST: Modify metric of .0/24 address [ OK ] # 61.35 [+0.19] TEST: Set metric of address with peer route [ OK ] # 61.47 [+0.11] TEST: Modify metric and peer address for peer route [ OK ] # 62.11 [+0.64] # 62.11 [+0.00] IPv6 routes with metrics # 64.99 [+2.88] TEST: Single path route with mtu metric [ OK ] # 65.17 [+0.18] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 65.35 [+0.18] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 65.48 [+0.13] TEST: MTU of second leg [ OK ] # 65.61 [+0.13] TEST: Multipath route with mtu metric [ OK ] # 65.75 [+0.14] TEST: Using route with mtu metric [ OK ] # 65.85 [+0.10] TEST: Invalid metric (fails metric_convert) [ OK ] # 67.06 [+1.21] # 67.06 [+0.00] IPv4 route add / append tests # 69.93 [+2.87] TEST: Single path route with mtu metric [ OK ] # 70.04 [+0.12] TEST: Multipath route with mtu metric [ OK ] # 70.19 [+0.15] TEST: Using route with mtu metric [ OK ] # 70.29 [+0.10] TEST: Invalid metric (fails metric_convert) [ OK ] # 71.44 [+1.16] # 71.44 [+0.00] IPv4 route with IPv6 gateway tests # 76.31 [+4.87] TEST: Single path route with IPv6 gateway [ OK ] # 76.46 [+0.15] TEST: Single path route with IPv6 gateway - ping [ OK ] # 76.52 [+0.06] TEST: Single path route delete [ OK ] # 76.63 [+0.12] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 76.75 [+0.12] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 76.81 [+0.06] TEST: Multipath route delete exact match [ OK ] # 76.88 [+0.06] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 77.00 [+0.12] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 77.05 [+0.05] TEST: Multipath route delete exact match [ OK ] # 78.19 [+1.14] # 78.19 [+0.00] IPv4 rp_filter tests # 81.96 [+3.78] TEST: rp_filter passes local packets [ OK ] # 82.07 [+0.10] TEST: rp_filter passes loopback packets [ OK ] # 82.55 [+0.49] # 82.55 [+0.00] IPv4 delete address route tests # 84.32 [+1.77] Regular FIB info # 84.43 [+0.10] TEST: Route removed from VRF when source address deleted [ OK ] # 84.48 [+0.05] TEST: Route in default VRF not removed [ OK ] # 84.70 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 84.75 [+0.05] TEST: Route in VRF is not removed by address delete [ OK ] # 84.76 [+0.00] Identical FIB info with different table ID # 84.85 [+0.09] TEST: Route removed from VRF when source address deleted [ OK ] # 84.90 [+0.05] TEST: Route in default VRF not removed [ OK ] # 85.10 [+0.21] TEST: Route removed in default VRF when source address deleted [ OK ] # 85.16 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 85.16 [+0.00] Table ID 0 # 85.27 [+0.11] TEST: Route removed in default VRF when source address deleted [ OK ] # 85.87 [+0.60] # 85.87 [+0.00] IPv6 delete address route tests # 88.88 [+3.01] Single device using src address # 88.99 [+0.10] TEST: Prefsrc removed when src address removed on other device [ OK ] # 88.99 [+0.00] Two devices with the same source address # 89.10 [+0.11] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 89.21 [+0.11] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 89.21 [+0.00] VRF with single device using src address # 89.31 [+0.10] TEST: Prefsrc removed when src address removed on other device [ OK ] # 89.32 [+0.00] VRF with two devices using src address # 89.42 [+0.10] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 89.54 [+0.12] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 89.55 [+0.00] src address and nexthop dev in same VRF # 89.65 [+0.10] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 89.71 [+0.06] TEST: Prefsrc in default VRF not removed [ OK ] # 89.92 [+0.21] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 89.97 [+0.05] TEST: Prefsrc in default VRF removed [ OK ] # 89.97 [+0.00] src address and nexthop device in different VRF # 90.08 [+0.11] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 90.15 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 90.31 [+0.16] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 90.36 [+0.05] TEST: Prefsrc removed in default VRF [ OK ] # 90.36 [+0.00] Table ID 0 # 90.48 [+0.12] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 90.48 [+0.00] Link local source route # 90.59 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 90.72 [+0.13] TEST: Prefsrc removed when delete ll addr [ OK ] # 90.77 [+0.05] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 90.92 [+0.16] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 91.95 [+1.03] # 91.95 [+0.00] IPv4 mangling tests # 97.78 [+5.83] TEST: Connection with correct parameters [ OK ] # 97.89 [+0.11] TEST: Connection with incorrect parameters [ OK ] # 98.72 [+0.83] TEST: Connection with correct parameters - mangling [ OK ] # 99.46 [+0.74] TEST: Connection with correct parameters - no mangling [ OK ] # 99.50 [+0.04] TEST: Connection check - server side [ OK ] # 100.84 [+1.34] # 100.84 [+0.00] IPv6 mangling tests # 106.55 [+5.71] TEST: Connection with correct parameters [ OK ] # 106.67 [+0.12] TEST: Connection with incorrect parameters [ OK ] # 107.40 [+0.73] TEST: Connection with correct parameters - mangling [ OK ] # 108.15 [+0.75] TEST: Connection with correct parameters - no mangling [ OK ] # 108.18 [+0.03] TEST: Connection check - server side [ OK ] # 109.54 [+1.36] # 109.54 [+0.00] IPv4 broadcast neighbour tests # 110.96 [+1.41] TEST: Resolved neighbour for broadcast address [ OK ] # 111.01 [+0.06] TEST: Resolved neighbour for network broadcast address [ OK ] # 111.08 [+0.06] TEST: Unresolved neighbour for broadcast address [ OK ] # 111.13 [+0.06] TEST: Unresolved neighbour for network broadcast address [ OK ] # 112.34 [+1.21] # 112.35 [+0.00] Fib6 garbage collection test # 125.12 [+12.77] TEST: ipv6 route garbage collection [ OK ] # 138.05 [+12.93] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 151.00 [+12.95] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 163.99 [+13.00] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 177.83 [+13.84] TEST: ipv6 route garbage collection (RA message) [ OK ] # 178.30 [+0.47] # 178.30 [+0.00] IPv4 multipath list receive tests # 189.44 [+11.15] TEST: Multipath route hit ratio (1.00) [ OK ] # 190.66 [+1.22] # 190.66 [+0.00] IPv6 multipath list receive tests # 201.51 [+10.85] TEST: Multipath route hit ratio (1.00) [ OK ] # 202.77 [+1.26] # 202.77 [+0.00] Tests passed: 229 # 202.77 [+0.00] Tests failed: 0 ok 1 selftests: net: fib_tests.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__->