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.09 [+1.09] # 1.09 [+0.00] Single path route test # 2.99 [+1.90] Start point # 3.15 [+0.16] TEST: IPv4 fibmatch [ OK ] # 3.30 [+0.15] TEST: IPv6 fibmatch [ OK ] # 3.50 [+0.19] Nexthop device deleted # 3.66 [+0.17] TEST: IPv4 fibmatch - no route [ OK ] # 3.81 [+0.14] TEST: IPv6 fibmatch - no route [ OK ] # 4.77 [+0.96] # 4.77 [+0.00] Multipath route test # 8.07 [+3.30] Start point # 8.23 [+0.15] TEST: IPv4 fibmatch [ OK ] # 8.39 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.59 [+0.20] One nexthop device deleted # 8.73 [+0.15] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.90 [+0.17] TEST: IPv6 - multipath down to single path [ OK ] # 9.09 [+0.19] Second nexthop device deleted # 9.25 [+0.16] TEST: IPv6 - no route [ OK ] # 10.23 [+0.98] # 10.23 [+0.00] Single path, admin down # 12.59 [+2.36] Start point # 12.74 [+0.16] TEST: IPv4 fibmatch [ OK ] # 12.94 [+0.20] TEST: IPv6 fibmatch [ OK ] # 13.11 [+0.17] Route deleted on down # 13.27 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.45 [+0.18] TEST: IPv6 fibmatch [ OK ] # 14.23 [+0.78] # 14.23 [+0.00] Admin down multipath # 17.64 [+3.41] Verify start point # 17.79 [+0.16] TEST: IPv4 fibmatch [ OK ] # 17.94 [+0.15] TEST: IPv6 fibmatch [ OK ] # 18.11 [+0.17] One device down, one up # 18.27 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.43 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.59 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 18.75 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 18.88 [+0.14] TEST: IPv4 flags on down device [ OK ] # 19.02 [+0.13] TEST: IPv6 flags on down device [ OK ] # 19.14 [+0.13] TEST: IPv4 flags on up device [ OK ] # 19.28 [+0.13] TEST: IPv6 flags on up device [ OK ] # 19.59 [+0.32] Other device down and up # 19.75 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 19.91 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 20.08 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.25 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 20.39 [+0.15] TEST: IPv4 flags on down device [ OK ] # 20.55 [+0.16] TEST: IPv6 flags on down device [ OK ] # 20.70 [+0.15] TEST: IPv4 flags on up device [ OK ] # 20.83 [+0.13] TEST: IPv6 flags on up device [ OK ] # 20.99 [+0.17] Both devices down # 21.15 [+0.16] TEST: IPv4 fibmatch [ OK ] # 21.31 [+0.16] TEST: IPv6 fibmatch [ OK ] # 22.31 [+1.00] # 22.31 [+0.00] Local carrier tests - single path # 24.88 [+2.57] Start point # 25.03 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.19 [+0.16] TEST: IPv6 fibmatch [ OK ] # 25.31 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 25.45 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 26.73 [+1.28] Carrier off on nexthop # 26.88 [+0.15] TEST: IPv4 fibmatch [ OK ] # 27.06 [+0.18] TEST: IPv6 fibmatch [ OK ] # 27.19 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 27.33 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 27.64 [+0.31] Route to local address with carrier down # 27.80 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.96 [+0.16] TEST: IPv6 fibmatch [ OK ] # 28.10 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 28.22 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 28.98 [+0.76] # 28.98 [+0.00] Single path route carrier test # 31.42 [+2.44] Start point # 31.58 [+0.16] TEST: IPv4 fibmatch [ OK ] # 31.73 [+0.15] TEST: IPv6 fibmatch [ OK ] # 31.87 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 32.01 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 33.27 [+1.26] Carrier down # 33.42 [+0.16] TEST: IPv4 fibmatch [ OK ] # 33.58 [+0.15] TEST: IPv6 fibmatch [ OK ] # 33.72 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 33.85 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 34.17 [+0.31] Second address added with carrier down # 34.33 [+0.17] TEST: IPv4 fibmatch [ OK ] # 34.48 [+0.15] TEST: IPv6 fibmatch [ OK ] # 34.63 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 34.77 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 42.01 [+7.24] # 42.01 [+0.00] IPv4 nexthop tests # 42.01 [+0.00] <<< write me >>> # 42.35 [+0.34] # 42.35 [+0.00] IPv6 nexthop tests # 42.53 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 42.70 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 42.87 [+0.17] TEST: Gateway is linklocal address [ OK ] # 43.04 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 43.21 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 43.37 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 43.54 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 43.73 [+0.19] TEST: Gateway can be local address in a VRF [ OK ] # 43.89 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 44.06 [+0.17] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 44.22 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 44.39 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 44.56 [+0.17] TEST: VRF route, gateway can not be a local address [ OK ] # 44.73 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 46.24 [+1.51] # 46.24 [+0.00] FIB rule with suppress_prefixlength # 49.58 [+3.34] TEST: FIB rule suppress test [ OK ] # 52.57 [+2.98] # 52.57 [+0.00] Fib6 info length calculation in route notify test # 58.22 [+5.66] TEST: ipv6 route add notify [ OK ] # 61.32 [+3.10] # 61.32 [+0.00] Fib4 info length calculation in route notify test # 67.01 [+5.69] TEST: ipv4 route add notify [ OK ] # 75.34 [+8.33] # 75.34 [+0.00] IPv6 route add / append tests # 75.98 [+0.64] TEST: Attempt to add duplicate route - gw [ OK ] # 76.63 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 77.28 [+0.64] TEST: Attempt to add duplicate route - reject route [ OK ] # 78.07 [+0.80] TEST: Append nexthop to existing route - gw [ OK ] # 78.73 [+0.66] TEST: Add multipath route [ OK ] # 79.39 [+0.66] TEST: Attempt to add duplicate multipath route [ OK ] # 80.20 [+0.82] TEST: Route add with different metrics [ OK ] # 80.55 [+0.34] TEST: Route delete with metric [ OK ] # 80.55 [+0.00] # 80.55 [+0.00] IPv6 route replace tests # 81.33 [+0.78] TEST: Single path with single path [ OK ] # 82.16 [+0.83] TEST: Single path with multipath [ OK ] # 82.96 [+0.80] TEST: Single path with single path via multipath attribute [ OK ] # 83.76 [+0.81] TEST: Invalid nexthop [ OK ] # 84.42 [+0.66] TEST: Single path - replace of non-existent route [ OK ] # 85.23 [+0.82] TEST: Multipath with multipath [ OK ] # 86.02 [+0.79] TEST: Multipath with single path [ OK ] # 86.83 [+0.81] TEST: Multipath with single path via multipath attribute [ OK ] # 87.65 [+0.82] TEST: Multipath with dev-only [ OK ] # 88.46 [+0.81] TEST: Multipath - invalid first nexthop [ OK ] # 89.27 [+0.81] TEST: Multipath - invalid second nexthop [ OK ] # 89.91 [+0.65] TEST: Multipath - replace of non-existent route [ OK ] # 89.92 [+0.00] # 89.92 [+0.00] IPv6 route with dsfield tests # 90.25 [+0.33] TEST: Reject route with dsfield [ OK ] # 101.34 [+11.09] # 101.34 [+0.00] IPv4 route add / append tests # 101.99 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 102.63 [+0.64] TEST: Attempt to add duplicate route - dev only [ OK ] # 103.30 [+0.66] TEST: Attempt to add duplicate route - reject route [ OK ] # 104.12 [+0.82] TEST: Add new nexthop for existing prefix [ OK ] # 104.94 [+0.82] TEST: Append nexthop to existing route - gw [ OK ] # 105.76 [+0.82] TEST: Append nexthop to existing route - dev only [ OK ] # 106.58 [+0.81] TEST: Append nexthop to existing route - reject route [ OK ] # 107.23 [+0.66] TEST: Append nexthop to existing reject route - gw [ OK ] # 107.90 [+0.66] TEST: Append nexthop to existing reject route - dev only [ OK ] # 108.54 [+0.64] TEST: add multipath route [ OK ] # 109.21 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 110.02 [+0.81] TEST: Route add with different metrics [ OK ] # 110.36 [+0.34] TEST: Route delete with metric [ OK ] # 110.36 [+0.00] # 110.36 [+0.00] IPv4 route replace tests # 111.24 [+0.88] TEST: Single path with single path [ OK ] # 112.07 [+0.82] TEST: Single path with multipath [ OK ] # 112.90 [+0.83] TEST: Single path with reject route [ OK ] # 113.74 [+0.84] TEST: Single path with single path via multipath attribute [ OK ] # 114.60 [+0.86] TEST: Invalid nexthop [ OK ] # 115.27 [+0.66] TEST: Single path - replace of non-existent route [ OK ] # 116.09 [+0.83] TEST: Multipath with multipath [ OK ] # 116.92 [+0.83] TEST: Multipath with single path [ OK ] # 117.73 [+0.81] TEST: Multipath with single path via multipath attribute [ OK ] # 118.57 [+0.84] TEST: Multipath with reject route [ OK ] # 119.39 [+0.82] TEST: Multipath - invalid first nexthop [ OK ] # 120.23 [+0.83] TEST: Multipath - invalid second nexthop [ OK ] # 120.89 [+0.66] TEST: Multipath - replace of non-existent route [ OK ] # 123.33 [+2.44] TEST: Cached route removed from VRF port device [ OK ] # 123.33 [+0.00] # 123.33 [+0.00] IPv4 route with dsfield tests # 123.68 [+0.35] TEST: Reject route with dsfield 0x01 [ OK ] # 123.85 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 124.02 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 124.51 [+0.48] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 124.66 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 124.80 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 124.93 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 125.10 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 125.23 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 125.37 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 125.50 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 125.63 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 125.80 [+0.17] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 125.96 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 126.10 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 128.96 [+2.87] # 128.96 [+0.00] IPv6 prefix route tests # 132.63 [+3.67] TEST: Default metric [ OK ] # 133.11 [+0.48] TEST: User specified metric on first device [ OK ] # 133.62 [+0.51] TEST: User specified metric on second device [ OK ] # 133.97 [+0.35] TEST: Delete of address on first device [ OK ] # 134.31 [+0.34] TEST: Modify metric of address [ OK ] # 134.91 [+0.59] TEST: Prefix route removed on link down [ OK ] # 135.23 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 135.74 [+0.51] TEST: Set metric with peer route on local side [ OK ] # 135.89 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 136.22 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 136.39 [+0.17] TEST: Modify metric and peer address on peer side [ OK ] # 138.17 [+1.77] # 138.17 [+0.00] IPv4 prefix route tests # 141.84 [+3.67] TEST: Default metric [ OK ] # 142.36 [+0.52] TEST: User specified metric on first device [ OK ] # 142.86 [+0.50] TEST: User specified metric on second device [ OK ] # 143.19 [+0.33] TEST: Delete of address on first device [ OK ] # 143.55 [+0.35] TEST: Modify metric of address [ OK ] # 143.89 [+0.35] TEST: Prefix route removed on link down [ OK ] # 144.22 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 144.91 [+0.69] TEST: Modify metric of .0/24 address [ OK ] # 145.41 [+0.50] TEST: Set metric of address with peer route [ OK ] # 145.75 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 147.54 [+1.78] # 147.54 [+0.00] IPv6 routes with metrics # 156.41 [+8.88] TEST: Single path route with mtu metric [ OK ] # 156.92 [+0.51] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 157.42 [+0.50] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 157.73 [+0.31] TEST: MTU of second leg [ OK ] # 158.06 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 158.54 [+0.49] TEST: Using route with mtu metric [ OK ] # 158.83 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 161.66 [+2.83] # 161.66 [+0.00] IPv4 route add / append tests # 170.99 [+9.33] TEST: Single path route with mtu metric [ OK ] # 171.35 [+0.36] TEST: Multipath route with mtu metric [ OK ] # 171.79 [+0.44] TEST: Using route with mtu metric [ OK ] # 172.08 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 174.93 [+2.86] # 174.94 [+0.00] IPv4 route with IPv6 gateway tests # 186.08 [+11.14] TEST: Single path route with IPv6 gateway [ OK ] # 186.55 [+0.48] TEST: Single path route with IPv6 gateway - ping [ OK ] # 186.73 [+0.17] TEST: Single path route delete [ OK ] # 187.07 [+0.34] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 187.41 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 187.59 [+0.18] TEST: Multipath route delete exact match [ OK ] # 187.77 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 188.12 [+0.36] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 188.30 [+0.17] TEST: Multipath route delete exact match [ OK ] # 191.15 [+2.86] # 191.15 [+0.00] IPv4 rp_filter tests # 203.10 [+11.95] TEST: rp_filter passes local packets [ OK ] # 203.40 [+0.30] TEST: rp_filter passes loopback packets [ OK ] # 204.82 [+1.42] # 204.82 [+0.00] IPv4 delete address route tests # 210.29 [+5.47] Regular FIB info # 210.58 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 210.71 [+0.13] TEST: Route in default VRF not removed [ OK ] # 211.35 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 211.49 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 211.49 [+0.00] Identical FIB info with different table ID # 211.78 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 211.93 [+0.14] TEST: Route in default VRF not removed [ OK ] # 212.54 [+0.61] TEST: Route removed in default VRF when source address deleted [ OK ] # 212.68 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 212.69 [+0.00] Table ID 0 # 212.99 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 214.75 [+1.76] # 214.75 [+0.00] IPv6 delete address route tests # 224.11 [+9.36] Single device using src address # 224.42 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 224.42 [+0.00] Two devices with the same source address # 224.72 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 225.03 [+0.31] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 225.03 [+0.00] VRF with single device using src address # 225.33 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 225.33 [+0.00] VRF with two devices using src address # 225.63 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 225.93 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 225.94 [+0.00] src address and nexthop dev in same VRF # 226.24 [+0.30] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 226.37 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 227.02 [+0.64] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 227.14 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 227.15 [+0.00] src address and nexthop device in different VRF # 227.46 [+0.32] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 227.58 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 228.04 [+0.46] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 228.18 [+0.15] TEST: Prefsrc removed in default VRF [ OK ] # 228.18 [+0.00] Table ID 0 # 228.47 [+0.29] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 228.47 [+0.00] Link local source route # 228.78 [+0.31] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 229.08 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 229.21 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 229.66 [+0.45] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 232.37 [+2.71] # 232.37 [+0.00] IPv4 mangling tests # 244.76 [+12.39] TEST: Connection with correct parameters [ OK ] # 245.09 [+0.33] TEST: Connection with incorrect parameters [ OK ] # 246.37 [+1.29] TEST: Connection with correct parameters - mangling [ OK ] # 247.53 [+1.16] TEST: Connection with correct parameters - no mangling [ OK ] # 247.66 [+0.13] TEST: Connection check - server side [ OK ] # 251.01 [+3.35] # 251.01 [+0.00] IPv6 mangling tests # 263.66 [+12.65] TEST: Connection with correct parameters [ OK ] # 264.03 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 265.23 [+1.20] TEST: Connection with correct parameters - mangling [ OK ] # 266.47 [+1.24] TEST: Connection with correct parameters - no mangling [ OK ] # 266.58 [+0.11] TEST: Connection check - server side [ OK ] # 269.99 [+3.41] # 269.99 [+0.00] IPv4 broadcast neighbour tests # 274.36 [+4.37] TEST: Resolved neighbour for broadcast address [ OK ] # 274.53 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 274.70 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 274.87 [+0.16] TEST: Unresolved neighbour for network broadcast address [ OK ] # 278.59 [+3.73] # 278.59 [+0.00] Fib6 garbage collection test # 293.01 [+14.42] TEST: ipv6 route garbage collection [ OK ] # 307.77 [+14.76] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 322.64 [+14.87] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 337.60 [+14.96] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 353.01 [+15.41] TEST: ipv6 route garbage collection (RA message) [ OK ] # 354.38 [+1.38] # 354.39 [+0.00] IPv4 multipath list receive tests # 378.47 [+24.08] TEST: Multipath route hit ratio (1.00) [ OK ] # 381.41 [+2.94] # 381.41 [+0.00] IPv6 multipath list receive tests # 403.84 [+22.43] TEST: Multipath route hit ratio (1.00) [ OK ] # 406.84 [+2.99] # 406.84 [+0.00] Tests passed: 229 # 406.84 [+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__->