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.14 [+1.14] # 1.14 [+0.00] Single path route test # 3.07 [+1.93] Start point # 3.23 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.40 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.61 [+0.21] Nexthop device deleted # 3.78 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.94 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.95 [+1.01] # 4.95 [+0.00] Multipath route test # 8.30 [+3.35] Start point # 8.46 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.62 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.84 [+0.22] One nexthop device deleted # 9.01 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.16 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 9.37 [+0.21] Second nexthop device deleted # 9.53 [+0.16] TEST: IPv6 - no route [ OK ] # 10.53 [+1.00] # 10.53 [+0.00] Single path, admin down # 12.86 [+2.33] Start point # 13.01 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.17 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.32 [+0.15] Route deleted on down # 13.47 [+0.15] TEST: IPv4 fibmatch [ OK ] # 13.63 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.41 [+0.77] # 14.41 [+0.00] Admin down multipath # 17.60 [+3.20] Verify start point # 17.76 [+0.15] TEST: IPv4 fibmatch [ OK ] # 17.91 [+0.15] TEST: IPv6 fibmatch [ OK ] # 18.06 [+0.16] One device down, one up # 18.23 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 18.39 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.54 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 18.70 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 18.82 [+0.12] TEST: IPv4 flags on down device [ OK ] # 18.94 [+0.12] TEST: IPv6 flags on down device [ OK ] # 19.10 [+0.16] TEST: IPv4 flags on up device [ OK ] # 19.23 [+0.12] TEST: IPv6 flags on up device [ OK ] # 19.54 [+0.31] Other device down and up # 19.70 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 19.86 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 20.02 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.17 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.29 [+0.12] TEST: IPv4 flags on down device [ OK ] # 20.43 [+0.13] TEST: IPv6 flags on down device [ OK ] # 20.56 [+0.14] TEST: IPv4 flags on up device [ OK ] # 20.70 [+0.14] TEST: IPv6 flags on up device [ OK ] # 20.87 [+0.17] Both devices down # 21.03 [+0.16] TEST: IPv4 fibmatch [ OK ] # 21.18 [+0.15] TEST: IPv6 fibmatch [ OK ] # 22.18 [+1.00] # 22.18 [+0.00] Local carrier tests - single path # 24.57 [+2.39] Start point # 24.73 [+0.16] TEST: IPv4 fibmatch [ OK ] # 24.89 [+0.16] TEST: IPv6 fibmatch [ OK ] # 25.03 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 25.18 [+0.15] TEST: IPv6 - no linkdown flag [ OK ] # 26.46 [+1.29] Carrier off on nexthop # 26.62 [+0.16] TEST: IPv4 fibmatch [ OK ] # 26.80 [+0.18] TEST: IPv6 fibmatch [ OK ] # 26.94 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 27.09 [+0.15] TEST: IPv6 - linkdown flag set [ OK ] # 27.39 [+0.30] Route to local address with carrier down # 27.54 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.71 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.86 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 27.99 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 28.78 [+0.78] # 28.78 [+0.00] Single path route carrier test # 31.17 [+2.39] Start point # 31.33 [+0.16] TEST: IPv4 fibmatch [ OK ] # 31.48 [+0.15] TEST: IPv6 fibmatch [ OK ] # 31.62 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 31.74 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 33.01 [+1.26] Carrier down # 33.16 [+0.16] TEST: IPv4 fibmatch [ OK ] # 33.31 [+0.15] TEST: IPv6 fibmatch [ OK ] # 33.45 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 33.59 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 33.90 [+0.31] Second address added with carrier down # 34.06 [+0.16] TEST: IPv4 fibmatch [ OK ] # 34.22 [+0.17] TEST: IPv6 fibmatch [ OK ] # 34.34 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 34.49 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 41.85 [+7.36] # 41.85 [+0.00] IPv4 nexthop tests # 41.85 [+0.00] <<< write me >>> # 42.18 [+0.33] # 42.18 [+0.00] IPv6 nexthop tests # 42.36 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 42.53 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 42.69 [+0.17] TEST: Gateway is linklocal address [ OK ] # 42.87 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 43.04 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 43.20 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.38 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 43.56 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 43.73 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 43.90 [+0.17] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 44.06 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 44.23 [+0.18] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.41 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 44.58 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 46.13 [+1.55] # 46.13 [+0.00] FIB rule with suppress_prefixlength # 49.55 [+3.43] TEST: FIB rule suppress test [ OK ] # 52.58 [+3.03] # 52.58 [+0.00] Fib6 info length calculation in route notify test # 58.25 [+5.67] TEST: ipv6 route add notify [ OK ] # 61.42 [+3.17] # 61.42 [+0.00] Fib4 info length calculation in route notify test # 67.24 [+5.82] TEST: ipv4 route add notify [ OK ] # 75.75 [+8.51] # 75.75 [+0.00] IPv6 route add / append tests # 76.42 [+0.67] TEST: Attempt to add duplicate route - gw [ OK ] # 77.08 [+0.65] TEST: Attempt to add duplicate route - dev only [ OK ] # 77.74 [+0.66] TEST: Attempt to add duplicate route - reject route [ OK ] # 78.55 [+0.81] TEST: Append nexthop to existing route - gw [ OK ] # 79.17 [+0.62] TEST: Add multipath route [ OK ] # 79.83 [+0.66] TEST: Attempt to add duplicate multipath route [ OK ] # 80.66 [+0.83] TEST: Route add with different metrics [ OK ] # 81.00 [+0.33] TEST: Route delete with metric [ OK ] # 81.00 [+0.00] # 81.00 [+0.00] IPv6 route replace tests # 81.81 [+0.81] TEST: Single path with single path [ OK ] # 82.61 [+0.80] TEST: Single path with multipath [ OK ] # 83.42 [+0.81] TEST: Single path with single path via multipath attribute [ OK ] # 84.20 [+0.78] TEST: Invalid nexthop [ OK ] # 84.85 [+0.65] TEST: Single path - replace of non-existent route [ OK ] # 85.67 [+0.82] TEST: Multipath with multipath [ OK ] # 86.51 [+0.84] TEST: Multipath with single path [ OK ] # 87.32 [+0.81] TEST: Multipath with single path via multipath attribute [ OK ] # 88.17 [+0.85] TEST: Multipath with dev-only [ OK ] # 89.02 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 89.89 [+0.87] TEST: Multipath - invalid second nexthop [ OK ] # 90.58 [+0.69] TEST: Multipath - replace of non-existent route [ OK ] # 90.58 [+0.00] # 90.58 [+0.00] IPv6 route with dsfield tests # 90.94 [+0.35] TEST: Reject route with dsfield [ OK ] # 102.35 [+11.41] # 102.35 [+0.00] IPv4 route add / append tests # 103.04 [+0.69] TEST: Attempt to add duplicate route - gw [ OK ] # 103.70 [+0.65] TEST: Attempt to add duplicate route - dev only [ OK ] # 104.35 [+0.65] TEST: Attempt to add duplicate route - reject route [ OK ] # 105.14 [+0.80] TEST: Add new nexthop for existing prefix [ OK ] # 106.02 [+0.88] TEST: Append nexthop to existing route - gw [ OK ] # 106.86 [+0.84] TEST: Append nexthop to existing route - dev only [ OK ] # 107.74 [+0.88] TEST: Append nexthop to existing route - reject route [ OK ] # 108.43 [+0.69] TEST: Append nexthop to existing reject route - gw [ OK ] # 109.10 [+0.67] TEST: Append nexthop to existing reject route - dev only [ OK ] # 109.75 [+0.65] TEST: add multipath route [ OK ] # 110.44 [+0.68] TEST: Attempt to add duplicate multipath route [ OK ] # 111.32 [+0.88] TEST: Route add with different metrics [ OK ] # 111.67 [+0.36] TEST: Route delete with metric [ OK ] # 111.68 [+0.00] # 111.68 [+0.00] IPv4 route replace tests # 112.52 [+0.84] TEST: Single path with single path [ OK ] # 113.37 [+0.85] TEST: Single path with multipath [ OK ] # 114.20 [+0.83] TEST: Single path with reject route [ OK ] # 115.03 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 115.85 [+0.82] TEST: Invalid nexthop [ OK ] # 116.50 [+0.65] TEST: Single path - replace of non-existent route [ OK ] # 117.31 [+0.81] TEST: Multipath with multipath [ OK ] # 118.15 [+0.84] TEST: Multipath with single path [ OK ] # 118.97 [+0.82] TEST: Multipath with single path via multipath attribute [ OK ] # 119.80 [+0.83] TEST: Multipath with reject route [ OK ] # 120.63 [+0.83] TEST: Multipath - invalid first nexthop [ OK ] # 121.47 [+0.83] TEST: Multipath - invalid second nexthop [ OK ] # 122.11 [+0.65] TEST: Multipath - replace of non-existent route [ OK ] # 124.55 [+2.44] TEST: Cached route removed from VRF port device [ OK ] # 124.55 [+0.00] # 124.55 [+0.00] IPv4 route with dsfield tests # 124.89 [+0.34] TEST: Reject route with dsfield 0x01 [ OK ] # 125.06 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 125.24 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 125.71 [+0.46] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 125.85 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 125.98 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 126.11 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 126.26 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 126.38 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 126.53 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 126.65 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 126.79 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 126.94 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 127.08 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 127.20 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 130.01 [+2.81] # 130.01 [+0.00] IPv6 prefix route tests # 133.72 [+3.71] TEST: Default metric [ OK ] # 134.23 [+0.51] TEST: User specified metric on first device [ OK ] # 134.73 [+0.50] TEST: User specified metric on second device [ OK ] # 135.04 [+0.32] TEST: Delete of address on first device [ OK ] # 135.34 [+0.30] TEST: Modify metric of address [ OK ] # 135.95 [+0.60] TEST: Prefix route removed on link down [ OK ] # 136.27 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 136.76 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 136.91 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 137.24 [+0.33] TEST: Modify metric and peer address on local side [ OK ] # 137.40 [+0.16] TEST: Modify metric and peer address on peer side [ OK ] # 139.16 [+1.76] # 139.16 [+0.00] IPv4 prefix route tests # 142.74 [+3.58] TEST: Default metric [ OK ] # 143.25 [+0.51] TEST: User specified metric on first device [ OK ] # 143.76 [+0.51] TEST: User specified metric on second device [ OK ] # 144.10 [+0.34] TEST: Delete of address on first device [ OK ] # 144.43 [+0.33] TEST: Modify metric of address [ OK ] # 144.77 [+0.35] TEST: Prefix route removed on link down [ OK ] # 145.17 [+0.40] TEST: Prefix route with metric on link up [ OK ] # 146.00 [+0.83] TEST: Modify metric of .0/24 address [ OK ] # 146.50 [+0.50] TEST: Set metric of address with peer route [ OK ] # 146.82 [+0.32] TEST: Modify metric and peer address for peer route [ OK ] # 148.55 [+1.73] # 148.55 [+0.00] IPv6 routes with metrics # 157.52 [+8.97] TEST: Single path route with mtu metric [ OK ] # 158.01 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 158.54 [+0.53] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 158.86 [+0.32] TEST: MTU of second leg [ OK ] # 159.17 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 159.63 [+0.46] TEST: Using route with mtu metric [ OK ] # 159.89 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 162.69 [+2.79] # 162.69 [+0.00] IPv4 route add / append tests # 171.60 [+8.91] TEST: Single path route with mtu metric [ OK ] # 171.94 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 172.42 [+0.48] TEST: Using route with mtu metric [ OK ] # 172.70 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 175.47 [+2.77] # 175.47 [+0.00] IPv4 route with IPv6 gateway tests # 186.33 [+10.85] TEST: Single path route with IPv6 gateway [ OK ] # 186.78 [+0.45] TEST: Single path route with IPv6 gateway - ping [ OK ] # 186.95 [+0.17] TEST: Single path route delete [ OK ] # 187.28 [+0.33] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 187.61 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 187.78 [+0.17] TEST: Multipath route delete exact match [ OK ] # 187.95 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 188.28 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 188.45 [+0.17] TEST: Multipath route delete exact match [ OK ] # 191.21 [+2.76] # 191.21 [+0.00] IPv4 rp_filter tests # 203.07 [+11.86] TEST: rp_filter passes local packets [ OK ] # 203.36 [+0.29] TEST: rp_filter passes loopback packets [ OK ] # 204.76 [+1.40] # 204.76 [+0.00] IPv4 delete address route tests # 210.36 [+5.60] Regular FIB info # 210.66 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 210.79 [+0.13] TEST: Route in default VRF not removed [ OK ] # 211.43 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 211.58 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 211.58 [+0.00] Identical FIB info with different table ID # 211.88 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 212.02 [+0.14] TEST: Route in default VRF not removed [ OK ] # 212.62 [+0.60] TEST: Route removed in default VRF when source address deleted [ OK ] # 212.76 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 212.76 [+0.00] Table ID 0 # 213.06 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 214.85 [+1.80] # 214.85 [+0.00] IPv6 delete address route tests # 224.30 [+9.45] Single device using src address # 224.59 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 224.59 [+0.00] Two devices with the same source address # 224.89 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 225.18 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 225.18 [+0.00] VRF with single device using src address # 225.45 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 225.46 [+0.00] VRF with two devices using src address # 225.76 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 226.06 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 226.06 [+0.00] src address and nexthop dev in same VRF # 226.36 [+0.30] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 226.52 [+0.15] TEST: Prefsrc in default VRF not removed [ OK ] # 227.14 [+0.62] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 227.27 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 227.27 [+0.00] src address and nexthop device in different VRF # 227.58 [+0.31] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 227.71 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 228.18 [+0.48] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 228.33 [+0.15] TEST: Prefsrc removed in default VRF [ OK ] # 228.33 [+0.00] Table ID 0 # 228.62 [+0.29] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 228.62 [+0.00] Link local source route # 228.93 [+0.31] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 229.22 [+0.29] TEST: Prefsrc removed when delete ll addr [ OK ] # 229.36 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 229.83 [+0.47] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 232.58 [+2.75] # 232.58 [+0.00] IPv4 mangling tests # 245.00 [+12.42] TEST: Connection with correct parameters [ OK ] # 245.32 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 246.61 [+1.29] TEST: Connection with correct parameters - mangling [ OK ] # 247.78 [+1.17] TEST: Connection with correct parameters - no mangling [ OK ] # 247.91 [+0.13] TEST: Connection check - server side [ OK ] # 251.29 [+3.39] # 251.29 [+0.00] IPv6 mangling tests # 263.64 [+12.34] TEST: Connection with correct parameters [ OK ] # 263.99 [+0.36] TEST: Connection with incorrect parameters [ OK ] # 265.19 [+1.20] TEST: Connection with correct parameters - mangling [ OK ] # 266.41 [+1.21] TEST: Connection with correct parameters - no mangling [ OK ] # 266.54 [+0.13] TEST: Connection check - server side [ OK ] # 270.02 [+3.48] # 270.02 [+0.00] IPv4 broadcast neighbour tests # 274.32 [+4.30] TEST: Resolved neighbour for broadcast address [ OK ] # 274.50 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 274.67 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 274.84 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 278.51 [+3.67] # 278.51 [+0.00] Fib6 garbage collection test # 292.97 [+14.46] TEST: ipv6 route garbage collection [ OK ] # 307.75 [+14.78] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 322.54 [+14.79] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 337.43 [+14.89] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 352.83 [+15.39] TEST: ipv6 route garbage collection (RA message) [ OK ] # 354.19 [+1.37] # 354.19 [+0.00] IPv4 multipath list receive tests # 378.62 [+24.43] TEST: Multipath route hit ratio (1.00) [ OK ] # 381.61 [+2.98] # 381.61 [+0.00] IPv6 multipath list receive tests # 404.58 [+22.97] TEST: Multipath route hit ratio (1.00) [ OK ] # 407.55 [+2.97] # 407.55 [+0.00] Tests passed: 229 # 407.55 [+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__->