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.05 [+1.05] # 1.05 [+0.00] Single path route test # 2.97 [+1.92] Start point # 3.13 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.29 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.46 [+0.18] Nexthop device deleted # 3.64 [+0.18] TEST: IPv4 fibmatch - no route [ OK ] # 3.81 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 4.81 [+1.01] # 4.81 [+0.00] Multipath route test # 8.52 [+3.71] Start point # 8.69 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.86 [+0.18] TEST: IPv6 fibmatch [ OK ] # 9.11 [+0.24] One nexthop device deleted # 9.29 [+0.18] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.46 [+0.17] TEST: IPv6 - multipath down to single path [ OK ] # 9.66 [+0.20] Second nexthop device deleted # 9.86 [+0.21] TEST: IPv6 - no route [ OK ] # 10.92 [+1.06] # 10.92 [+0.00] Single path, admin down # 13.37 [+2.45] Start point # 13.53 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.69 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.86 [+0.17] Route deleted on down # 14.02 [+0.16] TEST: IPv4 fibmatch [ OK ] # 14.17 [+0.15] TEST: IPv6 fibmatch [ OK ] # 14.94 [+0.77] # 14.94 [+0.00] Admin down multipath # 18.31 [+3.36] Verify start point # 18.46 [+0.16] TEST: IPv4 fibmatch [ OK ] # 18.64 [+0.18] TEST: IPv6 fibmatch [ OK ] # 18.83 [+0.20] One device down, one up # 19.00 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 19.16 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 19.33 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 19.49 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 19.63 [+0.14] TEST: IPv4 flags on down device [ OK ] # 19.76 [+0.13] TEST: IPv6 flags on down device [ OK ] # 19.90 [+0.13] TEST: IPv4 flags on up device [ OK ] # 20.03 [+0.14] TEST: IPv6 flags on up device [ OK ] # 20.35 [+0.32] Other device down and up # 20.53 [+0.19] TEST: IPv4 fibmatch on down device [ OK ] # 20.71 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 20.87 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 21.04 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 21.16 [+0.13] TEST: IPv4 flags on down device [ OK ] # 21.30 [+0.14] TEST: IPv6 flags on down device [ OK ] # 21.43 [+0.13] TEST: IPv4 flags on up device [ OK ] # 21.58 [+0.15] TEST: IPv6 flags on up device [ OK ] # 21.74 [+0.16] Both devices down # 21.90 [+0.16] TEST: IPv4 fibmatch [ OK ] # 22.06 [+0.16] TEST: IPv6 fibmatch [ OK ] # 23.05 [+0.98] # 23.05 [+0.00] Local carrier tests - single path # 25.48 [+2.43] Start point # 25.64 [+0.16] TEST: IPv4 fibmatch [ OK ] # 25.81 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.96 [+0.15] TEST: IPv4 - no linkdown flag [ OK ] # 26.11 [+0.15] TEST: IPv6 - no linkdown flag [ OK ] # 27.39 [+1.28] Carrier off on nexthop # 27.62 [+0.23] TEST: IPv4 fibmatch [ OK ] # 27.78 [+0.16] TEST: IPv6 fibmatch [ OK ] # 27.94 [+0.15] TEST: IPv4 - linkdown flag set [ OK ] # 28.10 [+0.17] TEST: IPv6 - linkdown flag set [ OK ] # 28.42 [+0.32] Route to local address with carrier down # 28.60 [+0.18] TEST: IPv4 fibmatch [ OK ] # 28.77 [+0.17] TEST: IPv6 fibmatch [ OK ] # 28.91 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 29.06 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 29.85 [+0.80] # 29.85 [+0.00] Single path route carrier test # 32.34 [+2.48] Start point # 32.51 [+0.17] TEST: IPv4 fibmatch [ OK ] # 32.68 [+0.17] TEST: IPv6 fibmatch [ OK ] # 32.82 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 32.95 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 34.22 [+1.26] Carrier down # 34.38 [+0.16] TEST: IPv4 fibmatch [ OK ] # 34.53 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.73 [+0.20] TEST: IPv4 linkdown flag set [ OK ] # 34.88 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 35.21 [+0.32] Second address added with carrier down # 35.37 [+0.16] TEST: IPv4 fibmatch [ OK ] # 35.53 [+0.16] TEST: IPv6 fibmatch [ OK ] # 35.69 [+0.17] TEST: IPv4 linkdown flag set [ OK ] # 35.83 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 43.64 [+7.81] # 43.64 [+0.00] IPv4 nexthop tests # 43.64 [+0.00] <<< write me >>> # 43.96 [+0.31] # 43.96 [+0.00] IPv6 nexthop tests # 44.14 [+0.19] TEST: Directly connected nexthop, unicast address [ OK ] # 44.31 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.50 [+0.18] TEST: Gateway is linklocal address [ OK ] # 44.69 [+0.19] TEST: Gateway is linklocal address, no device [ OK ] # 44.90 [+0.21] TEST: Gateway can not be local unicast address [ OK ] # 45.09 [+0.19] TEST: Gateway can not be local unicast address, with device [ OK ] # 45.32 [+0.23] TEST: Gateway can not be a local linklocal address [ OK ] # 45.55 [+0.24] TEST: Gateway can be local address in a VRF [ OK ] # 45.76 [+0.20] TEST: Gateway can be local address in a VRF, with device [ OK ] # 45.93 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 46.11 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 46.29 [+0.18] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 46.46 [+0.17] TEST: VRF route, gateway can not be a local address [ OK ] # 46.63 [+0.18] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 48.37 [+1.73] # 48.37 [+0.00] FIB rule with suppress_prefixlength # 52.17 [+3.80] TEST: FIB rule suppress test [ OK ] # 55.30 [+3.13] # 55.30 [+0.00] Fib6 info length calculation in route notify test # 61.64 [+6.33] TEST: ipv6 route add notify [ OK ] # 65.12 [+3.48] # 65.12 [+0.00] Fib4 info length calculation in route notify test # 71.05 [+5.94] TEST: ipv4 route add notify [ OK ] # 80.23 [+9.18] # 80.23 [+0.00] IPv6 route add / append tests # 80.92 [+0.69] TEST: Attempt to add duplicate route - gw [ OK ] # 81.60 [+0.68] TEST: Attempt to add duplicate route - dev only [ OK ] # 82.27 [+0.67] TEST: Attempt to add duplicate route - reject route [ OK ] # 83.13 [+0.85] TEST: Append nexthop to existing route - gw [ OK ] # 83.79 [+0.67] TEST: Add multipath route [ OK ] # 84.50 [+0.71] TEST: Attempt to add duplicate multipath route [ OK ] # 85.34 [+0.84] TEST: Route add with different metrics [ OK ] # 85.68 [+0.34] TEST: Route delete with metric [ OK ] # 85.69 [+0.00] # 85.69 [+0.00] IPv6 route replace tests # 86.52 [+0.84] TEST: Single path with single path [ OK ] # 87.36 [+0.84] TEST: Single path with multipath [ OK ] # 88.19 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 89.04 [+0.85] TEST: Invalid nexthop [ OK ] # 89.74 [+0.70] TEST: Single path - replace of non-existent route [ OK ] # 90.60 [+0.86] TEST: Multipath with multipath [ OK ] # 91.57 [+0.97] TEST: Multipath with single path [ OK ] # 92.61 [+1.04] TEST: Multipath with single path via multipath attribute [ OK ] # 93.50 [+0.89] TEST: Multipath with dev-only [ OK ] # 94.43 [+0.93] TEST: Multipath - invalid first nexthop [ OK ] # 95.29 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 96.00 [+0.71] TEST: Multipath - replace of non-existent route [ OK ] # 96.01 [+0.00] # 96.01 [+0.00] IPv6 route with dsfield tests # 96.34 [+0.34] TEST: Reject route with dsfield [ OK ] # 108.73 [+12.38] # 108.73 [+0.00] IPv4 route add / append tests # 109.44 [+0.71] TEST: Attempt to add duplicate route - gw [ OK ] # 110.12 [+0.68] TEST: Attempt to add duplicate route - dev only [ OK ] # 110.86 [+0.75] TEST: Attempt to add duplicate route - reject route [ OK ] # 111.74 [+0.87] TEST: Add new nexthop for existing prefix [ OK ] # 112.61 [+0.88] TEST: Append nexthop to existing route - gw [ OK ] # 113.51 [+0.90] TEST: Append nexthop to existing route - dev only [ OK ] # 114.41 [+0.89] TEST: Append nexthop to existing route - reject route [ OK ] # 115.14 [+0.73] TEST: Append nexthop to existing reject route - gw [ OK ] # 115.86 [+0.72] TEST: Append nexthop to existing reject route - dev only [ OK ] # 116.56 [+0.70] TEST: add multipath route [ OK ] # 117.29 [+0.73] TEST: Attempt to add duplicate multipath route [ OK ] # 118.36 [+1.07] TEST: Route add with different metrics [ OK ] # 118.78 [+0.42] TEST: Route delete with metric [ OK ] # 118.78 [+0.00] # 118.78 [+0.00] IPv4 route replace tests # 119.70 [+0.92] TEST: Single path with single path [ OK ] # 120.57 [+0.87] TEST: Single path with multipath [ OK ] # 121.43 [+0.85] TEST: Single path with reject route [ OK ] # 122.25 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 123.08 [+0.83] TEST: Invalid nexthop [ OK ] # 123.75 [+0.67] TEST: Single path - replace of non-existent route [ OK ] # 124.62 [+0.87] TEST: Multipath with multipath [ OK ] # 125.49 [+0.87] TEST: Multipath with single path [ OK ] # 126.43 [+0.94] TEST: Multipath with single path via multipath attribute [ OK ] # 127.39 [+0.96] TEST: Multipath with reject route [ OK ] # 128.33 [+0.94] TEST: Multipath - invalid first nexthop [ OK ] # 129.19 [+0.86] TEST: Multipath - invalid second nexthop [ OK ] # 129.89 [+0.70] TEST: Multipath - replace of non-existent route [ OK ] # 132.37 [+2.48] TEST: Cached route removed from VRF port device [ OK ] # 132.37 [+0.00] # 132.37 [+0.00] IPv4 route with dsfield tests # 132.71 [+0.33] TEST: Reject route with dsfield 0x01 [ OK ] # 132.88 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 133.05 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 133.51 [+0.46] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 133.65 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 133.80 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 133.96 [+0.16] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 134.09 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 134.23 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 134.35 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 134.51 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 134.65 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 134.80 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 134.93 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 135.08 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 137.90 [+2.82] # 137.90 [+0.00] IPv6 prefix route tests # 142.00 [+4.09] TEST: Default metric [ OK ] # 142.57 [+0.58] TEST: User specified metric on first device [ OK ] # 143.09 [+0.52] TEST: User specified metric on second device [ OK ] # 143.43 [+0.34] TEST: Delete of address on first device [ OK ] # 143.74 [+0.31] TEST: Modify metric of address [ OK ] # 144.35 [+0.62] TEST: Prefix route removed on link down [ OK ] # 144.70 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 145.20 [+0.51] TEST: Set metric with peer route on local side [ OK ] # 145.37 [+0.17] TEST: Set metric with peer route on peer side [ OK ] # 145.86 [+0.48] TEST: Modify metric and peer address on local side [ OK ] # 146.09 [+0.23] TEST: Modify metric and peer address on peer side [ OK ] # 148.30 [+2.21] # 148.30 [+0.00] IPv4 prefix route tests # 151.92 [+3.63] TEST: Default metric [ OK ] # 152.41 [+0.48] TEST: User specified metric on first device [ OK ] # 152.96 [+0.55] TEST: User specified metric on second device [ OK ] # 153.39 [+0.44] TEST: Delete of address on first device [ OK ] # 153.79 [+0.40] TEST: Modify metric of address [ OK ] # 154.22 [+0.43] TEST: Prefix route removed on link down [ OK ] # 154.73 [+0.50] TEST: Prefix route with metric on link up [ OK ] # 155.51 [+0.79] TEST: Modify metric of .0/24 address [ OK ] # 156.02 [+0.51] TEST: Set metric of address with peer route [ OK ] # 156.36 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 158.36 [+1.99] # 158.36 [+0.00] IPv6 routes with metrics # 168.84 [+10.48] TEST: Single path route with mtu metric [ OK ] # 169.37 [+0.53] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 170.03 [+0.66] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 170.54 [+0.51] TEST: MTU of second leg [ OK ] # 171.06 [+0.52] TEST: Multipath route with mtu metric [ OK ] # 171.61 [+0.54] TEST: Using route with mtu metric [ OK ] # 171.92 [+0.31] TEST: Invalid metric (fails metric_convert) [ OK ] # 175.35 [+3.44] # 175.35 [+0.00] IPv4 route add / append tests # 186.04 [+10.68] TEST: Single path route with mtu metric [ OK ] # 186.48 [+0.44] TEST: Multipath route with mtu metric [ OK ] # 187.12 [+0.64] TEST: Using route with mtu metric [ OK ] # 187.52 [+0.41] TEST: Invalid metric (fails metric_convert) [ OK ] # 190.57 [+3.05] # 190.57 [+0.00] IPv4 route with IPv6 gateway tests # 202.90 [+12.33] TEST: Single path route with IPv6 gateway [ OK ] # 203.49 [+0.59] TEST: Single path route with IPv6 gateway - ping [ OK ] # 203.76 [+0.27] TEST: Single path route delete [ OK ] # 204.16 [+0.40] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 204.61 [+0.45] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 204.83 [+0.22] TEST: Multipath route delete exact match [ OK ] # 205.05 [+0.22] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 205.49 [+0.44] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 205.69 [+0.20] TEST: Multipath route delete exact match [ OK ] # 208.68 [+2.99] # 208.68 [+0.00] IPv4 rp_filter tests # 222.38 [+13.71] TEST: rp_filter passes local packets [ OK ] # 222.68 [+0.29] TEST: rp_filter passes loopback packets [ OK ] # 224.05 [+1.38] # 224.05 [+0.00] IPv4 delete address route tests # 229.59 [+5.54] Regular FIB info # 229.90 [+0.31] TEST: Route removed from VRF when source address deleted [ OK ] # 230.05 [+0.15] TEST: Route in default VRF not removed [ OK ] # 230.65 [+0.60] TEST: Route removed in default VRF when source address deleted [ OK ] # 230.80 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 230.80 [+0.00] Identical FIB info with different table ID # 231.09 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 231.24 [+0.15] TEST: Route in default VRF not removed [ OK ] # 231.87 [+0.63] TEST: Route removed in default VRF when source address deleted [ OK ] # 232.04 [+0.17] TEST: Route in VRF is not removed by address delete [ OK ] # 232.05 [+0.00] Table ID 0 # 232.57 [+0.53] TEST: Route removed in default VRF when source address deleted [ OK ] # 234.69 [+2.12] # 234.69 [+0.00] IPv6 delete address route tests # 247.04 [+12.35] Single device using src address # 247.35 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 247.35 [+0.00] Two devices with the same source address # 247.67 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 247.97 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 247.97 [+0.00] VRF with single device using src address # 248.29 [+0.32] TEST: Prefsrc removed when src address removed on other device [ OK ] # 248.29 [+0.00] VRF with two devices using src address # 248.58 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 248.89 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 248.89 [+0.00] src address and nexthop dev in same VRF # 249.18 [+0.29] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 249.31 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 249.93 [+0.62] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 250.04 [+0.11] TEST: Prefsrc in default VRF removed [ OK ] # 250.04 [+0.00] src address and nexthop device in different VRF # 250.35 [+0.30] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 250.47 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 250.93 [+0.46] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 251.06 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 251.06 [+0.00] Table ID 0 # 251.37 [+0.31] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 251.37 [+0.00] Link local source route # 251.67 [+0.30] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 251.98 [+0.31] TEST: Prefsrc removed when delete ll addr [ OK ] # 252.11 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 252.57 [+0.46] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 255.97 [+3.40] # 255.97 [+0.00] IPv4 mangling tests # 269.55 [+13.57] TEST: Connection with correct parameters [ OK ] # 269.95 [+0.40] TEST: Connection with incorrect parameters [ OK ] # 271.27 [+1.32] TEST: Connection with correct parameters - mangling [ OK ] # 272.43 [+1.16] TEST: Connection with correct parameters - no mangling [ OK ] # 272.57 [+0.14] TEST: Connection check - server side [ OK ] # 276.51 [+3.94] # 276.51 [+0.00] IPv6 mangling tests # 289.60 [+13.09] TEST: Connection with correct parameters [ OK ] # 289.98 [+0.38] TEST: Connection with incorrect parameters [ OK ] # 291.17 [+1.19] TEST: Connection with correct parameters - mangling [ OK ] # 292.36 [+1.20] TEST: Connection with correct parameters - no mangling [ OK ] # 292.49 [+0.13] TEST: Connection check - server side [ OK ] # 295.90 [+3.40] # 295.90 [+0.00] IPv4 broadcast neighbour tests # 300.13 [+4.24] TEST: Resolved neighbour for broadcast address [ OK ] # 300.30 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 300.46 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 300.64 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 304.32 [+3.68] # 304.32 [+0.00] Fib6 garbage collection test # 318.82 [+14.50] TEST: ipv6 route garbage collection [ OK ] # 333.67 [+14.85] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 348.50 [+14.83] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 363.51 [+15.02] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 378.92 [+15.40] TEST: ipv6 route garbage collection (RA message) [ OK ] # 380.28 [+1.37] # 380.28 [+0.00] IPv4 multipath list receive tests # 405.04 [+24.76] TEST: Multipath route hit ratio (1.00) [ OK ] # 407.99 [+2.95] # 407.99 [+0.00] IPv6 multipath list receive tests # 431.49 [+23.50] TEST: Multipath route hit ratio (1.00) [ OK ] # 434.64 [+3.15] # 434.64 [+0.00] Tests passed: 229 # 434.64 [+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__->