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.39 [+0.39] # 0.39 [+0.00] Single path route test # 1.39 [+1.00] Start point # 1.48 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.57 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.69 [+0.12] Nexthop device deleted # 1.79 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 1.87 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.48 [+0.60] # 2.48 [+0.00] Multipath route test # 4.39 [+1.91] Start point # 4.49 [+0.10] TEST: IPv4 fibmatch [ OK ] # 4.59 [+0.10] TEST: IPv6 fibmatch [ OK ] # 4.74 [+0.15] One nexthop device deleted # 4.83 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.93 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 5.05 [+0.12] Second nexthop device deleted # 5.16 [+0.11] TEST: IPv6 - no route [ OK ] # 5.82 [+0.66] # 5.82 [+0.00] Single path, admin down # 7.30 [+1.48] Start point # 7.43 [+0.13] TEST: IPv4 fibmatch [ OK ] # 7.54 [+0.11] TEST: IPv6 fibmatch [ OK ] # 7.67 [+0.13] Route deleted on down # 7.78 [+0.11] TEST: IPv4 fibmatch [ OK ] # 7.88 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.52 [+0.64] # 8.52 [+0.00] Admin down multipath # 10.91 [+2.39] Verify start point # 11.01 [+0.10] TEST: IPv4 fibmatch [ OK ] # 11.13 [+0.12] TEST: IPv6 fibmatch [ OK ] # 11.25 [+0.12] One device down, one up # 11.39 [+0.13] TEST: IPv4 fibmatch on down device [ OK ] # 11.52 [+0.13] TEST: IPv6 fibmatch on down device [ OK ] # 11.66 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 11.77 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 11.91 [+0.14] TEST: IPv4 flags on down device [ OK ] # 12.05 [+0.14] TEST: IPv6 flags on down device [ OK ] # 12.19 [+0.14] TEST: IPv4 flags on up device [ OK ] # 12.33 [+0.14] TEST: IPv6 flags on up device [ OK ] # 12.54 [+0.21] Other device down and up # 12.64 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 12.76 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 12.89 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 13.00 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 13.12 [+0.11] TEST: IPv4 flags on down device [ OK ] # 13.23 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.39 [+0.15] TEST: IPv4 flags on up device [ OK ] # 13.56 [+0.17] TEST: IPv6 flags on up device [ OK ] # 13.66 [+0.11] Both devices down # 13.79 [+0.12] TEST: IPv4 fibmatch [ OK ] # 13.93 [+0.15] TEST: IPv6 fibmatch [ OK ] # 14.79 [+0.86] # 14.79 [+0.00] Local carrier tests - single path # 16.38 [+1.59] Start point # 16.48 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.60 [+0.12] TEST: IPv6 fibmatch [ OK ] # 16.71 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 16.84 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 17.98 [+1.14] Carrier off on nexthop # 18.07 [+0.10] TEST: IPv4 fibmatch [ OK ] # 18.17 [+0.09] TEST: IPv6 fibmatch [ OK ] # 18.25 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 18.34 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 18.51 [+0.17] Route to local address with carrier down # 18.60 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.69 [+0.09] TEST: IPv6 fibmatch [ OK ] # 18.77 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 18.85 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 19.44 [+0.59] # 19.44 [+0.00] Single path route carrier test # 20.83 [+1.40] Start point # 20.92 [+0.09] TEST: IPv4 fibmatch [ OK ] # 21.00 [+0.08] TEST: IPv6 fibmatch [ OK ] # 21.09 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 21.16 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 22.30 [+1.14] Carrier down # 22.39 [+0.09] TEST: IPv4 fibmatch [ OK ] # 22.48 [+0.09] TEST: IPv6 fibmatch [ OK ] # 22.57 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 22.65 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 22.82 [+0.18] Second address added with carrier down # 22.91 [+0.08] TEST: IPv4 fibmatch [ OK ] # 22.99 [+0.08] TEST: IPv6 fibmatch [ OK ] # 23.08 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 23.15 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 27.39 [+4.24] # 27.39 [+0.00] IPv4 nexthop tests # 27.39 [+0.00] <<< write me >>> # 27.63 [+0.23] # 27.63 [+0.00] IPv6 nexthop tests # 27.72 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 27.81 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 27.90 [+0.09] TEST: Gateway is linklocal address [ OK ] # 27.98 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 28.07 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 28.17 [+0.10] TEST: Gateway can not be local unicast address, with device [ OK ] # 28.25 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 28.36 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 28.45 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 28.55 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 28.63 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 28.73 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 28.82 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 28.91 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 29.85 [+0.94] # 29.85 [+0.00] FIB rule with suppress_prefixlength # 31.50 [+1.65] TEST: FIB rule suppress test [ OK ] # 32.99 [+1.49] # 32.99 [+0.00] Fib6 info length calculation in route notify test # 36.82 [+3.83] TEST: ipv6 route add notify [ OK ] # 38.36 [+1.54] # 38.36 [+0.00] Fib4 info length calculation in route notify test # 42.21 [+3.85] TEST: ipv4 route add notify [ OK ] # 46.29 [+4.08] # 46.29 [+0.00] IPv6 route add / append tests # 46.63 [+0.33] TEST: Attempt to add duplicate route - gw [ OK ] # 46.95 [+0.32] TEST: Attempt to add duplicate route - dev only [ OK ] # 47.27 [+0.33] TEST: Attempt to add duplicate route - reject route [ OK ] # 47.74 [+0.47] TEST: Append nexthop to existing route - gw [ OK ] # 48.08 [+0.34] TEST: Add multipath route [ OK ] # 48.41 [+0.34] TEST: Attempt to add duplicate multipath route [ OK ] # 48.81 [+0.40] TEST: Route add with different metrics [ OK ] # 49.00 [+0.18] TEST: Route delete with metric [ OK ] # 49.00 [+0.00] # 49.00 [+0.00] IPv6 route replace tests # 49.41 [+0.41] TEST: Single path with single path [ OK ] # 49.83 [+0.42] TEST: Single path with multipath [ OK ] # 50.24 [+0.41] TEST: Single path with single path via multipath attribute [ OK ] # 50.66 [+0.42] TEST: Invalid nexthop [ OK ] # 50.99 [+0.33] TEST: Single path - replace of non-existent route [ OK ] # 51.42 [+0.43] TEST: Multipath with multipath [ OK ] # 51.84 [+0.42] TEST: Multipath with single path [ OK ] # 52.24 [+0.40] TEST: Multipath with single path via multipath attribute [ OK ] # 52.65 [+0.41] TEST: Multipath with dev-only [ OK ] # 53.08 [+0.43] TEST: Multipath - invalid first nexthop [ OK ] # 53.51 [+0.43] TEST: Multipath - invalid second nexthop [ OK ] # 53.84 [+0.33] TEST: Multipath - replace of non-existent route [ OK ] # 53.84 [+0.00] # 53.84 [+0.00] IPv6 route with dsfield tests # 54.00 [+0.16] TEST: Reject route with dsfield [ OK ] # 59.57 [+5.57] # 59.57 [+0.00] IPv4 route add / append tests # 59.91 [+0.33] TEST: Attempt to add duplicate route - gw [ OK ] # 60.24 [+0.33] TEST: Attempt to add duplicate route - dev only [ OK ] # 60.56 [+0.32] TEST: Attempt to add duplicate route - reject route [ OK ] # 60.96 [+0.40] TEST: Add new nexthop for existing prefix [ OK ] # 61.39 [+0.42] TEST: Append nexthop to existing route - gw [ OK ] # 61.79 [+0.40] TEST: Append nexthop to existing route - dev only [ OK ] # 62.21 [+0.42] TEST: Append nexthop to existing route - reject route [ OK ] # 62.55 [+0.34] TEST: Append nexthop to existing reject route - gw [ OK ] # 62.88 [+0.34] TEST: Append nexthop to existing reject route - dev only [ OK ] # 63.21 [+0.33] TEST: add multipath route [ OK ] # 63.53 [+0.32] TEST: Attempt to add duplicate multipath route [ OK ] # 63.94 [+0.41] TEST: Route add with different metrics [ OK ] # 64.11 [+0.17] TEST: Route delete with metric [ OK ] # 64.11 [+0.00] # 64.11 [+0.00] IPv4 route replace tests # 64.51 [+0.40] TEST: Single path with single path [ OK ] # 64.93 [+0.41] TEST: Single path with multipath [ OK ] # 65.33 [+0.41] TEST: Single path with reject route [ OK ] # 65.74 [+0.40] TEST: Single path with single path via multipath attribute [ OK ] # 66.14 [+0.41] TEST: Invalid nexthop [ OK ] # 66.47 [+0.32] TEST: Single path - replace of non-existent route [ OK ] # 66.87 [+0.41] TEST: Multipath with multipath [ OK ] # 67.28 [+0.41] TEST: Multipath with single path [ OK ] # 67.68 [+0.40] TEST: Multipath with single path via multipath attribute [ OK ] # 68.09 [+0.41] TEST: Multipath with reject route [ OK ] # 68.50 [+0.41] TEST: Multipath - invalid first nexthop [ OK ] # 68.91 [+0.41] TEST: Multipath - invalid second nexthop [ OK ] # 69.23 [+0.32] TEST: Multipath - replace of non-existent route [ OK ] # 70.54 [+1.31] TEST: Cached route removed from VRF port device [ OK ] # 70.54 [+0.00] # 70.54 [+0.00] IPv4 route with dsfield tests # 70.70 [+0.16] TEST: Reject route with dsfield 0x01 [ OK ] # 70.78 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 70.87 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 71.13 [+0.26] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 71.20 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 71.27 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 71.37 [+0.10] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 71.44 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 71.52 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 71.62 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 71.71 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 71.78 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 71.86 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 71.94 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 72.03 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 73.61 [+1.59] # 73.61 [+0.00] IPv6 prefix route tests # 75.33 [+1.72] TEST: Default metric [ OK ] # 75.61 [+0.27] TEST: User specified metric on first device [ OK ] # 75.88 [+0.27] TEST: User specified metric on second device [ OK ] # 76.05 [+0.17] TEST: Delete of address on first device [ OK ] # 76.22 [+0.18] TEST: Modify metric of address [ OK ] # 76.49 [+0.27] TEST: Prefix route removed on link down [ OK ] # 76.67 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 76.94 [+0.27] TEST: Set metric with peer route on local side [ OK ] # 77.03 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 77.21 [+0.17] TEST: Modify metric and peer address on local side [ OK ] # 77.29 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 78.16 [+0.87] # 78.16 [+0.00] IPv4 prefix route tests # 79.87 [+1.71] TEST: Default metric [ OK ] # 80.13 [+0.25] TEST: User specified metric on first device [ OK ] # 80.41 [+0.28] TEST: User specified metric on second device [ OK ] # 80.57 [+0.17] TEST: Delete of address on first device [ OK ] # 80.77 [+0.20] TEST: Modify metric of address [ OK ] # 80.94 [+0.17] TEST: Prefix route removed on link down [ OK ] # 81.12 [+0.17] TEST: Prefix route with metric on link up [ OK ] # 81.51 [+0.39] TEST: Modify metric of .0/24 address [ OK ] # 81.78 [+0.28] TEST: Set metric of address with peer route [ OK ] # 82.00 [+0.21] TEST: Modify metric and peer address for peer route [ OK ] # 82.90 [+0.91] # 82.90 [+0.00] IPv6 routes with metrics # 87.04 [+4.13] TEST: Single path route with mtu metric [ OK ] # 87.31 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 87.59 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 87.76 [+0.17] TEST: MTU of second leg [ OK ] # 87.93 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 88.14 [+0.20] TEST: Using route with mtu metric [ OK ] # 88.28 [+0.14] TEST: Invalid metric (fails metric_convert) [ OK ] # 89.88 [+1.60] # 89.88 [+0.00] IPv4 route add / append tests # 93.98 [+4.10] TEST: Single path route with mtu metric [ OK ] # 94.14 [+0.16] TEST: Multipath route with mtu metric [ OK ] # 94.35 [+0.21] TEST: Using route with mtu metric [ OK ] # 94.50 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 96.10 [+1.60] # 96.10 [+0.00] IPv4 route with IPv6 gateway tests # 102.15 [+6.05] TEST: Single path route with IPv6 gateway [ OK ] # 102.38 [+0.23] TEST: Single path route with IPv6 gateway - ping [ OK ] # 102.46 [+0.08] TEST: Single path route delete [ OK ] # 102.63 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 102.79 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 102.87 [+0.08] TEST: Multipath route delete exact match [ OK ] # 102.97 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 103.14 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 103.23 [+0.09] TEST: Multipath route delete exact match [ OK ] # 104.79 [+1.57] # 104.79 [+0.00] IPv4 rp_filter tests # 110.22 [+5.43] TEST: rp_filter passes local packets [ OK ] # 110.35 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 111.04 [+0.70] # 111.04 [+0.00] IPv4 delete address route tests # 113.50 [+2.46] Regular FIB info # 113.67 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 113.75 [+0.08] TEST: Route in default VRF not removed [ OK ] # 114.04 [+0.28] TEST: Route removed in default VRF when source address deleted [ OK ] # 114.11 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 114.11 [+0.00] Identical FIB info with different table ID # 114.26 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 114.33 [+0.07] TEST: Route in default VRF not removed [ OK ] # 114.63 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 114.72 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 114.72 [+0.00] Table ID 0 # 114.86 [+0.14] TEST: Route removed in default VRF when source address deleted [ OK ] # 115.76 [+0.90] # 115.76 [+0.00] IPv6 delete address route tests # 120.01 [+4.25] Single device using src address # 120.17 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 120.17 [+0.00] Two devices with the same source address # 120.33 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 120.48 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 120.48 [+0.00] VRF with single device using src address # 120.64 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 120.64 [+0.00] VRF with two devices using src address # 120.81 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 120.95 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 120.95 [+0.00] src address and nexthop dev in same VRF # 121.10 [+0.15] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 121.17 [+0.07] TEST: Prefsrc in default VRF not removed [ OK ] # 121.47 [+0.30] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 121.56 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 121.56 [+0.00] src address and nexthop device in different VRF # 121.70 [+0.14] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 121.77 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 122.00 [+0.22] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 122.07 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 122.07 [+0.00] Table ID 0 # 122.23 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 122.24 [+0.00] Link local source route # 122.37 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 122.53 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 122.62 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 122.85 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 124.21 [+1.36] # 124.21 [+0.00] IPv4 mangling tests # 131.38 [+7.17] TEST: Connection with correct parameters [ OK ] # 131.54 [+0.16] TEST: Connection with incorrect parameters [ OK ] # 132.49 [+0.95] TEST: Connection with correct parameters - mangling [ OK ] # 133.31 [+0.81] TEST: Connection with correct parameters - no mangling [ OK ] # 133.36 [+0.05] TEST: Connection check - server side [ OK ] # 135.24 [+1.88] # 135.24 [+0.00] IPv6 mangling tests # 142.55 [+7.32] TEST: Connection with correct parameters [ OK ] # 142.74 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 143.60 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 144.45 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 144.51 [+0.06] TEST: Connection check - server side [ OK ] # 146.63 [+2.12] # 146.63 [+0.00] IPv4 broadcast neighbour tests # 148.72 [+2.09] TEST: Resolved neighbour for broadcast address [ OK ] # 148.80 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 148.89 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 148.96 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 150.68 [+1.72] # 150.68 [+0.00] Fib6 garbage collection test # 163.87 [+13.19] TEST: ipv6 route garbage collection [ OK ] # 177.26 [+13.39] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 190.57 [+13.31] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 203.99 [+13.42] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 218.13 [+14.15] TEST: ipv6 route garbage collection (RA message) [ OK ] # 218.83 [+0.69] # 218.83 [+0.00] IPv4 multipath list receive tests # 234.38 [+15.55] TEST: Multipath route hit ratio (1.00) [ OK ] # 236.09 [+1.72] # 236.09 [+0.00] IPv6 multipath list receive tests # 251.56 [+15.47] TEST: Multipath route hit ratio (1.00) [ OK ] # 253.23 [+1.67] # 253.23 [+0.00] Tests passed: 229 # 253.23 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->