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.71 [+0.71] # 0.71 [+0.00] Single path route test # 2.36 [+1.65] Start point # 2.50 [+0.14] TEST: IPv4 fibmatch [ OK ] # 2.65 [+0.15] TEST: IPv6 fibmatch [ OK ] # 2.83 [+0.18] Nexthop device deleted # 2.97 [+0.14] TEST: IPv4 fibmatch - no route [ OK ] # 3.11 [+0.13] TEST: IPv6 fibmatch - no route [ OK ] # 3.97 [+0.87] # 3.97 [+0.00] Multipath route test # 6.90 [+2.93] Start point # 7.04 [+0.14] TEST: IPv4 fibmatch [ OK ] # 7.18 [+0.14] TEST: IPv6 fibmatch [ OK ] # 7.38 [+0.20] One nexthop device deleted # 7.52 [+0.14] TEST: IPv4 - multipath route removed on delete [ OK ] # 7.67 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 7.85 [+0.18] Second nexthop device deleted # 7.99 [+0.14] TEST: IPv6 - no route [ OK ] # 8.88 [+0.89] # 8.88 [+0.00] Single path, admin down # 10.97 [+2.09] Start point # 11.12 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.26 [+0.14] TEST: IPv6 fibmatch [ OK ] # 11.41 [+0.15] Route deleted on down # 11.55 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.70 [+0.16] TEST: IPv6 fibmatch [ OK ] # 12.42 [+0.72] # 12.42 [+0.00] Admin down multipath # 15.39 [+2.96] Verify start point # 15.53 [+0.14] TEST: IPv4 fibmatch [ OK ] # 15.68 [+0.16] TEST: IPv6 fibmatch [ OK ] # 15.83 [+0.14] One device down, one up # 15.97 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 16.12 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 16.26 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 16.40 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 16.52 [+0.12] TEST: IPv4 flags on down device [ OK ] # 16.61 [+0.09] TEST: IPv6 flags on down device [ OK ] # 16.74 [+0.13] TEST: IPv4 flags on up device [ OK ] # 16.86 [+0.12] TEST: IPv6 flags on up device [ OK ] # 17.18 [+0.32] Other device down and up # 17.31 [+0.13] TEST: IPv4 fibmatch on down device [ OK ] # 17.45 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 17.58 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 17.73 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 17.85 [+0.12] TEST: IPv4 flags on down device [ OK ] # 17.97 [+0.12] TEST: IPv6 flags on down device [ OK ] # 18.09 [+0.12] TEST: IPv4 flags on up device [ OK ] # 18.22 [+0.13] TEST: IPv6 flags on up device [ OK ] # 18.36 [+0.14] Both devices down # 18.50 [+0.14] TEST: IPv4 fibmatch [ OK ] # 18.65 [+0.14] TEST: IPv6 fibmatch [ OK ] # 19.56 [+0.92] # 19.56 [+0.00] Local carrier tests - single path # 21.74 [+2.18] Start point # 21.88 [+0.14] TEST: IPv4 fibmatch [ OK ] # 22.03 [+0.15] TEST: IPv6 fibmatch [ OK ] # 22.15 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 22.28 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 23.55 [+1.27] Carrier off on nexthop # 23.69 [+0.14] TEST: IPv4 fibmatch [ OK ] # 23.86 [+0.17] TEST: IPv6 fibmatch [ OK ] # 24.00 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 24.14 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 24.42 [+0.28] Route to local address with carrier down # 24.59 [+0.17] TEST: IPv4 fibmatch [ OK ] # 24.76 [+0.17] TEST: IPv6 fibmatch [ OK ] # 24.96 [+0.20] TEST: IPv4 linkdown flag set [ OK ] # 25.08 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 25.78 [+0.70] # 25.78 [+0.00] Single path route carrier test # 28.07 [+2.29] Start point # 28.21 [+0.15] TEST: IPv4 fibmatch [ OK ] # 28.35 [+0.14] TEST: IPv6 fibmatch [ OK ] # 28.49 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 28.65 [+0.15] TEST: IPv6 no linkdown flag [ OK ] # 29.89 [+1.24] Carrier down # 30.03 [+0.14] TEST: IPv4 fibmatch [ OK ] # 30.18 [+0.15] TEST: IPv6 fibmatch [ OK ] # 30.31 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 30.50 [+0.20] TEST: IPv6 linkdown flag set [ OK ] # 30.80 [+0.30] Second address added with carrier down # 30.95 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.09 [+0.14] TEST: IPv6 fibmatch [ OK ] # 31.24 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 31.39 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 38.14 [+6.75] # 38.14 [+0.00] IPv4 nexthop tests # 38.14 [+0.00] <<< write me >>> # 38.43 [+0.29] # 38.43 [+0.00] IPv6 nexthop tests # 38.58 [+0.15] TEST: Directly connected nexthop, unicast address [ OK ] # 38.74 [+0.16] TEST: Directly connected nexthop, unicast address with device [ OK ] # 38.90 [+0.17] TEST: Gateway is linklocal address [ OK ] # 39.06 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 39.21 [+0.15] TEST: Gateway can not be local unicast address [ OK ] # 39.37 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 39.53 [+0.16] TEST: Gateway can not be a local linklocal address [ OK ] # 39.70 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 39.86 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 40.02 [+0.15] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 40.18 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 40.33 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 40.48 [+0.15] TEST: VRF route, gateway can not be a local address [ OK ] # 40.63 [+0.15] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 42.05 [+1.41] # 42.05 [+0.00] FIB rule with suppress_prefixlength # 45.18 [+3.14] TEST: FIB rule suppress test [ OK ] # 47.97 [+2.79] # 47.97 [+0.00] Fib6 info length calculation in route notify test # 53.41 [+5.44] TEST: ipv6 route add notify [ OK ] # 56.26 [+2.84] # 56.26 [+0.00] Fib4 info length calculation in route notify test # 61.73 [+5.47] TEST: ipv4 route add notify [ OK ] # 69.76 [+8.03] # 69.76 [+0.00] IPv6 route add / append tests # 70.40 [+0.64] TEST: Attempt to add duplicate route - gw [ OK ] # 71.04 [+0.64] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.67 [+0.63] TEST: Attempt to add duplicate route - reject route [ OK ] # 72.41 [+0.74] TEST: Append nexthop to existing route - gw [ OK ] # 73.02 [+0.61] TEST: Add multipath route [ OK ] # 73.66 [+0.64] TEST: Attempt to add duplicate multipath route [ OK ] # 74.42 [+0.76] TEST: Route add with different metrics [ OK ] # 74.73 [+0.31] TEST: Route delete with metric [ OK ] # 74.73 [+0.00] # 74.73 [+0.00] IPv6 route replace tests # 75.47 [+0.74] TEST: Single path with single path [ OK ] # 76.22 [+0.75] TEST: Single path with multipath [ OK ] # 76.96 [+0.74] TEST: Single path with single path via multipath attribute [ OK ] # 77.72 [+0.76] TEST: Invalid nexthop [ OK ] # 78.32 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 79.08 [+0.75] TEST: Multipath with multipath [ OK ] # 79.81 [+0.73] TEST: Multipath with single path [ OK ] # 80.53 [+0.72] TEST: Multipath with single path via multipath attribute [ OK ] # 81.26 [+0.73] TEST: Multipath with dev-only [ OK ] # 82.05 [+0.78] TEST: Multipath - invalid first nexthop [ OK ] # 82.82 [+0.77] TEST: Multipath - invalid second nexthop [ OK ] # 83.44 [+0.62] TEST: Multipath - replace of non-existent route [ OK ] # 83.44 [+0.00] # 83.44 [+0.00] IPv6 route with dsfield tests # 83.76 [+0.31] TEST: Reject route with dsfield [ OK ] # 94.45 [+10.70] # 94.45 [+0.00] IPv4 route add / append tests # 95.06 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 95.72 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 96.32 [+0.60] TEST: Attempt to add duplicate route - reject route [ OK ] # 97.09 [+0.77] TEST: Add new nexthop for existing prefix [ OK ] # 97.87 [+0.78] TEST: Append nexthop to existing route - gw [ OK ] # 98.68 [+0.81] TEST: Append nexthop to existing route - dev only [ OK ] # 99.44 [+0.76] TEST: Append nexthop to existing route - reject route [ OK ] # 100.11 [+0.67] TEST: Append nexthop to existing reject route - gw [ OK ] # 100.75 [+0.64] TEST: Append nexthop to existing reject route - dev only [ OK ] # 101.36 [+0.61] TEST: add multipath route [ OK ] # 101.99 [+0.63] TEST: Attempt to add duplicate multipath route [ OK ] # 102.79 [+0.80] TEST: Route add with different metrics [ OK ] # 103.10 [+0.32] TEST: Route delete with metric [ OK ] # 103.10 [+0.00] # 103.11 [+0.00] IPv4 route replace tests # 103.87 [+0.77] TEST: Single path with single path [ OK ] # 104.69 [+0.82] TEST: Single path with multipath [ OK ] # 105.48 [+0.79] TEST: Single path with reject route [ OK ] # 106.27 [+0.80] TEST: Single path with single path via multipath attribute [ OK ] # 107.05 [+0.78] TEST: Invalid nexthop [ OK ] # 107.67 [+0.62] TEST: Single path - replace of non-existent route [ OK ] # 108.44 [+0.77] TEST: Multipath with multipath [ OK ] # 109.22 [+0.78] TEST: Multipath with single path [ OK ] # 109.98 [+0.76] TEST: Multipath with single path via multipath attribute [ OK ] # 110.77 [+0.79] TEST: Multipath with reject route [ OK ] # 111.55 [+0.78] TEST: Multipath - invalid first nexthop [ OK ] # 112.33 [+0.78] TEST: Multipath - invalid second nexthop [ OK ] # 112.95 [+0.62] TEST: Multipath - replace of non-existent route [ OK ] # 115.27 [+2.31] TEST: Cached route removed from VRF port device [ OK ] # 115.27 [+0.00] # 115.27 [+0.00] IPv4 route with dsfield tests # 115.57 [+0.30] TEST: Reject route with dsfield 0x01 [ OK ] # 115.74 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 115.91 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 116.36 [+0.44] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 116.46 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 116.59 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 116.72 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 116.87 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 117.00 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 117.16 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 117.29 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 117.42 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 117.53 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 117.69 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 117.82 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 120.60 [+2.77] # 120.60 [+0.00] IPv6 prefix route tests # 123.82 [+3.22] TEST: Default metric [ OK ] # 124.27 [+0.45] TEST: User specified metric on first device [ OK ] # 124.70 [+0.43] TEST: User specified metric on second device [ OK ] # 125.00 [+0.30] TEST: Delete of address on first device [ OK ] # 125.29 [+0.29] TEST: Modify metric of address [ OK ] # 125.83 [+0.55] TEST: Prefix route removed on link down [ OK ] # 126.12 [+0.29] TEST: Prefix route with metric on link up [ OK ] # 126.57 [+0.45] TEST: Set metric with peer route on local side [ OK ] # 126.70 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 127.00 [+0.30] TEST: Modify metric and peer address on local side [ OK ] # 127.16 [+0.16] TEST: Modify metric and peer address on peer side [ OK ] # 128.76 [+1.60] # 128.76 [+0.00] IPv4 prefix route tests # 132.04 [+3.28] TEST: Default metric [ OK ] # 132.50 [+0.46] TEST: User specified metric on first device [ OK ] # 132.97 [+0.48] TEST: User specified metric on second device [ OK ] # 133.29 [+0.31] TEST: Delete of address on first device [ OK ] # 133.60 [+0.31] TEST: Modify metric of address [ OK ] # 133.92 [+0.32] TEST: Prefix route removed on link down [ OK ] # 134.23 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 134.83 [+0.60] TEST: Modify metric of .0/24 address [ OK ] # 135.30 [+0.46] TEST: Set metric of address with peer route [ OK ] # 135.60 [+0.30] TEST: Modify metric and peer address for peer route [ OK ] # 137.22 [+1.63] # 137.22 [+0.00] IPv6 routes with metrics # 145.55 [+8.33] TEST: Single path route with mtu metric [ OK ] # 146.01 [+0.45] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 146.46 [+0.45] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 146.81 [+0.36] TEST: MTU of second leg [ OK ] # 147.14 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 147.57 [+0.44] TEST: Using route with mtu metric [ OK ] # 147.84 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 150.62 [+2.78] # 150.62 [+0.00] IPv4 route add / append tests # 159.18 [+8.55] TEST: Single path route with mtu metric [ OK ] # 159.49 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 159.99 [+0.50] TEST: Using route with mtu metric [ OK ] # 160.25 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 162.96 [+2.71] # 162.96 [+0.00] IPv4 route with IPv6 gateway tests # 173.68 [+10.71] TEST: Single path route with IPv6 gateway [ OK ] # 174.14 [+0.46] TEST: Single path route with IPv6 gateway - ping [ OK ] # 174.31 [+0.16] TEST: Single path route delete [ OK ] # 174.66 [+0.35] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 175.01 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 175.18 [+0.17] TEST: Multipath route delete exact match [ OK ] # 175.35 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 175.67 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 175.84 [+0.17] TEST: Multipath route delete exact match [ OK ] # 178.59 [+2.75] # 178.59 [+0.00] IPv4 rp_filter tests # 190.43 [+11.84] TEST: rp_filter passes local packets [ OK ] # 190.72 [+0.29] TEST: rp_filter passes loopback packets [ OK ] # 192.00 [+1.27] # 192.00 [+0.00] IPv4 delete address route tests # 197.38 [+5.39] Regular FIB info # 197.70 [+0.32] TEST: Route removed from VRF when source address deleted [ OK ] # 197.85 [+0.15] TEST: Route in default VRF not removed [ OK ] # 198.47 [+0.62] TEST: Route removed in default VRF when source address deleted [ OK ] # 198.60 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 198.60 [+0.00] Identical FIB info with different table ID # 198.87 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 199.00 [+0.13] TEST: Route in default VRF not removed [ OK ] # 199.58 [+0.58] TEST: Route removed in default VRF when source address deleted [ OK ] # 199.71 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 199.71 [+0.00] Table ID 0 # 199.97 [+0.26] TEST: Route removed in default VRF when source address deleted [ OK ] # 201.61 [+1.64] # 201.61 [+0.00] IPv6 delete address route tests # 210.20 [+8.58] Single device using src address # 210.53 [+0.34] TEST: Prefsrc removed when src address removed on other device [ OK ] # 210.54 [+0.00] Two devices with the same source address # 210.82 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 211.10 [+0.28] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 211.10 [+0.00] VRF with single device using src address # 211.39 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 211.39 [+0.00] VRF with two devices using src address # 211.67 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 211.95 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 211.95 [+0.00] src address and nexthop dev in same VRF # 212.22 [+0.27] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 212.36 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 212.92 [+0.57] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 213.08 [+0.16] TEST: Prefsrc in default VRF removed [ OK ] # 213.08 [+0.00] src address and nexthop device in different VRF # 213.36 [+0.27] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 213.48 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 213.91 [+0.43] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 214.04 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 214.04 [+0.00] Table ID 0 # 214.31 [+0.27] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 214.31 [+0.00] Link local source route # 214.59 [+0.28] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 214.85 [+0.26] TEST: Prefsrc removed when delete ll addr [ OK ] # 214.99 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 215.40 [+0.42] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 217.87 [+2.47] # 217.88 [+0.00] IPv4 mangling tests # 229.77 [+11.89] TEST: Connection with correct parameters [ OK ] # 230.08 [+0.31] TEST: Connection with incorrect parameters [ OK ] # 231.28 [+1.20] TEST: Connection with correct parameters - mangling [ OK ] # 232.38 [+1.10] TEST: Connection with correct parameters - no mangling [ OK ] # 232.51 [+0.14] TEST: Connection check - server side [ OK ] # 235.72 [+3.21] # 235.72 [+0.00] IPv6 mangling tests # 247.44 [+11.72] TEST: Connection with correct parameters [ OK ] # 247.78 [+0.33] TEST: Connection with incorrect parameters [ OK ] # 248.93 [+1.15] TEST: Connection with correct parameters - mangling [ OK ] # 250.09 [+1.16] TEST: Connection with correct parameters - no mangling [ OK ] # 250.22 [+0.13] TEST: Connection check - server side [ OK ] # 253.45 [+3.23] # 253.45 [+0.00] IPv4 broadcast neighbour tests # 257.36 [+3.92] TEST: Resolved neighbour for broadcast address [ OK ] # 257.52 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 257.68 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 257.83 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 261.10 [+3.27] # 261.10 [+0.00] Fib6 garbage collection test # 275.35 [+14.24] TEST: ipv6 route garbage collection [ OK ] # 289.95 [+14.61] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 304.49 [+14.54] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 319.27 [+14.78] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 334.57 [+15.30] TEST: ipv6 route garbage collection (RA message) [ OK ] # 335.84 [+1.28] # 335.84 [+0.00] IPv4 multipath list receive tests # 358.78 [+22.94] TEST: Multipath route hit ratio (1.00) [ OK ] # 361.63 [+2.85] # 361.63 [+0.00] IPv6 multipath list receive tests # 383.57 [+21.94] TEST: Multipath route hit ratio (1.00) [ OK ] # 386.51 [+2.94] # 386.51 [+0.00] Tests passed: 229 # 386.51 [+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__->