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.73 [+0.73] # 0.73 [+0.00] Single path route test # 2.53 [+1.80] Start point # 2.68 [+0.15] TEST: IPv4 fibmatch [ OK ] # 2.83 [+0.15] TEST: IPv6 fibmatch [ OK ] # 3.03 [+0.20] Nexthop device deleted # 3.24 [+0.20] TEST: IPv4 fibmatch - no route [ OK ] # 3.38 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 4.32 [+0.93] # 4.32 [+0.00] Multipath route test # 7.42 [+3.10] Start point # 7.56 [+0.14] TEST: IPv4 fibmatch [ OK ] # 7.72 [+0.16] TEST: IPv6 fibmatch [ OK ] # 7.93 [+0.21] One nexthop device deleted # 8.08 [+0.15] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.23 [+0.14] TEST: IPv6 - multipath down to single path [ OK ] # 8.39 [+0.17] Second nexthop device deleted # 8.55 [+0.15] TEST: IPv6 - no route [ OK ] # 9.46 [+0.91] # 9.46 [+0.00] Single path, admin down # 11.59 [+2.13] Start point # 11.74 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.89 [+0.15] TEST: IPv6 fibmatch [ OK ] # 12.03 [+0.14] Route deleted on down # 12.17 [+0.14] TEST: IPv4 fibmatch [ OK ] # 12.32 [+0.15] TEST: IPv6 fibmatch [ OK ] # 13.06 [+0.74] # 13.06 [+0.00] Admin down multipath # 16.05 [+2.99] Verify start point # 16.20 [+0.15] TEST: IPv4 fibmatch [ OK ] # 16.35 [+0.15] TEST: IPv6 fibmatch [ OK ] # 16.50 [+0.15] One device down, one up # 16.65 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 16.83 [+0.19] TEST: IPv6 fibmatch on down device [ OK ] # 16.99 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 17.14 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 17.24 [+0.10] TEST: IPv4 flags on down device [ OK ] # 17.38 [+0.14] TEST: IPv6 flags on down device [ OK ] # 17.49 [+0.11] TEST: IPv4 flags on up device [ OK ] # 17.61 [+0.11] TEST: IPv6 flags on up device [ OK ] # 17.91 [+0.31] Other device down and up # 18.07 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.22 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 18.37 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 18.53 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 18.66 [+0.13] TEST: IPv4 flags on down device [ OK ] # 18.79 [+0.13] TEST: IPv6 flags on down device [ OK ] # 18.92 [+0.13] TEST: IPv4 flags on up device [ OK ] # 19.05 [+0.13] TEST: IPv6 flags on up device [ OK ] # 19.21 [+0.16] Both devices down # 19.36 [+0.15] TEST: IPv4 fibmatch [ OK ] # 19.53 [+0.17] TEST: IPv6 fibmatch [ OK ] # 20.52 [+0.98] # 20.52 [+0.00] Local carrier tests - single path # 22.90 [+2.38] Start point # 23.06 [+0.17] TEST: IPv4 fibmatch [ OK ] # 23.23 [+0.16] TEST: IPv6 fibmatch [ OK ] # 23.35 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 23.48 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 24.75 [+1.27] Carrier off on nexthop # 24.90 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.07 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.20 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 25.34 [+0.15] TEST: IPv6 - linkdown flag set [ OK ] # 25.64 [+0.30] Route to local address with carrier down # 25.80 [+0.16] TEST: IPv4 fibmatch [ OK ] # 25.95 [+0.15] TEST: IPv6 fibmatch [ OK ] # 26.07 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 26.21 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 26.95 [+0.74] # 26.95 [+0.00] Single path route carrier test # 29.43 [+2.48] Start point # 29.59 [+0.17] TEST: IPv4 fibmatch [ OK ] # 29.76 [+0.16] TEST: IPv6 fibmatch [ OK ] # 29.88 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 30.02 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 31.27 [+1.25] Carrier down # 31.42 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.57 [+0.15] TEST: IPv6 fibmatch [ OK ] # 31.71 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 31.85 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 32.17 [+0.32] Second address added with carrier down # 32.34 [+0.17] TEST: IPv4 fibmatch [ OK ] # 32.48 [+0.15] TEST: IPv6 fibmatch [ OK ] # 32.61 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 32.77 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 39.98 [+7.21] # 39.98 [+0.00] IPv4 nexthop tests # 39.98 [+0.00] <<< write me >>> # 40.30 [+0.32] # 40.30 [+0.00] IPv6 nexthop tests # 40.48 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 40.63 [+0.16] TEST: Directly connected nexthop, unicast address with device [ OK ] # 40.81 [+0.17] TEST: Gateway is linklocal address [ OK ] # 40.97 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 41.13 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 41.29 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 41.47 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 41.63 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 41.79 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 41.97 [+0.19] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 42.15 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 42.30 [+0.16] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 42.46 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 42.61 [+0.15] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 44.10 [+1.48] # 44.10 [+0.00] FIB rule with suppress_prefixlength # 47.36 [+3.27] TEST: FIB rule suppress test [ OK ] # 50.34 [+2.98] # 50.34 [+0.00] Fib6 info length calculation in route notify test # 56.04 [+5.69] TEST: ipv6 route add notify [ OK ] # 59.05 [+3.02] # 59.05 [+0.00] Fib4 info length calculation in route notify test # 64.66 [+5.60] TEST: ipv4 route add notify [ OK ] # 73.11 [+8.46] # 73.11 [+0.00] IPv6 route add / append tests # 73.75 [+0.64] TEST: Attempt to add duplicate route - gw [ OK ] # 74.42 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 75.09 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 75.93 [+0.84] TEST: Append nexthop to existing route - gw [ OK ] # 76.60 [+0.67] TEST: Add multipath route [ OK ] # 77.24 [+0.64] TEST: Attempt to add duplicate multipath route [ OK ] # 78.04 [+0.81] TEST: Route add with different metrics [ OK ] # 78.37 [+0.32] TEST: Route delete with metric [ OK ] # 78.37 [+0.00] # 78.37 [+0.00] IPv6 route replace tests # 79.16 [+0.79] TEST: Single path with single path [ OK ] # 79.90 [+0.74] TEST: Single path with multipath [ OK ] # 80.73 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 81.53 [+0.80] TEST: Invalid nexthop [ OK ] # 82.19 [+0.65] TEST: Single path - replace of non-existent route [ OK ] # 82.99 [+0.81] TEST: Multipath with multipath [ OK ] # 83.78 [+0.79] TEST: Multipath with single path [ OK ] # 84.61 [+0.83] TEST: Multipath with single path via multipath attribute [ OK ] # 85.41 [+0.81] TEST: Multipath with dev-only [ OK ] # 86.21 [+0.80] TEST: Multipath - invalid first nexthop [ OK ] # 87.02 [+0.81] TEST: Multipath - invalid second nexthop [ OK ] # 87.69 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 87.70 [+0.00] # 87.70 [+0.00] IPv6 route with dsfield tests # 88.07 [+0.37] TEST: Reject route with dsfield [ OK ] # 99.19 [+11.12] # 99.19 [+0.00] IPv4 route add / append tests # 99.82 [+0.63] TEST: Attempt to add duplicate route - gw [ OK ] # 100.44 [+0.62] TEST: Attempt to add duplicate route - dev only [ OK ] # 101.06 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 101.85 [+0.79] TEST: Add new nexthop for existing prefix [ OK ] # 102.65 [+0.80] TEST: Append nexthop to existing route - gw [ OK ] # 103.40 [+0.75] TEST: Append nexthop to existing route - dev only [ OK ] # 104.17 [+0.77] TEST: Append nexthop to existing route - reject route [ OK ] # 104.86 [+0.70] TEST: Append nexthop to existing reject route - gw [ OK ] # 105.54 [+0.67] TEST: Append nexthop to existing reject route - dev only [ OK ] # 106.17 [+0.63] TEST: add multipath route [ OK ] # 106.80 [+0.62] TEST: Attempt to add duplicate multipath route [ OK ] # 107.59 [+0.79] TEST: Route add with different metrics [ OK ] # 107.91 [+0.32] TEST: Route delete with metric [ OK ] # 107.91 [+0.00] # 107.91 [+0.00] IPv4 route replace tests # 108.69 [+0.78] TEST: Single path with single path [ OK ] # 109.46 [+0.78] TEST: Single path with multipath [ OK ] # 110.25 [+0.79] TEST: Single path with reject route [ OK ] # 111.05 [+0.80] TEST: Single path with single path via multipath attribute [ OK ] # 111.83 [+0.78] TEST: Invalid nexthop [ OK ] # 112.47 [+0.64] TEST: Single path - replace of non-existent route [ OK ] # 113.27 [+0.81] TEST: Multipath with multipath [ OK ] # 114.07 [+0.80] TEST: Multipath with single path [ OK ] # 114.84 [+0.76] TEST: Multipath with single path via multipath attribute [ OK ] # 115.64 [+0.80] TEST: Multipath with reject route [ OK ] # 116.42 [+0.78] TEST: Multipath - invalid first nexthop [ OK ] # 117.21 [+0.79] TEST: Multipath - invalid second nexthop [ OK ] # 117.86 [+0.65] TEST: Multipath - replace of non-existent route [ OK ] # 120.14 [+2.28] TEST: Cached route removed from VRF port device [ OK ] # 120.14 [+0.00] # 120.14 [+0.00] IPv4 route with dsfield tests # 120.45 [+0.30] TEST: Reject route with dsfield 0x01 [ OK ] # 120.62 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 120.79 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 121.26 [+0.47] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 121.39 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 121.52 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 121.65 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 121.77 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 121.89 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 122.02 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 122.19 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 122.33 [+0.15] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 122.47 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 122.59 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 122.71 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 125.43 [+2.71] # 125.43 [+0.00] IPv6 prefix route tests # 128.87 [+3.44] TEST: Default metric [ OK ] # 129.33 [+0.47] TEST: User specified metric on first device [ OK ] # 129.81 [+0.47] TEST: User specified metric on second device [ OK ] # 130.12 [+0.31] TEST: Delete of address on first device [ OK ] # 130.43 [+0.31] TEST: Modify metric of address [ OK ] # 131.01 [+0.58] TEST: Prefix route removed on link down [ OK ] # 131.32 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 131.80 [+0.48] TEST: Set metric with peer route on local side [ OK ] # 131.95 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 132.24 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 132.38 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 134.10 [+1.72] # 134.10 [+0.00] IPv4 prefix route tests # 137.56 [+3.47] TEST: Default metric [ OK ] # 138.07 [+0.51] TEST: User specified metric on first device [ OK ] # 138.57 [+0.50] TEST: User specified metric on second device [ OK ] # 138.90 [+0.33] TEST: Delete of address on first device [ OK ] # 139.21 [+0.31] TEST: Modify metric of address [ OK ] # 139.54 [+0.33] TEST: Prefix route removed on link down [ OK ] # 139.88 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 140.55 [+0.67] TEST: Modify metric of .0/24 address [ OK ] # 141.05 [+0.50] TEST: Set metric of address with peer route [ OK ] # 141.37 [+0.32] TEST: Modify metric and peer address for peer route [ OK ] # 143.08 [+1.71] # 143.08 [+0.00] IPv6 routes with metrics # 151.69 [+8.61] TEST: Single path route with mtu metric [ OK ] # 152.16 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 152.62 [+0.47] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 152.92 [+0.30] TEST: MTU of second leg [ OK ] # 153.22 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 153.63 [+0.41] TEST: Using route with mtu metric [ OK ] # 153.90 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 156.51 [+2.61] # 156.51 [+0.00] IPv4 route add / append tests # 164.95 [+8.44] TEST: Single path route with mtu metric [ OK ] # 165.27 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 165.70 [+0.42] TEST: Using route with mtu metric [ OK ] # 165.97 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 168.60 [+2.63] # 168.60 [+0.00] IPv4 route with IPv6 gateway tests # 178.74 [+10.14] TEST: Single path route with IPv6 gateway [ OK ] # 179.15 [+0.41] TEST: Single path route with IPv6 gateway - ping [ OK ] # 179.32 [+0.16] TEST: Single path route delete [ OK ] # 179.61 [+0.29] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 179.91 [+0.30] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 180.06 [+0.15] TEST: Multipath route delete exact match [ OK ] # 180.21 [+0.15] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 180.53 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 180.69 [+0.16] TEST: Multipath route delete exact match [ OK ] # 183.28 [+2.59] # 183.28 [+0.00] IPv4 rp_filter tests # 194.19 [+10.91] TEST: rp_filter passes local packets [ OK ] # 194.44 [+0.25] TEST: rp_filter passes loopback packets [ OK ] # 195.79 [+1.35] # 195.79 [+0.00] IPv4 delete address route tests # 201.00 [+5.21] Regular FIB info # 201.27 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 201.41 [+0.14] TEST: Route in default VRF not removed [ OK ] # 201.98 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 202.14 [+0.16] TEST: Route in VRF is not removed by address delete [ OK ] # 202.14 [+0.00] Identical FIB info with different table ID # 202.41 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 202.54 [+0.13] TEST: Route in default VRF not removed [ OK ] # 203.10 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 203.23 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 203.24 [+0.00] Table ID 0 # 203.55 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 205.20 [+1.66] # 205.20 [+0.00] IPv6 delete address route tests # 213.66 [+8.46] Single device using src address # 213.96 [+0.30] TEST: Prefsrc removed when src address removed on other device [ OK ] # 213.96 [+0.00] Two devices with the same source address # 214.25 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 214.54 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 214.54 [+0.00] VRF with single device using src address # 214.83 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 214.83 [+0.00] VRF with two devices using src address # 215.10 [+0.27] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 215.39 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 215.39 [+0.00] src address and nexthop dev in same VRF # 215.68 [+0.28] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 215.82 [+0.15] TEST: Prefsrc in default VRF not removed [ OK ] # 216.40 [+0.58] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 216.52 [+0.12] TEST: Prefsrc in default VRF removed [ OK ] # 216.53 [+0.00] src address and nexthop device in different VRF # 216.80 [+0.27] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 216.93 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 217.35 [+0.41] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 217.47 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 217.48 [+0.00] Table ID 0 # 217.74 [+0.27] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 217.75 [+0.00] Link local source route # 218.02 [+0.28] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 218.31 [+0.29] TEST: Prefsrc removed when delete ll addr [ OK ] # 218.45 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 218.87 [+0.42] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 221.40 [+2.53] # 221.40 [+0.00] IPv4 mangling tests # 232.99 [+11.59] TEST: Connection with correct parameters [ OK ] # 233.29 [+0.30] TEST: Connection with incorrect parameters [ OK ] # 234.52 [+1.23] TEST: Connection with correct parameters - mangling [ OK ] # 235.65 [+1.13] TEST: Connection with correct parameters - no mangling [ OK ] # 235.74 [+0.10] TEST: Connection check - server side [ OK ] # 238.95 [+3.20] # 238.95 [+0.00] IPv6 mangling tests # 250.70 [+11.75] TEST: Connection with correct parameters [ OK ] # 251.10 [+0.40] TEST: Connection with incorrect parameters [ OK ] # 252.27 [+1.17] TEST: Connection with correct parameters - mangling [ OK ] # 253.44 [+1.18] TEST: Connection with correct parameters - no mangling [ OK ] # 253.55 [+0.10] TEST: Connection check - server side [ OK ] # 256.79 [+3.24] # 256.79 [+0.00] IPv4 broadcast neighbour tests # 260.87 [+4.09] TEST: Resolved neighbour for broadcast address [ OK ] # 261.03 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 261.18 [+0.15] TEST: Unresolved neighbour for broadcast address [ OK ] # 261.37 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 264.85 [+3.49] # 264.85 [+0.00] Fib6 garbage collection test # 279.10 [+14.25] TEST: ipv6 route garbage collection [ OK ] # 293.58 [+14.47] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 308.07 [+14.49] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 322.70 [+14.63] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 337.82 [+15.12] TEST: ipv6 route garbage collection (RA message) [ OK ] # 339.01 [+1.19] # 339.01 [+0.00] IPv4 multipath list receive tests # 361.78 [+22.76] TEST: Multipath route hit ratio (1.00) [ OK ] # 364.56 [+2.78] # 364.56 [+0.00] IPv6 multipath list receive tests # 386.08 [+21.52] TEST: Multipath route hit ratio (1.00) [ OK ] # 388.88 [+2.80] # 388.88 [+0.00] Tests passed: 229 # 388.88 [+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__->