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.29 [+0.91] Start point # 1.37 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.45 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.58 [+0.13] Nexthop device deleted # 1.67 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.74 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 2.27 [+0.53] # 2.27 [+0.00] Multipath route test # 3.80 [+1.53] Start point # 3.88 [+0.07] TEST: IPv4 fibmatch [ OK ] # 3.96 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.07 [+0.11] One nexthop device deleted # 4.14 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.23 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.32 [+0.09] Second nexthop device deleted # 4.39 [+0.07] TEST: IPv6 - no route [ OK ] DETECTED CRASH, lowering timeout # 4.87 [+0.48] # 4.87 [+0.00] Single path, admin down # 5.63 [+0.76] Start point # 5.69 [+0.06] TEST: IPv4 fibmatch [ OK ] # 5.74 [+0.06] TEST: IPv6 fibmatch [ OK ] # 5.80 [+0.06] Route deleted on down # 5.86 [+0.06] TEST: IPv4 fibmatch [ OK ] # 5.92 [+0.06] TEST: IPv6 fibmatch [ OK ] # 6.22 [+0.30] # 6.22 [+0.00] Admin down multipath # 7.32 [+1.10] Verify start point # 7.38 [+0.06] TEST: IPv4 fibmatch [ OK ] # 7.44 [+0.06] TEST: IPv6 fibmatch [ OK ] # 7.50 [+0.06] One device down, one up # 7.55 [+0.06] TEST: IPv4 fibmatch on down device [ OK ] # 7.61 [+0.05] TEST: IPv6 fibmatch on down device [ OK ] # 7.66 [+0.06] TEST: IPv4 fibmatch on up device [ OK ] # 7.72 [+0.05] TEST: IPv6 fibmatch on up device [ OK ] # 7.78 [+0.07] TEST: IPv4 flags on down device [ OK ] # 7.83 [+0.05] TEST: IPv6 flags on down device [ OK ] # 7.90 [+0.07] TEST: IPv4 flags on up device [ OK ] # 7.96 [+0.06] TEST: IPv6 flags on up device [ OK ] # 8.07 [+0.11] Other device down and up # 8.14 [+0.06] TEST: IPv4 fibmatch on down device [ OK ] # 8.18 [+0.05] TEST: IPv6 fibmatch on down device [ OK ] # 8.25 [+0.06] TEST: IPv4 fibmatch on up device [ OK ] # 8.31 [+0.06] TEST: IPv6 fibmatch on up device [ OK ] # 8.36 [+0.05] TEST: IPv4 flags on down device [ OK ] # 8.43 [+0.07] TEST: IPv6 flags on down device [ OK ] # 8.48 [+0.05] TEST: IPv4 flags on up device [ OK ] # 8.55 [+0.06] TEST: IPv6 flags on up device [ OK ] # 8.61 [+0.06] Both devices down # 8.66 [+0.06] TEST: IPv4 fibmatch [ OK ] # 8.73 [+0.06] TEST: IPv6 fibmatch [ OK ] # 9.14 [+0.42] # 9.14 [+0.00] Local carrier tests - single path # 9.98 [+0.83] Start point # 10.04 [+0.06] TEST: IPv4 fibmatch [ OK ] # 10.09 [+0.05] TEST: IPv6 fibmatch [ OK ] # 10.15 [+0.06] TEST: IPv4 - no linkdown flag [ OK ] # 10.20 [+0.05] TEST: IPv6 - no linkdown flag [ OK ] # 11.28 [+1.08] Carrier off on nexthop # 11.35 [+0.06] TEST: IPv4 fibmatch [ OK ] # 11.41 [+0.06] TEST: IPv6 fibmatch [ OK ] # 11.46 [+0.06] TEST: IPv4 - linkdown flag set [ OK ] # 11.52 [+0.06] TEST: IPv6 - linkdown flag set [ OK ] # 11.63 [+0.11] Route to local address with carrier down # 11.68 [+0.05] TEST: IPv4 fibmatch [ OK ] # 11.74 [+0.05] TEST: IPv6 fibmatch [ OK ] # 11.79 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 11.86 [+0.06] TEST: IPv6 linkdown flag set [ OK ] # 12.16 [+0.30] # 12.16 [+0.00] Single path route carrier test # 12.98 [+0.83] Start point # 13.05 [+0.06] TEST: IPv4 fibmatch [ OK ] # 13.10 [+0.05] TEST: IPv6 fibmatch [ OK ] # 13.16 [+0.06] TEST: IPv4 no linkdown flag [ OK ] # 13.23 [+0.06] TEST: IPv6 no linkdown flag [ OK ] # 14.31 [+1.09] Carrier down # 14.37 [+0.06] TEST: IPv4 fibmatch [ OK ] # 14.43 [+0.06] TEST: IPv6 fibmatch [ OK ] # 14.49 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 14.56 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 14.67 [+0.11] Second address added with carrier down # 14.72 [+0.05] TEST: IPv4 fibmatch [ OK ] # 14.78 [+0.06] TEST: IPv6 fibmatch [ OK ] # 14.83 [+0.05] TEST: IPv4 linkdown flag set [ OK ] # 14.89 [+0.06] TEST: IPv6 linkdown flag set [ OK ] # 18.11 [+3.22] # 18.11 [+0.00] IPv4 nexthop tests # 18.11 [+0.00] <<< write me >>> # 18.28 [+0.17] # 18.28 [+0.00] IPv6 nexthop tests # 18.35 [+0.07] TEST: Directly connected nexthop, unicast address [ OK ] # 18.41 [+0.06] TEST: Directly connected nexthop, unicast address with device [ OK ] # 18.47 [+0.06] TEST: Gateway is linklocal address [ OK ] # 18.54 [+0.07] TEST: Gateway is linklocal address, no device [ OK ] # 18.61 [+0.07] TEST: Gateway can not be local unicast address [ OK ] # 18.67 [+0.06] TEST: Gateway can not be local unicast address, with device [ OK ] # 18.74 [+0.07] TEST: Gateway can not be a local linklocal address [ OK ] # 18.81 [+0.07] TEST: Gateway can be local address in a VRF [ OK ] # 18.87 [+0.06] TEST: Gateway can be local address in a VRF, with device [ OK ] # 18.93 [+0.06] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 19.00 [+0.07] TEST: Redirect to VRF lookup [ OK ] # 19.06 [+0.06] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 19.13 [+0.07] TEST: VRF route, gateway can not be a local address [ OK ] # 19.20 [+0.07] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 19.94 [+0.74] # 19.94 [+0.00] FIB rule with suppress_prefixlength # 21.16 [+1.22] TEST: FIB rule suppress test [ OK ] # 22.29 [+1.13] # 22.29 [+0.00] Fib6 info length calculation in route notify test # 25.63 [+3.34] TEST: ipv6 route add notify [ OK ] # 26.75 [+1.12] # 26.75 [+0.00] Fib4 info length calculation in route notify test # 30.13 [+3.38] TEST: ipv4 route add notify [ OK ] # 33.06 [+2.93] # 33.06 [+0.00] IPv6 route add / append tests # 33.31 [+0.25] TEST: Attempt to add duplicate route - gw [ OK ] # 33.57 [+0.26] TEST: Attempt to add duplicate route - dev only [ OK ] # 33.83 [+0.26] TEST: Attempt to add duplicate route - reject route [ OK ] # 34.16 [+0.33] TEST: Append nexthop to existing route - gw [ OK ] # 34.41 [+0.25] TEST: Add multipath route [ OK ] # 34.64 [+0.23] TEST: Attempt to add duplicate multipath route [ OK ] # 34.93 [+0.28] TEST: Route add with different metrics [ OK ] # 35.06 [+0.13] TEST: Route delete with metric [ OK ] # 35.06 [+0.00] # 35.06 [+0.00] IPv6 route replace tests # 35.37 [+0.30] TEST: Single path with single path [ OK ] # 35.67 [+0.31] TEST: Single path with multipath [ OK ] # 35.97 [+0.30] TEST: Single path with single path via multipath attribute [ OK ] # 36.27 [+0.30] TEST: Invalid nexthop [ OK ] # 36.52 [+0.25] TEST: Single path - replace of non-existent route [ OK ] # 36.84 [+0.32] TEST: Multipath with multipath [ OK ] # 37.16 [+0.32] TEST: Multipath with single path [ OK ] # 37.47 [+0.31] TEST: Multipath with single path via multipath attribute [ OK ] # 37.82 [+0.35] TEST: Multipath with dev-only [ OK ] # 38.18 [+0.36] TEST: Multipath - invalid first nexthop [ OK ] # 38.53 [+0.35] TEST: Multipath - invalid second nexthop [ OK ] # 38.81 [+0.28] TEST: Multipath - replace of non-existent route [ OK ] # 38.81 [+0.00] # 38.81 [+0.00] IPv6 route with dsfield tests # 38.95 [+0.14] TEST: Reject route with dsfield [ OK ] # 42.99 [+4.04] # 42.99 [+0.00] IPv4 route add / append tests # 43.21 [+0.22] TEST: Attempt to add duplicate route - gw [ OK ] # 43.44 [+0.23] TEST: Attempt to add duplicate route - dev only [ OK ] # 43.67 [+0.23] TEST: Attempt to add duplicate route - reject route [ OK ] # 43.95 [+0.28] TEST: Add new nexthop for existing prefix [ OK ] # 44.24 [+0.29] TEST: Append nexthop to existing route - gw [ OK ] # 44.54 [+0.30] TEST: Append nexthop to existing route - dev only [ OK ] # 44.82 [+0.28] TEST: Append nexthop to existing route - reject route [ OK ] # 45.05 [+0.23] TEST: Append nexthop to existing reject route - gw [ OK ] # 45.29 [+0.23] TEST: Append nexthop to existing reject route - dev only [ OK ] # 45.52 [+0.23] TEST: add multipath route [ OK ] # 45.75 [+0.23] TEST: Attempt to add duplicate multipath route [ OK ] # 46.03 [+0.28] TEST: Route add with different metrics [ OK ] # 46.15 [+0.12] TEST: Route delete with metric [ OK ] # 46.16 [+0.00] # 46.16 [+0.00] IPv4 route replace tests # 46.43 [+0.28] TEST: Single path with single path [ OK ] # 46.73 [+0.30] TEST: Single path with multipath [ OK ] # 47.01 [+0.28] TEST: Single path with reject route [ OK ] # 47.30 [+0.29] TEST: Single path with single path via multipath attribute [ OK ] # 47.60 [+0.29] TEST: Invalid nexthop [ OK ] # 47.82 [+0.23] TEST: Single path - replace of non-existent route [ OK ] # 48.10 [+0.28] TEST: Multipath with multipath [ OK ] # 48.40 [+0.30] TEST: Multipath with single path [ OK ] # 48.69 [+0.28] TEST: Multipath with single path via multipath attribute [ OK ] # 48.97 [+0.28] TEST: Multipath with reject route [ OK ] # 49.26 [+0.29] TEST: Multipath - invalid first nexthop [ OK ] # 49.54 [+0.28] TEST: Multipath - invalid second nexthop [ OK ] # 49.79 [+0.24] TEST: Multipath - replace of non-existent route [ OK ] # 50.72 [+0.93] TEST: Cached route removed from VRF port device [ OK ] # 50.72 [+0.00] # 50.72 [+0.00] IPv4 route with dsfield tests # 50.84 [+0.12] TEST: Reject route with dsfield 0x01 [ OK ] # 50.91 [+0.07] TEST: Reject route with dsfield 0x02 [ OK ] # 50.97 [+0.05] TEST: Reject route with dsfield 0x03 [ OK ] # 51.15 [+0.18] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 51.21 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 51.26 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 51.30 [+0.04] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 51.37 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 51.42 [+0.05] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 51.49 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 51.55 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 51.62 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 51.66 [+0.05] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 51.71 [+0.05] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 51.76 [+0.05] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 52.93 [+1.17] # 52.93 [+0.00] IPv6 prefix route tests # 54.34 [+1.41] TEST: Default metric [ OK ] # 54.53 [+0.19] TEST: User specified metric on first device [ OK ] # 54.72 [+0.19] TEST: User specified metric on second device [ OK ] # 54.85 [+0.13] TEST: Delete of address on first device [ OK ] # 54.99 [+0.14] TEST: Modify metric of address [ OK ] # 55.19 [+0.20] TEST: Prefix route removed on link down [ OK ] # 55.31 [+0.12] TEST: Prefix route with metric on link up [ OK ] # 55.50 [+0.19] TEST: Set metric with peer route on local side [ OK ] # 55.56 [+0.06] TEST: Set metric with peer route on peer side [ OK ] # 55.68 [+0.12] TEST: Modify metric and peer address on local side [ OK ] # 55.75 [+0.07] TEST: Modify metric and peer address on peer side [ OK ] # 56.37 [+0.62] # 56.37 [+0.00] IPv4 prefix route tests # 57.56 [+1.19] TEST: Default metric [ OK ] # 57.76 [+0.20] TEST: User specified metric on first device [ OK ] # 57.94 [+0.18] TEST: User specified metric on second device [ OK ] # 58.08 [+0.13] TEST: Delete of address on first device [ OK ] # 58.20 [+0.12] TEST: Modify metric of address [ OK ] # 58.31 [+0.12] TEST: Prefix route removed on link down [ OK ] # 58.44 [+0.12] TEST: Prefix route with metric on link up [ OK ] # 58.68 [+0.25] TEST: Modify metric of .0/24 address [ OK ] # 58.88 [+0.20] TEST: Set metric of address with peer route [ OK ] # 59.00 [+0.12] TEST: Modify metric and peer address for peer route [ OK ] # 59.68 [+0.69] # 59.68 [+0.00] IPv6 routes with metrics # 62.68 [+3.00] TEST: Single path route with mtu metric [ OK ] # 62.86 [+0.18] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 63.06 [+0.19] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 63.18 [+0.12] TEST: MTU of second leg [ OK ] # 63.31 [+0.13] TEST: Multipath route with mtu metric [ OK ] # 63.47 [+0.15] TEST: Using route with mtu metric [ OK ] # 63.57 [+0.10] TEST: Invalid metric (fails metric_convert) [ OK ] # 64.74 [+1.17] # 64.74 [+0.00] IPv4 route add / append tests # 67.72 [+2.98] TEST: Single path route with mtu metric [ OK ] # 67.84 [+0.12] TEST: Multipath route with mtu metric [ OK ] # 68.00 [+0.15] TEST: Using route with mtu metric [ OK ] # 68.10 [+0.10] TEST: Invalid metric (fails metric_convert) [ OK ] # 69.30 [+1.20] # 69.30 [+0.00] IPv4 route with IPv6 gateway tests # 74.28 [+4.98] TEST: Single path route with IPv6 gateway [ OK ] # 74.44 [+0.16] TEST: Single path route with IPv6 gateway - ping [ OK ] # 74.50 [+0.07] TEST: Single path route delete [ OK ] # 74.62 [+0.12] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 74.74 [+0.12] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 74.80 [+0.06] TEST: Multipath route delete exact match [ OK ] # 74.86 [+0.06] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 75.01 [+0.15] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 75.10 [+0.08] TEST: Multipath route delete exact match [ OK ] # 76.27 [+1.17] # 76.27 [+0.00] IPv4 rp_filter tests # 80.19 [+3.92] TEST: rp_filter passes local packets [ OK ] # 80.29 [+0.09] TEST: rp_filter passes loopback packets [ OK ] # 80.80 [+0.52] # 80.80 [+0.00] IPv4 delete address route tests # 82.62 [+1.81] Regular FIB info # 82.72 [+0.10] TEST: Route removed from VRF when source address deleted [ OK ] # 82.79 [+0.07] TEST: Route in default VRF not removed [ OK ] # 83.00 [+0.21] TEST: Route removed in default VRF when source address deleted [ OK ] # 83.05 [+0.05] TEST: Route in VRF is not removed by address delete [ OK ] # 83.05 [+0.00] Identical FIB info with different table ID # 83.15 [+0.11] TEST: Route removed from VRF when source address deleted [ OK ] # 83.20 [+0.05] TEST: Route in default VRF not removed [ OK ] # 83.42 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 83.47 [+0.05] TEST: Route in VRF is not removed by address delete [ OK ] # 83.47 [+0.00] Table ID 0 # 83.58 [+0.11] TEST: Route removed in default VRF when source address deleted [ OK ] # 84.24 [+0.66] # 84.24 [+0.00] IPv6 delete address route tests # 87.28 [+3.04] Single device using src address # 87.40 [+0.12] TEST: Prefsrc removed when src address removed on other device [ OK ] # 87.40 [+0.00] Two devices with the same source address # 87.52 [+0.11] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 87.65 [+0.13] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 87.65 [+0.00] VRF with single device using src address # 87.75 [+0.10] TEST: Prefsrc removed when src address removed on other device [ OK ] # 87.75 [+0.00] VRF with two devices using src address # 87.86 [+0.10] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 87.97 [+0.12] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 87.97 [+0.00] src address and nexthop dev in same VRF # 88.09 [+0.12] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 88.14 [+0.05] TEST: Prefsrc in default VRF not removed [ OK ] # 88.36 [+0.22] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 88.41 [+0.05] TEST: Prefsrc in default VRF removed [ OK ] # 88.41 [+0.00] src address and nexthop device in different VRF # 88.53 [+0.12] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 88.58 [+0.05] TEST: Prefsrc not removed in default VRF [ OK ] # 88.76 [+0.17] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 88.81 [+0.05] TEST: Prefsrc removed in default VRF [ OK ] # 88.81 [+0.00] Table ID 0 # 88.92 [+0.11] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 88.92 [+0.00] Link local source route # 89.02 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 89.14 [+0.12] TEST: Prefsrc removed when delete ll addr [ OK ] # 89.20 [+0.06] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 89.37 [+0.17] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 90.48 [+1.11] # 90.48 [+0.00] IPv4 mangling tests # 96.43 [+5.94] TEST: Connection with correct parameters [ OK ] # 96.55 [+0.12] TEST: Connection with incorrect parameters [ OK ] # 97.36 [+0.81] TEST: Connection with correct parameters - mangling [ OK ] # 98.11 [+0.75] TEST: Connection with correct parameters - no mangling [ OK ] # 98.15 [+0.03] TEST: Connection check - server side [ OK ] # 99.48 [+1.33] # 99.48 [+0.00] IPv6 mangling tests # 105.27 [+5.79] TEST: Connection with correct parameters [ OK ] # 105.40 [+0.12] TEST: Connection with incorrect parameters [ OK ] # 106.14 [+0.74] TEST: Connection with correct parameters - mangling [ OK ] # 106.88 [+0.74] TEST: Connection with correct parameters - no mangling [ OK ] # 106.92 [+0.04] TEST: Connection check - server side [ OK ] # 108.30 [+1.38] # 108.30 [+0.00] IPv4 broadcast neighbour tests # 109.74 [+1.44] TEST: Resolved neighbour for broadcast address [ OK ] # 109.80 [+0.05] TEST: Resolved neighbour for network broadcast address [ OK ] # 109.86 [+0.06] TEST: Unresolved neighbour for broadcast address [ OK ] # 109.92 [+0.06] TEST: Unresolved neighbour for network broadcast address [ OK ] # 111.13 [+1.22] # 111.13 [+0.00] Fib6 garbage collection test # 124.00 [+12.87] TEST: ipv6 route garbage collection [ OK ] # 137.07 [+13.07] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 150.07 [+13.00] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 163.09 [+13.02] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 177.00 [+13.91] TEST: ipv6 route garbage collection (RA message) [ OK ] # 177.55 [+0.54] # 177.55 [+0.00] IPv4 multipath list receive tests # 189.18 [+11.64] TEST: Multipath route hit ratio (.99) [ OK ] # 190.54 [+1.36] # 190.54 [+0.00] IPv6 multipath list receive tests # 202.02 [+11.48] TEST: Multipath route hit ratio (1.00) [ OK ] # 203.26 [+1.24] # 203.26 [+0.00] Tests passed: 229 # 203.26 [+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__->