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.19 [+1.19] # 1.19 [+0.00] Single path route test # 3.17 [+1.98] Start point # 3.35 [+0.18] TEST: IPv4 fibmatch [ OK ] # 3.52 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.77 [+0.25] Nexthop device deleted # 3.94 [+0.18] TEST: IPv4 fibmatch - no route [ OK ] # 4.12 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 5.12 [+1.00] # 5.12 [+0.00] Multipath route test # 8.47 [+3.35] Start point # 8.63 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.79 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.99 [+0.21] One nexthop device deleted # 9.16 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.32 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.52 [+0.20] Second nexthop device deleted # 9.68 [+0.16] TEST: IPv6 - no route [ OK ] # 10.68 [+1.00] # 10.68 [+0.00] Single path, admin down # 13.10 [+2.42] Start point # 13.27 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.43 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.59 [+0.16] Route deleted on down # 13.76 [+0.17] TEST: IPv4 fibmatch [ OK ] # 13.93 [+0.17] TEST: IPv6 fibmatch [ OK ] # 14.77 [+0.84] # 14.77 [+0.00] Admin down multipath # 18.08 [+3.31] Verify start point # 18.23 [+0.16] TEST: IPv4 fibmatch [ OK ] # 18.39 [+0.16] TEST: IPv6 fibmatch [ OK ] # 18.55 [+0.16] One device down, one up # 18.71 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.86 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 19.03 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 19.19 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 19.33 [+0.14] TEST: IPv4 flags on down device [ OK ] # 19.46 [+0.12] TEST: IPv6 flags on down device [ OK ] # 19.60 [+0.14] TEST: IPv4 flags on up device [ OK ] # 19.74 [+0.14] TEST: IPv6 flags on up device [ OK ] # 20.06 [+0.33] Other device down and up # 20.22 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 20.38 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 20.53 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 20.69 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.83 [+0.14] TEST: IPv4 flags on down device [ OK ] # 20.99 [+0.15] TEST: IPv6 flags on down device [ OK ] # 21.12 [+0.13] TEST: IPv4 flags on up device [ OK ] # 21.25 [+0.13] TEST: IPv6 flags on up device [ OK ] # 21.42 [+0.17] Both devices down # 21.58 [+0.16] TEST: IPv4 fibmatch [ OK ] # 21.73 [+0.16] TEST: IPv6 fibmatch [ OK ] # 22.77 [+1.04] # 22.77 [+0.00] Local carrier tests - single path # 25.39 [+2.62] Start point # 25.55 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.72 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.86 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 25.99 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 27.28 [+1.29] Carrier off on nexthop # 27.47 [+0.19] TEST: IPv4 fibmatch [ OK ] # 27.65 [+0.18] TEST: IPv6 fibmatch [ OK ] # 27.77 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 27.91 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 28.25 [+0.34] Route to local address with carrier down # 28.41 [+0.17] TEST: IPv4 fibmatch [ OK ] # 28.59 [+0.18] TEST: IPv6 fibmatch [ OK ] # 28.75 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 28.90 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 29.72 [+0.82] # 29.72 [+0.00] Single path route carrier test # 32.30 [+2.58] Start point # 32.48 [+0.18] TEST: IPv4 fibmatch [ OK ] # 32.63 [+0.15] TEST: IPv6 fibmatch [ OK ] # 32.78 [+0.15] TEST: IPv4 no linkdown flag [ OK ] # 32.93 [+0.15] TEST: IPv6 no linkdown flag [ OK ] # 34.21 [+1.28] Carrier down # 34.40 [+0.19] TEST: IPv4 fibmatch [ OK ] # 34.56 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.72 [+0.17] TEST: IPv4 linkdown flag set [ OK ] # 34.87 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 35.20 [+0.33] Second address added with carrier down # 35.37 [+0.17] TEST: IPv4 fibmatch [ OK ] # 35.52 [+0.15] TEST: IPv6 fibmatch [ OK ] # 35.66 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 35.81 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 43.25 [+7.44] # 43.25 [+0.00] IPv4 nexthop tests # 43.25 [+0.00] <<< write me >>> # 43.60 [+0.34] # 43.60 [+0.00] IPv6 nexthop tests # 43.77 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 44.00 [+0.22] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.23 [+0.23] TEST: Gateway is linklocal address [ OK ] # 44.40 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 44.59 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 44.76 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 44.96 [+0.20] TEST: Gateway can not be a local linklocal address [ OK ] # 45.15 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 45.33 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 45.50 [+0.17] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 45.66 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 45.86 [+0.20] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 46.02 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 46.19 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 47.83 [+1.64] # 47.83 [+0.00] FIB rule with suppress_prefixlength # 51.46 [+3.64] TEST: FIB rule suppress test [ OK ] # 54.73 [+3.27] # 54.73 [+0.00] Fib6 info length calculation in route notify test # 60.70 [+5.97] TEST: ipv6 route add notify [ OK ] # 63.95 [+3.25] # 63.95 [+0.00] Fib4 info length calculation in route notify test # 69.85 [+5.90] TEST: ipv4 route add notify [ OK ] # 78.75 [+8.90] # 78.75 [+0.00] IPv6 route add / append tests # 79.45 [+0.70] TEST: Attempt to add duplicate route - gw [ OK ] # 80.12 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 80.86 [+0.74] TEST: Attempt to add duplicate route - reject route [ OK ] # 81.73 [+0.88] TEST: Append nexthop to existing route - gw [ OK ] # 82.43 [+0.70] TEST: Add multipath route [ OK ] # 83.16 [+0.73] TEST: Attempt to add duplicate multipath route [ OK ] # 84.07 [+0.91] TEST: Route add with different metrics [ OK ] # 84.39 [+0.32] TEST: Route delete with metric [ OK ] # 84.40 [+0.00] # 84.40 [+0.00] IPv6 route replace tests # 85.23 [+0.83] TEST: Single path with single path [ OK ] # 86.09 [+0.86] TEST: Single path with multipath [ OK ] # 86.94 [+0.85] TEST: Single path with single path via multipath attribute [ OK ] # 87.79 [+0.86] TEST: Invalid nexthop [ OK ] # 88.46 [+0.67] TEST: Single path - replace of non-existent route [ OK ] # 89.34 [+0.88] TEST: Multipath with multipath [ OK ] # 90.22 [+0.88] TEST: Multipath with single path [ OK ] # 91.06 [+0.84] TEST: Multipath with single path via multipath attribute [ OK ] # 91.92 [+0.86] TEST: Multipath with dev-only [ OK ] # 92.77 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 93.63 [+0.85] TEST: Multipath - invalid second nexthop [ OK ] # 94.32 [+0.70] TEST: Multipath - replace of non-existent route [ OK ] # 94.33 [+0.00] # 94.33 [+0.00] IPv6 route with dsfield tests # 94.68 [+0.35] TEST: Reject route with dsfield [ OK ] # 106.42 [+11.74] # 106.42 [+0.00] IPv4 route add / append tests # 107.08 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 107.74 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 108.46 [+0.72] TEST: Attempt to add duplicate route - reject route [ OK ] # 109.32 [+0.86] TEST: Add new nexthop for existing prefix [ OK ] # 110.18 [+0.86] TEST: Append nexthop to existing route - gw [ OK ] # 111.12 [+0.94] TEST: Append nexthop to existing route - dev only [ OK ] # 111.98 [+0.87] TEST: Append nexthop to existing route - reject route [ OK ] # 112.69 [+0.70] TEST: Append nexthop to existing reject route - gw [ OK ] # 113.40 [+0.72] TEST: Append nexthop to existing reject route - dev only [ OK ] # 114.07 [+0.67] TEST: add multipath route [ OK ] # 114.77 [+0.70] TEST: Attempt to add duplicate multipath route [ OK ] # 115.67 [+0.90] TEST: Route add with different metrics [ OK ] # 116.02 [+0.35] TEST: Route delete with metric [ OK ] # 116.02 [+0.00] # 116.02 [+0.00] IPv4 route replace tests # 116.87 [+0.85] TEST: Single path with single path [ OK ] # 117.75 [+0.88] TEST: Single path with multipath [ OK ] # 118.58 [+0.82] TEST: Single path with reject route [ OK ] # 119.45 [+0.87] TEST: Single path with single path via multipath attribute [ OK ] # 120.26 [+0.81] TEST: Invalid nexthop [ OK ] # 120.92 [+0.67] TEST: Single path - replace of non-existent route [ OK ] # 121.75 [+0.83] TEST: Multipath with multipath [ OK ] # 122.62 [+0.87] TEST: Multipath with single path [ OK ] # 123.48 [+0.85] TEST: Multipath with single path via multipath attribute [ OK ] # 124.31 [+0.83] TEST: Multipath with reject route [ OK ] # 125.16 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 125.99 [+0.83] TEST: Multipath - invalid second nexthop [ OK ] # 126.66 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 129.15 [+2.49] TEST: Cached route removed from VRF port device [ OK ] # 129.15 [+0.00] # 129.16 [+0.00] IPv4 route with dsfield tests # 129.50 [+0.34] TEST: Reject route with dsfield 0x01 [ OK ] # 129.68 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 129.85 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 130.36 [+0.51] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 130.51 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 130.66 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 130.82 [+0.16] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 130.98 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 131.14 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 131.30 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 131.47 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 131.62 [+0.15] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 131.77 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 131.90 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 132.05 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 134.91 [+2.86] # 134.91 [+0.00] IPv6 prefix route tests # 138.61 [+3.70] TEST: Default metric [ OK ] # 139.11 [+0.50] TEST: User specified metric on first device [ OK ] # 139.62 [+0.51] TEST: User specified metric on second device [ OK ] # 139.94 [+0.31] TEST: Delete of address on first device [ OK ] # 140.24 [+0.31] TEST: Modify metric of address [ OK ] # 140.87 [+0.63] TEST: Prefix route removed on link down [ OK ] # 141.19 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 141.69 [+0.50] TEST: Set metric with peer route on local side [ OK ] # 141.85 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 142.17 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 142.32 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 144.17 [+1.85] # 144.17 [+0.00] IPv4 prefix route tests # 147.82 [+3.65] TEST: Default metric [ OK ] # 148.31 [+0.49] TEST: User specified metric on first device [ OK ] # 148.84 [+0.53] TEST: User specified metric on second device [ OK ] # 149.18 [+0.34] TEST: Delete of address on first device [ OK ] # 149.53 [+0.35] TEST: Modify metric of address [ OK ] # 149.87 [+0.34] TEST: Prefix route removed on link down [ OK ] # 150.22 [+0.35] TEST: Prefix route with metric on link up [ OK ] # 150.90 [+0.68] TEST: Modify metric of .0/24 address [ OK ] # 151.41 [+0.51] TEST: Set metric of address with peer route [ OK ] # 151.75 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 153.48 [+1.74] # 153.48 [+0.00] IPv6 routes with metrics # 162.76 [+9.28] TEST: Single path route with mtu metric [ OK ] # 163.32 [+0.56] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 163.85 [+0.53] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 164.16 [+0.31] TEST: MTU of second leg [ OK ] # 164.49 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 164.93 [+0.44] TEST: Using route with mtu metric [ OK ] # 165.20 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 168.20 [+3.00] # 168.20 [+0.00] IPv4 route add / append tests # 177.37 [+9.16] TEST: Single path route with mtu metric [ OK ] # 177.71 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 178.22 [+0.50] TEST: Using route with mtu metric [ OK ] # 178.52 [+0.30] TEST: Invalid metric (fails metric_convert) [ OK ] # 181.70 [+3.18] # 181.70 [+0.00] IPv4 route with IPv6 gateway tests # 193.85 [+12.15] TEST: Single path route with IPv6 gateway [ OK ] # 194.38 [+0.53] TEST: Single path route with IPv6 gateway - ping [ OK ] # 194.55 [+0.17] TEST: Single path route delete [ OK ] # 194.90 [+0.35] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 195.23 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 195.40 [+0.17] TEST: Multipath route delete exact match [ OK ] # 195.59 [+0.19] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 195.94 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 196.12 [+0.17] TEST: Multipath route delete exact match [ OK ] # 199.06 [+2.94] # 199.06 [+0.00] IPv4 rp_filter tests # 211.19 [+12.13] TEST: rp_filter passes local packets [ OK ] # 211.49 [+0.30] TEST: rp_filter passes loopback packets [ OK ] # 212.86 [+1.37] # 212.86 [+0.00] IPv4 delete address route tests # 218.45 [+5.59] Regular FIB info # 218.75 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 218.90 [+0.16] TEST: Route in default VRF not removed [ OK ] # 219.52 [+0.62] TEST: Route removed in default VRF when source address deleted [ OK ] # 219.65 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 219.65 [+0.00] Identical FIB info with different table ID # 219.96 [+0.31] TEST: Route removed from VRF when source address deleted [ OK ] # 220.08 [+0.12] TEST: Route in default VRF not removed [ OK ] # 220.70 [+0.61] TEST: Route removed in default VRF when source address deleted [ OK ] # 220.83 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 220.83 [+0.00] Table ID 0 # 221.14 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 222.91 [+1.77] # 222.91 [+0.00] IPv6 delete address route tests # 232.37 [+9.46] Single device using src address # 232.71 [+0.34] TEST: Prefsrc removed when src address removed on other device [ OK ] # 232.72 [+0.00] Two devices with the same source address # 233.02 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 233.32 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 233.32 [+0.00] VRF with single device using src address # 233.61 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 233.61 [+0.00] VRF with two devices using src address # 233.89 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 234.21 [+0.31] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 234.21 [+0.00] src address and nexthop dev in same VRF # 234.50 [+0.29] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 234.64 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 235.25 [+0.60] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 235.39 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 235.39 [+0.00] src address and nexthop device in different VRF # 235.69 [+0.31] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 235.84 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 236.30 [+0.46] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 236.43 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 236.43 [+0.00] Table ID 0 # 236.73 [+0.30] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 236.74 [+0.00] Link local source route # 237.03 [+0.29] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 237.31 [+0.28] TEST: Prefsrc removed when delete ll addr [ OK ] # 237.46 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 237.95 [+0.48] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 240.68 [+2.74] # 240.68 [+0.00] IPv4 mangling tests # 252.94 [+12.26] TEST: Connection with correct parameters [ OK ] # 253.27 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 254.53 [+1.27] TEST: Connection with correct parameters - mangling [ OK ] # 255.68 [+1.15] TEST: Connection with correct parameters - no mangling [ OK ] # 255.79 [+0.11] TEST: Connection check - server side [ OK ] # 259.16 [+3.37] # 259.16 [+0.00] IPv6 mangling tests # 271.50 [+12.34] TEST: Connection with correct parameters [ OK ] # 271.86 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 273.03 [+1.17] TEST: Connection with correct parameters - mangling [ OK ] # 274.24 [+1.21] TEST: Connection with correct parameters - no mangling [ OK ] # 274.37 [+0.13] TEST: Connection check - server side [ OK ] # 277.85 [+3.48] # 277.85 [+0.00] IPv4 broadcast neighbour tests # 282.16 [+4.31] TEST: Resolved neighbour for broadcast address [ OK ] # 282.33 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 282.49 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 282.66 [+0.16] TEST: Unresolved neighbour for network broadcast address [ OK ] # 286.37 [+3.71] # 286.37 [+0.00] Fib6 garbage collection test # 300.75 [+14.38] TEST: ipv6 route garbage collection [ OK ] # 315.66 [+14.90] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 330.59 [+14.93] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 345.57 [+14.97] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 360.99 [+15.43] TEST: ipv6 route garbage collection (RA message) [ OK ] # 362.37 [+1.38] # 362.37 [+0.00] IPv4 multipath list receive tests # 386.67 [+24.30] TEST: Multipath route hit ratio (1.00) [ OK ] # 389.73 [+3.07] # 389.74 [+0.00] IPv6 multipath list receive tests # 412.64 [+22.90] TEST: Multipath route hit ratio (1.00) [ OK ] # 415.60 [+2.96] # 415.60 [+0.00] Tests passed: 229 # 415.60 [+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__->