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.46 [+0.46] # 0.46 [+0.00] Single path route test # 1.44 [+0.99] Start point # 1.54 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.63 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.77 [+0.14] Nexthop device deleted # 1.86 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.95 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.63 [+0.68] # 2.63 [+0.00] Multipath route test # 4.54 [+1.91] Start point # 4.65 [+0.11] TEST: IPv4 fibmatch [ OK ] # 4.77 [+0.11] TEST: IPv6 fibmatch [ OK ] # 4.92 [+0.15] One nexthop device deleted # 5.03 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.11 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 5.22 [+0.11] Second nexthop device deleted # 5.31 [+0.09] TEST: IPv6 - no route [ OK ] # 5.93 [+0.62] # 5.93 [+0.00] Single path, admin down # 7.28 [+1.34] Start point # 7.36 [+0.08] TEST: IPv4 fibmatch [ OK ] # 7.45 [+0.09] TEST: IPv6 fibmatch [ OK ] # 7.53 [+0.09] Route deleted on down # 7.62 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.71 [+0.09] TEST: IPv6 fibmatch [ OK ] # 8.17 [+0.46] # 8.17 [+0.00] Admin down multipath # 9.86 [+1.70] Verify start point # 9.97 [+0.10] TEST: IPv4 fibmatch [ OK ] # 10.05 [+0.09] TEST: IPv6 fibmatch [ OK ] # 10.14 [+0.08] One device down, one up # 10.22 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.31 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.40 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.49 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 10.59 [+0.11] TEST: IPv4 flags on down device [ OK ] # 10.69 [+0.10] TEST: IPv6 flags on down device [ OK ] # 10.79 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.87 [+0.08] TEST: IPv6 flags on up device [ OK ] # 11.05 [+0.18] Other device down and up # 11.13 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 11.22 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 11.30 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 11.39 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 11.46 [+0.07] TEST: IPv4 flags on down device [ OK ] # 11.55 [+0.08] TEST: IPv6 flags on down device [ OK ] # 11.64 [+0.09] TEST: IPv4 flags on up device [ OK ] # 11.74 [+0.11] TEST: IPv6 flags on up device [ OK ] # 11.82 [+0.08] Both devices down # 11.92 [+0.10] TEST: IPv4 fibmatch [ OK ] # 12.01 [+0.09] TEST: IPv6 fibmatch [ OK ] # 12.57 [+0.56] # 12.57 [+0.00] Local carrier tests - single path # 13.79 [+1.22] Start point # 13.88 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.96 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.04 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 14.13 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 15.27 [+1.13] Carrier off on nexthop # 15.36 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.45 [+0.09] TEST: IPv6 fibmatch [ OK ] # 15.52 [+0.07] TEST: IPv4 - linkdown flag set [ OK ] # 15.61 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 15.78 [+0.17] Route to local address with carrier down # 15.86 [+0.08] TEST: IPv4 fibmatch [ OK ] # 15.94 [+0.08] TEST: IPv6 fibmatch [ OK ] # 16.03 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 16.11 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 16.56 [+0.45] # 16.56 [+0.00] Single path route carrier test # 17.74 [+1.19] Start point # 17.82 [+0.08] TEST: IPv4 fibmatch [ OK ] # 17.89 [+0.07] TEST: IPv6 fibmatch [ OK ] # 17.97 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 18.06 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 19.19 [+1.13] Carrier down # 19.27 [+0.08] TEST: IPv4 fibmatch [ OK ] # 19.35 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.44 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 19.51 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 19.66 [+0.15] Second address added with carrier down # 19.74 [+0.08] TEST: IPv4 fibmatch [ OK ] # 19.85 [+0.10] TEST: IPv6 fibmatch [ OK ] # 19.94 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 20.03 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 24.18 [+4.15] # 24.18 [+0.00] IPv4 nexthop tests # 24.18 [+0.00] <<< write me >>> # 24.39 [+0.21] # 24.39 [+0.00] IPv6 nexthop tests # 24.48 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 24.57 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.67 [+0.10] TEST: Gateway is linklocal address [ OK ] # 24.75 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 24.84 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 24.93 [+0.08] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.02 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 25.11 [+0.08] TEST: Gateway can be local address in a VRF [ OK ] # 25.20 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 25.29 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 25.38 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 25.46 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.55 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 25.64 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 26.63 [+0.99] # 26.63 [+0.00] FIB rule with suppress_prefixlength # 28.27 [+1.64] TEST: FIB rule suppress test [ OK ] # 29.77 [+1.49] # 29.77 [+0.00] Fib6 info length calculation in route notify test # 33.61 [+3.85] TEST: ipv6 route add notify [ OK ] # 35.10 [+1.49] # 35.10 [+0.00] Fib4 info length calculation in route notify test # 38.95 [+3.85] TEST: ipv4 route add notify [ OK ] # 43.06 [+4.11] # 43.06 [+0.00] IPv6 route add / append tests # 43.40 [+0.34] TEST: Attempt to add duplicate route - gw [ OK ] # 43.74 [+0.34] TEST: Attempt to add duplicate route - dev only [ OK ] # 44.07 [+0.34] TEST: Attempt to add duplicate route - reject route [ OK ] # 44.52 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 44.87 [+0.35] TEST: Add multipath route [ OK ] # 45.22 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 45.63 [+0.42] TEST: Route add with different metrics [ OK ] # 45.82 [+0.18] TEST: Route delete with metric [ OK ] # 45.82 [+0.00] # 45.82 [+0.00] IPv6 route replace tests # 46.26 [+0.44] TEST: Single path with single path [ OK ] # 46.69 [+0.43] TEST: Single path with multipath [ OK ] # 47.13 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 47.57 [+0.44] TEST: Invalid nexthop [ OK ] # 47.92 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 48.36 [+0.44] TEST: Multipath with multipath [ OK ] # 48.78 [+0.42] TEST: Multipath with single path [ OK ] # 49.19 [+0.42] TEST: Multipath with single path via multipath attribute [ OK ] # 49.63 [+0.43] TEST: Multipath with dev-only [ OK ] # 50.06 [+0.44] TEST: Multipath - invalid first nexthop [ OK ] # 50.51 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 50.85 [+0.33] TEST: Multipath - replace of non-existent route [ OK ] # 50.85 [+0.00] # 50.85 [+0.00] IPv6 route with dsfield tests # 51.04 [+0.19] TEST: Reject route with dsfield [ OK ] # 56.75 [+5.71] # 56.75 [+0.00] IPv4 route add / append tests # 57.09 [+0.34] TEST: Attempt to add duplicate route - gw [ OK ] # 57.43 [+0.34] TEST: Attempt to add duplicate route - dev only [ OK ] # 57.78 [+0.36] TEST: Attempt to add duplicate route - reject route [ OK ] # 58.20 [+0.42] TEST: Add new nexthop for existing prefix [ OK ] # 58.65 [+0.45] TEST: Append nexthop to existing route - gw [ OK ] # 59.08 [+0.43] TEST: Append nexthop to existing route - dev only [ OK ] # 59.50 [+0.42] TEST: Append nexthop to existing route - reject route [ OK ] # 59.86 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 60.20 [+0.34] TEST: Append nexthop to existing reject route - dev only [ OK ] # 60.54 [+0.34] TEST: add multipath route [ OK ] # 60.89 [+0.34] TEST: Attempt to add duplicate multipath route [ OK ] # 61.31 [+0.42] TEST: Route add with different metrics [ OK ] # 61.48 [+0.17] TEST: Route delete with metric [ OK ] # 61.48 [+0.00] # 61.48 [+0.00] IPv4 route replace tests # 61.91 [+0.43] TEST: Single path with single path [ OK ] # 62.33 [+0.42] TEST: Single path with multipath [ OK ] # 62.77 [+0.43] TEST: Single path with reject route [ OK ] # 63.20 [+0.43] TEST: Single path with single path via multipath attribute [ OK ] # 63.63 [+0.43] TEST: Invalid nexthop [ OK ] # 63.97 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 64.40 [+0.43] TEST: Multipath with multipath [ OK ] # 64.82 [+0.42] TEST: Multipath with single path [ OK ] # 65.25 [+0.43] TEST: Multipath with single path via multipath attribute [ OK ] # 65.65 [+0.40] TEST: Multipath with reject route [ OK ] # 66.09 [+0.43] TEST: Multipath - invalid first nexthop [ OK ] # 66.59 [+0.50] TEST: Multipath - invalid second nexthop [ OK ] # 67.00 [+0.41] TEST: Multipath - replace of non-existent route [ OK ] # 68.44 [+1.44] TEST: Cached route removed from VRF port device [ OK ] # 68.44 [+0.00] # 68.44 [+0.00] IPv4 route with dsfield tests # 68.61 [+0.17] TEST: Reject route with dsfield 0x01 [ OK ] # 68.70 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 68.78 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 69.03 [+0.24] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 69.12 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 69.21 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 69.28 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 69.36 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 69.45 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 69.54 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 69.64 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 69.71 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 69.79 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 69.87 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 69.95 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 71.59 [+1.64] # 71.59 [+0.00] IPv6 prefix route tests # 73.37 [+1.79] TEST: Default metric [ OK ] # 73.65 [+0.27] TEST: User specified metric on first device [ OK ] # 73.92 [+0.27] TEST: User specified metric on second device [ OK ] # 74.09 [+0.17] TEST: Delete of address on first device [ OK ] # 74.27 [+0.19] TEST: Modify metric of address [ OK ] # 74.57 [+0.29] TEST: Prefix route removed on link down [ OK ] # 74.74 [+0.17] TEST: Prefix route with metric on link up [ OK ] # 75.01 [+0.27] TEST: Set metric with peer route on local side [ OK ] # 75.08 [+0.08] TEST: Set metric with peer route on peer side [ OK ] # 75.27 [+0.18] TEST: Modify metric and peer address on local side [ OK ] # 75.35 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 76.27 [+0.92] # 76.27 [+0.00] IPv4 prefix route tests # 77.98 [+1.70] TEST: Default metric [ OK ] # 78.24 [+0.26] TEST: User specified metric on first device [ OK ] # 78.49 [+0.26] TEST: User specified metric on second device [ OK ] # 78.68 [+0.19] TEST: Delete of address on first device [ OK ] # 78.85 [+0.17] TEST: Modify metric of address [ OK ] # 79.02 [+0.17] TEST: Prefix route removed on link down [ OK ] # 79.18 [+0.16] TEST: Prefix route with metric on link up [ OK ] # 79.55 [+0.37] TEST: Modify metric of .0/24 address [ OK ] # 79.80 [+0.26] TEST: Set metric of address with peer route [ OK ] # 79.98 [+0.18] TEST: Modify metric and peer address for peer route [ OK ] # 80.89 [+0.91] # 80.89 [+0.00] IPv6 routes with metrics # 85.17 [+4.28] TEST: Single path route with mtu metric [ OK ] # 85.45 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 85.70 [+0.26] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 85.88 [+0.17] TEST: MTU of second leg [ OK ] # 86.07 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 86.28 [+0.21] TEST: Using route with mtu metric [ OK ] # 86.43 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 88.11 [+1.67] # 88.11 [+0.00] IPv4 route add / append tests # 92.42 [+4.32] TEST: Single path route with mtu metric [ OK ] # 92.60 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 92.81 [+0.21] TEST: Using route with mtu metric [ OK ] # 92.97 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 94.62 [+1.65] # 94.62 [+0.00] IPv4 route with IPv6 gateway tests # 101.01 [+6.38] TEST: Single path route with IPv6 gateway [ OK ] # 101.22 [+0.21] TEST: Single path route with IPv6 gateway - ping [ OK ] # 101.31 [+0.09] TEST: Single path route delete [ OK ] # 101.47 [+0.16] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 101.65 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 101.75 [+0.10] TEST: Multipath route delete exact match [ OK ] # 101.84 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 102.02 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 102.11 [+0.09] TEST: Multipath route delete exact match [ OK ] # 103.80 [+1.69] # 103.80 [+0.00] IPv4 rp_filter tests # 109.45 [+5.65] TEST: rp_filter passes local packets [ OK ] # 109.59 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 110.32 [+0.73] # 110.32 [+0.00] IPv4 delete address route tests # 113.06 [+2.74] Regular FIB info # 113.21 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 113.29 [+0.08] TEST: Route in default VRF not removed [ OK ] # 113.61 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 113.69 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 113.70 [+0.00] Identical FIB info with different table ID # 113.86 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 113.95 [+0.08] TEST: Route in default VRF not removed [ OK ] # 114.27 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 114.36 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 114.36 [+0.00] Table ID 0 # 114.52 [+0.16] TEST: Route removed in default VRF when source address deleted [ OK ] # 115.46 [+0.94] # 115.46 [+0.00] IPv6 delete address route tests # 120.05 [+4.59] Single device using src address # 120.21 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 120.21 [+0.00] Two devices with the same source address # 120.37 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 120.54 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 120.54 [+0.00] VRF with single device using src address # 120.70 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 120.70 [+0.00] VRF with two devices using src address # 120.88 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 121.06 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 121.06 [+0.00] src address and nexthop dev in same VRF # 121.22 [+0.17] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 121.31 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 121.63 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 121.71 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 121.71 [+0.00] src address and nexthop device in different VRF # 121.87 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 121.95 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 122.21 [+0.27] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 122.30 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 122.31 [+0.00] Table ID 0 # 122.48 [+0.17] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 122.48 [+0.00] Link local source route # 122.63 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 122.78 [+0.15] TEST: Prefsrc removed when delete ll addr [ OK ] # 122.86 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 123.10 [+0.24] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 124.55 [+1.45] # 124.55 [+0.00] IPv4 mangling tests # 131.93 [+7.38] TEST: Connection with correct parameters [ OK ] # 132.11 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 133.02 [+0.91] TEST: Connection with correct parameters - mangling [ OK ] # 133.87 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 133.93 [+0.06] TEST: Connection check - server side [ OK ] # 135.89 [+1.96] # 135.89 [+0.00] IPv6 mangling tests # 143.23 [+7.34] TEST: Connection with correct parameters [ OK ] # 143.43 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 144.28 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 145.14 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 145.20 [+0.06] TEST: Connection check - server side [ OK ] # 147.17 [+1.97] # 147.17 [+0.00] IPv4 broadcast neighbour tests # 149.31 [+2.13] TEST: Resolved neighbour for broadcast address [ OK ] # 149.39 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 149.49 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 149.57 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 151.34 [+1.78] # 151.35 [+0.00] Fib6 garbage collection test # 164.48 [+13.13] TEST: ipv6 route garbage collection [ OK ] # 177.98 [+13.50] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 191.41 [+13.44] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 204.88 [+13.47] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 219.11 [+14.23] TEST: ipv6 route garbage collection (RA message) [ OK ] # 219.80 [+0.69] # 219.80 [+0.00] IPv4 multipath list receive tests # 235.83 [+16.03] TEST: Multipath route hit ratio (1.00) [ OK ] # 237.53 [+1.70] # 237.53 [+0.00] IPv6 multipath list receive tests # 253.33 [+15.81] TEST: Multipath route hit ratio (1.00) [ OK ] # 255.15 [+1.81] # 255.15 [+0.00] Tests passed: 229 # 255.15 [+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__->