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.52 [+0.52] # 0.52 [+0.00] Single path route test # 1.40 [+0.88] Start point # 1.50 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.58 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.71 [+0.13] Nexthop device deleted # 1.79 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.88 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.43 [+0.55] # 2.43 [+0.00] Multipath route test # 4.11 [+1.68] Start point # 4.19 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.27 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.39 [+0.12] One nexthop device deleted # 4.47 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.55 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.69 [+0.14] Second nexthop device deleted # 4.77 [+0.08] TEST: IPv6 - no route [ OK ] # 5.29 [+0.53] # 5.29 [+0.00] Single path, admin down # 6.41 [+1.12] Start point # 6.49 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.58 [+0.09] TEST: IPv6 fibmatch [ OK ] # 6.67 [+0.09] Route deleted on down # 6.73 [+0.07] TEST: IPv4 fibmatch [ OK ] # 6.82 [+0.09] TEST: IPv6 fibmatch [ OK ] # 7.24 [+0.42] # 7.24 [+0.00] Admin down multipath # 8.88 [+1.64] Verify start point # 8.96 [+0.08] TEST: IPv4 fibmatch [ OK ] # 9.05 [+0.09] TEST: IPv6 fibmatch [ OK ] # 9.13 [+0.08] One device down, one up # 9.21 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.29 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.37 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.46 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 9.55 [+0.10] TEST: IPv4 flags on down device [ OK ] # 9.64 [+0.09] TEST: IPv6 flags on down device [ OK ] # 9.76 [+0.12] TEST: IPv4 flags on up device [ OK ] # 9.86 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.04 [+0.18] Other device down and up # 10.12 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.21 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.29 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.38 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 10.48 [+0.09] TEST: IPv4 flags on down device [ OK ] # 10.57 [+0.09] TEST: IPv6 flags on down device [ OK ] # 10.67 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.75 [+0.09] TEST: IPv6 flags on up device [ OK ] # 10.84 [+0.09] Both devices down # 10.92 [+0.08] TEST: IPv4 fibmatch [ OK ] # 11.00 [+0.09] TEST: IPv6 fibmatch [ OK ] # 11.57 [+0.56] # 11.57 [+0.00] Local carrier tests - single path # 12.78 [+1.21] Start point # 12.86 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.95 [+0.09] TEST: IPv6 fibmatch [ OK ] # 13.04 [+0.09] TEST: IPv4 - no linkdown flag [ OK ] # 13.13 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 14.25 [+1.12] Carrier off on nexthop # 14.34 [+0.09] TEST: IPv4 fibmatch [ OK ] # 14.42 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.53 [+0.11] TEST: IPv4 - linkdown flag set [ OK ] # 14.64 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 14.80 [+0.16] Route to local address with carrier down # 14.88 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.96 [+0.09] TEST: IPv6 fibmatch [ OK ] # 15.04 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 15.12 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 15.54 [+0.42] # 15.54 [+0.00] Single path route carrier test # 16.76 [+1.22] Start point # 16.86 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.94 [+0.08] TEST: IPv6 fibmatch [ OK ] # 17.05 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 17.15 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 18.29 [+1.14] Carrier down # 18.38 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.47 [+0.09] TEST: IPv6 fibmatch [ OK ] # 18.57 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 18.65 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 18.81 [+0.17] Second address added with carrier down # 18.89 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.97 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.07 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 19.14 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 23.37 [+4.23] # 23.37 [+0.00] IPv4 nexthop tests # 23.37 [+0.00] <<< write me >>> # 23.62 [+0.24] # 23.62 [+0.00] IPv6 nexthop tests # 23.71 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 23.79 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.88 [+0.09] TEST: Gateway is linklocal address [ OK ] # 23.97 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 24.06 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 24.17 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 24.25 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 24.35 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 24.44 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.54 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.63 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 24.72 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.81 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 24.91 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 25.84 [+0.93] # 25.84 [+0.00] FIB rule with suppress_prefixlength # 27.55 [+1.71] TEST: FIB rule suppress test [ OK ] # 29.12 [+1.57] # 29.12 [+0.00] Fib6 info length calculation in route notify test # 33.04 [+3.92] TEST: ipv6 route add notify [ OK ] # 34.65 [+1.61] # 34.65 [+0.00] Fib4 info length calculation in route notify test # 38.60 [+3.95] TEST: ipv4 route add notify [ OK ] # 42.90 [+4.30] # 42.90 [+0.00] IPv6 route add / append tests # 43.24 [+0.34] TEST: Attempt to add duplicate route - gw [ OK ] # 43.60 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 43.98 [+0.38] TEST: Attempt to add duplicate route - reject route [ OK ] # 44.50 [+0.52] TEST: Append nexthop to existing route - gw [ OK ] # 44.90 [+0.39] TEST: Add multipath route [ OK ] # 45.26 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 45.75 [+0.49] TEST: Route add with different metrics [ OK ] # 45.99 [+0.24] TEST: Route delete with metric [ OK ] # 46.00 [+0.00] # 46.00 [+0.00] IPv6 route replace tests # 46.43 [+0.43] TEST: Single path with single path [ OK ] # 46.88 [+0.45] TEST: Single path with multipath [ OK ] # 47.32 [+0.45] TEST: Single path with single path via multipath attribute [ OK ] # 47.78 [+0.46] TEST: Invalid nexthop [ OK ] # 48.15 [+0.37] TEST: Single path - replace of non-existent route [ OK ] # 48.61 [+0.46] TEST: Multipath with multipath [ OK ] # 49.07 [+0.46] TEST: Multipath with single path [ OK ] # 49.53 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 49.98 [+0.45] TEST: Multipath with dev-only [ OK ] # 50.45 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 50.91 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 51.28 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 51.28 [+0.00] # 51.28 [+0.00] IPv6 route with dsfield tests # 51.46 [+0.18] TEST: Reject route with dsfield [ OK ] DETECTED CRASH, lowering timeout # 57.51 [+6.04] # 57.51 [+0.00] IPv4 route add / append tests # 57.85 [+0.34] TEST: Attempt to add duplicate route - gw [ OK ] # 58.21 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 58.56 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 59.04 [+0.48] TEST: Add new nexthop for existing prefix [ OK ] # 59.47 [+0.43] TEST: Append nexthop to existing route - gw [ OK ] # 59.92 [+0.45] TEST: Append nexthop to existing route - dev only [ OK ] # 60.37 [+0.45] TEST: Append nexthop to existing route - reject route [ OK ] # 60.73 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 61.09 [+0.36] TEST: Append nexthop to existing reject route - dev only [ OK ] # 61.45 [+0.36] TEST: add multipath route [ OK ] # 61.80 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 62.25 [+0.44] TEST: Route add with different metrics [ OK ] # 62.44 [+0.20] TEST: Route delete with metric [ OK ] # 62.45 [+0.00] # 62.45 [+0.00] IPv4 route replace tests # 62.88 [+0.44] TEST: Single path with single path [ OK ] # 63.33 [+0.45] TEST: Single path with multipath [ OK ] # 63.77 [+0.43] TEST: Single path with reject route [ OK ] # 64.21 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 64.67 [+0.46] TEST: Invalid nexthop [ OK ] # 65.02 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 65.46 [+0.43] TEST: Multipath with multipath [ OK ] # 65.88 [+0.42] TEST: Multipath with single path [ OK ] # 66.31 [+0.43] TEST: Multipath with single path via multipath attribute [ OK ] # 66.73 [+0.42] TEST: Multipath with reject route [ OK ] # 67.16 [+0.43] TEST: Multipath - invalid first nexthop [ OK ] # 67.61 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 67.97 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 69.36 [+1.39] TEST: Cached route removed from VRF port device [ OK ] # 69.36 [+0.00] # 69.36 [+0.00] IPv4 route with dsfield tests # 69.54 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 69.63 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 69.72 [+0.08] TEST: Reject route with dsfield 0x03 [ OK ] # 69.98 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 70.07 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 70.16 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 70.24 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 70.31 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 70.39 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 70.49 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 70.57 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 70.66 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 70.75 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 70.83 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 70.92 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 72.59 [+1.67] # 72.59 [+0.00] IPv6 prefix route tests # 74.39 [+1.81] TEST: Default metric [ OK ] # 74.67 [+0.28] TEST: User specified metric on first device [ OK ] # 74.96 [+0.28] TEST: User specified metric on second device [ OK ] # 75.15 [+0.19] TEST: Delete of address on first device [ OK ] # 75.34 [+0.19] TEST: Modify metric of address [ OK ] # 75.63 [+0.29] TEST: Prefix route removed on link down [ OK ] # 75.81 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 76.09 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 76.19 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 76.36 [+0.17] TEST: Modify metric and peer address on local side [ OK ] # 76.46 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 77.38 [+0.92] # 77.38 [+0.00] IPv4 prefix route tests # 79.18 [+1.80] TEST: Default metric [ OK ] # 79.44 [+0.27] TEST: User specified metric on first device [ OK ] # 79.71 [+0.27] TEST: User specified metric on second device [ OK ] # 79.90 [+0.19] TEST: Delete of address on first device [ OK ] # 80.08 [+0.18] TEST: Modify metric of address [ OK ] # 80.25 [+0.17] TEST: Prefix route removed on link down [ OK ] # 80.42 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 80.81 [+0.39] TEST: Modify metric of .0/24 address [ OK ] # 81.13 [+0.33] TEST: Set metric of address with peer route [ OK ] # 81.33 [+0.20] TEST: Modify metric and peer address for peer route [ OK ] # 82.39 [+1.05] # 82.39 [+0.00] IPv6 routes with metrics # 86.69 [+4.31] TEST: Single path route with mtu metric [ OK ] # 86.96 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 87.24 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 87.42 [+0.17] TEST: MTU of second leg [ OK ] # 87.61 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 87.83 [+0.22] TEST: Using route with mtu metric [ OK ] # 87.99 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 89.65 [+1.66] # 89.65 [+0.00] IPv4 route add / append tests # 94.08 [+4.43] TEST: Single path route with mtu metric [ OK ] # 94.26 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 94.48 [+0.22] TEST: Using route with mtu metric [ OK ] # 94.65 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 96.36 [+1.71] # 96.36 [+0.00] IPv4 route with IPv6 gateway tests # 102.73 [+6.38] TEST: Single path route with IPv6 gateway [ OK ] # 102.95 [+0.22] TEST: Single path route with IPv6 gateway - ping [ OK ] # 103.05 [+0.09] TEST: Single path route delete [ OK ] # 103.22 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 103.40 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 103.49 [+0.08] TEST: Multipath route delete exact match [ OK ] # 103.57 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 103.75 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 103.84 [+0.09] TEST: Multipath route delete exact match [ OK ] # 105.52 [+1.68] # 105.52 [+0.00] IPv4 rp_filter tests # 111.38 [+5.85] TEST: rp_filter passes local packets [ OK ] # 111.51 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 112.29 [+0.78] # 112.29 [+0.00] IPv4 delete address route tests # 114.98 [+2.69] Regular FIB info # 115.14 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 115.23 [+0.09] TEST: Route in default VRF not removed [ OK ] # 115.55 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 115.63 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 115.64 [+0.00] Identical FIB info with different table ID # 115.79 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 115.86 [+0.07] TEST: Route in default VRF not removed [ OK ] # 116.19 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 116.28 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 116.28 [+0.00] Table ID 0 # 116.44 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 117.40 [+0.96] # 117.40 [+0.00] IPv6 delete address route tests # 121.85 [+4.45] Single device using src address # 122.02 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 122.02 [+0.00] Two devices with the same source address # 122.18 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 122.36 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 122.36 [+0.00] VRF with single device using src address # 122.54 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 122.54 [+0.00] VRF with two devices using src address # 122.68 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 122.85 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 122.86 [+0.00] src address and nexthop dev in same VRF # 123.02 [+0.16] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 123.10 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 123.43 [+0.33] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 123.51 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 123.51 [+0.00] src address and nexthop device in different VRF # 123.68 [+0.17] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 123.75 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 124.00 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 124.07 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 124.08 [+0.00] Table ID 0 # 124.23 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 124.23 [+0.00] Link local source route # 124.39 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 124.55 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 124.63 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 124.87 [+0.24] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 126.30 [+1.43] # 126.30 [+0.00] IPv4 mangling tests # 133.74 [+7.44] TEST: Connection with correct parameters [ OK ] # 133.91 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 134.92 [+1.00] TEST: Connection with correct parameters - mangling [ OK ] # 135.79 [+0.87] TEST: Connection with correct parameters - no mangling [ OK ] # 135.84 [+0.05] TEST: Connection check - server side [ OK ] # 137.83 [+1.99] # 137.83 [+0.00] IPv6 mangling tests # 145.21 [+7.38] TEST: Connection with correct parameters [ OK ] # 145.41 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 146.26 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 147.12 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 147.18 [+0.05] TEST: Connection check - server side [ OK ] # 149.09 [+1.91] # 149.09 [+0.00] IPv4 broadcast neighbour tests # 151.22 [+2.14] TEST: Resolved neighbour for broadcast address [ OK ] # 151.32 [+0.10] TEST: Resolved neighbour for network broadcast address [ OK ] # 151.40 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 151.49 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 153.34 [+1.85] # 153.35 [+0.00] Fib6 garbage collection test # 166.53 [+13.19] TEST: ipv6 route garbage collection [ OK ] # 179.96 [+13.43] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 193.43 [+13.47] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 207.16 [+13.73] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 221.49 [+14.33] TEST: ipv6 route garbage collection (RA message) [ OK ] # 222.30 [+0.81] # 222.30 [+0.00] IPv4 multipath list receive tests # 238.92 [+16.61] TEST: Multipath route hit ratio (1.00) [ OK ] # 240.78 [+1.86] # 240.78 [+0.00] IPv6 multipath list receive tests # 257.24 [+16.46] TEST: Multipath route hit ratio (1.00) [ OK ] # 259.03 [+1.79] # 259.03 [+0.00] Tests passed: 229 # 259.03 [+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__->