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.12 [+1.12] # 1.12 [+0.00] Single path route test # 3.05 [+1.94] Start point # 3.24 [+0.18] TEST: IPv4 fibmatch [ OK ] # 3.41 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.62 [+0.22] Nexthop device deleted # 3.79 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.97 [+0.18] TEST: IPv6 fibmatch - no route [ OK ] # 5.00 [+1.04] # 5.00 [+0.00] Multipath route test # 8.39 [+3.39] Start point # 8.55 [+0.16] TEST: IPv4 fibmatch [ OK ] # 8.72 [+0.17] TEST: IPv6 fibmatch [ OK ] # 8.93 [+0.21] One nexthop device deleted # 9.10 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.26 [+0.17] TEST: IPv6 - multipath down to single path [ OK ] # 9.47 [+0.21] Second nexthop device deleted # 9.63 [+0.16] TEST: IPv6 - no route [ OK ] # 10.65 [+1.02] # 10.65 [+0.00] Single path, admin down # 13.03 [+2.38] Start point # 13.21 [+0.18] TEST: IPv4 fibmatch [ OK ] # 13.37 [+0.17] TEST: IPv6 fibmatch [ OK ] # 13.54 [+0.17] Route deleted on down # 13.72 [+0.18] TEST: IPv4 fibmatch [ OK ] # 13.88 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.72 [+0.84] # 14.72 [+0.00] Admin down multipath # 18.12 [+3.40] Verify start point # 18.27 [+0.15] TEST: IPv4 fibmatch [ OK ] # 18.44 [+0.17] TEST: IPv6 fibmatch [ OK ] # 18.61 [+0.17] One device down, one up # 18.78 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.94 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 19.12 [+0.18] TEST: IPv4 fibmatch on up device [ OK ] # 19.28 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 19.41 [+0.13] TEST: IPv4 flags on down device [ OK ] # 19.54 [+0.13] TEST: IPv6 flags on down device [ OK ] # 19.67 [+0.13] TEST: IPv4 flags on up device [ OK ] # 19.80 [+0.13] TEST: IPv6 flags on up device [ OK ] # 20.13 [+0.33] Other device down and up # 20.29 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 20.45 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 20.62 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 20.79 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.91 [+0.12] TEST: IPv4 flags on down device [ OK ] # 21.04 [+0.13] TEST: IPv6 flags on down device [ OK ] # 21.15 [+0.11] TEST: IPv4 flags on up device [ OK ] # 21.28 [+0.13] TEST: IPv6 flags on up device [ OK ] # 21.45 [+0.17] Both devices down # 21.62 [+0.17] TEST: IPv4 fibmatch [ OK ] # 21.78 [+0.17] TEST: IPv6 fibmatch [ OK ] # 22.81 [+1.02] # 22.81 [+0.00] Local carrier tests - single path # 25.39 [+2.58] Start point # 25.55 [+0.17] TEST: IPv4 fibmatch [ OK ] # 25.73 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.86 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 26.03 [+0.17] TEST: IPv6 - no linkdown flag [ OK ] # 27.31 [+1.28] Carrier off on nexthop # 27.48 [+0.17] TEST: IPv4 fibmatch [ OK ] # 27.64 [+0.16] TEST: IPv6 fibmatch [ OK ] # 27.79 [+0.16] TEST: IPv4 - linkdown flag set [ OK ] # 27.92 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 28.26 [+0.33] Route to local address with carrier down # 28.41 [+0.16] TEST: IPv4 fibmatch [ OK ] # 28.58 [+0.16] TEST: IPv6 fibmatch [ OK ] # 28.74 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 28.88 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 29.70 [+0.82] # 29.70 [+0.00] Single path route carrier test # 32.16 [+2.46] Start point # 32.32 [+0.16] TEST: IPv4 fibmatch [ OK ] # 32.49 [+0.17] TEST: IPv6 fibmatch [ OK ] # 32.64 [+0.16] TEST: IPv4 no linkdown flag [ OK ] # 32.78 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 34.04 [+1.26] Carrier down # 34.20 [+0.16] TEST: IPv4 fibmatch [ OK ] # 34.38 [+0.18] TEST: IPv6 fibmatch [ OK ] # 34.54 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 34.70 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 35.09 [+0.39] Second address added with carrier down # 35.29 [+0.20] TEST: IPv4 fibmatch [ OK ] # 35.48 [+0.19] TEST: IPv6 fibmatch [ OK ] # 35.66 [+0.18] TEST: IPv4 linkdown flag set [ OK ] # 35.81 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 44.00 [+8.19] # 44.00 [+0.00] IPv4 nexthop tests # 44.00 [+0.00] <<< write me >>> # 44.35 [+0.35] # 44.35 [+0.00] IPv6 nexthop tests # 44.53 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 44.72 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.89 [+0.18] TEST: Gateway is linklocal address [ OK ] # 45.07 [+0.18] TEST: Gateway is linklocal address, no device [ OK ] # 45.25 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 45.43 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 45.61 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 45.78 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 45.98 [+0.20] TEST: Gateway can be local address in a VRF, with device [ OK ] # 46.16 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 46.35 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 46.52 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 46.70 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 46.89 [+0.19] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 48.48 [+1.59] # 48.48 [+0.00] FIB rule with suppress_prefixlength # 52.31 [+3.83] TEST: FIB rule suppress test [ OK ] # 55.57 [+3.27] # 55.57 [+0.00] Fib6 info length calculation in route notify test # 61.65 [+6.08] TEST: ipv6 route add notify [ OK ] # 64.81 [+3.16] # 64.81 [+0.00] Fib4 info length calculation in route notify test # 70.74 [+5.93] TEST: ipv4 route add notify [ OK ] # 80.11 [+9.36] # 80.11 [+0.00] IPv6 route add / append tests # 80.87 [+0.76] TEST: Attempt to add duplicate route - gw [ OK ] # 81.61 [+0.74] TEST: Attempt to add duplicate route - dev only [ OK ] # 82.32 [+0.71] TEST: Attempt to add duplicate route - reject route [ OK ] # 83.25 [+0.93] TEST: Append nexthop to existing route - gw [ OK ] # 83.97 [+0.73] TEST: Add multipath route [ OK ] # 84.70 [+0.73] TEST: Attempt to add duplicate multipath route [ OK ] # 85.60 [+0.89] TEST: Route add with different metrics [ OK ] # 85.95 [+0.35] TEST: Route delete with metric [ OK ] # 85.95 [+0.00] # 85.95 [+0.00] IPv6 route replace tests # 86.82 [+0.87] TEST: Single path with single path [ OK ] # 87.68 [+0.86] TEST: Single path with multipath [ OK ] # 88.60 [+0.92] TEST: Single path with single path via multipath attribute [ OK ] # 89.49 [+0.89] TEST: Invalid nexthop [ OK ] # 90.17 [+0.68] TEST: Single path - replace of non-existent route [ OK ] # 91.04 [+0.86] TEST: Multipath with multipath [ OK ] # 91.90 [+0.87] TEST: Multipath with single path [ OK ] # 92.74 [+0.84] TEST: Multipath with single path via multipath attribute [ OK ] # 93.56 [+0.82] TEST: Multipath with dev-only [ OK ] # 94.42 [+0.86] TEST: Multipath - invalid first nexthop [ OK ] # 95.27 [+0.85] TEST: Multipath - invalid second nexthop [ OK ] # 95.97 [+0.69] TEST: Multipath - replace of non-existent route [ OK ] # 95.97 [+0.00] # 95.97 [+0.00] IPv6 route with dsfield tests # 96.33 [+0.36] TEST: Reject route with dsfield [ OK ] # 108.71 [+12.38] # 108.71 [+0.00] IPv4 route add / append tests # 109.50 [+0.79] TEST: Attempt to add duplicate route - gw [ OK ] # 110.32 [+0.82] TEST: Attempt to add duplicate route - dev only [ OK ] # 111.11 [+0.79] TEST: Attempt to add duplicate route - reject route [ OK ] # 112.05 [+0.94] TEST: Add new nexthop for existing prefix [ OK ] # 113.00 [+0.95] TEST: Append nexthop to existing route - gw [ OK ] # 113.94 [+0.94] TEST: Append nexthop to existing route - dev only [ OK ] # 114.82 [+0.88] TEST: Append nexthop to existing route - reject route [ OK ] # 115.53 [+0.71] TEST: Append nexthop to existing reject route - gw [ OK ] # 116.23 [+0.71] TEST: Append nexthop to existing reject route - dev only [ OK ] # 116.93 [+0.69] TEST: add multipath route [ OK ] # 117.62 [+0.69] TEST: Attempt to add duplicate multipath route [ OK ] # 118.50 [+0.88] TEST: Route add with different metrics [ OK ] # 118.86 [+0.36] TEST: Route delete with metric [ OK ] # 118.86 [+0.00] # 118.86 [+0.00] IPv4 route replace tests # 119.75 [+0.89] TEST: Single path with single path [ OK ] # 120.65 [+0.90] TEST: Single path with multipath [ OK ] # 121.57 [+0.92] TEST: Single path with reject route [ OK ] # 122.44 [+0.87] TEST: Single path with single path via multipath attribute [ OK ] # 123.29 [+0.85] TEST: Invalid nexthop [ OK ] # 123.98 [+0.69] TEST: Single path - replace of non-existent route [ OK ] # 124.90 [+0.92] TEST: Multipath with multipath [ OK ] # 125.79 [+0.89] TEST: Multipath with single path [ OK ] # 126.70 [+0.91] TEST: Multipath with single path via multipath attribute [ OK ] # 127.61 [+0.92] TEST: Multipath with reject route [ OK ] # 128.55 [+0.94] TEST: Multipath - invalid first nexthop [ OK ] # 129.44 [+0.89] TEST: Multipath - invalid second nexthop [ OK ] # 130.14 [+0.70] TEST: Multipath - replace of non-existent route [ OK ] # 132.69 [+2.55] TEST: Cached route removed from VRF port device [ OK ] # 132.70 [+0.00] # 132.70 [+0.00] IPv4 route with dsfield tests # 133.03 [+0.33] TEST: Reject route with dsfield 0x01 [ OK ] # 133.21 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 133.38 [+0.18] TEST: Reject route with dsfield 0x03 [ OK ] # 133.89 [+0.51] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 134.06 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 134.23 [+0.17] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 134.37 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 134.54 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 134.71 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 134.86 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 135.00 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 135.15 [+0.15] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 135.31 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 135.46 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 135.60 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 138.42 [+2.82] # 138.42 [+0.00] IPv6 prefix route tests # 142.05 [+3.63] TEST: Default metric [ OK ] # 142.54 [+0.49] TEST: User specified metric on first device [ OK ] # 143.04 [+0.50] TEST: User specified metric on second device [ OK ] # 143.38 [+0.33] TEST: Delete of address on first device [ OK ] # 143.71 [+0.33] TEST: Modify metric of address [ OK ] # 144.33 [+0.63] TEST: Prefix route removed on link down [ OK ] # 144.66 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 145.14 [+0.48] TEST: Set metric with peer route on local side [ OK ] # 145.30 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 145.63 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 145.77 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 147.58 [+1.81] # 147.58 [+0.00] IPv4 prefix route tests # 151.27 [+3.69] TEST: Default metric [ OK ] # 151.79 [+0.52] TEST: User specified metric on first device [ OK ] # 152.33 [+0.53] TEST: User specified metric on second device [ OK ] # 152.67 [+0.34] TEST: Delete of address on first device [ OK ] # 153.01 [+0.34] TEST: Modify metric of address [ OK ] # 153.36 [+0.34] TEST: Prefix route removed on link down [ OK ] # 153.70 [+0.34] TEST: Prefix route with metric on link up [ OK ] # 154.41 [+0.72] TEST: Modify metric of .0/24 address [ OK ] # 154.94 [+0.52] TEST: Set metric of address with peer route [ OK ] # 155.28 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 157.15 [+1.87] # 157.15 [+0.00] IPv6 routes with metrics # 166.56 [+9.41] TEST: Single path route with mtu metric [ OK ] # 167.10 [+0.53] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 167.63 [+0.53] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 167.95 [+0.33] TEST: MTU of second leg [ OK ] # 168.30 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 168.77 [+0.48] TEST: Using route with mtu metric [ OK ] # 169.05 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 171.95 [+2.90] # 171.95 [+0.00] IPv4 route add / append tests # 181.33 [+9.37] TEST: Single path route with mtu metric [ OK ] # 181.68 [+0.36] TEST: Multipath route with mtu metric [ OK ] # 182.15 [+0.46] TEST: Using route with mtu metric [ OK ] # 182.43 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 185.29 [+2.86] # 185.29 [+0.00] IPv4 route with IPv6 gateway tests # 196.75 [+11.46] TEST: Single path route with IPv6 gateway [ OK ] # 197.24 [+0.49] TEST: Single path route with IPv6 gateway - ping [ OK ] # 197.41 [+0.17] TEST: Single path route delete [ OK ] # 197.80 [+0.39] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 198.15 [+0.36] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 198.34 [+0.18] TEST: Multipath route delete exact match [ OK ] # 198.52 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 198.88 [+0.36] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 199.06 [+0.18] TEST: Multipath route delete exact match [ OK ] # 202.31 [+3.24] # 202.31 [+0.00] IPv4 rp_filter tests # 214.54 [+12.24] TEST: rp_filter passes local packets [ OK ] # 214.84 [+0.30] TEST: rp_filter passes loopback packets [ OK ] # 216.30 [+1.46] # 216.30 [+0.00] IPv4 delete address route tests # 222.12 [+5.82] Regular FIB info # 222.41 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 222.57 [+0.16] TEST: Route in default VRF not removed [ OK ] # 223.21 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 223.36 [+0.16] TEST: Route in VRF is not removed by address delete [ OK ] # 223.37 [+0.00] Identical FIB info with different table ID # 223.69 [+0.33] TEST: Route removed from VRF when source address deleted [ OK ] # 223.82 [+0.13] TEST: Route in default VRF not removed [ OK ] # 224.46 [+0.64] TEST: Route removed in default VRF when source address deleted [ OK ] # 224.59 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 224.59 [+0.00] Table ID 0 # 224.88 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 226.72 [+1.85] # 226.73 [+0.00] IPv6 delete address route tests # 236.60 [+9.87] Single device using src address # 236.90 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 236.90 [+0.00] Two devices with the same source address # 237.21 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 237.53 [+0.33] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 237.54 [+0.00] VRF with single device using src address # 237.83 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 237.83 [+0.00] VRF with two devices using src address # 238.13 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 238.46 [+0.33] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 238.46 [+0.00] src address and nexthop dev in same VRF # 238.78 [+0.31] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 238.93 [+0.15] TEST: Prefsrc in default VRF not removed [ OK ] # 239.56 [+0.63] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 239.73 [+0.17] TEST: Prefsrc in default VRF removed [ OK ] # 239.73 [+0.00] src address and nexthop device in different VRF # 240.03 [+0.30] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 240.17 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 240.69 [+0.52] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 240.85 [+0.16] TEST: Prefsrc removed in default VRF [ OK ] # 240.86 [+0.00] Table ID 0 # 241.20 [+0.35] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 241.21 [+0.00] Link local source route # 241.52 [+0.31] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 241.88 [+0.36] TEST: Prefsrc removed when delete ll addr [ OK ] # 242.04 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 242.58 [+0.54] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 245.57 [+2.99] # 245.57 [+0.00] IPv4 mangling tests # 259.31 [+13.74] TEST: Connection with correct parameters [ OK ] # 259.72 [+0.41] TEST: Connection with incorrect parameters [ OK ] # 261.29 [+1.58] TEST: Connection with correct parameters - mangling [ OK ] # 262.60 [+1.30] TEST: Connection with correct parameters - no mangling [ OK ] # 262.77 [+0.17] TEST: Connection check - server side [ OK ] # 267.32 [+4.55] # 267.32 [+0.00] IPv6 mangling tests # 284.14 [+16.82] TEST: Connection with correct parameters [ OK ] # 284.67 [+0.53] TEST: Connection with incorrect parameters [ OK ] # 286.18 [+1.51] TEST: Connection with correct parameters - mangling [ OK ] # 287.73 [+1.55] TEST: Connection with correct parameters - no mangling [ OK ] # 287.93 [+0.20] TEST: Connection check - server side [ OK ] # 292.78 [+4.84] # 292.78 [+0.00] IPv4 broadcast neighbour tests # 298.57 [+5.79] TEST: Resolved neighbour for broadcast address [ OK ] # 298.83 [+0.26] TEST: Resolved neighbour for network broadcast address [ OK ] # 299.07 [+0.25] TEST: Unresolved neighbour for broadcast address [ OK ] # 299.30 [+0.23] TEST: Unresolved neighbour for network broadcast address [ OK ] # 304.41 [+5.11] # 304.41 [+0.00] Fib6 garbage collection test # 319.86 [+15.45] TEST: ipv6 route garbage collection [ OK ] # 334.68 [+14.82] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 349.44 [+14.76] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 364.33 [+14.89] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 379.64 [+15.31] TEST: ipv6 route garbage collection (RA message) [ OK ] # 381.05 [+1.41] # 381.05 [+0.00] IPv4 multipath list receive tests # 404.91 [+23.86] TEST: Multipath route hit ratio (1.00) [ OK ] # 408.01 [+3.10] # 408.01 [+0.00] IPv6 multipath list receive tests # 432.17 [+24.16] TEST: Multipath route hit ratio (1.00) [ OK ] # 435.37 [+3.20] # 435.37 [+0.00] Tests passed: 229 # 435.37 [+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__->