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.76 [+0.76] # 0.76 [+0.00] Single path route test # 2.36 [+1.59] Start point # 2.50 [+0.14] TEST: IPv4 fibmatch [ OK ] # 2.65 [+0.15] TEST: IPv6 fibmatch [ OK ] # 2.82 [+0.17] Nexthop device deleted # 2.95 [+0.13] TEST: IPv4 fibmatch - no route [ OK ] # 3.14 [+0.19] TEST: IPv6 fibmatch - no route [ OK ] # 3.97 [+0.82] # 3.97 [+0.00] Multipath route test # 6.53 [+2.56] Start point # 6.68 [+0.15] TEST: IPv4 fibmatch [ OK ] # 6.79 [+0.11] TEST: IPv6 fibmatch [ OK ] # 6.96 [+0.17] One nexthop device deleted # 7.09 [+0.12] TEST: IPv4 - multipath route removed on delete [ OK ] # 7.21 [+0.12] TEST: IPv6 - multipath down to single path [ OK ] # 7.38 [+0.17] Second nexthop device deleted # 7.49 [+0.11] TEST: IPv6 - no route [ OK ] # 8.24 [+0.75] # 8.24 [+0.00] Single path, admin down # 9.96 [+1.72] Start point # 10.07 [+0.11] TEST: IPv4 fibmatch [ OK ] # 10.21 [+0.14] TEST: IPv6 fibmatch [ OK ] # 10.35 [+0.14] Route deleted on down # 10.47 [+0.12] TEST: IPv4 fibmatch [ OK ] # 10.59 [+0.12] TEST: IPv6 fibmatch [ OK ] # 11.18 [+0.59] # 11.18 [+0.00] Admin down multipath # 13.68 [+2.50] Verify start point # 13.82 [+0.14] TEST: IPv4 fibmatch [ OK ] # 13.93 [+0.11] TEST: IPv6 fibmatch [ OK ] # 14.07 [+0.14] One device down, one up # 14.18 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 14.30 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 14.43 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 14.55 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 14.70 [+0.14] TEST: IPv4 flags on down device [ OK ] # 14.84 [+0.14] TEST: IPv6 flags on down device [ OK ] # 15.00 [+0.16] TEST: IPv4 flags on up device [ OK ] # 15.13 [+0.13] TEST: IPv6 flags on up device [ OK ] # 15.37 [+0.23] Other device down and up # 15.47 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 15.59 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 15.71 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 15.81 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 15.94 [+0.13] TEST: IPv4 flags on down device [ OK ] # 16.06 [+0.12] TEST: IPv6 flags on down device [ OK ] # 16.18 [+0.13] TEST: IPv4 flags on up device [ OK ] # 16.31 [+0.13] TEST: IPv6 flags on up device [ OK ] # 16.43 [+0.11] Both devices down # 16.54 [+0.12] TEST: IPv4 fibmatch [ OK ] # 16.65 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.41 [+0.76] # 17.41 [+0.00] Local carrier tests - single path # 19.20 [+1.79] Start point # 19.31 [+0.12] TEST: IPv4 fibmatch [ OK ] # 19.46 [+0.14] TEST: IPv6 fibmatch [ OK ] # 19.58 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 19.72 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 20.89 [+1.17] Carrier off on nexthop # 21.02 [+0.13] TEST: IPv4 fibmatch [ OK ] # 21.15 [+0.13] TEST: IPv6 fibmatch [ OK ] # 21.25 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 21.37 [+0.11] TEST: IPv6 - linkdown flag set [ OK ] # 21.60 [+0.23] Route to local address with carrier down # 21.72 [+0.12] TEST: IPv4 fibmatch [ OK ] # 21.85 [+0.13] TEST: IPv6 fibmatch [ OK ] # 22.02 [+0.17] TEST: IPv4 linkdown flag set [ OK ] # 22.14 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 22.71 [+0.57] # 22.71 [+0.00] Single path route carrier test # 24.38 [+1.68] Start point # 24.49 [+0.10] TEST: IPv4 fibmatch [ OK ] # 24.60 [+0.11] TEST: IPv6 fibmatch [ OK ] # 24.70 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 24.82 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 25.99 [+1.17] Carrier down # 26.13 [+0.14] TEST: IPv4 fibmatch [ OK ] # 26.23 [+0.10] TEST: IPv6 fibmatch [ OK ] # 26.36 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 26.48 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 26.70 [+0.22] Second address added with carrier down # 26.82 [+0.12] TEST: IPv4 fibmatch [ OK ] # 26.95 [+0.14] TEST: IPv6 fibmatch [ OK ] # 27.08 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 27.23 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 32.60 [+5.37] # 32.60 [+0.00] IPv4 nexthop tests # 32.60 [+0.00] <<< write me >>> # 32.91 [+0.31] # 32.91 [+0.00] IPv6 nexthop tests # 33.03 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 33.15 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 33.29 [+0.14] TEST: Gateway is linklocal address [ OK ] # 33.40 [+0.11] TEST: Gateway is linklocal address, no device [ OK ] # 33.54 [+0.14] TEST: Gateway can not be local unicast address [ OK ] # 33.67 [+0.13] TEST: Gateway can not be local unicast address, with device [ OK ] # 33.80 [+0.13] TEST: Gateway can not be a local linklocal address [ OK ] # 33.92 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 34.04 [+0.13] TEST: Gateway can be local address in a VRF, with device [ OK ] # 34.17 [+0.13] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 34.30 [+0.13] TEST: Redirect to VRF lookup [ OK ] # 34.43 [+0.13] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 34.55 [+0.12] TEST: VRF route, gateway can not be a local address [ OK ] # 34.70 [+0.15] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 36.12 [+1.42] # 36.12 [+0.00] FIB rule with suppress_prefixlength # 38.67 [+2.55] TEST: FIB rule suppress test [ OK ] # 40.89 [+2.22] # 40.89 [+0.00] Fib6 info length calculation in route notify test # 45.69 [+4.80] TEST: ipv6 route add notify [ OK ] # 47.93 [+2.24] # 47.93 [+0.00] Fib4 info length calculation in route notify test # 52.62 [+4.69] TEST: ipv4 route add notify [ OK ] # 58.63 [+6.01] # 58.63 [+0.00] IPv6 route add / append tests # 59.20 [+0.57] TEST: Attempt to add duplicate route - gw [ OK ] # 59.74 [+0.55] TEST: Attempt to add duplicate route - dev only [ OK ] # 60.30 [+0.56] TEST: Attempt to add duplicate route - reject route [ OK ] # 60.93 [+0.63] TEST: Append nexthop to existing route - gw [ OK ] # 61.43 [+0.50] TEST: Add multipath route [ OK ] # 61.92 [+0.49] TEST: Attempt to add duplicate multipath route [ OK ] # 62.53 [+0.61] TEST: Route add with different metrics [ OK ] # 62.80 [+0.27] TEST: Route delete with metric [ OK ] # 62.80 [+0.00] # 62.80 [+0.00] IPv6 route replace tests # 63.44 [+0.64] TEST: Single path with single path [ OK ] # 64.09 [+0.65] TEST: Single path with multipath [ OK ] # 64.70 [+0.60] TEST: Single path with single path via multipath attribute [ OK ] # 65.32 [+0.62] TEST: Invalid nexthop [ OK ] # 65.81 [+0.50] TEST: Single path - replace of non-existent route [ OK ] # 66.47 [+0.66] TEST: Multipath with multipath [ OK ] # 67.09 [+0.61] TEST: Multipath with single path [ OK ] # 67.68 [+0.60] TEST: Multipath with single path via multipath attribute [ OK ] # 68.32 [+0.64] TEST: Multipath with dev-only [ OK ] # 68.98 [+0.66] TEST: Multipath - invalid first nexthop [ OK ] # 69.62 [+0.64] TEST: Multipath - invalid second nexthop [ OK ] # 70.10 [+0.49] TEST: Multipath - replace of non-existent route [ OK ] # 70.11 [+0.00] # 70.11 [+0.00] IPv6 route with dsfield tests # 70.37 [+0.27] TEST: Reject route with dsfield [ OK ] # 78.88 [+8.50] # 78.88 [+0.00] IPv4 route add / append tests # 79.38 [+0.50] TEST: Attempt to add duplicate route - gw [ OK ] # 79.88 [+0.50] TEST: Attempt to add duplicate route - dev only [ OK ] # 80.41 [+0.53] TEST: Attempt to add duplicate route - reject route [ OK ] # 81.02 [+0.60] TEST: Add new nexthop for existing prefix [ OK ] # 81.61 [+0.59] TEST: Append nexthop to existing route - gw [ OK ] # 82.30 [+0.70] TEST: Append nexthop to existing route - dev only [ OK ] # 83.02 [+0.71] TEST: Append nexthop to existing route - reject route [ OK ] # 83.56 [+0.54] TEST: Append nexthop to existing reject route - gw [ OK ] # 84.07 [+0.51] TEST: Append nexthop to existing reject route - dev only [ OK ] # 84.57 [+0.49] TEST: add multipath route [ OK ] # 85.06 [+0.49] TEST: Attempt to add duplicate multipath route [ OK ] # 85.71 [+0.65] TEST: Route add with different metrics [ OK ] # 85.95 [+0.24] TEST: Route delete with metric [ OK ] # 85.96 [+0.00] # 85.96 [+0.00] IPv4 route replace tests # 86.59 [+0.63] TEST: Single path with single path [ OK ] # 87.23 [+0.64] TEST: Single path with multipath [ OK ] # 87.90 [+0.68] TEST: Single path with reject route [ OK ] # 88.58 [+0.68] TEST: Single path with single path via multipath attribute [ OK ] # 89.22 [+0.64] TEST: Invalid nexthop [ OK ] # 89.72 [+0.50] TEST: Single path - replace of non-existent route [ OK ] # 90.32 [+0.60] TEST: Multipath with multipath [ OK ] # 90.95 [+0.63] TEST: Multipath with single path [ OK ] # 91.62 [+0.67] TEST: Multipath with single path via multipath attribute [ OK ] # 92.42 [+0.80] TEST: Multipath with reject route [ OK ] # 93.16 [+0.74] TEST: Multipath - invalid first nexthop [ OK ] # 93.77 [+0.61] TEST: Multipath - invalid second nexthop [ OK ] # 94.26 [+0.49] TEST: Multipath - replace of non-existent route [ OK ] # 96.36 [+2.10] TEST: Cached route removed from VRF port device [ OK ] # 96.36 [+0.00] # 96.36 [+0.00] IPv4 route with dsfield tests # 96.62 [+0.25] TEST: Reject route with dsfield 0x01 [ OK ] # 96.74 [+0.12] TEST: Reject route with dsfield 0x02 [ OK ] # 96.85 [+0.12] TEST: Reject route with dsfield 0x03 [ OK ] # 97.24 [+0.38] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 97.38 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 97.52 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 97.69 [+0.17] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 97.81 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 97.92 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 98.04 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 98.20 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 98.31 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 98.44 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 98.58 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 98.71 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 101.34 [+2.63] # 101.34 [+0.00] IPv6 prefix route tests # 104.10 [+2.76] TEST: Default metric [ OK ] # 104.52 [+0.43] TEST: User specified metric on first device [ OK ] # 104.92 [+0.40] TEST: User specified metric on second device [ OK ] # 105.20 [+0.27] TEST: Delete of address on first device [ OK ] # 105.44 [+0.24] TEST: Modify metric of address [ OK ] # 105.85 [+0.41] TEST: Prefix route removed on link down [ OK ] # 106.12 [+0.27] TEST: Prefix route with metric on link up [ OK ] # 106.53 [+0.41] TEST: Set metric with peer route on local side [ OK ] # 106.69 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 106.96 [+0.26] TEST: Modify metric and peer address on local side [ OK ] # 107.11 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 108.34 [+1.24] # 108.34 [+0.00] IPv4 prefix route tests # 110.91 [+2.56] TEST: Default metric [ OK ] # 111.31 [+0.41] TEST: User specified metric on first device [ OK ] # 111.76 [+0.45] TEST: User specified metric on second device [ OK ] # 112.06 [+0.30] TEST: Delete of address on first device [ OK ] # 112.35 [+0.29] TEST: Modify metric of address [ OK ] # 112.61 [+0.26] TEST: Prefix route removed on link down [ OK ] # 112.87 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 113.43 [+0.56] TEST: Modify metric of .0/24 address [ OK ] # 113.84 [+0.41] TEST: Set metric of address with peer route [ OK ] # 114.12 [+0.28] TEST: Modify metric and peer address for peer route [ OK ] # 115.35 [+1.23] # 115.35 [+0.00] IPv6 routes with metrics # 121.49 [+6.14] TEST: Single path route with mtu metric [ OK ] # 121.88 [+0.40] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 122.25 [+0.37] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 122.51 [+0.26] TEST: MTU of second leg [ OK ] # 122.78 [+0.27] TEST: Multipath route with mtu metric [ OK ] # 123.08 [+0.30] TEST: Using route with mtu metric [ OK ] # 123.30 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 125.43 [+2.14] # 125.43 [+0.00] IPv4 route add / append tests # 132.12 [+6.69] TEST: Single path route with mtu metric [ OK ] # 132.38 [+0.26] TEST: Multipath route with mtu metric [ OK ] # 132.67 [+0.29] TEST: Using route with mtu metric [ OK ] # 132.89 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 135.10 [+2.21] # 135.10 [+0.00] IPv4 route with IPv6 gateway tests # 143.52 [+8.42] TEST: Single path route with IPv6 gateway [ OK ] # 143.86 [+0.34] TEST: Single path route with IPv6 gateway - ping [ OK ] # 143.99 [+0.13] TEST: Single path route delete [ OK ] # 144.22 [+0.23] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 144.48 [+0.26] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 144.61 [+0.13] TEST: Multipath route delete exact match [ OK ] # 144.73 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 144.98 [+0.25] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 145.12 [+0.13] TEST: Multipath route delete exact match [ OK ] # 147.31 [+2.20] # 147.31 [+0.00] IPv4 rp_filter tests # 155.87 [+8.56] TEST: rp_filter passes local packets [ OK ] # 156.09 [+0.22] TEST: rp_filter passes loopback packets [ OK ] # 157.16 [+1.06] # 157.16 [+0.00] IPv4 delete address route tests # 161.31 [+4.16] Regular FIB info # 161.53 [+0.21] TEST: Route removed from VRF when source address deleted [ OK ] # 161.62 [+0.10] TEST: Route in default VRF not removed [ OK ] # 162.08 [+0.46] TEST: Route removed in default VRF when source address deleted [ OK ] # 162.20 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 162.20 [+0.00] Identical FIB info with different table ID # 162.43 [+0.23] TEST: Route removed from VRF when source address deleted [ OK ] # 162.58 [+0.14] TEST: Route in default VRF not removed [ OK ] # 163.04 [+0.46] TEST: Route removed in default VRF when source address deleted [ OK ] # 163.17 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 163.17 [+0.00] Table ID 0 # 163.39 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 164.81 [+1.42] # 164.81 [+0.00] IPv6 delete address route tests # 171.46 [+6.65] Single device using src address # 171.69 [+0.24] TEST: Prefsrc removed when src address removed on other device [ OK ] # 171.70 [+0.00] Two devices with the same source address # 171.93 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 172.14 [+0.21] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 172.14 [+0.00] VRF with single device using src address # 172.38 [+0.25] TEST: Prefsrc removed when src address removed on other device [ OK ] # 172.39 [+0.00] VRF with two devices using src address # 172.60 [+0.22] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 172.88 [+0.28] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 172.88 [+0.00] src address and nexthop dev in same VRF # 173.13 [+0.25] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 173.26 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 173.77 [+0.50] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 173.90 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 173.90 [+0.00] src address and nexthop device in different VRF # 174.12 [+0.22] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 174.23 [+0.11] TEST: Prefsrc not removed in default VRF [ OK ] # 174.60 [+0.37] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 174.75 [+0.15] TEST: Prefsrc removed in default VRF [ OK ] # 174.76 [+0.00] Table ID 0 # 175.05 [+0.29] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 175.05 [+0.00] Link local source route # 175.29 [+0.24] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 175.51 [+0.22] TEST: Prefsrc removed when delete ll addr [ OK ] # 175.64 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 175.98 [+0.33] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 178.16 [+2.18] # 178.16 [+0.00] IPv4 mangling tests # 187.81 [+9.65] TEST: Connection with correct parameters [ OK ] # 188.09 [+0.28] TEST: Connection with incorrect parameters [ OK ] # 189.27 [+1.18] TEST: Connection with correct parameters - mangling [ OK ] # 190.27 [+1.00] TEST: Connection with correct parameters - no mangling [ OK ] # 190.35 [+0.08] TEST: Connection check - server side [ OK ] # 193.01 [+2.66] # 193.01 [+0.00] IPv6 mangling tests # 202.87 [+9.86] TEST: Connection with correct parameters [ OK ] # 203.16 [+0.29] TEST: Connection with incorrect parameters [ OK ] # 204.20 [+1.03] TEST: Connection with correct parameters - mangling [ OK ] # 205.31 [+1.11] TEST: Connection with correct parameters - no mangling [ OK ] # 205.38 [+0.07] TEST: Connection check - server side [ OK ] # 208.05 [+2.68] # 208.05 [+0.00] IPv4 broadcast neighbour tests # 211.44 [+3.38] TEST: Resolved neighbour for broadcast address [ OK ] # 211.60 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 211.73 [+0.14] TEST: Unresolved neighbour for broadcast address [ OK ] # 211.88 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 214.57 [+2.69] # 214.57 [+0.00] Fib6 garbage collection test # 228.28 [+13.71] TEST: ipv6 route garbage collection [ OK ] # 242.19 [+13.91] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 256.18 [+13.98] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 270.43 [+14.25] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 285.20 [+14.76] TEST: ipv6 route garbage collection (RA message) [ OK ] # 286.25 [+1.06] # 286.25 [+0.00] IPv4 multipath list receive tests # 306.50 [+20.25] TEST: Multipath route hit ratio (1.00) [ OK ] # 308.85 [+2.35] # 308.85 [+0.00] IPv6 multipath list receive tests # 328.25 [+19.40] TEST: Multipath route hit ratio (1.00) [ OK ] # 330.46 [+2.21] # 330.46 [+0.00] Tests passed: 229 # 330.47 [+0.01] 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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->