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.54 [+0.54] # 0.54 [+0.00] Single path route test # 2.22 [+1.68] Start point # 2.37 [+0.15] TEST: IPv4 fibmatch [ OK ] # 2.51 [+0.14] TEST: IPv6 fibmatch [ OK ] # 2.68 [+0.16] Nexthop device deleted # 2.82 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 2.97 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 3.89 [+0.91] # 3.89 [+0.00] Multipath route test # 6.81 [+2.92] Start point # 6.95 [+0.14] TEST: IPv4 fibmatch [ OK ] # 7.10 [+0.15] TEST: IPv6 fibmatch [ OK ] # 7.28 [+0.18] One nexthop device deleted # 7.42 [+0.14] TEST: IPv4 - multipath route removed on delete [ OK ] # 7.56 [+0.14] TEST: IPv6 - multipath down to single path [ OK ] # 7.75 [+0.19] Second nexthop device deleted # 7.90 [+0.14] TEST: IPv6 - no route [ OK ] # 8.78 [+0.88] # 8.78 [+0.00] Single path, admin down # 10.84 [+2.06] Start point # 10.98 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.13 [+0.15] TEST: IPv6 fibmatch [ OK ] # 11.28 [+0.16] Route deleted on down # 11.42 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.57 [+0.15] TEST: IPv6 fibmatch [ OK ] # 12.27 [+0.70] # 12.27 [+0.00] Admin down multipath # 15.27 [+3.01] Verify start point # 15.42 [+0.15] TEST: IPv4 fibmatch [ OK ] # 15.57 [+0.15] TEST: IPv6 fibmatch [ OK ] # 15.71 [+0.14] One device down, one up # 15.85 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 16.00 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 16.14 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 16.29 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 16.40 [+0.12] TEST: IPv4 flags on down device [ OK ] # 16.54 [+0.14] TEST: IPv6 flags on down device [ OK ] # 16.66 [+0.12] TEST: IPv4 flags on up device [ OK ] # 16.78 [+0.12] TEST: IPv6 flags on up device [ OK ] # 17.07 [+0.29] Other device down and up # 17.22 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 17.37 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 17.51 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 17.65 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 17.77 [+0.11] TEST: IPv4 flags on down device [ OK ] # 17.88 [+0.11] TEST: IPv6 flags on down device [ OK ] # 17.98 [+0.10] TEST: IPv4 flags on up device [ OK ] # 18.10 [+0.12] TEST: IPv6 flags on up device [ OK ] # 18.25 [+0.15] Both devices down # 18.40 [+0.15] TEST: IPv4 fibmatch [ OK ] # 18.54 [+0.14] TEST: IPv6 fibmatch [ OK ] # 19.44 [+0.90] # 19.44 [+0.00] Local carrier tests - single path # 21.71 [+2.26] Start point # 21.85 [+0.14] TEST: IPv4 fibmatch [ OK ] # 22.01 [+0.16] TEST: IPv6 fibmatch [ OK ] # 22.12 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 22.23 [+0.11] TEST: IPv6 - no linkdown flag [ OK ] # 23.49 [+1.26] Carrier off on nexthop # 23.63 [+0.14] TEST: IPv4 fibmatch [ OK ] # 23.79 [+0.16] TEST: IPv6 fibmatch [ OK ] # 23.92 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 24.06 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 24.35 [+0.29] Route to local address with carrier down # 24.49 [+0.15] TEST: IPv4 fibmatch [ OK ] # 24.64 [+0.14] TEST: IPv6 fibmatch [ OK ] # 24.76 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 24.88 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 25.59 [+0.71] # 25.59 [+0.00] Single path route carrier test # 27.80 [+2.21] Start point # 27.94 [+0.14] TEST: IPv4 fibmatch [ OK ] # 28.08 [+0.15] TEST: IPv6 fibmatch [ OK ] # 28.21 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 28.33 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 29.57 [+1.24] Carrier down # 29.72 [+0.15] TEST: IPv4 fibmatch [ OK ] # 29.86 [+0.14] TEST: IPv6 fibmatch [ OK ] # 29.97 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 30.09 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 30.38 [+0.29] Second address added with carrier down # 30.53 [+0.15] TEST: IPv4 fibmatch [ OK ] # 30.67 [+0.15] TEST: IPv6 fibmatch [ OK ] # 30.80 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 30.93 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 37.69 [+6.76] # 37.69 [+0.00] IPv4 nexthop tests # 37.69 [+0.00] <<< write me >>> # 38.07 [+0.38] # 38.07 [+0.00] IPv6 nexthop tests # 38.24 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 38.41 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 38.57 [+0.16] TEST: Gateway is linklocal address [ OK ] # 38.73 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 38.89 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 39.04 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 39.21 [+0.16] TEST: Gateway can not be a local linklocal address [ OK ] # 39.37 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 39.53 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 39.69 [+0.16] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 39.85 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 40.01 [+0.16] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 40.16 [+0.15] TEST: VRF route, gateway can not be a local address [ OK ] # 40.31 [+0.15] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 41.71 [+1.40] # 41.71 [+0.00] FIB rule with suppress_prefixlength # 44.85 [+3.14] TEST: FIB rule suppress test [ OK ] # 47.64 [+2.79] # 47.64 [+0.00] Fib6 info length calculation in route notify test # 53.03 [+5.39] TEST: ipv6 route add notify [ OK ] # 55.87 [+2.84] # 55.87 [+0.00] Fib4 info length calculation in route notify test # 61.24 [+5.37] TEST: ipv4 route add notify [ OK ] # 68.97 [+7.72] # 68.97 [+0.00] IPv6 route add / append tests # 69.64 [+0.68] TEST: Attempt to add duplicate route - gw [ OK ] # 70.24 [+0.59] TEST: Attempt to add duplicate route - dev only [ OK ] # 70.83 [+0.59] TEST: Attempt to add duplicate route - reject route [ OK ] # 71.58 [+0.74] TEST: Append nexthop to existing route - gw [ OK ] # 72.22 [+0.64] TEST: Add multipath route [ OK ] # 72.82 [+0.60] TEST: Attempt to add duplicate multipath route [ OK ] # 73.58 [+0.76] TEST: Route add with different metrics [ OK ] # 73.89 [+0.31] TEST: Route delete with metric [ OK ] # 73.89 [+0.00] # 73.89 [+0.00] IPv6 route replace tests # 74.62 [+0.73] TEST: Single path with single path [ OK ] # 75.36 [+0.74] TEST: Single path with multipath [ OK ] # 76.10 [+0.74] TEST: Single path with single path via multipath attribute [ OK ] # 76.80 [+0.70] TEST: Invalid nexthop [ OK ] # 77.40 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 78.14 [+0.74] TEST: Multipath with multipath [ OK ] # 78.90 [+0.76] TEST: Multipath with single path [ OK ] # 79.64 [+0.73] TEST: Multipath with single path via multipath attribute [ OK ] # 80.38 [+0.74] TEST: Multipath with dev-only [ OK ] # 81.14 [+0.76] TEST: Multipath - invalid first nexthop [ OK ] # 81.87 [+0.74] TEST: Multipath - invalid second nexthop [ OK ] # 82.48 [+0.61] TEST: Multipath - replace of non-existent route [ OK ] # 82.48 [+0.00] # 82.48 [+0.00] IPv6 route with dsfield tests # 82.80 [+0.32] TEST: Reject route with dsfield [ OK ] # 93.21 [+10.41] # 93.21 [+0.00] IPv4 route add / append tests # 93.81 [+0.60] TEST: Attempt to add duplicate route - gw [ OK ] # 94.41 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 95.01 [+0.60] TEST: Attempt to add duplicate route - reject route [ OK ] # 95.77 [+0.75] TEST: Add new nexthop for existing prefix [ OK ] # 96.53 [+0.76] TEST: Append nexthop to existing route - gw [ OK ] # 97.29 [+0.77] TEST: Append nexthop to existing route - dev only [ OK ] # 98.05 [+0.76] TEST: Append nexthop to existing route - reject route [ OK ] # 98.67 [+0.62] TEST: Append nexthop to existing reject route - gw [ OK ] # 99.27 [+0.60] TEST: Append nexthop to existing reject route - dev only [ OK ] # 99.89 [+0.61] TEST: add multipath route [ OK ] # 100.49 [+0.60] TEST: Attempt to add duplicate multipath route [ OK ] # 101.24 [+0.75] TEST: Route add with different metrics [ OK ] # 101.55 [+0.31] TEST: Route delete with metric [ OK ] # 101.55 [+0.00] # 101.55 [+0.00] IPv4 route replace tests # 102.31 [+0.76] TEST: Single path with single path [ OK ] # 103.06 [+0.75] TEST: Single path with multipath [ OK ] # 103.83 [+0.77] TEST: Single path with reject route [ OK ] # 104.59 [+0.76] TEST: Single path with single path via multipath attribute [ OK ] # 105.36 [+0.77] TEST: Invalid nexthop [ OK ] # 106.04 [+0.69] TEST: Single path - replace of non-existent route [ OK ] # 106.81 [+0.77] TEST: Multipath with multipath [ OK ] # 107.57 [+0.75] TEST: Multipath with single path [ OK ] # 108.33 [+0.76] TEST: Multipath with single path via multipath attribute [ OK ] # 109.10 [+0.77] TEST: Multipath with reject route [ OK ] # 109.86 [+0.76] TEST: Multipath - invalid first nexthop [ OK ] # 110.63 [+0.77] TEST: Multipath - invalid second nexthop [ OK ] # 111.24 [+0.61] TEST: Multipath - replace of non-existent route [ OK ] # 113.49 [+2.25] TEST: Cached route removed from VRF port device [ OK ] # 113.49 [+0.00] # 113.49 [+0.00] IPv4 route with dsfield tests # 113.81 [+0.32] TEST: Reject route with dsfield 0x01 [ OK ] # 113.98 [+0.16] TEST: Reject route with dsfield 0x02 [ OK ] # 114.16 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 114.59 [+0.44] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 114.72 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 114.86 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 114.99 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 115.11 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 115.23 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 115.35 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 115.46 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 115.59 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 115.73 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 115.86 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 115.99 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 118.66 [+2.66] # 118.66 [+0.00] IPv6 prefix route tests # 122.19 [+3.54] TEST: Default metric [ OK ] # 122.65 [+0.46] TEST: User specified metric on first device [ OK ] # 123.11 [+0.45] TEST: User specified metric on second device [ OK ] # 123.39 [+0.28] TEST: Delete of address on first device [ OK ] # 123.69 [+0.30] TEST: Modify metric of address [ OK ] # 124.26 [+0.57] TEST: Prefix route removed on link down [ OK ] # 124.59 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 125.05 [+0.46] TEST: Set metric with peer route on local side [ OK ] # 125.19 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 125.51 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 125.64 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 127.34 [+1.70] # 127.34 [+0.00] IPv4 prefix route tests # 130.80 [+3.47] TEST: Default metric [ OK ] # 131.31 [+0.51] TEST: User specified metric on first device [ OK ] # 131.79 [+0.48] TEST: User specified metric on second device [ OK ] # 132.11 [+0.33] TEST: Delete of address on first device [ OK ] # 132.45 [+0.34] TEST: Modify metric of address [ OK ] # 132.76 [+0.31] TEST: Prefix route removed on link down [ OK ] # 133.08 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 133.76 [+0.67] TEST: Modify metric of .0/24 address [ OK ] # 134.31 [+0.55] TEST: Set metric of address with peer route [ OK ] # 134.62 [+0.31] TEST: Modify metric and peer address for peer route [ OK ] # 136.35 [+1.73] # 136.35 [+0.00] IPv6 routes with metrics # 144.93 [+8.58] TEST: Single path route with mtu metric [ OK ] # 145.41 [+0.48] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 145.89 [+0.47] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 146.20 [+0.32] TEST: MTU of second leg [ OK ] # 146.52 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 146.95 [+0.43] TEST: Using route with mtu metric [ OK ] # 147.23 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 149.91 [+2.68] # 149.91 [+0.00] IPv4 route add / append tests # 158.35 [+8.44] TEST: Single path route with mtu metric [ OK ] # 158.66 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 159.08 [+0.42] TEST: Using route with mtu metric [ OK ] # 159.34 [+0.25] TEST: Invalid metric (fails metric_convert) [ OK ] # 162.05 [+2.72] # 162.05 [+0.00] IPv4 route with IPv6 gateway tests # 172.45 [+10.40] TEST: Single path route with IPv6 gateway [ OK ] # 172.89 [+0.44] TEST: Single path route with IPv6 gateway - ping [ OK ] # 173.04 [+0.15] TEST: Single path route delete [ OK ] # 173.36 [+0.32] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 173.69 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 173.85 [+0.16] TEST: Multipath route delete exact match [ OK ] # 174.00 [+0.15] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 174.34 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 174.51 [+0.17] TEST: Multipath route delete exact match [ OK ] # 177.15 [+2.64] # 177.15 [+0.00] IPv4 rp_filter tests # 188.26 [+11.10] TEST: rp_filter passes local packets [ OK ] # 188.52 [+0.26] TEST: rp_filter passes loopback packets [ OK ] # 189.79 [+1.27] # 189.79 [+0.00] IPv4 delete address route tests # 195.00 [+5.21] Regular FIB info # 195.28 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 195.40 [+0.12] TEST: Route in default VRF not removed [ OK ] # 195.97 [+0.58] TEST: Route removed in default VRF when source address deleted [ OK ] # 196.11 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 196.11 [+0.00] Identical FIB info with different table ID # 196.40 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 196.53 [+0.13] TEST: Route in default VRF not removed [ OK ] # 197.15 [+0.61] TEST: Route removed in default VRF when source address deleted [ OK ] # 197.27 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 197.28 [+0.00] Table ID 0 # 197.54 [+0.26] TEST: Route removed in default VRF when source address deleted [ OK ] # 199.16 [+1.62] # 199.16 [+0.00] IPv6 delete address route tests # 207.70 [+8.54] Single device using src address # 207.97 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 207.97 [+0.00] Two devices with the same source address # 208.28 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 208.55 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 208.55 [+0.00] VRF with single device using src address # 208.85 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 208.85 [+0.00] VRF with two devices using src address # 209.13 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 209.38 [+0.25] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 209.38 [+0.00] src address and nexthop dev in same VRF # 209.66 [+0.27] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 209.80 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 210.38 [+0.58] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 210.49 [+0.11] TEST: Prefsrc in default VRF removed [ OK ] # 210.49 [+0.00] src address and nexthop device in different VRF # 210.77 [+0.28] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 210.90 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 211.33 [+0.43] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 211.45 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 211.45 [+0.00] Table ID 0 # 211.73 [+0.28] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 211.73 [+0.00] Link local source route # 212.01 [+0.27] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 212.27 [+0.27] TEST: Prefsrc removed when delete ll addr [ OK ] # 212.40 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 212.83 [+0.43] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 215.33 [+2.50] # 215.33 [+0.00] IPv4 mangling tests # 227.27 [+11.94] TEST: Connection with correct parameters [ OK ] # 227.57 [+0.30] TEST: Connection with incorrect parameters [ OK ] # 228.96 [+1.39] TEST: Connection with correct parameters - mangling [ OK ] # 230.07 [+1.11] TEST: Connection with correct parameters - no mangling [ OK ] # 230.17 [+0.10] TEST: Connection check - server side [ OK ] # 233.33 [+3.17] # 233.33 [+0.00] IPv6 mangling tests # 245.12 [+11.79] TEST: Connection with correct parameters [ OK ] # 245.48 [+0.35] TEST: Connection with incorrect parameters [ OK ] # 246.62 [+1.15] TEST: Connection with correct parameters - mangling [ OK ] # 247.80 [+1.18] TEST: Connection with correct parameters - no mangling [ OK ] # 247.91 [+0.10] TEST: Connection check - server side [ OK ] # 251.15 [+3.24] # 251.15 [+0.00] IPv4 broadcast neighbour tests # 255.22 [+4.08] TEST: Resolved neighbour for broadcast address [ OK ] # 255.38 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 255.53 [+0.15] TEST: Unresolved neighbour for broadcast address [ OK ] # 255.68 [+0.16] TEST: Unresolved neighbour for network broadcast address [ OK ] # 259.22 [+3.54] # 259.22 [+0.00] Fib6 garbage collection test # 273.60 [+14.37] TEST: ipv6 route garbage collection [ OK ] # 288.13 [+14.53] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 302.70 [+14.57] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 317.44 [+14.74] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 332.65 [+15.21] TEST: ipv6 route garbage collection (RA message) [ OK ] # 333.93 [+1.28] # 333.93 [+0.00] IPv4 multipath list receive tests # 357.23 [+23.30] TEST: Multipath route hit ratio (1.00) [ OK ] # 360.08 [+2.85] # 360.08 [+0.00] IPv6 multipath list receive tests # 382.41 [+22.32] TEST: Multipath route hit ratio (1.00) [ OK ] # 385.30 [+2.89] # 385.30 [+0.00] Tests passed: 229 # 385.30 [+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__->