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.34 [+0.34] # 0.34 [+0.00] Single path route test # 1.20 [+0.85] Start point # 1.27 [+0.07] TEST: IPv4 fibmatch [ OK ] # 1.35 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.47 [+0.12] Nexthop device deleted # 1.54 [+0.07] TEST: IPv4 fibmatch - no route [ OK ] # 1.62 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.12 [+0.50] # 2.12 [+0.00] Multipath route test # 3.61 [+1.49] Start point # 3.68 [+0.07] TEST: IPv4 fibmatch [ OK ] # 3.76 [+0.08] TEST: IPv6 fibmatch [ OK ] # 3.88 [+0.12] One nexthop device deleted # 3.96 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.03 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.15 [+0.12] Second nexthop device deleted # 4.23 [+0.08] TEST: IPv6 - no route [ OK ] DETECTED CRASH, lowering timeout # 4.70 [+0.47] # 4.70 [+0.00] Single path, admin down # 5.45 [+0.75] Start point # 5.50 [+0.06] TEST: IPv4 fibmatch [ OK ] # 5.57 [+0.06] TEST: IPv6 fibmatch [ OK ] # 5.62 [+0.05] Route deleted on down # 5.67 [+0.05] TEST: IPv4 fibmatch [ OK ] # 5.72 [+0.06] TEST: IPv6 fibmatch [ OK ] # 6.02 [+0.30] # 6.02 [+0.00] Admin down multipath # 7.09 [+1.07] Verify start point # 7.14 [+0.05] TEST: IPv4 fibmatch [ OK ] # 7.20 [+0.06] TEST: IPv6 fibmatch [ OK ] # 7.25 [+0.05] One device down, one up # 7.32 [+0.06] TEST: IPv4 fibmatch on down device [ OK ] # 7.37 [+0.05] TEST: IPv6 fibmatch on down device [ OK ] # 7.43 [+0.06] TEST: IPv4 fibmatch on up device [ OK ] # 7.48 [+0.06] TEST: IPv6 fibmatch on up device [ OK ] # 7.55 [+0.07] TEST: IPv4 flags on down device [ OK ] # 7.61 [+0.06] TEST: IPv6 flags on down device [ OK ] # 7.68 [+0.07] TEST: IPv4 flags on up device [ OK ] # 7.74 [+0.06] TEST: IPv6 flags on up device [ OK ] # 7.86 [+0.11] Other device down and up # 7.91 [+0.05] TEST: IPv4 fibmatch on down device [ OK ] # 7.96 [+0.05] TEST: IPv6 fibmatch on down device [ OK ] # 8.02 [+0.06] TEST: IPv4 fibmatch on up device [ OK ] # 8.07 [+0.05] TEST: IPv6 fibmatch on up device [ OK ] # 8.14 [+0.07] TEST: IPv4 flags on down device [ OK ] # 8.20 [+0.06] TEST: IPv6 flags on down device [ OK ] # 8.25 [+0.05] TEST: IPv4 flags on up device [ OK ] # 8.32 [+0.07] TEST: IPv6 flags on up device [ OK ] # 8.38 [+0.05] Both devices down # 8.43 [+0.05] TEST: IPv4 fibmatch [ OK ] # 8.48 [+0.06] TEST: IPv6 fibmatch [ OK ] # 8.88 [+0.40] # 8.88 [+0.00] Local carrier tests - single path # 9.71 [+0.83] Start point # 9.77 [+0.06] TEST: IPv4 fibmatch [ OK ] # 9.82 [+0.06] TEST: IPv6 fibmatch [ OK ] # 9.88 [+0.05] TEST: IPv4 - no linkdown flag [ OK ] # 9.94 [+0.07] TEST: IPv6 - no linkdown flag [ OK ] # 11.02 [+1.08] Carrier off on nexthop # 11.09 [+0.07] TEST: IPv4 fibmatch [ OK ] # 11.15 [+0.06] TEST: IPv6 fibmatch [ OK ] # 11.21 [+0.06] TEST: IPv4 - linkdown flag set [ OK ] # 11.27 [+0.06] TEST: IPv6 - linkdown flag set [ OK ] # 11.38 [+0.11] Route to local address with carrier down # 11.43 [+0.05] TEST: IPv4 fibmatch [ OK ] # 11.50 [+0.06] TEST: IPv6 fibmatch [ OK ] # 11.55 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 11.61 [+0.05] TEST: IPv6 linkdown flag set [ OK ] # 11.91 [+0.30] # 11.91 [+0.00] Single path route carrier test # 12.71 [+0.80] Start point # 12.77 [+0.06] TEST: IPv4 fibmatch [ OK ] # 12.81 [+0.05] TEST: IPv6 fibmatch [ OK ] # 12.87 [+0.06] TEST: IPv4 no linkdown flag [ OK ] # 12.92 [+0.05] TEST: IPv6 no linkdown flag [ OK ] # 14.01 [+1.10] Carrier down # 14.08 [+0.06] TEST: IPv4 fibmatch [ OK ] # 14.13 [+0.05] TEST: IPv6 fibmatch [ OK ] # 14.19 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 14.25 [+0.05] TEST: IPv6 linkdown flag set [ OK ] # 14.35 [+0.10] Second address added with carrier down # 14.41 [+0.05] TEST: IPv4 fibmatch [ OK ] # 14.46 [+0.05] TEST: IPv6 fibmatch [ OK ] # 14.51 [+0.05] TEST: IPv4 linkdown flag set [ OK ] # 14.56 [+0.05] TEST: IPv6 linkdown flag set [ OK ] # 17.72 [+3.16] # 17.72 [+0.00] IPv4 nexthop tests # 17.72 [+0.00] <<< write me >>> # 17.88 [+0.15] # 17.88 [+0.00] IPv6 nexthop tests # 17.95 [+0.07] TEST: Directly connected nexthop, unicast address [ OK ] # 18.01 [+0.06] TEST: Directly connected nexthop, unicast address with device [ OK ] # 18.07 [+0.07] TEST: Gateway is linklocal address [ OK ] # 18.13 [+0.06] TEST: Gateway is linklocal address, no device [ OK ] # 18.19 [+0.07] TEST: Gateway can not be local unicast address [ OK ] # 18.26 [+0.06] TEST: Gateway can not be local unicast address, with device [ OK ] # 18.33 [+0.07] TEST: Gateway can not be a local linklocal address [ OK ] # 18.39 [+0.06] TEST: Gateway can be local address in a VRF [ OK ] # 18.46 [+0.07] TEST: Gateway can be local address in a VRF, with device [ OK ] # 18.52 [+0.06] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 18.58 [+0.06] TEST: Redirect to VRF lookup [ OK ] # 18.65 [+0.07] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 18.71 [+0.07] TEST: VRF route, gateway can not be a local address [ OK ] # 18.78 [+0.07] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 19.49 [+0.71] # 19.49 [+0.00] FIB rule with suppress_prefixlength # 20.65 [+1.16] TEST: FIB rule suppress test [ OK ] # 21.72 [+1.07] # 21.72 [+0.00] Fib6 info length calculation in route notify test # 25.06 [+3.33] TEST: ipv6 route add notify [ OK ] # 26.13 [+1.08] # 26.13 [+0.00] Fib4 info length calculation in route notify test # 29.45 [+3.31] TEST: ipv4 route add notify [ OK ] # 32.35 [+2.90] # 32.35 [+0.00] IPv6 route add / append tests # 32.59 [+0.24] TEST: Attempt to add duplicate route - gw [ OK ] # 32.83 [+0.23] TEST: Attempt to add duplicate route - dev only [ OK ] # 33.07 [+0.24] TEST: Attempt to add duplicate route - reject route [ OK ] # 33.38 [+0.31] TEST: Append nexthop to existing route - gw [ OK ] # 33.63 [+0.25] TEST: Add multipath route [ OK ] # 33.87 [+0.24] TEST: Attempt to add duplicate multipath route [ OK ] # 34.17 [+0.30] TEST: Route add with different metrics [ OK ] # 34.30 [+0.13] TEST: Route delete with metric [ OK ] # 34.30 [+0.00] # 34.30 [+0.00] IPv6 route replace tests # 34.60 [+0.30] TEST: Single path with single path [ OK ] # 34.91 [+0.31] TEST: Single path with multipath [ OK ] # 35.20 [+0.29] TEST: Single path with single path via multipath attribute [ OK ] # 35.51 [+0.31] TEST: Invalid nexthop [ OK ] # 35.75 [+0.25] TEST: Single path - replace of non-existent route [ OK ] # 36.07 [+0.31] TEST: Multipath with multipath [ OK ] # 36.37 [+0.30] TEST: Multipath with single path [ OK ] # 36.67 [+0.31] TEST: Multipath with single path via multipath attribute [ OK ] # 36.97 [+0.29] TEST: Multipath with dev-only [ OK ] # 37.27 [+0.30] TEST: Multipath - invalid first nexthop [ OK ] # 37.58 [+0.31] TEST: Multipath - invalid second nexthop [ OK ] # 37.82 [+0.24] TEST: Multipath - replace of non-existent route [ OK ] # 37.82 [+0.00] # 37.82 [+0.00] IPv6 route with dsfield tests # 37.93 [+0.11] TEST: Reject route with dsfield [ OK ] # 41.94 [+4.01] # 41.94 [+0.00] IPv4 route add / append tests # 42.17 [+0.23] TEST: Attempt to add duplicate route - gw [ OK ] # 42.42 [+0.24] TEST: Attempt to add duplicate route - dev only [ OK ] # 42.67 [+0.25] TEST: Attempt to add duplicate route - reject route [ OK ] # 42.96 [+0.29] TEST: Add new nexthop for existing prefix [ OK ] # 43.25 [+0.29] TEST: Append nexthop to existing route - gw [ OK ] # 43.54 [+0.28] TEST: Append nexthop to existing route - dev only [ OK ] # 43.84 [+0.30] TEST: Append nexthop to existing route - reject route [ OK ] # 44.08 [+0.24] TEST: Append nexthop to existing reject route - gw [ OK ] # 44.33 [+0.25] TEST: Append nexthop to existing reject route - dev only [ OK ] # 44.56 [+0.23] TEST: add multipath route [ OK ] # 44.79 [+0.23] TEST: Attempt to add duplicate multipath route [ OK ] # 45.10 [+0.30] TEST: Route add with different metrics [ OK ] # 45.22 [+0.12] TEST: Route delete with metric [ OK ] # 45.22 [+0.00] # 45.22 [+0.00] IPv4 route replace tests # 45.51 [+0.29] TEST: Single path with single path [ OK ] # 45.81 [+0.30] TEST: Single path with multipath [ OK ] # 46.11 [+0.30] TEST: Single path with reject route [ OK ] # 46.40 [+0.28] TEST: Single path with single path via multipath attribute [ OK ] # 46.70 [+0.30] TEST: Invalid nexthop [ OK ] # 46.94 [+0.24] TEST: Single path - replace of non-existent route [ OK ] # 47.24 [+0.30] TEST: Multipath with multipath [ OK ] # 47.52 [+0.29] TEST: Multipath with single path [ OK ] # 47.82 [+0.30] TEST: Multipath with single path via multipath attribute [ OK ] # 48.12 [+0.30] TEST: Multipath with reject route [ OK ] # 48.41 [+0.29] TEST: Multipath - invalid first nexthop [ OK ] # 48.70 [+0.29] TEST: Multipath - invalid second nexthop [ OK ] # 48.94 [+0.24] TEST: Multipath - replace of non-existent route [ OK ] # 49.88 [+0.94] TEST: Cached route removed from VRF port device [ OK ] # 49.89 [+0.00] # 49.89 [+0.00] IPv4 route with dsfield tests # 50.01 [+0.12] TEST: Reject route with dsfield 0x01 [ OK ] # 50.07 [+0.06] TEST: Reject route with dsfield 0x02 [ OK ] # 50.13 [+0.06] TEST: Reject route with dsfield 0x03 [ OK ] # 50.31 [+0.18] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 50.36 [+0.04] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 50.41 [+0.05] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 50.47 [+0.06] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 50.52 [+0.05] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 50.57 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 50.64 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 50.69 [+0.05] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 50.74 [+0.05] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 50.80 [+0.06] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 50.86 [+0.05] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 50.91 [+0.05] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 52.08 [+1.17] # 52.08 [+0.00] IPv6 prefix route tests # 53.32 [+1.24] TEST: Default metric [ OK ] # 53.52 [+0.20] TEST: User specified metric on first device [ OK ] # 53.75 [+0.23] TEST: User specified metric on second device [ OK ] # 53.89 [+0.15] TEST: Delete of address on first device [ OK ] # 54.05 [+0.16] TEST: Modify metric of address [ OK ] # 54.35 [+0.30] TEST: Prefix route removed on link down [ OK ] # 54.49 [+0.14] TEST: Prefix route with metric on link up [ OK ] # 54.69 [+0.20] TEST: Set metric with peer route on local side [ OK ] # 54.76 [+0.07] TEST: Set metric with peer route on peer side [ OK ] # 54.89 [+0.12] TEST: Modify metric and peer address on local side [ OK ] # 54.94 [+0.06] TEST: Modify metric and peer address on peer side [ OK ] # 55.61 [+0.67] # 55.61 [+0.00] IPv4 prefix route tests # 56.79 [+1.18] TEST: Default metric [ OK ] # 56.97 [+0.18] TEST: User specified metric on first device [ OK ] # 57.14 [+0.17] TEST: User specified metric on second device [ OK ] # 57.27 [+0.12] TEST: Delete of address on first device [ OK ] # 57.39 [+0.13] TEST: Modify metric of address [ OK ] # 57.50 [+0.11] TEST: Prefix route removed on link down [ OK ] # 57.62 [+0.12] TEST: Prefix route with metric on link up [ OK ] # 57.86 [+0.24] TEST: Modify metric of .0/24 address [ OK ] # 58.04 [+0.18] TEST: Set metric of address with peer route [ OK ] # 58.16 [+0.12] TEST: Modify metric and peer address for peer route [ OK ] # 58.84 [+0.68] # 58.84 [+0.00] IPv6 routes with metrics # 61.82 [+2.98] TEST: Single path route with mtu metric [ OK ] # 62.01 [+0.19] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 62.20 [+0.18] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 62.33 [+0.13] TEST: MTU of second leg [ OK ] # 62.46 [+0.13] TEST: Multipath route with mtu metric [ OK ] # 62.60 [+0.14] TEST: Using route with mtu metric [ OK ] # 62.71 [+0.11] TEST: Invalid metric (fails metric_convert) [ OK ] # 63.90 [+1.19] # 63.90 [+0.00] IPv4 route add / append tests # 66.86 [+2.97] TEST: Single path route with mtu metric [ OK ] # 66.99 [+0.12] TEST: Multipath route with mtu metric [ OK ] # 67.13 [+0.14] TEST: Using route with mtu metric [ OK ] # 67.23 [+0.11] TEST: Invalid metric (fails metric_convert) [ OK ] # 68.31 [+1.08] # 68.31 [+0.00] IPv4 route with IPv6 gateway tests # 73.27 [+4.96] TEST: Single path route with IPv6 gateway [ OK ] # 73.42 [+0.15] TEST: Single path route with IPv6 gateway - ping [ OK ] # 73.48 [+0.06] TEST: Single path route delete [ OK ] # 73.60 [+0.12] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 73.72 [+0.12] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 73.78 [+0.06] TEST: Multipath route delete exact match [ OK ] # 73.83 [+0.05] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 73.95 [+0.12] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 74.02 [+0.07] TEST: Multipath route delete exact match [ OK ] # 75.19 [+1.17] # 75.19 [+0.00] IPv4 rp_filter tests # 79.10 [+3.90] TEST: rp_filter passes local packets [ OK ] # 79.19 [+0.09] TEST: rp_filter passes loopback packets [ OK ] # 79.71 [+0.52] # 79.71 [+0.00] IPv4 delete address route tests # 81.54 [+1.84] Regular FIB info # 81.65 [+0.10] TEST: Route removed from VRF when source address deleted [ OK ] # 81.71 [+0.06] TEST: Route in default VRF not removed [ OK ] # 81.92 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 81.97 [+0.05] TEST: Route in VRF is not removed by address delete [ OK ] # 81.97 [+0.00] Identical FIB info with different table ID # 82.09 [+0.11] TEST: Route removed from VRF when source address deleted [ OK ] # 82.14 [+0.05] TEST: Route in default VRF not removed [ OK ] # 82.36 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 82.42 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 82.42 [+0.00] Table ID 0 # 82.54 [+0.12] TEST: Route removed in default VRF when source address deleted [ OK ] # 83.21 [+0.68] # 83.21 [+0.00] IPv6 delete address route tests # 86.32 [+3.10] Single device using src address # 86.42 [+0.10] TEST: Prefsrc removed when src address removed on other device [ OK ] # 86.42 [+0.00] Two devices with the same source address # 86.55 [+0.12] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 86.66 [+0.11] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 86.66 [+0.00] VRF with single device using src address # 86.77 [+0.12] TEST: Prefsrc removed when src address removed on other device [ OK ] # 86.78 [+0.00] VRF with two devices using src address # 86.89 [+0.11] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 87.00 [+0.11] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 87.01 [+0.00] src address and nexthop dev in same VRF # 87.12 [+0.11] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 87.17 [+0.06] TEST: Prefsrc in default VRF not removed [ OK ] # 87.38 [+0.21] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 87.44 [+0.06] TEST: Prefsrc in default VRF removed [ OK ] # 87.44 [+0.00] src address and nexthop device in different VRF # 87.55 [+0.10] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 87.60 [+0.06] TEST: Prefsrc not removed in default VRF [ OK ] # 87.78 [+0.17] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 87.83 [+0.06] TEST: Prefsrc removed in default VRF [ OK ] # 87.84 [+0.00] Table ID 0 # 87.94 [+0.10] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 87.94 [+0.00] Link local source route # 88.04 [+0.10] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 88.15 [+0.10] TEST: Prefsrc removed when delete ll addr [ OK ] # 88.20 [+0.06] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 88.38 [+0.18] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 89.45 [+1.07] # 89.45 [+0.00] IPv4 mangling tests # 95.45 [+6.00] TEST: Connection with correct parameters [ OK ] # 95.57 [+0.12] TEST: Connection with incorrect parameters [ OK ] # 96.41 [+0.84] TEST: Connection with correct parameters - mangling [ OK ] # 97.15 [+0.74] TEST: Connection with correct parameters - no mangling [ OK ] # 97.20 [+0.05] TEST: Connection check - server side [ OK ] # 98.57 [+1.37] # 98.57 [+0.00] IPv6 mangling tests # 104.41 [+5.84] TEST: Connection with correct parameters [ OK ] # 104.54 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 105.29 [+0.75] TEST: Connection with correct parameters - mangling [ OK ] # 106.02 [+0.73] TEST: Connection with correct parameters - no mangling [ OK ] # 106.07 [+0.05] TEST: Connection check - server side [ OK ] # 107.42 [+1.35] # 107.42 [+0.00] IPv4 broadcast neighbour tests # 108.87 [+1.45] TEST: Resolved neighbour for broadcast address [ OK ] # 108.93 [+0.06] TEST: Resolved neighbour for network broadcast address [ OK ] # 108.99 [+0.06] TEST: Unresolved neighbour for broadcast address [ OK ] # 109.06 [+0.06] TEST: Unresolved neighbour for network broadcast address [ OK ] # 110.29 [+1.23] # 110.29 [+0.00] Fib6 garbage collection test # 123.08 [+12.79] TEST: ipv6 route garbage collection [ OK ] # 136.05 [+12.96] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 149.00 [+12.96] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 162.04 [+13.04] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 175.92 [+13.88] TEST: ipv6 route garbage collection (RA message) [ OK ] # 176.41 [+0.49] # 176.41 [+0.00] IPv4 multipath list receive tests # 187.89 [+11.48] TEST: Multipath route hit ratio (1.00) [ OK ] # 189.18 [+1.29] # 189.18 [+0.00] IPv6 multipath list receive tests # 200.81 [+11.63] TEST: Multipath route hit ratio (1.00) [ OK ] # 202.05 [+1.23] # 202.05 [+0.00] Tests passed: 229 # 202.05 [+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__->