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.44 [+0.44] # 0.44 [+0.00] Single path route test # 1.36 [+0.92] Start point # 1.45 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.53 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.67 [+0.13] Nexthop device deleted # 1.75 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.83 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.39 [+0.55] # 2.39 [+0.00] Multipath route test # 4.11 [+1.72] Start point # 4.19 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.27 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.38 [+0.11] One nexthop device deleted # 4.46 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.55 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 4.67 [+0.12] Second nexthop device deleted # 4.76 [+0.08] TEST: IPv6 - no route [ OK ] DETECTED CRASH, lowering timeout # 5.26 [+0.51] # 5.26 [+0.00] Single path, admin down # 6.19 [+0.93] Start point # 6.29 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.36 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.42 [+0.06] Route deleted on down # 6.49 [+0.06] TEST: IPv4 fibmatch [ OK ] # 6.56 [+0.07] TEST: IPv6 fibmatch [ OK ] # 6.89 [+0.33] # 6.89 [+0.00] Admin down multipath # 8.12 [+1.23] Verify start point # 8.20 [+0.08] TEST: IPv4 fibmatch [ OK ] # 8.25 [+0.05] TEST: IPv6 fibmatch [ OK ] # 8.32 [+0.07] One device down, one up # 8.37 [+0.05] TEST: IPv4 fibmatch on down device [ OK ] # 8.44 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 8.50 [+0.06] TEST: IPv4 fibmatch on up device [ OK ] # 8.57 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 8.64 [+0.07] TEST: IPv4 flags on down device [ OK ] # 8.71 [+0.07] TEST: IPv6 flags on down device [ OK ] # 8.78 [+0.08] TEST: IPv4 flags on up device [ OK ] # 8.85 [+0.07] TEST: IPv6 flags on up device [ OK ] # 8.97 [+0.12] Other device down and up # 9.03 [+0.06] TEST: IPv4 fibmatch on down device [ OK ] # 9.09 [+0.06] TEST: IPv6 fibmatch on down device [ OK ] # 9.14 [+0.05] TEST: IPv4 fibmatch on up device [ OK ] # 9.20 [+0.06] TEST: IPv6 fibmatch on up device [ OK ] # 9.25 [+0.06] TEST: IPv4 flags on down device [ OK ] # 9.32 [+0.07] TEST: IPv6 flags on down device [ OK ] # 9.38 [+0.06] TEST: IPv4 flags on up device [ OK ] # 9.44 [+0.06] TEST: IPv6 flags on up device [ OK ] # 9.50 [+0.06] Both devices down # 9.56 [+0.06] TEST: IPv4 fibmatch [ OK ] # 9.62 [+0.06] TEST: IPv6 fibmatch [ OK ] # 10.00 [+0.38] # 10.00 [+0.00] Local carrier tests - single path # 10.82 [+0.82] Start point # 10.87 [+0.05] TEST: IPv4 fibmatch [ OK ] # 10.94 [+0.07] TEST: IPv6 fibmatch [ OK ] # 11.00 [+0.06] TEST: IPv4 - no linkdown flag [ OK ] # 11.06 [+0.06] TEST: IPv6 - no linkdown flag [ OK ] # 12.16 [+1.10] Carrier off on nexthop # 12.25 [+0.09] TEST: IPv4 fibmatch [ OK ] # 12.31 [+0.06] TEST: IPv6 fibmatch [ OK ] # 12.37 [+0.06] TEST: IPv4 - linkdown flag set [ OK ] # 12.44 [+0.06] TEST: IPv6 - linkdown flag set [ OK ] # 12.55 [+0.12] Route to local address with carrier down # 12.61 [+0.05] TEST: IPv4 fibmatch [ OK ] # 12.67 [+0.06] TEST: IPv6 fibmatch [ OK ] # 12.72 [+0.05] TEST: IPv4 linkdown flag set [ OK ] # 12.77 [+0.05] TEST: IPv6 linkdown flag set [ OK ] # 13.06 [+0.29] # 13.06 [+0.00] Single path route carrier test # 13.90 [+0.84] Start point # 13.96 [+0.06] TEST: IPv4 fibmatch [ OK ] # 14.01 [+0.05] TEST: IPv6 fibmatch [ OK ] # 14.07 [+0.06] TEST: IPv4 no linkdown flag [ OK ] # 14.14 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 15.22 [+1.08] Carrier down # 15.28 [+0.06] TEST: IPv4 fibmatch [ OK ] # 15.34 [+0.06] TEST: IPv6 fibmatch [ OK ] # 15.39 [+0.04] TEST: IPv4 linkdown flag set [ OK ] # 15.46 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 15.58 [+0.12] Second address added with carrier down # 15.63 [+0.06] TEST: IPv4 fibmatch [ OK ] # 15.69 [+0.06] TEST: IPv6 fibmatch [ OK ] # 15.75 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 15.80 [+0.05] TEST: IPv6 linkdown flag set [ OK ] # 19.20 [+3.40] # 19.21 [+0.00] IPv4 nexthop tests # 19.21 [+0.00] <<< write me >>> # 19.37 [+0.16] # 19.37 [+0.00] IPv6 nexthop tests # 19.43 [+0.07] TEST: Directly connected nexthop, unicast address [ OK ] # 19.50 [+0.07] TEST: Directly connected nexthop, unicast address with device [ OK ] # 19.56 [+0.06] TEST: Gateway is linklocal address [ OK ] # 19.62 [+0.06] TEST: Gateway is linklocal address, no device [ OK ] # 19.68 [+0.06] TEST: Gateway can not be local unicast address [ OK ] # 19.75 [+0.07] TEST: Gateway can not be local unicast address, with device [ OK ] # 19.81 [+0.06] TEST: Gateway can not be a local linklocal address [ OK ] # 19.88 [+0.07] TEST: Gateway can be local address in a VRF [ OK ] # 19.94 [+0.06] TEST: Gateway can be local address in a VRF, with device [ OK ] # 20.00 [+0.06] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 20.07 [+0.07] TEST: Redirect to VRF lookup [ OK ] # 20.13 [+0.06] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 20.20 [+0.06] TEST: VRF route, gateway can not be a local address [ OK ] # 20.25 [+0.06] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 20.98 [+0.72] # 20.98 [+0.00] FIB rule with suppress_prefixlength # 22.21 [+1.23] TEST: FIB rule suppress test [ OK ] # 23.33 [+1.13] # 23.33 [+0.00] Fib6 info length calculation in route notify test # 26.80 [+3.46] TEST: ipv6 route add notify [ OK ] # 28.04 [+1.24] # 28.04 [+0.00] Fib4 info length calculation in route notify test # 31.42 [+3.38] TEST: ipv4 route add notify [ OK ] # 34.37 [+2.95] # 34.37 [+0.00] IPv6 route add / append tests # 34.61 [+0.25] TEST: Attempt to add duplicate route - gw [ OK ] # 34.86 [+0.24] TEST: Attempt to add duplicate route - dev only [ OK ] # 35.11 [+0.25] TEST: Attempt to add duplicate route - reject route [ OK ] # 35.43 [+0.32] TEST: Append nexthop to existing route - gw [ OK ] # 35.69 [+0.26] TEST: Add multipath route [ OK ] # 35.93 [+0.24] TEST: Attempt to add duplicate multipath route [ OK ] # 36.25 [+0.32] TEST: Route add with different metrics [ OK ] # 36.38 [+0.13] TEST: Route delete with metric [ OK ] # 36.38 [+0.00] # 36.38 [+0.00] IPv6 route replace tests # 36.71 [+0.32] TEST: Single path with single path [ OK ] # 37.02 [+0.32] TEST: Single path with multipath [ OK ] # 37.33 [+0.31] TEST: Single path with single path via multipath attribute [ OK ] # 37.66 [+0.32] TEST: Invalid nexthop [ OK ] # 37.90 [+0.24] TEST: Single path - replace of non-existent route [ OK ] # 38.24 [+0.34] TEST: Multipath with multipath [ OK ] # 38.57 [+0.33] TEST: Multipath with single path [ OK ] # 38.89 [+0.32] TEST: Multipath with single path via multipath attribute [ OK ] # 39.19 [+0.31] TEST: Multipath with dev-only [ OK ] # 39.51 [+0.32] TEST: Multipath - invalid first nexthop [ OK ] # 39.83 [+0.33] TEST: Multipath - invalid second nexthop [ OK ] # 40.10 [+0.26] TEST: Multipath - replace of non-existent route [ OK ] # 40.10 [+0.00] # 40.10 [+0.00] IPv6 route with dsfield tests # 40.22 [+0.12] TEST: Reject route with dsfield [ OK ] # 44.54 [+4.32] # 44.54 [+0.00] IPv4 route add / append tests # 44.78 [+0.24] TEST: Attempt to add duplicate route - gw [ OK ] # 45.04 [+0.26] TEST: Attempt to add duplicate route - dev only [ OK ] # 45.30 [+0.25] TEST: Attempt to add duplicate route - reject route [ OK ] # 45.62 [+0.32] TEST: Add new nexthop for existing prefix [ OK ] # 45.93 [+0.31] TEST: Append nexthop to existing route - gw [ OK ] # 46.30 [+0.37] TEST: Append nexthop to existing route - dev only [ OK ] # 46.63 [+0.33] TEST: Append nexthop to existing route - reject route [ OK ] # 46.89 [+0.26] TEST: Append nexthop to existing reject route - gw [ OK ] # 47.20 [+0.31] TEST: Append nexthop to existing reject route - dev only [ OK ] # 47.46 [+0.26] TEST: add multipath route [ OK ] # 47.74 [+0.28] TEST: Attempt to add duplicate multipath route [ OK ] # 48.06 [+0.32] TEST: Route add with different metrics [ OK ] # 48.20 [+0.14] TEST: Route delete with metric [ OK ] # 48.20 [+0.00] # 48.20 [+0.00] IPv4 route replace tests # 48.51 [+0.31] TEST: Single path with single path [ OK ] # 48.83 [+0.32] TEST: Single path with multipath [ OK ] # 49.13 [+0.31] TEST: Single path with reject route [ OK ] # 49.45 [+0.32] TEST: Single path with single path via multipath attribute [ OK ] # 49.76 [+0.31] TEST: Invalid nexthop [ OK ] # 50.01 [+0.25] TEST: Single path - replace of non-existent route [ OK ] # 50.33 [+0.32] TEST: Multipath with multipath [ OK ] # 50.65 [+0.32] TEST: Multipath with single path [ OK ] # 50.98 [+0.33] TEST: Multipath with single path via multipath attribute [ OK ] # 51.29 [+0.31] TEST: Multipath with reject route [ OK ] # 51.58 [+0.30] TEST: Multipath - invalid first nexthop [ OK ] # 51.89 [+0.31] TEST: Multipath - invalid second nexthop [ OK ] # 52.13 [+0.24] TEST: Multipath - replace of non-existent route [ OK ] # 53.45 [+1.31] TEST: Cached route removed from VRF port device [ OK ] # 53.45 [+0.00] # 53.45 [+0.00] IPv4 route with dsfield tests # 53.57 [+0.12] TEST: Reject route with dsfield 0x01 [ OK ] # 53.63 [+0.06] TEST: Reject route with dsfield 0x02 [ OK ] # 53.70 [+0.07] TEST: Reject route with dsfield 0x03 [ OK ] # 53.91 [+0.21] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 53.97 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 54.03 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 54.09 [+0.06] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 54.14 [+0.05] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 54.19 [+0.05] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 54.25 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 54.31 [+0.05] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 54.37 [+0.06] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 54.43 [+0.05] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 54.48 [+0.05] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 54.55 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 55.75 [+1.20] # 55.75 [+0.00] IPv6 prefix route tests # 57.06 [+1.31] TEST: Default metric [ OK ] # 57.26 [+0.20] TEST: User specified metric on first device [ OK ] # 57.46 [+0.20] TEST: User specified metric on second device [ OK ] # 57.60 [+0.14] TEST: Delete of address on first device [ OK ] # 57.72 [+0.12] TEST: Modify metric of address [ OK ] # 57.94 [+0.22] TEST: Prefix route removed on link down [ OK ] # 58.08 [+0.14] TEST: Prefix route with metric on link up [ OK ] # 58.26 [+0.18] TEST: Set metric with peer route on local side [ OK ] # 58.33 [+0.07] TEST: Set metric with peer route on peer side [ OK ] # 58.47 [+0.14] TEST: Modify metric and peer address on local side [ OK ] # 58.53 [+0.06] TEST: Modify metric and peer address on peer side [ OK ] # 59.21 [+0.69] # 59.21 [+0.00] IPv4 prefix route tests # 60.48 [+1.27] TEST: Default metric [ OK ] # 60.67 [+0.18] TEST: User specified metric on first device [ OK ] # 60.85 [+0.19] TEST: User specified metric on second device [ OK ] # 60.98 [+0.13] TEST: Delete of address on first device [ OK ] # 61.12 [+0.14] TEST: Modify metric of address [ OK ] # 61.27 [+0.14] TEST: Prefix route removed on link down [ OK ] # 61.40 [+0.13] TEST: Prefix route with metric on link up [ OK ] # 61.68 [+0.28] TEST: Modify metric of .0/24 address [ OK ] # 61.87 [+0.19] TEST: Set metric of address with peer route [ OK ] # 62.00 [+0.13] TEST: Modify metric and peer address for peer route [ OK ] # 62.70 [+0.70] # 62.70 [+0.00] IPv6 routes with metrics # 65.90 [+3.20] TEST: Single path route with mtu metric [ OK ] # 66.10 [+0.20] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 66.29 [+0.19] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 66.42 [+0.13] TEST: MTU of second leg [ OK ] # 66.55 [+0.13] TEST: Multipath route with mtu metric [ OK ] # 66.70 [+0.15] TEST: Using route with mtu metric [ OK ] # 66.80 [+0.10] TEST: Invalid metric (fails metric_convert) [ OK ] # 68.02 [+1.22] # 68.02 [+0.00] IPv4 route add / append tests # 71.15 [+3.13] TEST: Single path route with mtu metric [ OK ] # 71.28 [+0.13] TEST: Multipath route with mtu metric [ OK ] # 71.43 [+0.15] TEST: Using route with mtu metric [ OK ] # 71.54 [+0.11] TEST: Invalid metric (fails metric_convert) [ OK ] # 72.80 [+1.26] # 72.80 [+0.00] IPv4 route with IPv6 gateway tests # 77.95 [+5.16] TEST: Single path route with IPv6 gateway [ OK ] # 78.12 [+0.17] TEST: Single path route with IPv6 gateway - ping [ OK ] # 78.18 [+0.06] TEST: Single path route delete [ OK ] # 78.30 [+0.12] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 78.42 [+0.12] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 78.49 [+0.06] TEST: Multipath route delete exact match [ OK ] # 78.56 [+0.07] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 78.68 [+0.12] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 78.74 [+0.06] TEST: Multipath route delete exact match [ OK ] # 80.00 [+1.27] # 80.00 [+0.00] IPv4 rp_filter tests # 84.19 [+4.19] TEST: rp_filter passes local packets [ OK ] # 84.31 [+0.12] TEST: rp_filter passes loopback packets [ OK ] # 84.86 [+0.55] # 84.86 [+0.00] IPv4 delete address route tests # 86.76 [+1.90] Regular FIB info # 86.87 [+0.11] TEST: Route removed from VRF when source address deleted [ OK ] # 86.93 [+0.06] TEST: Route in default VRF not removed [ OK ] # 87.14 [+0.21] TEST: Route removed in default VRF when source address deleted [ OK ] # 87.19 [+0.05] TEST: Route in VRF is not removed by address delete [ OK ] # 87.20 [+0.00] Identical FIB info with different table ID # 87.32 [+0.12] TEST: Route removed from VRF when source address deleted [ OK ] # 87.37 [+0.05] TEST: Route in default VRF not removed [ OK ] # 87.59 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 87.65 [+0.05] TEST: Route in VRF is not removed by address delete [ OK ] # 87.65 [+0.00] Table ID 0 # 87.77 [+0.12] TEST: Route removed in default VRF when source address deleted [ OK ] # 88.44 [+0.68] # 88.44 [+0.00] IPv6 delete address route tests # 91.82 [+3.38] Single device using src address # 91.93 [+0.11] TEST: Prefsrc removed when src address removed on other device [ OK ] # 91.93 [+0.00] Two devices with the same source address # 92.05 [+0.12] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 92.17 [+0.11] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 92.17 [+0.00] VRF with single device using src address # 92.28 [+0.11] TEST: Prefsrc removed when src address removed on other device [ OK ] # 92.28 [+0.00] VRF with two devices using src address # 92.39 [+0.11] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 92.49 [+0.10] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 92.49 [+0.00] src address and nexthop dev in same VRF # 92.62 [+0.12] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 92.67 [+0.05] TEST: Prefsrc in default VRF not removed [ OK ] # 92.90 [+0.23] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 92.96 [+0.05] TEST: Prefsrc in default VRF removed [ OK ] # 92.96 [+0.00] src address and nexthop device in different VRF # 93.08 [+0.12] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 93.14 [+0.06] TEST: Prefsrc not removed in default VRF [ OK ] # 93.31 [+0.17] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 93.38 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 93.38 [+0.00] Table ID 0 # 93.49 [+0.11] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 93.50 [+0.00] Link local source route # 93.61 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 93.74 [+0.13] TEST: Prefsrc removed when delete ll addr [ OK ] # 93.79 [+0.06] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 93.97 [+0.18] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 95.10 [+1.13] # 95.10 [+0.00] IPv4 mangling tests # 101.26 [+6.16] TEST: Connection with correct parameters [ OK ] # 101.40 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 102.26 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 103.02 [+0.76] TEST: Connection with correct parameters - no mangling [ OK ] # 103.06 [+0.04] TEST: Connection check - server side [ OK ] # 104.48 [+1.42] # 104.48 [+0.00] IPv6 mangling tests # 110.69 [+6.21] TEST: Connection with correct parameters [ OK ] # 110.82 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 111.59 [+0.76] TEST: Connection with correct parameters - mangling [ OK ] # 112.34 [+0.76] TEST: Connection with correct parameters - no mangling [ OK ] # 112.39 [+0.05] TEST: Connection check - server side [ OK ] # 113.90 [+1.51] # 113.90 [+0.00] IPv4 broadcast neighbour tests # 115.68 [+1.78] TEST: Resolved neighbour for broadcast address [ OK ] # 115.74 [+0.06] TEST: Resolved neighbour for network broadcast address [ OK ] # 115.82 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 115.88 [+0.06] TEST: Unresolved neighbour for network broadcast address [ OK ] # 117.23 [+1.35] # 117.23 [+0.00] Fib6 garbage collection test # 130.15 [+12.93] TEST: ipv6 route garbage collection [ OK ] # 143.18 [+13.02] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 156.21 [+13.04] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 169.36 [+13.15] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 183.32 [+13.96] TEST: ipv6 route garbage collection (RA message) [ OK ] # 183.87 [+0.55] # 183.87 [+0.00] IPv4 multipath list receive tests # 196.39 [+12.53] TEST: Multipath route hit ratio (1.00) [ OK ] # 197.73 [+1.34] # 197.73 [+0.00] IPv6 multipath list receive tests # 209.76 [+12.03] TEST: Multipath route hit ratio (1.00) [ OK ] # 211.06 [+1.30] # 211.06 [+0.00] Tests passed: 229 # 211.06 [+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__->