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 # 1.09 [+1.09] # 1.09 [+0.00] Single path route test # 2.90 [+1.82] Start point # 3.05 [+0.15] TEST: IPv4 fibmatch [ OK ] # 3.21 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.40 [+0.18] Nexthop device deleted # 3.55 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.72 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.67 [+0.95] # 4.67 [+0.00] Multipath route test # 7.86 [+3.19] Start point # 8.02 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.18 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.38 [+0.21] One nexthop device deleted # 8.54 [+0.15] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.69 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 8.89 [+0.20] Second nexthop device deleted # 9.06 [+0.16] TEST: IPv6 - no route [ OK ] # 10.03 [+0.97] # 10.03 [+0.00] Single path, admin down # 12.26 [+2.23] Start point # 12.42 [+0.16] TEST: IPv4 fibmatch [ OK ] # 12.58 [+0.15] TEST: IPv6 fibmatch [ OK ] # 12.74 [+0.16] Route deleted on down # 12.90 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.06 [+0.15] TEST: IPv6 fibmatch [ OK ] # 13.84 [+0.78] # 13.84 [+0.00] Admin down multipath # 17.03 [+3.19] Verify start point # 17.19 [+0.16] TEST: IPv4 fibmatch [ OK ] # 17.34 [+0.15] TEST: IPv6 fibmatch [ OK ] # 17.50 [+0.16] One device down, one up # 17.65 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 17.81 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 17.97 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 18.12 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 18.24 [+0.12] TEST: IPv4 flags on down device [ OK ] # 18.37 [+0.13] TEST: IPv6 flags on down device [ OK ] # 18.50 [+0.13] TEST: IPv4 flags on up device [ OK ] # 18.64 [+0.13] TEST: IPv6 flags on up device [ OK ] # 18.95 [+0.32] Other device down and up # 19.12 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 19.27 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 19.43 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 19.58 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 19.73 [+0.14] TEST: IPv4 flags on down device [ OK ] # 19.88 [+0.15] TEST: IPv6 flags on down device [ OK ] # 20.01 [+0.14] TEST: IPv4 flags on up device [ OK ] # 20.15 [+0.14] TEST: IPv6 flags on up device [ OK ] # 20.31 [+0.16] Both devices down # 20.48 [+0.16] TEST: IPv4 fibmatch [ OK ] # 20.63 [+0.15] TEST: IPv6 fibmatch [ OK ] # 21.58 [+0.96] # 21.58 [+0.00] Local carrier tests - single path # 24.12 [+2.53] Start point # 24.28 [+0.17] TEST: IPv4 fibmatch [ OK ] # 24.45 [+0.17] TEST: IPv6 fibmatch [ OK ] # 24.58 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 24.72 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 26.00 [+1.28] Carrier off on nexthop # 26.17 [+0.17] TEST: IPv4 fibmatch [ OK ] # 26.35 [+0.18] TEST: IPv6 fibmatch [ OK ] # 26.47 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 26.60 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 26.92 [+0.32] Route to local address with carrier down # 27.10 [+0.18] TEST: IPv4 fibmatch [ OK ] # 27.27 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.43 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 27.59 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 28.41 [+0.82] # 28.41 [+0.00] Single path route carrier test # 30.93 [+2.52] Start point # 31.10 [+0.16] TEST: IPv4 fibmatch [ OK ] # 31.26 [+0.17] TEST: IPv6 fibmatch [ OK ] # 31.39 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 31.53 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 32.80 [+1.27] Carrier down # 32.96 [+0.16] TEST: IPv4 fibmatch [ OK ] # 33.12 [+0.16] TEST: IPv6 fibmatch [ OK ] # 33.26 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 33.38 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 33.74 [+0.35] Second address added with carrier down # 33.90 [+0.17] TEST: IPv4 fibmatch [ OK ] # 34.09 [+0.18] TEST: IPv6 fibmatch [ OK ] # 34.22 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 34.34 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 41.79 [+7.44] # 41.79 [+0.00] IPv4 nexthop tests # 41.79 [+0.00] <<< write me >>> # 42.11 [+0.32] # 42.11 [+0.00] IPv6 nexthop tests # 42.29 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 42.47 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 42.64 [+0.17] TEST: Gateway is linklocal address [ OK ] # 42.81 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 42.99 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 43.16 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.34 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 43.51 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 43.68 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 43.85 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 44.03 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 44.21 [+0.18] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.37 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 44.55 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 46.14 [+1.59] # 46.14 [+0.00] FIB rule with suppress_prefixlength # 49.75 [+3.60] TEST: FIB rule suppress test [ OK ] # 52.92 [+3.18] # 52.92 [+0.00] Fib6 info length calculation in route notify test # 58.77 [+5.85] TEST: ipv6 route add notify [ OK ] # 61.93 [+3.16] # 61.93 [+0.00] Fib4 info length calculation in route notify test # 67.77 [+5.83] TEST: ipv4 route add notify [ OK ] # 76.44 [+8.67] # 76.44 [+0.00] IPv6 route add / append tests # 77.10 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 77.77 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 78.45 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 79.28 [+0.83] TEST: Append nexthop to existing route - gw [ OK ] # 79.95 [+0.68] TEST: Add multipath route [ OK ] # 80.62 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 81.45 [+0.83] TEST: Route add with different metrics [ OK ] # 81.77 [+0.32] TEST: Route delete with metric [ OK ] # 81.77 [+0.00] # 81.77 [+0.00] IPv6 route replace tests # 82.57 [+0.80] TEST: Single path with single path [ OK ] # 83.37 [+0.80] TEST: Single path with multipath [ OK ] # 84.20 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 85.01 [+0.82] TEST: Invalid nexthop [ OK ] # 85.68 [+0.67] TEST: Single path - replace of non-existent route [ OK ] # 86.50 [+0.82] TEST: Multipath with multipath [ OK ] # 87.31 [+0.81] TEST: Multipath with single path [ OK ] # 88.13 [+0.82] TEST: Multipath with single path via multipath attribute [ OK ] # 88.95 [+0.82] TEST: Multipath with dev-only [ OK ] # 89.78 [+0.83] TEST: Multipath - invalid first nexthop [ OK ] # 90.62 [+0.84] TEST: Multipath - invalid second nexthop [ OK ] # 91.29 [+0.66] TEST: Multipath - replace of non-existent route [ OK ] # 91.29 [+0.00] # 91.29 [+0.00] IPv6 route with dsfield tests # 91.63 [+0.34] TEST: Reject route with dsfield [ OK ] # 103.19 [+11.57] # 103.19 [+0.00] IPv4 route add / append tests # 103.89 [+0.69] TEST: Attempt to add duplicate route - gw [ OK ] # 104.56 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 105.23 [+0.67] TEST: Attempt to add duplicate route - reject route [ OK ] # 106.07 [+0.84] TEST: Add new nexthop for existing prefix [ OK ] # 106.92 [+0.86] TEST: Append nexthop to existing route - gw [ OK ] # 107.79 [+0.87] TEST: Append nexthop to existing route - dev only [ OK ] # 108.64 [+0.85] TEST: Append nexthop to existing route - reject route [ OK ] # 109.32 [+0.69] TEST: Append nexthop to existing reject route - gw [ OK ] # 110.02 [+0.69] TEST: Append nexthop to existing reject route - dev only [ OK ] # 110.70 [+0.68] TEST: add multipath route [ OK ] # 111.37 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 112.24 [+0.87] TEST: Route add with different metrics [ OK ] # 112.59 [+0.35] TEST: Route delete with metric [ OK ] # 112.59 [+0.00] # 112.59 [+0.00] IPv4 route replace tests # 113.45 [+0.86] TEST: Single path with single path [ OK ] # 114.29 [+0.84] TEST: Single path with multipath [ OK ] # 115.13 [+0.84] TEST: Single path with reject route [ OK ] # 115.98 [+0.85] TEST: Single path with single path via multipath attribute [ OK ] # 116.86 [+0.88] TEST: Invalid nexthop [ OK ] # 117.60 [+0.74] TEST: Single path - replace of non-existent route [ OK ] # 118.47 [+0.87] TEST: Multipath with multipath [ OK ] # 119.32 [+0.85] TEST: Multipath with single path [ OK ] # 120.17 [+0.85] TEST: Multipath with single path via multipath attribute [ OK ] # 121.04 [+0.87] TEST: Multipath with reject route [ OK ] # 121.87 [+0.83] TEST: Multipath - invalid first nexthop [ OK ] # 122.71 [+0.84] TEST: Multipath - invalid second nexthop [ OK ] # 123.39 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 125.79 [+2.41] TEST: Cached route removed from VRF port device [ OK ] # 125.79 [+0.00] # 125.79 [+0.00] IPv4 route with dsfield tests # 126.12 [+0.33] TEST: Reject route with dsfield 0x01 [ OK ] # 126.31 [+0.19] TEST: Reject route with dsfield 0x02 [ OK ] # 126.49 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 126.95 [+0.46] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 127.08 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 127.21 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 127.36 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 127.51 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 127.65 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 127.80 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 127.93 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 128.08 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 128.24 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 128.38 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 128.54 [+0.16] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 131.43 [+2.89] # 131.43 [+0.00] IPv6 prefix route tests # 134.98 [+3.56] TEST: Default metric [ OK ] # 135.48 [+0.50] TEST: User specified metric on first device [ OK ] # 135.98 [+0.50] TEST: User specified metric on second device [ OK ] # 136.31 [+0.33] TEST: Delete of address on first device [ OK ] # 136.63 [+0.32] TEST: Modify metric of address [ OK ] # 137.21 [+0.59] TEST: Prefix route removed on link down [ OK ] # 137.55 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 138.00 [+0.45] TEST: Set metric with peer route on local side [ OK ] # 138.14 [+0.15] TEST: Set metric with peer route on peer side [ OK ] # 138.45 [+0.31] TEST: Modify metric and peer address on local side [ OK ] # 138.60 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 140.33 [+1.73] # 140.33 [+0.00] IPv4 prefix route tests # 143.92 [+3.59] TEST: Default metric [ OK ] # 144.41 [+0.49] TEST: User specified metric on first device [ OK ] # 144.91 [+0.50] TEST: User specified metric on second device [ OK ] # 145.23 [+0.32] TEST: Delete of address on first device [ OK ] # 145.58 [+0.34] TEST: Modify metric of address [ OK ] # 145.90 [+0.32] TEST: Prefix route removed on link down [ OK ] # 146.23 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 146.90 [+0.67] TEST: Modify metric of .0/24 address [ OK ] # 147.40 [+0.50] TEST: Set metric of address with peer route [ OK ] # 147.73 [+0.33] TEST: Modify metric and peer address for peer route [ OK ] # 149.47 [+1.73] # 149.47 [+0.00] IPv6 routes with metrics # 158.42 [+8.96] TEST: Single path route with mtu metric [ OK ] # 158.91 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 159.41 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 159.77 [+0.36] TEST: MTU of second leg [ OK ] # 160.12 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 160.58 [+0.46] TEST: Using route with mtu metric [ OK ] # 160.85 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 163.62 [+2.77] # 163.62 [+0.00] IPv4 route add / append tests # 172.54 [+8.91] TEST: Single path route with mtu metric [ OK ] # 172.86 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 173.30 [+0.44] TEST: Using route with mtu metric [ OK ] # 173.58 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 176.52 [+2.94] # 176.52 [+0.00] IPv4 route with IPv6 gateway tests # 187.47 [+10.95] TEST: Single path route with IPv6 gateway [ OK ] # 187.95 [+0.48] TEST: Single path route with IPv6 gateway - ping [ OK ] # 188.11 [+0.16] TEST: Single path route delete [ OK ] # 188.42 [+0.32] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 188.75 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 188.91 [+0.16] TEST: Multipath route delete exact match [ OK ] # 189.08 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 189.41 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 189.58 [+0.17] TEST: Multipath route delete exact match [ OK ] # 192.58 [+3.00] # 192.58 [+0.00] IPv4 rp_filter tests # 204.13 [+11.56] TEST: rp_filter passes local packets [ OK ] # 204.43 [+0.30] TEST: rp_filter passes loopback packets [ OK ] # 205.85 [+1.41] # 205.85 [+0.00] IPv4 delete address route tests # 211.40 [+5.55] Regular FIB info # 211.71 [+0.31] TEST: Route removed from VRF when source address deleted [ OK ] # 211.84 [+0.14] TEST: Route in default VRF not removed [ OK ] # 212.47 [+0.63] TEST: Route removed in default VRF when source address deleted [ OK ] # 212.61 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 212.62 [+0.00] Identical FIB info with different table ID # 212.91 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 213.03 [+0.12] TEST: Route in default VRF not removed [ OK ] # 213.65 [+0.63] TEST: Route removed in default VRF when source address deleted [ OK ] # 213.78 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 213.79 [+0.00] Table ID 0 # 214.09 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 215.79 [+1.70] # 215.79 [+0.00] IPv6 delete address route tests # 225.10 [+9.30] Single device using src address # 225.41 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 225.41 [+0.00] Two devices with the same source address # 225.69 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 226.02 [+0.33] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 226.02 [+0.00] VRF with single device using src address # 226.31 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 226.32 [+0.00] VRF with two devices using src address # 226.62 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 226.91 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 226.91 [+0.00] src address and nexthop dev in same VRF # 227.20 [+0.29] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 227.34 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 227.96 [+0.62] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 228.11 [+0.15] TEST: Prefsrc in default VRF removed [ OK ] # 228.12 [+0.00] src address and nexthop device in different VRF # 228.41 [+0.29] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 228.55 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 229.01 [+0.46] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 229.14 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 229.15 [+0.00] Table ID 0 # 229.43 [+0.29] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 229.44 [+0.00] Link local source route # 229.72 [+0.29] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 230.03 [+0.31] TEST: Prefsrc removed when delete ll addr [ OK ] # 230.14 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 230.60 [+0.46] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 233.33 [+2.73] # 233.33 [+0.00] IPv4 mangling tests # 245.67 [+12.34] TEST: Connection with correct parameters [ OK ] # 245.98 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 247.26 [+1.28] TEST: Connection with correct parameters - mangling [ OK ] # 248.44 [+1.18] TEST: Connection with correct parameters - no mangling [ OK ] # 248.56 [+0.12] TEST: Connection check - server side [ OK ] # 252.04 [+3.47] # 252.04 [+0.00] IPv6 mangling tests # 264.44 [+12.40] TEST: Connection with correct parameters [ OK ] # 264.80 [+0.36] TEST: Connection with incorrect parameters [ OK ] # 265.99 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 267.20 [+1.22] TEST: Connection with correct parameters - no mangling [ OK ] # 267.30 [+0.10] TEST: Connection check - server side [ OK ] # 270.69 [+3.39] # 270.69 [+0.00] IPv4 broadcast neighbour tests # 274.99 [+4.31] TEST: Resolved neighbour for broadcast address [ OK ] # 275.17 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 275.33 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 275.51 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 279.23 [+3.72] # 279.23 [+0.00] Fib6 garbage collection test # 293.74 [+14.51] TEST: ipv6 route garbage collection [ OK ] # 308.55 [+14.81] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 323.26 [+14.71] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 338.07 [+14.81] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 353.39 [+15.32] TEST: ipv6 route garbage collection (RA message) [ OK ] # 354.78 [+1.39] # 354.78 [+0.00] IPv4 multipath list receive tests # 378.43 [+23.65] TEST: Multipath route hit ratio (1.00) [ OK ] # 381.36 [+2.92] # 381.36 [+0.00] IPv6 multipath list receive tests # 403.77 [+22.42] TEST: Multipath route hit ratio (1.00) [ OK ] # 406.75 [+2.98] # 406.75 [+0.00] Tests passed: 229 # 406.75 [+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__->