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.12 [+1.12] # 1.12 [+0.00] Single path route test # 3.01 [+1.89] Start point # 3.18 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.33 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.54 [+0.21] Nexthop device deleted # 3.70 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.86 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 4.92 [+1.06] # 4.92 [+0.00] Multipath route test # 8.15 [+3.23] Start point # 8.32 [+0.17] TEST: IPv4 fibmatch [ OK ] # 8.49 [+0.17] TEST: IPv6 fibmatch [ OK ] # 8.69 [+0.20] One nexthop device deleted # 8.85 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.01 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.21 [+0.20] Second nexthop device deleted # 9.36 [+0.16] TEST: IPv6 - no route [ OK ] # 10.32 [+0.96] # 10.32 [+0.00] Single path, admin down # 12.58 [+2.26] Start point # 12.73 [+0.15] TEST: IPv4 fibmatch [ OK ] # 12.88 [+0.14] TEST: IPv6 fibmatch [ OK ] # 13.05 [+0.17] Route deleted on down # 13.20 [+0.15] TEST: IPv4 fibmatch [ OK ] # 13.35 [+0.15] TEST: IPv6 fibmatch [ OK ] # 14.13 [+0.77] # 14.13 [+0.00] Admin down multipath # 17.40 [+3.28] Verify start point # 17.54 [+0.14] TEST: IPv4 fibmatch [ OK ] # 17.72 [+0.17] TEST: IPv6 fibmatch [ OK ] # 17.89 [+0.17] One device down, one up # 18.05 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.20 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 18.37 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 18.52 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 18.65 [+0.13] TEST: IPv4 flags on down device [ OK ] # 18.79 [+0.14] TEST: IPv6 flags on down device [ OK ] # 18.93 [+0.14] TEST: IPv4 flags on up device [ OK ] # 19.07 [+0.15] TEST: IPv6 flags on up device [ OK ] # 19.39 [+0.31] Other device down and up # 19.55 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 19.72 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 19.87 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.03 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.17 [+0.14] TEST: IPv4 flags on down device [ OK ] # 20.29 [+0.12] TEST: IPv6 flags on down device [ OK ] # 20.44 [+0.15] TEST: IPv4 flags on up device [ OK ] # 20.57 [+0.13] TEST: IPv6 flags on up device [ OK ] # 20.72 [+0.15] Both devices down # 20.87 [+0.15] TEST: IPv4 fibmatch [ OK ] # 21.04 [+0.16] TEST: IPv6 fibmatch [ OK ] # 22.02 [+0.99] # 22.02 [+0.00] Local carrier tests - single path # 24.41 [+2.39] Start point # 24.57 [+0.16] TEST: IPv4 fibmatch [ OK ] # 24.73 [+0.17] TEST: IPv6 fibmatch [ OK ] # 24.88 [+0.15] TEST: IPv4 - no linkdown flag [ OK ] # 25.03 [+0.15] TEST: IPv6 - no linkdown flag [ OK ] # 26.30 [+1.28] Carrier off on nexthop # 26.47 [+0.16] TEST: IPv4 fibmatch [ OK ] # 26.63 [+0.16] TEST: IPv6 fibmatch [ OK ] # 26.78 [+0.15] TEST: IPv4 - linkdown flag set [ OK ] # 26.94 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 27.25 [+0.31] Route to local address with carrier down # 27.41 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.58 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.71 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 27.85 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 28.63 [+0.78] # 28.63 [+0.00] Single path route carrier test # 31.09 [+2.46] Start point # 31.24 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.41 [+0.17] TEST: IPv6 fibmatch [ OK ] # 31.54 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 31.68 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 32.93 [+1.26] Carrier down # 33.09 [+0.15] TEST: IPv4 fibmatch [ OK ] # 33.25 [+0.16] TEST: IPv6 fibmatch [ OK ] # 33.36 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 33.50 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 33.81 [+0.31] Second address added with carrier down # 33.97 [+0.16] TEST: IPv4 fibmatch [ OK ] # 34.12 [+0.15] TEST: IPv6 fibmatch [ OK ] # 34.25 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 34.39 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 41.56 [+7.17] # 41.56 [+0.00] IPv4 nexthop tests # 41.56 [+0.00] <<< write me >>> # 41.89 [+0.33] # 41.89 [+0.00] IPv6 nexthop tests # 42.06 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 42.24 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 42.41 [+0.17] TEST: Gateway is linklocal address [ OK ] # 42.57 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 42.75 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 42.92 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.10 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 43.27 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 43.43 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 43.60 [+0.17] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 43.78 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 43.94 [+0.16] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.11 [+0.17] TEST: VRF route, gateway can not be a local address [ OK ] # 44.29 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 45.86 [+1.58] # 45.86 [+0.00] FIB rule with suppress_prefixlength # 49.30 [+3.43] TEST: FIB rule suppress test [ OK ] # 52.34 [+3.04] # 52.34 [+0.00] Fib6 info length calculation in route notify test # 58.08 [+5.74] TEST: ipv6 route add notify [ OK ] # 61.23 [+3.14] # 61.23 [+0.00] Fib4 info length calculation in route notify test # 67.07 [+5.85] TEST: ipv4 route add notify [ OK ] # 76.17 [+9.09] # 76.17 [+0.00] IPv6 route add / append tests # 76.90 [+0.73] TEST: Attempt to add duplicate route - gw [ OK ] # 77.62 [+0.72] TEST: Attempt to add duplicate route - dev only [ OK ] # 78.35 [+0.73] TEST: Attempt to add duplicate route - reject route [ OK ] # 79.21 [+0.87] TEST: Append nexthop to existing route - gw [ OK ] # 80.01 [+0.80] TEST: Add multipath route [ OK ] # 80.83 [+0.82] TEST: Attempt to add duplicate multipath route [ OK ] # 81.85 [+1.02] TEST: Route add with different metrics [ OK ] # 82.24 [+0.38] TEST: Route delete with metric [ OK ] # 82.24 [+0.00] # 82.24 [+0.00] IPv6 route replace tests # 83.20 [+0.96] TEST: Single path with single path [ OK ] # 84.18 [+0.98] TEST: Single path with multipath [ OK ] # 85.10 [+0.92] TEST: Single path with single path via multipath attribute [ OK ] # 86.10 [+1.00] TEST: Invalid nexthop [ OK ] # 86.85 [+0.75] TEST: Single path - replace of non-existent route [ OK ] # 87.86 [+1.00] TEST: Multipath with multipath [ OK ] # 88.81 [+0.95] TEST: Multipath with single path [ OK ] # 89.80 [+0.99] TEST: Multipath with single path via multipath attribute [ OK ] # 90.77 [+0.97] TEST: Multipath with dev-only [ OK ] # 91.83 [+1.06] TEST: Multipath - invalid first nexthop [ OK ] # 92.85 [+1.02] TEST: Multipath - invalid second nexthop [ OK ] # 93.64 [+0.79] TEST: Multipath - replace of non-existent route [ OK ] # 93.65 [+0.00] # 93.65 [+0.00] IPv6 route with dsfield tests # 94.02 [+0.38] TEST: Reject route with dsfield [ OK ] # 107.01 [+12.98] # 107.01 [+0.00] IPv4 route add / append tests # 107.73 [+0.72] TEST: Attempt to add duplicate route - gw [ OK ] # 108.41 [+0.68] TEST: Attempt to add duplicate route - dev only [ OK ] # 109.09 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 109.92 [+0.83] TEST: Add new nexthop for existing prefix [ OK ] # 110.78 [+0.86] TEST: Append nexthop to existing route - gw [ OK ] # 111.64 [+0.86] TEST: Append nexthop to existing route - dev only [ OK ] # 112.48 [+0.84] TEST: Append nexthop to existing route - reject route [ OK ] # 113.16 [+0.68] TEST: Append nexthop to existing reject route - gw [ OK ] # 113.83 [+0.67] TEST: Append nexthop to existing reject route - dev only [ OK ] # 114.52 [+0.69] TEST: add multipath route [ OK ] # 115.19 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 116.04 [+0.84] TEST: Route add with different metrics [ OK ] # 116.36 [+0.33] TEST: Route delete with metric [ OK ] # 116.36 [+0.00] # 116.36 [+0.00] IPv4 route replace tests # 117.25 [+0.88] TEST: Single path with single path [ OK ] # 118.07 [+0.82] TEST: Single path with multipath [ OK ] # 118.90 [+0.83] TEST: Single path with reject route [ OK ] # 119.73 [+0.82] TEST: Single path with single path via multipath attribute [ OK ] # 120.59 [+0.86] TEST: Invalid nexthop [ OK ] # 121.29 [+0.70] TEST: Single path - replace of non-existent route [ OK ] # 122.17 [+0.88] TEST: Multipath with multipath [ OK ] # 123.02 [+0.85] TEST: Multipath with single path [ OK ] # 123.88 [+0.85] TEST: Multipath with single path via multipath attribute [ OK ] # 124.71 [+0.83] TEST: Multipath with reject route [ OK ] # 125.58 [+0.87] TEST: Multipath - invalid first nexthop [ OK ] # 126.44 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 127.11 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 129.61 [+2.51] TEST: Cached route removed from VRF port device [ OK ] # 129.62 [+0.00] # 129.62 [+0.00] IPv4 route with dsfield tests # 129.96 [+0.34] TEST: Reject route with dsfield 0x01 [ OK ] # 130.14 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 130.31 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 130.79 [+0.48] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 130.95 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 131.09 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 131.24 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 131.37 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 131.51 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 131.63 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 131.77 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 131.90 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 132.04 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 132.19 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 132.36 [+0.17] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 135.17 [+2.81] # 135.17 [+0.00] IPv6 prefix route tests # 138.88 [+3.71] TEST: Default metric [ OK ] # 139.37 [+0.49] TEST: User specified metric on first device [ OK ] # 139.89 [+0.52] TEST: User specified metric on second device [ OK ] # 140.22 [+0.33] TEST: Delete of address on first device [ OK ] # 140.56 [+0.34] TEST: Modify metric of address [ OK ] # 141.18 [+0.63] TEST: Prefix route removed on link down [ OK ] # 141.51 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 142.00 [+0.49] TEST: Set metric with peer route on local side [ OK ] # 142.15 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 142.50 [+0.35] TEST: Modify metric and peer address on local side [ OK ] # 142.65 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 144.49 [+1.85] # 144.49 [+0.00] IPv4 prefix route tests # 148.12 [+3.63] TEST: Default metric [ OK ] # 148.65 [+0.53] TEST: User specified metric on first device [ OK ] # 149.16 [+0.51] TEST: User specified metric on second device [ OK ] # 149.51 [+0.35] TEST: Delete of address on first device [ OK ] # 149.86 [+0.35] TEST: Modify metric of address [ OK ] # 150.20 [+0.35] TEST: Prefix route removed on link down [ OK ] # 150.54 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 151.23 [+0.69] TEST: Modify metric of .0/24 address [ OK ] # 151.81 [+0.59] TEST: Set metric of address with peer route [ OK ] # 152.20 [+0.38] TEST: Modify metric and peer address for peer route [ OK ] # 153.97 [+1.77] # 153.97 [+0.00] IPv6 routes with metrics # 162.95 [+8.98] TEST: Single path route with mtu metric [ OK ] # 163.44 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 163.95 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 164.26 [+0.32] TEST: MTU of second leg [ OK ] # 164.59 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 165.05 [+0.46] TEST: Using route with mtu metric [ OK ] # 165.33 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 168.08 [+2.75] # 168.08 [+0.00] IPv4 route add / append tests # 177.18 [+9.10] TEST: Single path route with mtu metric [ OK ] # 177.52 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 177.98 [+0.46] TEST: Using route with mtu metric [ OK ] # 178.26 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 181.09 [+2.83] # 181.09 [+0.00] IPv4 route with IPv6 gateway tests # 192.17 [+11.08] TEST: Single path route with IPv6 gateway [ OK ] # 192.62 [+0.44] TEST: Single path route with IPv6 gateway - ping [ OK ] # 192.79 [+0.17] TEST: Single path route delete [ OK ] # 193.12 [+0.33] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 193.46 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 193.62 [+0.16] TEST: Multipath route delete exact match [ OK ] # 193.79 [+0.16] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 194.14 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 194.31 [+0.17] TEST: Multipath route delete exact match [ OK ] # 197.24 [+2.93] # 197.24 [+0.00] IPv4 rp_filter tests # 209.28 [+12.05] TEST: rp_filter passes local packets [ OK ] # 209.57 [+0.29] TEST: rp_filter passes loopback packets [ OK ] # 210.94 [+1.36] # 210.94 [+0.00] IPv4 delete address route tests # 216.51 [+5.57] Regular FIB info # 216.79 [+0.28] TEST: Route removed from VRF when source address deleted [ OK ] # 216.94 [+0.15] TEST: Route in default VRF not removed [ OK ] # 217.57 [+0.62] TEST: Route removed in default VRF when source address deleted [ OK ] # 217.70 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 217.71 [+0.00] Identical FIB info with different table ID # 218.03 [+0.32] TEST: Route removed from VRF when source address deleted [ OK ] # 218.17 [+0.14] TEST: Route in default VRF not removed [ OK ] # 218.77 [+0.60] TEST: Route removed in default VRF when source address deleted [ OK ] # 218.90 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 218.90 [+0.00] Table ID 0 # 219.19 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 220.95 [+1.77] # 220.95 [+0.00] IPv6 delete address route tests # 230.30 [+9.35] Single device using src address # 230.63 [+0.33] TEST: Prefsrc removed when src address removed on other device [ OK ] # 230.64 [+0.00] Two devices with the same source address # 230.93 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 231.23 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 231.23 [+0.00] VRF with single device using src address # 231.55 [+0.32] TEST: Prefsrc removed when src address removed on other device [ OK ] # 231.55 [+0.00] VRF with two devices using src address # 231.83 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 232.15 [+0.32] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 232.15 [+0.00] src address and nexthop dev in same VRF # 232.45 [+0.30] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 232.57 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 233.19 [+0.62] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 233.35 [+0.16] TEST: Prefsrc in default VRF removed [ OK ] # 233.35 [+0.00] src address and nexthop device in different VRF # 233.65 [+0.29] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 233.80 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 234.27 [+0.48] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 234.43 [+0.15] TEST: Prefsrc removed in default VRF [ OK ] # 234.43 [+0.00] Table ID 0 # 234.73 [+0.30] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 234.74 [+0.00] Link local source route # 235.03 [+0.29] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 235.35 [+0.32] TEST: Prefsrc removed when delete ll addr [ OK ] # 235.49 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 235.95 [+0.46] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 238.65 [+2.70] # 238.65 [+0.00] IPv4 mangling tests # 250.99 [+12.34] TEST: Connection with correct parameters [ OK ] # 251.31 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 252.58 [+1.28] TEST: Connection with correct parameters - mangling [ OK ] # 253.77 [+1.19] TEST: Connection with correct parameters - no mangling [ OK ] # 253.87 [+0.10] TEST: Connection check - server side [ OK ] # 257.22 [+3.34] # 257.22 [+0.00] IPv6 mangling tests # 269.60 [+12.39] TEST: Connection with correct parameters [ OK ] # 269.95 [+0.35] TEST: Connection with incorrect parameters [ OK ] # 271.12 [+1.17] TEST: Connection with correct parameters - mangling [ OK ] # 272.33 [+1.20] TEST: Connection with correct parameters - no mangling [ OK ] # 272.45 [+0.13] TEST: Connection check - server side [ OK ] # 275.78 [+3.33] # 275.78 [+0.00] IPv4 broadcast neighbour tests # 280.04 [+4.25] TEST: Resolved neighbour for broadcast address [ OK ] # 280.20 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 280.37 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 280.54 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 284.14 [+3.60] # 284.14 [+0.00] Fib6 garbage collection test # 298.57 [+14.44] TEST: ipv6 route garbage collection [ OK ] # 313.36 [+14.78] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 328.05 [+14.70] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 342.91 [+14.86] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 358.23 [+15.31] TEST: ipv6 route garbage collection (RA message) [ OK ] # 359.58 [+1.36] # 359.58 [+0.00] IPv4 multipath list receive tests # 383.77 [+24.18] TEST: Multipath route hit ratio (1.00) [ OK ] # 386.78 [+3.02] # 386.78 [+0.00] IPv6 multipath list receive tests # 409.73 [+22.94] TEST: Multipath route hit ratio (1.00) [ OK ] # 412.75 [+3.02] # 412.75 [+0.00] Tests passed: 229 # 412.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__->