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.10 [+1.10] # 1.10 [+0.00] Single path route test # 2.97 [+1.87] Start point # 3.14 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.30 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.52 [+0.22] Nexthop device deleted # 3.67 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.83 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.83 [+0.99] # 4.83 [+0.00] Multipath route test # 8.22 [+3.40] Start point # 8.39 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.56 [+0.17] TEST: IPv6 fibmatch [ OK ] # 8.78 [+0.22] One nexthop device deleted # 8.93 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.09 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.31 [+0.21] Second nexthop device deleted # 9.47 [+0.16] TEST: IPv6 - no route [ OK ] # 10.49 [+1.02] # 10.49 [+0.00] Single path, admin down # 12.84 [+2.35] Start point # 13.01 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.17 [+0.17] TEST: IPv6 fibmatch [ OK ] # 13.35 [+0.18] Route deleted on down # 13.51 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.68 [+0.17] TEST: IPv6 fibmatch [ OK ] # 14.52 [+0.83] # 14.52 [+0.00] Admin down multipath # 17.97 [+3.46] Verify start point # 18.15 [+0.17] TEST: IPv4 fibmatch [ OK ] # 18.31 [+0.16] TEST: IPv6 fibmatch [ OK ] # 18.48 [+0.17] One device down, one up # 18.64 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.81 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 18.98 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 19.14 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 19.29 [+0.15] TEST: IPv4 flags on down device [ OK ] # 19.42 [+0.12] TEST: IPv6 flags on down device [ OK ] # 19.56 [+0.14] TEST: IPv4 flags on up device [ OK ] # 19.70 [+0.14] TEST: IPv6 flags on up device [ OK ] # 20.03 [+0.34] Other device down and up # 20.20 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 20.38 [+0.18] TEST: IPv6 fibmatch on down device [ OK ] # 20.54 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.72 [+0.18] TEST: IPv6 fibmatch on up device [ OK ] # 20.85 [+0.13] TEST: IPv4 flags on down device [ OK ] # 20.98 [+0.13] TEST: IPv6 flags on down device [ OK ] # 21.14 [+0.15] TEST: IPv4 flags on up device [ OK ] # 21.28 [+0.15] TEST: IPv6 flags on up device [ OK ] # 21.45 [+0.17] Both devices down # 21.63 [+0.17] TEST: IPv4 fibmatch [ OK ] # 21.79 [+0.17] TEST: IPv6 fibmatch [ OK ] # 22.80 [+1.00] # 22.80 [+0.00] Local carrier tests - single path # 25.43 [+2.64] Start point # 25.60 [+0.17] TEST: IPv4 fibmatch [ OK ] # 25.77 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.91 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 26.06 [+0.15] TEST: IPv6 - no linkdown flag [ OK ] # 27.36 [+1.30] Carrier off on nexthop # 27.55 [+0.19] TEST: IPv4 fibmatch [ OK ] # 27.72 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.89 [+0.17] TEST: IPv4 - linkdown flag set [ OK ] # 28.05 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 28.41 [+0.36] Route to local address with carrier down # 28.58 [+0.18] TEST: IPv4 fibmatch [ OK ] # 28.77 [+0.18] TEST: IPv6 fibmatch [ OK ] # 28.92 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 29.05 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 29.95 [+0.90] # 29.95 [+0.00] Single path route carrier test # 32.66 [+2.70] Start point # 32.82 [+0.17] TEST: IPv4 fibmatch [ OK ] # 32.99 [+0.17] TEST: IPv6 fibmatch [ OK ] # 33.12 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 33.29 [+0.17] TEST: IPv6 no linkdown flag [ OK ] # 34.57 [+1.28] Carrier down # 34.74 [+0.17] TEST: IPv4 fibmatch [ OK ] # 34.91 [+0.17] TEST: IPv6 fibmatch [ OK ] # 35.06 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 35.19 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 35.53 [+0.34] Second address added with carrier down # 35.71 [+0.18] TEST: IPv4 fibmatch [ OK ] # 35.87 [+0.17] TEST: IPv6 fibmatch [ OK ] # 36.02 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 36.17 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 43.87 [+7.70] # 43.87 [+0.00] IPv4 nexthop tests # 43.87 [+0.00] <<< write me >>> # 44.22 [+0.35] # 44.22 [+0.00] IPv6 nexthop tests # 44.39 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 44.56 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.73 [+0.17] TEST: Gateway is linklocal address [ OK ] # 44.90 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 45.08 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 45.26 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 45.43 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 45.61 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 45.79 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 45.97 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 46.15 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 46.32 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 46.50 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 46.67 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 48.24 [+1.57] # 48.24 [+0.00] FIB rule with suppress_prefixlength # 51.90 [+3.66] TEST: FIB rule suppress test [ OK ] # 55.10 [+3.20] # 55.10 [+0.00] Fib6 info length calculation in route notify test # 61.10 [+6.00] TEST: ipv6 route add notify [ OK ] # 64.84 [+3.75] # 64.84 [+0.00] Fib4 info length calculation in route notify test # 72.07 [+7.22] TEST: ipv4 route add notify [ OK ] # 84.85 [+12.79] # 84.85 [+0.00] IPv6 route add / append tests # 85.81 [+0.96] TEST: Attempt to add duplicate route - gw [ OK ] # 86.73 [+0.92] TEST: Attempt to add duplicate route - dev only [ OK ] # 87.76 [+1.03] TEST: Attempt to add duplicate route - reject route [ OK ] # 88.97 [+1.21] TEST: Append nexthop to existing route - gw [ OK ] # 89.94 [+0.97] TEST: Add multipath route [ OK ] # 90.87 [+0.94] TEST: Attempt to add duplicate multipath route [ OK ] # 92.07 [+1.19] TEST: Route add with different metrics [ OK ] # 92.47 [+0.41] TEST: Route delete with metric [ OK ] # 92.48 [+0.00] # 92.48 [+0.00] IPv6 route replace tests # 93.53 [+1.06] TEST: Single path with single path [ OK ] # 94.73 [+1.20] TEST: Single path with multipath [ OK ] # 95.83 [+1.09] TEST: Single path with single path via multipath attribute [ OK ] # 96.95 [+1.12] TEST: Invalid nexthop [ OK ] # 97.83 [+0.88] TEST: Single path - replace of non-existent route [ OK ] # 98.98 [+1.15] TEST: Multipath with multipath [ OK ] # 100.10 [+1.13] TEST: Multipath with single path [ OK ] # 101.16 [+1.05] TEST: Multipath with single path via multipath attribute [ OK ] # 102.18 [+1.02] TEST: Multipath with dev-only [ OK ] # 103.09 [+0.90] TEST: Multipath - invalid first nexthop [ OK ] # 104.03 [+0.94] TEST: Multipath - invalid second nexthop [ OK ] # 104.78 [+0.75] TEST: Multipath - replace of non-existent route [ OK ] # 104.79 [+0.00] # 104.79 [+0.00] IPv6 route with dsfield tests # 105.19 [+0.41] TEST: Reject route with dsfield [ OK ] # 117.55 [+12.35] # 117.55 [+0.00] IPv4 route add / append tests # 118.25 [+0.70] TEST: Attempt to add duplicate route - gw [ OK ] # 118.93 [+0.68] TEST: Attempt to add duplicate route - dev only [ OK ] # 119.62 [+0.69] TEST: Attempt to add duplicate route - reject route [ OK ] # 120.48 [+0.86] TEST: Add new nexthop for existing prefix [ OK ] # 121.35 [+0.87] TEST: Append nexthop to existing route - gw [ OK ] # 122.23 [+0.88] TEST: Append nexthop to existing route - dev only [ OK ] # 123.10 [+0.87] TEST: Append nexthop to existing route - reject route [ OK ] # 123.82 [+0.72] TEST: Append nexthop to existing reject route - gw [ OK ] # 124.52 [+0.70] TEST: Append nexthop to existing reject route - dev only [ OK ] # 125.22 [+0.70] TEST: add multipath route [ OK ] # 125.90 [+0.68] TEST: Attempt to add duplicate multipath route [ OK ] # 126.75 [+0.84] TEST: Route add with different metrics [ OK ] # 127.09 [+0.34] TEST: Route delete with metric [ OK ] # 127.10 [+0.00] # 127.10 [+0.00] IPv4 route replace tests # 127.94 [+0.84] TEST: Single path with single path [ OK ] # 128.79 [+0.85] TEST: Single path with multipath [ OK ] # 129.65 [+0.86] TEST: Single path with reject route [ OK ] # 130.49 [+0.85] TEST: Single path with single path via multipath attribute [ OK ] # 131.34 [+0.85] TEST: Invalid nexthop [ OK ] # 132.02 [+0.68] TEST: Single path - replace of non-existent route [ OK ] # 132.86 [+0.85] TEST: Multipath with multipath [ OK ] # 133.72 [+0.86] TEST: Multipath with single path [ OK ] # 134.57 [+0.85] TEST: Multipath with single path via multipath attribute [ OK ] # 135.42 [+0.85] TEST: Multipath with reject route [ OK ] # 136.28 [+0.86] TEST: Multipath - invalid first nexthop [ OK ] # 137.15 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 137.84 [+0.69] TEST: Multipath - replace of non-existent route [ OK ] # 140.33 [+2.49] TEST: Cached route removed from VRF port device [ OK ] # 140.33 [+0.00] # 140.33 [+0.00] IPv4 route with dsfield tests # 140.68 [+0.35] TEST: Reject route with dsfield 0x01 [ OK ] # 140.86 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 141.04 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 141.52 [+0.48] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 141.65 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 141.80 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 141.93 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 142.05 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 142.21 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 142.35 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 142.50 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 142.64 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 142.78 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 142.93 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 143.06 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 145.98 [+2.92] # 145.98 [+0.00] IPv6 prefix route tests # 149.57 [+3.59] TEST: Default metric [ OK ] # 150.05 [+0.49] TEST: User specified metric on first device [ OK ] # 150.53 [+0.48] TEST: User specified metric on second device [ OK ] # 150.86 [+0.33] TEST: Delete of address on first device [ OK ] # 151.17 [+0.31] TEST: Modify metric of address [ OK ] # 151.77 [+0.60] TEST: Prefix route removed on link down [ OK ] # 152.07 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 152.54 [+0.48] TEST: Set metric with peer route on local side [ OK ] # 152.68 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 152.98 [+0.30] TEST: Modify metric and peer address on local side [ OK ] # 153.12 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 154.87 [+1.75] # 154.87 [+0.00] IPv4 prefix route tests # 158.45 [+3.57] TEST: Default metric [ OK ] # 158.95 [+0.51] TEST: User specified metric on first device [ OK ] # 159.46 [+0.51] TEST: User specified metric on second device [ OK ] # 159.79 [+0.32] TEST: Delete of address on first device [ OK ] # 160.13 [+0.35] TEST: Modify metric of address [ OK ] # 160.45 [+0.32] TEST: Prefix route removed on link down [ OK ] # 160.80 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 161.46 [+0.67] TEST: Modify metric of .0/24 address [ OK ] # 161.97 [+0.51] TEST: Set metric of address with peer route [ OK ] # 162.31 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 164.05 [+1.74] # 164.05 [+0.00] IPv6 routes with metrics # 172.97 [+8.91] TEST: Single path route with mtu metric [ OK ] # 173.44 [+0.47] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 173.92 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 174.23 [+0.31] TEST: MTU of second leg [ OK ] # 174.58 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 175.05 [+0.47] TEST: Using route with mtu metric [ OK ] # 175.33 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 178.17 [+2.84] # 178.17 [+0.00] IPv4 route add / append tests # 187.34 [+9.17] TEST: Single path route with mtu metric [ OK ] # 187.69 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 188.13 [+0.45] TEST: Using route with mtu metric [ OK ] # 188.42 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 191.19 [+2.76] # 191.19 [+0.00] IPv4 route with IPv6 gateway tests # 202.15 [+10.96] TEST: Single path route with IPv6 gateway [ OK ] # 202.60 [+0.45] TEST: Single path route with IPv6 gateway - ping [ OK ] # 202.78 [+0.17] TEST: Single path route delete [ OK ] # 203.10 [+0.32] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 203.44 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 203.62 [+0.18] TEST: Multipath route delete exact match [ OK ] # 203.79 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 204.13 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 204.30 [+0.17] TEST: Multipath route delete exact match [ OK ] # 207.14 [+2.84] # 207.14 [+0.00] IPv4 rp_filter tests # 218.75 [+11.61] TEST: rp_filter passes local packets [ OK ] # 219.04 [+0.28] TEST: rp_filter passes loopback packets [ OK ] # 220.42 [+1.38] # 220.42 [+0.00] IPv4 delete address route tests # 226.01 [+5.59] Regular FIB info # 226.30 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 226.44 [+0.13] TEST: Route in default VRF not removed [ OK ] # 227.08 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 227.20 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 227.20 [+0.00] Identical FIB info with different table ID # 227.49 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 227.62 [+0.13] TEST: Route in default VRF not removed [ OK ] # 228.26 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 228.39 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 228.39 [+0.00] Table ID 0 # 228.69 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 230.46 [+1.77] # 230.46 [+0.00] IPv6 delete address route tests # 240.07 [+9.60] Single device using src address # 240.40 [+0.33] TEST: Prefsrc removed when src address removed on other device [ OK ] # 240.40 [+0.00] Two devices with the same source address # 240.70 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 241.00 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 241.01 [+0.00] VRF with single device using src address # 241.31 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 241.31 [+0.00] VRF with two devices using src address # 241.62 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 241.93 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 241.93 [+0.00] src address and nexthop dev in same VRF # 242.22 [+0.29] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 242.37 [+0.15] TEST: Prefsrc in default VRF not removed [ OK ] # 243.01 [+0.64] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 243.16 [+0.15] TEST: Prefsrc in default VRF removed [ OK ] # 243.16 [+0.00] src address and nexthop device in different VRF # 243.47 [+0.31] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 243.60 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 244.05 [+0.45] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 244.18 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 244.18 [+0.00] Table ID 0 # 244.51 [+0.32] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 244.51 [+0.00] Link local source route # 244.83 [+0.33] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 245.13 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 245.28 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 245.72 [+0.44] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 248.45 [+2.74] # 248.45 [+0.00] IPv4 mangling tests # 261.39 [+12.93] TEST: Connection with correct parameters [ OK ] # 261.72 [+0.33] TEST: Connection with incorrect parameters [ OK ] # 263.17 [+1.45] TEST: Connection with correct parameters - mangling [ OK ] # 264.35 [+1.18] TEST: Connection with correct parameters - no mangling [ OK ] # 264.46 [+0.11] TEST: Connection check - server side [ OK ] # 267.97 [+3.51] # 267.97 [+0.00] IPv6 mangling tests # 280.59 [+12.61] TEST: Connection with correct parameters [ OK ] # 280.97 [+0.38] TEST: Connection with incorrect parameters [ OK ] # 282.19 [+1.22] TEST: Connection with correct parameters - mangling [ OK ] # 283.45 [+1.26] TEST: Connection with correct parameters - no mangling [ OK ] # 283.58 [+0.12] TEST: Connection check - server side [ OK ] # 287.26 [+3.68] # 287.26 [+0.00] IPv4 broadcast neighbour tests # 291.71 [+4.45] TEST: Resolved neighbour for broadcast address [ OK ] # 291.89 [+0.18] TEST: Resolved neighbour for network broadcast address [ OK ] # 292.06 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 292.23 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 296.02 [+3.79] # 296.02 [+0.00] Fib6 garbage collection test # 310.54 [+14.52] TEST: ipv6 route garbage collection [ OK ] # 325.43 [+14.89] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 340.16 [+14.73] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 355.10 [+14.94] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 370.49 [+15.39] TEST: ipv6 route garbage collection (RA message) [ OK ] # 371.88 [+1.39] # 371.88 [+0.00] IPv4 multipath list receive tests # 396.11 [+24.23] TEST: Multipath route hit ratio (1.00) [ OK ] # 399.23 [+3.12] # 399.23 [+0.00] IPv6 multipath list receive tests # 423.36 [+24.13] TEST: Multipath route hit ratio (1.00) [ OK ] # 426.56 [+3.21] # 426.56 [+0.00] Tests passed: 229 # 426.56 [+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__->