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.69 [+0.69] # 0.69 [+0.00] Single path route test # 1.93 [+1.24] Start point # 2.03 [+0.10] TEST: IPv4 fibmatch [ OK ] # 2.16 [+0.13] TEST: IPv6 fibmatch [ OK ] # 2.34 [+0.18] Nexthop device deleted # 2.47 [+0.12] TEST: IPv4 fibmatch - no route [ OK ] # 2.58 [+0.11] TEST: IPv6 fibmatch - no route [ OK ] # 3.33 [+0.75] # 3.33 [+0.00] Multipath route test # 5.61 [+2.29] Start point # 5.73 [+0.12] TEST: IPv4 fibmatch [ OK ] # 5.84 [+0.11] TEST: IPv6 fibmatch [ OK ] # 6.01 [+0.17] One nexthop device deleted # 6.14 [+0.12] TEST: IPv4 - multipath route removed on delete [ OK ] # 6.25 [+0.12] TEST: IPv6 - multipath down to single path [ OK ] # 6.42 [+0.17] Second nexthop device deleted # 6.55 [+0.13] TEST: IPv6 - no route [ OK ] # 7.29 [+0.75] # 7.29 [+0.00] Single path, admin down # 8.93 [+1.64] Start point # 9.05 [+0.12] TEST: IPv4 fibmatch [ OK ] # 9.16 [+0.11] TEST: IPv6 fibmatch [ OK ] # 9.27 [+0.11] Route deleted on down # 9.39 [+0.12] TEST: IPv4 fibmatch [ OK ] # 9.50 [+0.11] TEST: IPv6 fibmatch [ OK ] # 10.12 [+0.62] # 10.12 [+0.00] Admin down multipath # 12.44 [+2.31] Verify start point # 12.56 [+0.12] TEST: IPv4 fibmatch [ OK ] # 12.68 [+0.12] TEST: IPv6 fibmatch [ OK ] # 12.79 [+0.11] One device down, one up # 12.91 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 13.02 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 13.14 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 13.27 [+0.13] TEST: IPv6 fibmatch on up device [ OK ] # 13.41 [+0.15] TEST: IPv4 flags on down device [ OK ] # 13.54 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.66 [+0.12] TEST: IPv4 flags on up device [ OK ] # 13.79 [+0.13] TEST: IPv6 flags on up device [ OK ] # 14.03 [+0.24] Other device down and up # 14.14 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 14.26 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 14.37 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 14.50 [+0.13] TEST: IPv6 fibmatch on up device [ OK ] # 14.62 [+0.12] TEST: IPv4 flags on down device [ OK ] # 14.75 [+0.13] TEST: IPv6 flags on down device [ OK ] # 14.88 [+0.13] TEST: IPv4 flags on up device [ OK ] # 15.00 [+0.12] TEST: IPv6 flags on up device [ OK ] # 15.14 [+0.13] Both devices down # 15.24 [+0.10] TEST: IPv4 fibmatch [ OK ] # 15.36 [+0.12] TEST: IPv6 fibmatch [ OK ] # 16.10 [+0.74] # 16.11 [+0.00] Local carrier tests - single path # 17.84 [+1.73] Start point # 17.95 [+0.12] TEST: IPv4 fibmatch [ OK ] # 18.07 [+0.11] TEST: IPv6 fibmatch [ OK ] # 18.20 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 18.31 [+0.11] TEST: IPv6 - no linkdown flag [ OK ] # 19.50 [+1.19] Carrier off on nexthop # 19.62 [+0.12] TEST: IPv4 fibmatch [ OK ] # 19.74 [+0.12] TEST: IPv6 fibmatch [ OK ] # 19.87 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 20.01 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 20.25 [+0.24] Route to local address with carrier down # 20.37 [+0.12] TEST: IPv4 fibmatch [ OK ] # 20.49 [+0.12] TEST: IPv6 fibmatch [ OK ] # 20.60 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 20.72 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 21.31 [+0.59] # 21.31 [+0.00] Single path route carrier test # 23.03 [+1.72] Start point # 23.14 [+0.11] TEST: IPv4 fibmatch [ OK ] # 23.25 [+0.11] TEST: IPv6 fibmatch [ OK ] # 23.37 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 23.49 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 24.67 [+1.18] Carrier down # 24.80 [+0.13] TEST: IPv4 fibmatch [ OK ] # 24.91 [+0.11] TEST: IPv6 fibmatch [ OK ] # 25.04 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 25.16 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 25.39 [+0.23] Second address added with carrier down # 25.50 [+0.12] TEST: IPv4 fibmatch [ OK ] # 25.62 [+0.11] TEST: IPv6 fibmatch [ OK ] # 25.73 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 25.85 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 31.45 [+5.60] # 31.45 [+0.00] IPv4 nexthop tests # 31.45 [+0.00] <<< write me >>> # 31.75 [+0.30] # 31.75 [+0.00] IPv6 nexthop tests # 31.89 [+0.14] TEST: Directly connected nexthop, unicast address [ OK ] # 32.03 [+0.14] TEST: Directly connected nexthop, unicast address with device [ OK ] # 32.17 [+0.14] TEST: Gateway is linklocal address [ OK ] # 32.31 [+0.14] TEST: Gateway is linklocal address, no device [ OK ] # 32.44 [+0.13] TEST: Gateway can not be local unicast address [ OK ] # 32.57 [+0.13] TEST: Gateway can not be local unicast address, with device [ OK ] # 32.72 [+0.15] TEST: Gateway can not be a local linklocal address [ OK ] # 32.85 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 32.99 [+0.14] TEST: Gateway can be local address in a VRF, with device [ OK ] # 33.12 [+0.13] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 33.25 [+0.13] TEST: Redirect to VRF lookup [ OK ] # 33.38 [+0.13] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 33.51 [+0.13] TEST: VRF route, gateway can not be a local address [ OK ] # 33.64 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 34.92 [+1.28] # 34.92 [+0.00] FIB rule with suppress_prefixlength # 37.36 [+2.44] TEST: FIB rule suppress test [ OK ] # 39.56 [+2.20] # 39.57 [+0.01] Fib6 info length calculation in route notify test # 44.30 [+4.73] TEST: ipv6 route add notify [ OK ] # 46.54 [+2.24] # 46.54 [+0.00] Fib4 info length calculation in route notify test # 51.33 [+4.79] TEST: ipv4 route add notify [ OK ] # 57.35 [+6.02] # 57.35 [+0.00] IPv6 route add / append tests # 57.84 [+0.49] TEST: Attempt to add duplicate route - gw [ OK ] # 58.32 [+0.48] TEST: Attempt to add duplicate route - dev only [ OK ] # 58.82 [+0.50] TEST: Attempt to add duplicate route - reject route [ OK ] # 59.47 [+0.65] TEST: Append nexthop to existing route - gw [ OK ] # 59.99 [+0.52] TEST: Add multipath route [ OK ] # 60.48 [+0.49] TEST: Attempt to add duplicate multipath route [ OK ] # 61.11 [+0.62] TEST: Route add with different metrics [ OK ] # 61.38 [+0.27] TEST: Route delete with metric [ OK ] # 61.38 [+0.00] # 61.38 [+0.00] IPv6 route replace tests # 62.03 [+0.65] TEST: Single path with single path [ OK ] # 62.66 [+0.63] TEST: Single path with multipath [ OK ] # 63.29 [+0.64] TEST: Single path with single path via multipath attribute [ OK ] # 63.95 [+0.65] TEST: Invalid nexthop [ OK ] # 64.49 [+0.54] TEST: Single path - replace of non-existent route [ OK ] # 65.19 [+0.70] TEST: Multipath with multipath [ OK ] # 65.84 [+0.65] TEST: Multipath with single path [ OK ] # 66.54 [+0.70] TEST: Multipath with single path via multipath attribute [ OK ] # 67.20 [+0.66] TEST: Multipath with dev-only [ OK ] # 67.92 [+0.72] TEST: Multipath - invalid first nexthop [ OK ] # 68.58 [+0.66] TEST: Multipath - invalid second nexthop [ OK ] # 69.09 [+0.51] TEST: Multipath - replace of non-existent route [ OK ] # 69.09 [+0.00] # 69.09 [+0.00] IPv6 route with dsfield tests # 69.37 [+0.28] TEST: Reject route with dsfield [ OK ] # 77.73 [+8.36] # 77.73 [+0.00] IPv4 route add / append tests # 78.23 [+0.49] TEST: Attempt to add duplicate route - gw [ OK ] # 78.72 [+0.49] TEST: Attempt to add duplicate route - dev only [ OK ] # 79.21 [+0.49] TEST: Attempt to add duplicate route - reject route [ OK ] # 79.83 [+0.62] TEST: Add new nexthop for existing prefix [ OK ] # 80.44 [+0.61] TEST: Append nexthop to existing route - gw [ OK ] # 81.08 [+0.64] TEST: Append nexthop to existing route - dev only [ OK ] # 81.69 [+0.61] TEST: Append nexthop to existing route - reject route [ OK ] # 82.19 [+0.50] TEST: Append nexthop to existing reject route - gw [ OK ] # 82.70 [+0.51] TEST: Append nexthop to existing reject route - dev only [ OK ] # 83.22 [+0.52] TEST: add multipath route [ OK ] # 83.72 [+0.50] TEST: Attempt to add duplicate multipath route [ OK ] # 84.36 [+0.64] TEST: Route add with different metrics [ OK ] # 84.63 [+0.28] TEST: Route delete with metric [ OK ] # 84.63 [+0.00] # 84.63 [+0.00] IPv4 route replace tests # 85.27 [+0.64] TEST: Single path with single path [ OK ] # 85.91 [+0.64] TEST: Single path with multipath [ OK ] # 86.53 [+0.62] TEST: Single path with reject route [ OK ] # 87.17 [+0.64] TEST: Single path with single path via multipath attribute [ OK ] # 87.80 [+0.64] TEST: Invalid nexthop [ OK ] # 88.31 [+0.51] TEST: Single path - replace of non-existent route [ OK ] # 88.95 [+0.64] TEST: Multipath with multipath [ OK ] # 89.60 [+0.65] TEST: Multipath with single path [ OK ] # 90.24 [+0.64] TEST: Multipath with single path via multipath attribute [ OK ] # 90.88 [+0.63] TEST: Multipath with reject route [ OK ] # 91.53 [+0.65] TEST: Multipath - invalid first nexthop [ OK ] # 92.13 [+0.61] TEST: Multipath - invalid second nexthop [ OK ] # 92.66 [+0.52] TEST: Multipath - replace of non-existent route [ OK ] # 94.56 [+1.90] TEST: Cached route removed from VRF port device [ OK ] # 94.56 [+0.01] # 94.56 [+0.00] IPv4 route with dsfield tests # 94.81 [+0.25] TEST: Reject route with dsfield 0x01 [ OK ] # 94.93 [+0.13] TEST: Reject route with dsfield 0x02 [ OK ] # 95.05 [+0.12] TEST: Reject route with dsfield 0x03 [ OK ] # 95.42 [+0.37] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 95.54 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 95.65 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 95.77 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 95.90 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 96.02 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 96.14 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 96.25 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 96.36 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 96.51 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 96.65 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 96.77 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 99.13 [+2.36] # 99.13 [+0.00] IPv6 prefix route tests # 101.91 [+2.78] TEST: Default metric [ OK ] # 102.33 [+0.42] TEST: User specified metric on first device [ OK ] # 102.74 [+0.41] TEST: User specified metric on second device [ OK ] # 103.01 [+0.27] TEST: Delete of address on first device [ OK ] # 103.31 [+0.30] TEST: Modify metric of address [ OK ] # 103.75 [+0.44] TEST: Prefix route removed on link down [ OK ] # 104.01 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 104.42 [+0.41] TEST: Set metric with peer route on local side [ OK ] # 104.55 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 104.83 [+0.28] TEST: Modify metric and peer address on local side [ OK ] # 104.98 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 106.31 [+1.32] # 106.31 [+0.00] IPv4 prefix route tests # 108.96 [+2.65] TEST: Default metric [ OK ] # 109.36 [+0.41] TEST: User specified metric on first device [ OK ] # 109.79 [+0.42] TEST: User specified metric on second device [ OK ] # 110.08 [+0.30] TEST: Delete of address on first device [ OK ] # 110.33 [+0.24] TEST: Modify metric of address [ OK ] # 110.57 [+0.24] TEST: Prefix route removed on link down [ OK ] # 110.84 [+0.27] TEST: Prefix route with metric on link up [ OK ] # 111.35 [+0.52] TEST: Modify metric of .0/24 address [ OK ] # 111.75 [+0.40] TEST: Set metric of address with peer route [ OK ] # 112.00 [+0.24] TEST: Modify metric and peer address for peer route [ OK ] # 113.29 [+1.29] # 113.29 [+0.00] IPv6 routes with metrics # 119.66 [+6.37] TEST: Single path route with mtu metric [ OK ] # 120.05 [+0.39] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 120.46 [+0.41] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 120.72 [+0.26] TEST: MTU of second leg [ OK ] # 120.98 [+0.26] TEST: Multipath route with mtu metric [ OK ] # 121.28 [+0.30] TEST: Using route with mtu metric [ OK ] # 121.52 [+0.24] TEST: Invalid metric (fails metric_convert) [ OK ] # 123.76 [+2.24] # 123.76 [+0.00] IPv4 route add / append tests # 130.25 [+6.49] TEST: Single path route with mtu metric [ OK ] # 130.52 [+0.27] TEST: Multipath route with mtu metric [ OK ] # 130.84 [+0.32] TEST: Using route with mtu metric [ OK ] # 131.06 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 133.23 [+2.16] # 133.23 [+0.00] IPv4 route with IPv6 gateway tests # 141.35 [+8.12] TEST: Single path route with IPv6 gateway [ OK ] # 141.69 [+0.34] TEST: Single path route with IPv6 gateway - ping [ OK ] # 141.81 [+0.12] TEST: Single path route delete [ OK ] # 142.10 [+0.28] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 142.36 [+0.26] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 142.50 [+0.14] TEST: Multipath route delete exact match [ OK ] # 142.63 [+0.13] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 142.90 [+0.28] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 143.05 [+0.14] TEST: Multipath route delete exact match [ OK ] # 145.41 [+2.36] # 145.41 [+0.00] IPv4 rp_filter tests # 154.25 [+8.84] TEST: rp_filter passes local packets [ OK ] # 154.45 [+0.20] TEST: rp_filter passes loopback packets [ OK ] # 155.51 [+1.06] # 155.51 [+0.00] IPv4 delete address route tests # 159.49 [+3.97] Regular FIB info # 159.70 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 159.90 [+0.19] TEST: Route in default VRF not removed [ OK ] # 160.36 [+0.47] TEST: Route removed in default VRF when source address deleted [ OK ] # 160.49 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 160.49 [+0.00] Identical FIB info with different table ID # 160.74 [+0.25] TEST: Route removed from VRF when source address deleted [ OK ] # 160.86 [+0.12] TEST: Route in default VRF not removed [ OK ] # 161.32 [+0.46] TEST: Route removed in default VRF when source address deleted [ OK ] # 161.43 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 161.43 [+0.00] Table ID 0 # 161.69 [+0.25] TEST: Route removed in default VRF when source address deleted [ OK ] # 163.01 [+1.32] # 163.01 [+0.00] IPv6 delete address route tests # 169.68 [+6.67] Single device using src address # 169.90 [+0.22] TEST: Prefsrc removed when src address removed on other device [ OK ] # 169.90 [+0.00] Two devices with the same source address # 170.13 [+0.22] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 170.36 [+0.23] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 170.36 [+0.00] VRF with single device using src address # 170.62 [+0.26] TEST: Prefsrc removed when src address removed on other device [ OK ] # 170.62 [+0.00] VRF with two devices using src address # 170.88 [+0.25] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 171.11 [+0.24] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 171.12 [+0.00] src address and nexthop dev in same VRF # 171.35 [+0.23] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 171.47 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 171.94 [+0.47] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 172.05 [+0.11] TEST: Prefsrc in default VRF removed [ OK ] # 172.06 [+0.00] src address and nexthop device in different VRF # 172.29 [+0.23] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 172.43 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 172.78 [+0.35] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 172.94 [+0.16] TEST: Prefsrc removed in default VRF [ OK ] # 172.94 [+0.00] Table ID 0 # 173.17 [+0.23] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 173.17 [+0.00] Link local source route # 173.46 [+0.29] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 173.71 [+0.25] TEST: Prefsrc removed when delete ll addr [ OK ] # 173.88 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 174.24 [+0.36] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 176.29 [+2.05] # 176.29 [+0.00] IPv4 mangling tests # 186.29 [+10.00] TEST: Connection with correct parameters [ OK ] # 186.54 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 187.78 [+1.24] TEST: Connection with correct parameters - mangling [ OK ] # 188.83 [+1.05] TEST: Connection with correct parameters - no mangling [ OK ] # 188.93 [+0.09] TEST: Connection check - server side [ OK ] # 191.56 [+2.63] # 191.56 [+0.00] IPv6 mangling tests # 200.96 [+9.41] TEST: Connection with correct parameters [ OK ] # 201.25 [+0.29] TEST: Connection with incorrect parameters [ OK ] # 202.24 [+0.99] TEST: Connection with correct parameters - mangling [ OK ] # 203.28 [+1.04] TEST: Connection with correct parameters - no mangling [ OK ] # 203.37 [+0.08] TEST: Connection check - server side [ OK ] # 206.05 [+2.69] # 206.05 [+0.00] IPv4 broadcast neighbour tests # 209.23 [+3.18] TEST: Resolved neighbour for broadcast address [ OK ] # 209.35 [+0.12] TEST: Resolved neighbour for network broadcast address [ OK ] # 209.48 [+0.13] TEST: Unresolved neighbour for broadcast address [ OK ] # 209.61 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 212.15 [+2.53] # 212.15 [+0.00] Fib6 garbage collection test # 225.81 [+13.67] TEST: ipv6 route garbage collection [ OK ] # 239.84 [+14.02] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 253.86 [+14.02] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 268.06 [+14.20] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 282.89 [+14.83] TEST: ipv6 route garbage collection (RA message) [ OK ] # 283.92 [+1.03] # 283.92 [+0.00] IPv4 multipath list receive tests # 304.81 [+20.89] TEST: Multipath route hit ratio (1.00) [ OK ] # 307.13 [+2.32] # 307.13 [+0.00] IPv6 multipath list receive tests # 327.73 [+20.60] TEST: Multipath route hit ratio (1.00) [ OK ] # 330.09 [+2.37] # 330.09 [+0.00] Tests passed: 229 # 330.09 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->