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.37 [+0.37] # 0.37 [+0.00] Single path route test # 1.28 [+0.91] Start point # 1.36 [+0.07] TEST: IPv4 fibmatch [ OK ] # 1.44 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.55 [+0.11] Nexthop device deleted # 1.64 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.71 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 2.23 [+0.52] # 2.23 [+0.00] Multipath route test # 3.97 [+1.73] Start point # 4.05 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.12 [+0.07] TEST: IPv6 fibmatch [ OK ] # 4.25 [+0.13] One nexthop device deleted # 4.33 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.41 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 4.52 [+0.11] Second nexthop device deleted # 4.59 [+0.07] TEST: IPv6 - no route [ OK ] # 5.15 [+0.55] # 5.15 [+0.00] Single path, admin down # 6.42 [+1.28] Start point # 6.50 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.58 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.66 [+0.08] Route deleted on down # 6.75 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.82 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.24 [+0.42] # 7.24 [+0.00] Admin down multipath # 8.92 [+1.68] Verify start point # 9.03 [+0.11] TEST: IPv4 fibmatch [ OK ] # 9.13 [+0.09] TEST: IPv6 fibmatch [ OK ] # 9.22 [+0.09] One device down, one up # 9.31 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 9.39 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.48 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.56 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 9.66 [+0.10] TEST: IPv4 flags on down device [ OK ] # 9.75 [+0.09] TEST: IPv6 flags on down device [ OK ] # 9.84 [+0.09] TEST: IPv4 flags on up device [ OK ] # 9.94 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.11 [+0.17] Other device down and up # 10.18 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.28 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.36 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.43 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.55 [+0.12] TEST: IPv4 flags on down device [ OK ] # 10.72 [+0.17] TEST: IPv6 flags on down device [ OK ] # 10.88 [+0.16] TEST: IPv4 flags on up device [ OK ] # 11.01 [+0.13] TEST: IPv6 flags on up device [ OK ] # 11.12 [+0.12] Both devices down # 11.25 [+0.13] TEST: IPv4 fibmatch [ OK ] # 11.36 [+0.10] TEST: IPv6 fibmatch [ OK ] # 11.93 [+0.57] # 11.93 [+0.00] Local carrier tests - single path # 13.17 [+1.24] Start point # 13.24 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.33 [+0.09] TEST: IPv6 fibmatch [ OK ] # 13.41 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 13.49 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 14.63 [+1.14] Carrier off on nexthop # 14.71 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.80 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.87 [+0.07] TEST: IPv4 - linkdown flag set [ OK ] # 14.96 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 15.11 [+0.15] Route to local address with carrier down # 15.19 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.27 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.35 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 15.44 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 15.89 [+0.45] # 15.89 [+0.00] Single path route carrier test # 17.29 [+1.40] Start point # 17.37 [+0.08] TEST: IPv4 fibmatch [ OK ] # 17.46 [+0.10] TEST: IPv6 fibmatch [ OK ] # 17.54 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 17.62 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 18.75 [+1.13] Carrier down # 18.85 [+0.10] TEST: IPv4 fibmatch [ OK ] # 18.93 [+0.09] TEST: IPv6 fibmatch [ OK ] # 19.01 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 19.09 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 19.26 [+0.17] Second address added with carrier down # 19.33 [+0.07] TEST: IPv4 fibmatch [ OK ] # 19.42 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.49 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 19.58 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 23.72 [+4.14] # 23.72 [+0.00] IPv4 nexthop tests # 23.72 [+0.00] <<< write me >>> # 23.94 [+0.22] # 23.94 [+0.00] IPv6 nexthop tests # 24.02 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 24.11 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.20 [+0.09] TEST: Gateway is linklocal address [ OK ] # 24.28 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 24.37 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 24.45 [+0.08] TEST: Gateway can not be local unicast address, with device [ OK ] # 24.56 [+0.11] TEST: Gateway can not be a local linklocal address [ OK ] # 24.66 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 24.76 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.86 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.96 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 25.05 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.14 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 25.23 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] DETECTED CRASH, lowering timeout # 26.11 [+0.88] # 26.11 [+0.00] FIB rule with suppress_prefixlength # 27.42 [+1.32] TEST: FIB rule suppress test [ OK ] # 28.52 [+1.10] # 28.52 [+0.00] Fib6 info length calculation in route notify test # 31.92 [+3.40] TEST: ipv6 route add notify [ OK ] # 33.00 [+1.09] # 33.01 [+0.00] Fib4 info length calculation in route notify test # 36.36 [+3.36] TEST: ipv4 route add notify [ OK ] # 39.52 [+3.16] # 39.52 [+0.00] IPv6 route add / append tests # 39.75 [+0.23] TEST: Attempt to add duplicate route - gw [ OK ] # 40.01 [+0.26] TEST: Attempt to add duplicate route - dev only [ OK ] # 40.25 [+0.24] TEST: Attempt to add duplicate route - reject route [ OK ] # 40.59 [+0.33] TEST: Append nexthop to existing route - gw [ OK ] # 40.87 [+0.29] TEST: Add multipath route [ OK ] # 41.18 [+0.31] TEST: Attempt to add duplicate multipath route [ OK ] # 41.53 [+0.35] TEST: Route add with different metrics [ OK ] # 41.69 [+0.16] TEST: Route delete with metric [ OK ] # 41.70 [+0.00] # 41.70 [+0.00] IPv6 route replace tests # 42.01 [+0.32] TEST: Single path with single path [ OK ] # 42.33 [+0.32] TEST: Single path with multipath [ OK ] # 42.66 [+0.33] TEST: Single path with single path via multipath attribute [ OK ] # 43.00 [+0.34] TEST: Invalid nexthop [ OK ] # 43.24 [+0.24] TEST: Single path - replace of non-existent route [ OK ] # 43.58 [+0.34] TEST: Multipath with multipath [ OK ] # 43.91 [+0.33] TEST: Multipath with single path [ OK ] # 44.22 [+0.31] TEST: Multipath with single path via multipath attribute [ OK ] # 44.54 [+0.32] TEST: Multipath with dev-only [ OK ] # 44.86 [+0.32] TEST: Multipath - invalid first nexthop [ OK ] # 45.18 [+0.32] TEST: Multipath - invalid second nexthop [ OK ] # 45.42 [+0.24] TEST: Multipath - replace of non-existent route [ OK ] # 45.42 [+0.00] # 45.42 [+0.00] IPv6 route with dsfield tests # 45.56 [+0.14] TEST: Reject route with dsfield [ OK ] # 49.96 [+4.40] # 49.96 [+0.00] IPv4 route add / append tests # 50.20 [+0.24] TEST: Attempt to add duplicate route - gw [ OK ] # 50.44 [+0.24] TEST: Attempt to add duplicate route - dev only [ OK ] # 50.68 [+0.24] TEST: Attempt to add duplicate route - reject route [ OK ] # 51.00 [+0.32] TEST: Add new nexthop for existing prefix [ OK ] # 51.29 [+0.29] TEST: Append nexthop to existing route - gw [ OK ] # 51.60 [+0.31] TEST: Append nexthop to existing route - dev only [ OK ] # 51.94 [+0.34] TEST: Append nexthop to existing route - reject route [ OK ] # 52.21 [+0.27] TEST: Append nexthop to existing reject route - gw [ OK ] # 52.55 [+0.34] TEST: Append nexthop to existing reject route - dev only [ OK ] # 52.84 [+0.29] TEST: add multipath route [ OK ] # 53.17 [+0.33] TEST: Attempt to add duplicate multipath route [ OK ] # 53.49 [+0.31] TEST: Route add with different metrics [ OK ] # 53.62 [+0.13] TEST: Route delete with metric [ OK ] # 53.62 [+0.00] # 53.62 [+0.00] IPv4 route replace tests # 53.92 [+0.30] TEST: Single path with single path [ OK ] # 54.28 [+0.36] TEST: Single path with multipath [ OK ] # 54.62 [+0.34] TEST: Single path with reject route [ OK ] # 54.99 [+0.37] TEST: Single path with single path via multipath attribute [ OK ] # 55.31 [+0.32] TEST: Invalid nexthop [ OK ] # 55.58 [+0.27] TEST: Single path - replace of non-existent route [ OK ] # 55.90 [+0.32] TEST: Multipath with multipath [ OK ] # 56.22 [+0.32] TEST: Multipath with single path [ OK ] # 56.56 [+0.34] TEST: Multipath with single path via multipath attribute [ OK ] # 56.87 [+0.31] TEST: Multipath with reject route [ OK ] # 57.22 [+0.35] TEST: Multipath - invalid first nexthop [ OK ] # 57.53 [+0.31] TEST: Multipath - invalid second nexthop [ OK ] # 57.80 [+0.26] TEST: Multipath - replace of non-existent route [ OK ] # 58.86 [+1.07] TEST: Cached route removed from VRF port device [ OK ] # 58.86 [+0.00] # 58.86 [+0.00] IPv4 route with dsfield tests # 59.00 [+0.13] TEST: Reject route with dsfield 0x01 [ OK ] # 59.08 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 59.14 [+0.07] TEST: Reject route with dsfield 0x03 [ OK ] # 59.35 [+0.20] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 59.42 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 59.48 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 59.53 [+0.05] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 59.61 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 59.68 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 59.73 [+0.05] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 59.80 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 59.87 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 59.92 [+0.05] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 59.98 [+0.06] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 60.05 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 61.36 [+1.31] # 61.36 [+0.00] IPv6 prefix route tests # 62.76 [+1.41] TEST: Default metric [ OK ] # 62.98 [+0.22] TEST: User specified metric on first device [ OK ] # 63.24 [+0.26] TEST: User specified metric on second device [ OK ] # 63.39 [+0.15] TEST: Delete of address on first device [ OK ] # 63.52 [+0.13] TEST: Modify metric of address [ OK ] # 63.78 [+0.25] TEST: Prefix route removed on link down [ OK ] # 63.92 [+0.14] TEST: Prefix route with metric on link up [ OK ] # 64.13 [+0.22] TEST: Set metric with peer route on local side [ OK ] # 64.20 [+0.06] TEST: Set metric with peer route on peer side [ OK ] # 64.33 [+0.13] TEST: Modify metric and peer address on local side [ OK ] # 64.40 [+0.07] TEST: Modify metric and peer address on peer side [ OK ] # 65.15 [+0.75] # 65.15 [+0.00] IPv4 prefix route tests # 66.59 [+1.44] TEST: Default metric [ OK ] # 66.79 [+0.20] TEST: User specified metric on first device [ OK ] # 66.98 [+0.19] TEST: User specified metric on second device [ OK ] # 67.10 [+0.12] TEST: Delete of address on first device [ OK ] # 67.23 [+0.13] TEST: Modify metric of address [ OK ] # 67.35 [+0.12] TEST: Prefix route removed on link down [ OK ] # 67.47 [+0.12] TEST: Prefix route with metric on link up [ OK ] # 67.73 [+0.26] TEST: Modify metric of .0/24 address [ OK ] # 67.93 [+0.19] TEST: Set metric of address with peer route [ OK ] # 68.05 [+0.13] TEST: Modify metric and peer address for peer route [ OK ] # 68.76 [+0.71] # 68.76 [+0.00] IPv6 routes with metrics # 71.92 [+3.15] TEST: Single path route with mtu metric [ OK ] # 72.12 [+0.20] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 72.31 [+0.19] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 72.44 [+0.13] TEST: MTU of second leg [ OK ] # 72.57 [+0.14] TEST: Multipath route with mtu metric [ OK ] # 72.74 [+0.16] TEST: Using route with mtu metric [ OK ] # 72.85 [+0.11] TEST: Invalid metric (fails metric_convert) [ OK ] # 74.05 [+1.20] # 74.05 [+0.00] IPv4 route add / append tests # 77.17 [+3.12] TEST: Single path route with mtu metric [ OK ] # 77.29 [+0.13] TEST: Multipath route with mtu metric [ OK ] # 77.45 [+0.16] TEST: Using route with mtu metric [ OK ] # 77.56 [+0.11] TEST: Invalid metric (fails metric_convert) [ OK ] # 78.72 [+1.16] # 78.72 [+0.00] IPv4 route with IPv6 gateway tests # 83.80 [+5.09] TEST: Single path route with IPv6 gateway [ OK ] # 83.96 [+0.16] TEST: Single path route with IPv6 gateway - ping [ OK ] # 84.03 [+0.06] TEST: Single path route delete [ OK ] # 84.14 [+0.11] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 84.27 [+0.13] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 84.32 [+0.06] TEST: Multipath route delete exact match [ OK ] # 84.39 [+0.07] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 84.52 [+0.13] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 84.57 [+0.06] TEST: Multipath route delete exact match [ OK ] # 85.77 [+1.20] # 85.77 [+0.00] IPv4 rp_filter tests # 89.80 [+4.03] TEST: rp_filter passes local packets [ OK ] # 89.91 [+0.10] TEST: rp_filter passes loopback packets [ OK ] # 90.45 [+0.55] # 90.46 [+0.00] IPv4 delete address route tests # 92.32 [+1.87] Regular FIB info # 92.45 [+0.12] TEST: Route removed from VRF when source address deleted [ OK ] # 92.51 [+0.06] TEST: Route in default VRF not removed [ OK ] # 92.73 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 92.78 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 92.78 [+0.00] Identical FIB info with different table ID # 92.90 [+0.12] TEST: Route removed from VRF when source address deleted [ OK ] # 92.97 [+0.07] TEST: Route in default VRF not removed [ OK ] # 93.19 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 93.25 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 93.26 [+0.00] Table ID 0 # 93.36 [+0.10] TEST: Route removed in default VRF when source address deleted [ OK ] # 94.06 [+0.70] # 94.06 [+0.00] IPv6 delete address route tests # 97.24 [+3.18] Single device using src address # 97.35 [+0.11] TEST: Prefsrc removed when src address removed on other device [ OK ] # 97.35 [+0.00] Two devices with the same source address # 97.46 [+0.11] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 97.57 [+0.11] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 97.57 [+0.00] VRF with single device using src address # 97.69 [+0.11] TEST: Prefsrc removed when src address removed on other device [ OK ] # 97.69 [+0.00] VRF with two devices using src address # 97.80 [+0.11] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 97.92 [+0.12] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 97.92 [+0.00] src address and nexthop dev in same VRF # 98.02 [+0.10] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 98.08 [+0.06] TEST: Prefsrc in default VRF not removed [ OK ] # 98.31 [+0.23] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 98.37 [+0.06] TEST: Prefsrc in default VRF removed [ OK ] # 98.37 [+0.00] src address and nexthop device in different VRF # 98.50 [+0.13] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 98.56 [+0.06] TEST: Prefsrc not removed in default VRF [ OK ] # 98.74 [+0.18] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 98.79 [+0.05] TEST: Prefsrc removed in default VRF [ OK ] # 98.79 [+0.00] Table ID 0 # 98.91 [+0.12] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 98.92 [+0.00] Link local source route # 99.03 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 99.14 [+0.11] TEST: Prefsrc removed when delete ll addr [ OK ] # 99.20 [+0.06] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 99.36 [+0.16] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 100.43 [+1.06] # 100.43 [+0.00] IPv4 mangling tests # 106.58 [+6.15] TEST: Connection with correct parameters [ OK ] # 106.73 [+0.15] TEST: Connection with incorrect parameters [ OK ] # 107.62 [+0.89] TEST: Connection with correct parameters - mangling [ OK ] # 108.37 [+0.74] TEST: Connection with correct parameters - no mangling [ OK ] # 108.42 [+0.05] TEST: Connection check - server side [ OK ] # 109.98 [+1.56] # 109.98 [+0.00] IPv6 mangling tests # 116.07 [+6.09] TEST: Connection with correct parameters [ OK ] # 116.23 [+0.16] TEST: Connection with incorrect parameters [ OK ] # 116.98 [+0.74] TEST: Connection with correct parameters - mangling [ OK ] # 117.73 [+0.75] TEST: Connection with correct parameters - no mangling [ OK ] # 117.79 [+0.06] TEST: Connection check - server side [ OK ] # 119.18 [+1.39] # 119.18 [+0.00] IPv4 broadcast neighbour tests # 120.85 [+1.67] TEST: Resolved neighbour for broadcast address [ OK ] # 120.91 [+0.06] TEST: Resolved neighbour for network broadcast address [ OK ] # 120.98 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 121.05 [+0.06] TEST: Unresolved neighbour for network broadcast address [ OK ] # 122.38 [+1.34] # 122.38 [+0.00] Fib6 garbage collection test # 135.23 [+12.85] TEST: ipv6 route garbage collection [ OK ] # 148.30 [+13.07] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 161.35 [+13.05] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 174.42 [+13.07] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 188.33 [+13.91] TEST: ipv6 route garbage collection (RA message) [ OK ] # 188.90 [+0.57] # 188.90 [+0.00] IPv4 multipath list receive tests # 200.78 [+11.88] TEST: Multipath route hit ratio (.99) [ OK ] # 202.04 [+1.26] # 202.04 [+0.00] IPv6 multipath list receive tests # 213.70 [+11.66] TEST: Multipath route hit ratio (1.00) [ OK ] # 215.00 [+1.31] # 215.00 [+0.00] Tests passed: 229 # 215.00 [+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__->