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.73 [+0.73] # 0.73 [+0.00] Single path route test # 2.46 [+1.73] Start point # 2.61 [+0.16] TEST: IPv4 fibmatch [ OK ] # 2.76 [+0.15] TEST: IPv6 fibmatch [ OK ] # 2.96 [+0.19] Nexthop device deleted # 3.10 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.26 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.17 [+0.91] # 4.17 [+0.00] Multipath route test # 7.24 [+3.07] Start point # 7.39 [+0.14] TEST: IPv4 fibmatch [ OK ] # 7.54 [+0.15] TEST: IPv6 fibmatch [ OK ] # 7.73 [+0.19] One nexthop device deleted # 7.87 [+0.14] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.04 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 8.23 [+0.19] Second nexthop device deleted # 8.37 [+0.14] TEST: IPv6 - no route [ OK ] # 9.28 [+0.91] # 9.28 [+0.00] Single path, admin down # 11.41 [+2.13] Start point # 11.56 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.71 [+0.15] TEST: IPv6 fibmatch [ OK ] # 11.86 [+0.15] Route deleted on down # 12.00 [+0.14] TEST: IPv4 fibmatch [ OK ] # 12.14 [+0.14] TEST: IPv6 fibmatch [ OK ] # 12.86 [+0.72] # 12.86 [+0.00] Admin down multipath # 15.91 [+3.05] Verify start point # 16.06 [+0.15] TEST: IPv4 fibmatch [ OK ] # 16.21 [+0.15] TEST: IPv6 fibmatch [ OK ] # 16.35 [+0.15] One device down, one up # 16.51 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 16.66 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 16.82 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 16.96 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 17.11 [+0.15] TEST: IPv4 flags on down device [ OK ] # 17.25 [+0.14] TEST: IPv6 flags on down device [ OK ] # 17.35 [+0.10] TEST: IPv4 flags on up device [ OK ] # 17.48 [+0.13] TEST: IPv6 flags on up device [ OK ] # 17.77 [+0.29] Other device down and up # 17.92 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 18.07 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 18.22 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 18.37 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 18.49 [+0.12] TEST: IPv4 flags on down device [ OK ] # 18.62 [+0.14] TEST: IPv6 flags on down device [ OK ] # 18.74 [+0.11] TEST: IPv4 flags on up device [ OK ] # 18.87 [+0.13] TEST: IPv6 flags on up device [ OK ] # 19.03 [+0.16] Both devices down # 19.18 [+0.14] TEST: IPv4 fibmatch [ OK ] # 19.33 [+0.16] TEST: IPv6 fibmatch [ OK ] # 20.27 [+0.93] # 20.27 [+0.00] Local carrier tests - single path # 22.61 [+2.34] Start point # 22.76 [+0.16] TEST: IPv4 fibmatch [ OK ] # 22.92 [+0.15] TEST: IPv6 fibmatch [ OK ] # 23.06 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 23.20 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 24.46 [+1.27] Carrier off on nexthop # 24.61 [+0.14] TEST: IPv4 fibmatch [ OK ] # 24.76 [+0.15] TEST: IPv6 fibmatch [ OK ] # 24.90 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 25.04 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 25.34 [+0.30] Route to local address with carrier down # 25.49 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.64 [+0.15] TEST: IPv6 fibmatch [ OK ] # 25.76 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 25.88 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 26.63 [+0.76] # 26.63 [+0.00] Single path route carrier test # 28.96 [+2.33] Start point # 29.11 [+0.14] TEST: IPv4 fibmatch [ OK ] # 29.25 [+0.14] TEST: IPv6 fibmatch [ OK ] # 29.40 [+0.15] TEST: IPv4 no linkdown flag [ OK ] # 29.51 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 30.78 [+1.27] Carrier down # 30.92 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.08 [+0.15] TEST: IPv6 fibmatch [ OK ] # 31.21 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 31.33 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 31.63 [+0.30] Second address added with carrier down # 31.79 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.94 [+0.16] TEST: IPv6 fibmatch [ OK ] # 32.07 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 32.19 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 39.20 [+7.01] # 39.20 [+0.00] IPv4 nexthop tests # 39.20 [+0.00] <<< write me >>> # 39.50 [+0.30] # 39.50 [+0.00] IPv6 nexthop tests # 39.66 [+0.15] TEST: Directly connected nexthop, unicast address [ OK ] # 39.83 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 39.99 [+0.16] TEST: Gateway is linklocal address [ OK ] # 40.15 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 40.32 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 40.51 [+0.19] TEST: Gateway can not be local unicast address, with device [ OK ] # 40.71 [+0.20] TEST: Gateway can not be a local linklocal address [ OK ] # 40.91 [+0.20] TEST: Gateway can be local address in a VRF [ OK ] # 41.08 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 41.24 [+0.16] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 41.42 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 41.58 [+0.16] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 41.76 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 41.93 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 43.43 [+1.50] # 43.43 [+0.00] FIB rule with suppress_prefixlength # 46.77 [+3.34] TEST: FIB rule suppress test [ OK ] # 49.75 [+2.98] # 49.75 [+0.00] Fib6 info length calculation in route notify test # 55.35 [+5.61] TEST: ipv6 route add notify [ OK ] # 58.33 [+2.98] # 58.33 [+0.00] Fib4 info length calculation in route notify test # 63.87 [+5.53] TEST: ipv4 route add notify [ OK ] # 71.81 [+7.94] # 71.81 [+0.00] IPv6 route add / append tests # 72.41 [+0.60] TEST: Attempt to add duplicate route - gw [ OK ] # 73.02 [+0.61] TEST: Attempt to add duplicate route - dev only [ OK ] # 73.64 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 74.43 [+0.79] TEST: Append nexthop to existing route - gw [ OK ] # 75.02 [+0.59] TEST: Add multipath route [ OK ] # 75.63 [+0.61] TEST: Attempt to add duplicate multipath route [ OK ] # 76.42 [+0.79] TEST: Route add with different metrics [ OK ] # 76.72 [+0.29] TEST: Route delete with metric [ OK ] # 76.72 [+0.00] # 76.72 [+0.00] IPv6 route replace tests # 77.49 [+0.77] TEST: Single path with single path [ OK ] # 78.28 [+0.79] TEST: Single path with multipath [ OK ] # 79.11 [+0.82] TEST: Single path with single path via multipath attribute [ OK ] # 79.88 [+0.78] TEST: Invalid nexthop [ OK ] # 80.52 [+0.64] TEST: Single path - replace of non-existent route [ OK ] # 81.35 [+0.83] TEST: Multipath with multipath [ OK ] # 82.13 [+0.78] TEST: Multipath with single path [ OK ] # 82.92 [+0.79] TEST: Multipath with single path via multipath attribute [ OK ] # 83.68 [+0.76] TEST: Multipath with dev-only [ OK ] # 84.45 [+0.77] TEST: Multipath - invalid first nexthop [ OK ] # 85.19 [+0.74] TEST: Multipath - invalid second nexthop [ OK ] # 85.81 [+0.63] TEST: Multipath - replace of non-existent route [ OK ] # 85.82 [+0.00] # 85.82 [+0.00] IPv6 route with dsfield tests # 86.15 [+0.33] TEST: Reject route with dsfield [ OK ] # 96.85 [+10.71] # 96.85 [+0.00] IPv4 route add / append tests # 97.46 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 98.08 [+0.62] TEST: Attempt to add duplicate route - dev only [ OK ] # 98.70 [+0.61] TEST: Attempt to add duplicate route - reject route [ OK ] # 99.48 [+0.78] TEST: Add new nexthop for existing prefix [ OK ] # 100.24 [+0.76] TEST: Append nexthop to existing route - gw [ OK ] # 101.00 [+0.76] TEST: Append nexthop to existing route - dev only [ OK ] # 101.77 [+0.77] TEST: Append nexthop to existing route - reject route [ OK ] # 102.41 [+0.64] TEST: Append nexthop to existing reject route - gw [ OK ] # 103.04 [+0.63] TEST: Append nexthop to existing reject route - dev only [ OK ] # 103.66 [+0.62] TEST: add multipath route [ OK ] # 104.27 [+0.62] TEST: Attempt to add duplicate multipath route [ OK ] # 105.06 [+0.78] TEST: Route add with different metrics [ OK ] # 105.37 [+0.32] TEST: Route delete with metric [ OK ] # 105.38 [+0.00] # 105.38 [+0.00] IPv4 route replace tests # 106.16 [+0.79] TEST: Single path with single path [ OK ] # 106.96 [+0.80] TEST: Single path with multipath [ OK ] # 107.74 [+0.78] TEST: Single path with reject route [ OK ] # 108.53 [+0.80] TEST: Single path with single path via multipath attribute [ OK ] # 109.30 [+0.77] TEST: Invalid nexthop [ OK ] # 109.94 [+0.64] TEST: Single path - replace of non-existent route [ OK ] # 110.73 [+0.79] TEST: Multipath with multipath [ OK ] # 111.51 [+0.78] TEST: Multipath with single path [ OK ] # 112.30 [+0.78] TEST: Multipath with single path via multipath attribute [ OK ] # 113.12 [+0.82] TEST: Multipath with reject route [ OK ] # 113.92 [+0.80] TEST: Multipath - invalid first nexthop [ OK ] # 114.72 [+0.81] TEST: Multipath - invalid second nexthop [ OK ] # 115.36 [+0.64] TEST: Multipath - replace of non-existent route [ OK ] # 117.60 [+2.24] TEST: Cached route removed from VRF port device [ OK ] # 117.60 [+0.00] # 117.60 [+0.00] IPv4 route with dsfield tests # 117.91 [+0.31] TEST: Reject route with dsfield 0x01 [ OK ] # 118.09 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 118.26 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 118.70 [+0.45] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 118.82 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 118.96 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 119.09 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 119.22 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 119.35 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 119.48 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 119.61 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 119.73 [+0.12] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 119.86 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 120.00 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 120.13 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 122.83 [+2.70] # 122.83 [+0.00] IPv6 prefix route tests # 126.21 [+3.38] TEST: Default metric [ OK ] # 126.71 [+0.50] TEST: User specified metric on first device [ OK ] # 127.18 [+0.47] TEST: User specified metric on second device [ OK ] # 127.47 [+0.29] TEST: Delete of address on first device [ OK ] # 127.77 [+0.29] TEST: Modify metric of address [ OK ] # 128.34 [+0.57] TEST: Prefix route removed on link down [ OK ] # 128.64 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 129.11 [+0.47] TEST: Set metric with peer route on local side [ OK ] # 129.23 [+0.12] TEST: Set metric with peer route on peer side [ OK ] # 129.55 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 129.70 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 131.35 [+1.65] # 131.35 [+0.00] IPv4 prefix route tests # 134.81 [+3.46] TEST: Default metric [ OK ] # 135.30 [+0.49] TEST: User specified metric on first device [ OK ] # 135.81 [+0.52] TEST: User specified metric on second device [ OK ] # 136.13 [+0.31] TEST: Delete of address on first device [ OK ] # 136.43 [+0.30] TEST: Modify metric of address [ OK ] # 136.73 [+0.30] TEST: Prefix route removed on link down [ OK ] # 137.06 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 137.67 [+0.61] TEST: Modify metric of .0/24 address [ OK ] # 138.14 [+0.47] TEST: Set metric of address with peer route [ OK ] # 138.46 [+0.31] TEST: Modify metric and peer address for peer route [ OK ] # 140.10 [+1.65] # 140.10 [+0.00] IPv6 routes with metrics # 148.36 [+8.26] TEST: Single path route with mtu metric [ OK ] # 148.84 [+0.48] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 149.30 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 149.59 [+0.28] TEST: MTU of second leg [ OK ] # 149.90 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 150.32 [+0.42] TEST: Using route with mtu metric [ OK ] # 150.60 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 153.29 [+2.69] # 153.29 [+0.00] IPv4 route add / append tests # 161.74 [+8.45] TEST: Single path route with mtu metric [ OK ] # 162.08 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 162.50 [+0.41] TEST: Using route with mtu metric [ OK ] # 162.77 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 165.49 [+2.72] # 165.49 [+0.00] IPv4 route with IPv6 gateway tests # 176.01 [+10.52] TEST: Single path route with IPv6 gateway [ OK ] # 176.43 [+0.43] TEST: Single path route with IPv6 gateway - ping [ OK ] # 176.60 [+0.17] TEST: Single path route delete [ OK ] # 176.92 [+0.31] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 177.25 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 177.40 [+0.15] TEST: Multipath route delete exact match [ OK ] # 177.56 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 177.88 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 178.05 [+0.16] TEST: Multipath route delete exact match [ OK ] # 180.82 [+2.77] # 180.82 [+0.00] IPv4 rp_filter tests # 192.10 [+11.28] TEST: rp_filter passes local packets [ OK ] # 192.38 [+0.28] TEST: rp_filter passes loopback packets [ OK ] # 193.63 [+1.25] # 193.63 [+0.00] IPv4 delete address route tests # 198.68 [+5.06] Regular FIB info # 198.97 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 199.10 [+0.13] TEST: Route in default VRF not removed [ OK ] # 199.68 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 199.80 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 199.80 [+0.00] Identical FIB info with different table ID # 200.06 [+0.26] TEST: Route removed from VRF when source address deleted [ OK ] # 200.19 [+0.13] TEST: Route in default VRF not removed [ OK ] # 200.75 [+0.56] TEST: Route removed in default VRF when source address deleted [ OK ] # 200.88 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 200.89 [+0.00] Table ID 0 # 201.20 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 202.89 [+1.69] # 202.89 [+0.00] IPv6 delete address route tests # 211.58 [+8.69] Single device using src address # 211.85 [+0.26] TEST: Prefsrc removed when src address removed on other device [ OK ] # 211.85 [+0.00] Two devices with the same source address # 212.10 [+0.25] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 212.39 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 212.39 [+0.00] VRF with single device using src address # 212.68 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 212.68 [+0.00] VRF with two devices using src address # 212.97 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 213.26 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 213.27 [+0.00] src address and nexthop dev in same VRF # 213.54 [+0.27] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 213.66 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 214.27 [+0.61] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 214.40 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 214.41 [+0.00] src address and nexthop device in different VRF # 214.69 [+0.29] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 214.84 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 215.28 [+0.45] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 215.42 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 215.42 [+0.00] Table ID 0 # 215.74 [+0.32] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 215.74 [+0.00] Link local source route # 216.01 [+0.26] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 216.30 [+0.29] TEST: Prefsrc removed when delete ll addr [ OK ] # 216.42 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 216.85 [+0.43] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 219.42 [+2.57] # 219.42 [+0.00] IPv4 mangling tests # 231.23 [+11.81] TEST: Connection with correct parameters [ OK ] # 231.53 [+0.30] TEST: Connection with incorrect parameters [ OK ] # 232.80 [+1.27] TEST: Connection with correct parameters - mangling [ OK ] # 233.89 [+1.09] TEST: Connection with correct parameters - no mangling [ OK ] # 234.01 [+0.11] TEST: Connection check - server side [ OK ] # 237.31 [+3.30] # 237.31 [+0.00] IPv6 mangling tests # 249.32 [+12.01] TEST: Connection with correct parameters [ OK ] # 249.68 [+0.35] TEST: Connection with incorrect parameters [ OK ] # 250.82 [+1.14] TEST: Connection with correct parameters - mangling [ OK ] # 251.97 [+1.15] TEST: Connection with correct parameters - no mangling [ OK ] # 252.09 [+0.12] TEST: Connection check - server side [ OK ] # 255.24 [+3.14] # 255.24 [+0.00] IPv4 broadcast neighbour tests # 259.02 [+3.79] TEST: Resolved neighbour for broadcast address [ OK ] # 259.18 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 259.33 [+0.15] TEST: Unresolved neighbour for broadcast address [ OK ] # 259.48 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 262.84 [+3.36] # 262.84 [+0.00] Fib6 garbage collection test # 277.05 [+14.20] TEST: ipv6 route garbage collection [ OK ] # 291.56 [+14.51] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 306.05 [+14.49] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 320.70 [+14.65] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 335.87 [+15.18] TEST: ipv6 route garbage collection (RA message) [ OK ] # 337.16 [+1.28] # 337.16 [+0.00] IPv4 multipath list receive tests # 359.62 [+22.46] TEST: Multipath route hit ratio (1.00) [ OK ] # 362.37 [+2.75] # 362.37 [+0.00] IPv6 multipath list receive tests # 383.99 [+21.62] TEST: Multipath route hit ratio (1.00) [ OK ] # 386.78 [+2.79] # 386.78 [+0.00] Tests passed: 229 # 386.78 [+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__->