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.53 [+0.53] # 0.53 [+0.00] Single path route test # 1.72 [+1.20] Start point # 1.82 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.93 [+0.11] TEST: IPv6 fibmatch [ OK ] # 2.07 [+0.14] Nexthop device deleted # 2.19 [+0.12] TEST: IPv4 fibmatch - no route [ OK ] # 2.29 [+0.10] TEST: IPv6 fibmatch - no route [ OK ] # 2.97 [+0.68] # 2.97 [+0.00] Multipath route test # 5.15 [+2.18] Start point # 5.25 [+0.10] TEST: IPv4 fibmatch [ OK ] # 5.35 [+0.10] TEST: IPv6 fibmatch [ OK ] # 5.51 [+0.16] One nexthop device deleted # 5.61 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.73 [+0.12] TEST: IPv6 - multipath down to single path [ OK ] # 5.86 [+0.13] Second nexthop device deleted # 5.97 [+0.11] TEST: IPv6 - no route [ OK ] # 6.66 [+0.68] # 6.66 [+0.00] Single path, admin down # 8.17 [+1.51] Start point # 8.28 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.39 [+0.12] TEST: IPv6 fibmatch [ OK ] # 8.52 [+0.12] Route deleted on down # 8.63 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.73 [+0.10] TEST: IPv6 fibmatch [ OK ] # 9.32 [+0.58] # 9.32 [+0.00] Admin down multipath # 11.52 [+2.20] Verify start point # 11.68 [+0.16] TEST: IPv4 fibmatch [ OK ] # 11.79 [+0.11] TEST: IPv6 fibmatch [ OK ] # 11.92 [+0.13] One device down, one up # 12.05 [+0.13] TEST: IPv4 fibmatch on down device [ OK ] # 12.18 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 12.29 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 12.42 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 12.54 [+0.13] TEST: IPv4 flags on down device [ OK ] # 12.69 [+0.14] TEST: IPv6 flags on down device [ OK ] # 12.79 [+0.11] TEST: IPv4 flags on up device [ OK ] # 12.94 [+0.14] TEST: IPv6 flags on up device [ OK ] # 13.16 [+0.23] Other device down and up # 13.26 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 13.38 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 13.49 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 13.60 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 13.73 [+0.13] TEST: IPv4 flags on down device [ OK ] # 13.85 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.97 [+0.11] TEST: IPv4 flags on up device [ OK ] # 14.08 [+0.12] TEST: IPv6 flags on up device [ OK ] # 14.22 [+0.14] Both devices down # 14.32 [+0.10] TEST: IPv4 fibmatch [ OK ] # 14.43 [+0.11] TEST: IPv6 fibmatch [ OK ] # 15.18 [+0.75] # 15.18 [+0.00] Local carrier tests - single path # 16.77 [+1.59] Start point # 16.89 [+0.11] TEST: IPv4 fibmatch [ OK ] # 16.99 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.13 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 17.25 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 18.42 [+1.17] Carrier off on nexthop # 18.55 [+0.13] TEST: IPv4 fibmatch [ OK ] # 18.66 [+0.11] TEST: IPv6 fibmatch [ OK ] # 18.78 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 18.88 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 19.10 [+0.22] Route to local address with carrier down # 19.20 [+0.10] TEST: IPv4 fibmatch [ OK ] # 19.32 [+0.11] TEST: IPv6 fibmatch [ OK ] # 19.43 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 19.56 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 20.16 [+0.59] # 20.16 [+0.00] Single path route carrier test # 21.77 [+1.62] Start point # 21.89 [+0.11] TEST: IPv4 fibmatch [ OK ] # 21.99 [+0.10] TEST: IPv6 fibmatch [ OK ] # 22.11 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 22.23 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 23.40 [+1.17] Carrier down # 23.51 [+0.11] TEST: IPv4 fibmatch [ OK ] # 23.62 [+0.11] TEST: IPv6 fibmatch [ OK ] # 23.74 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 23.85 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 24.07 [+0.22] Second address added with carrier down # 24.17 [+0.10] TEST: IPv4 fibmatch [ OK ] # 24.30 [+0.12] TEST: IPv6 fibmatch [ OK ] # 24.41 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 24.51 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 29.89 [+5.38] # 29.89 [+0.00] IPv4 nexthop tests # 29.89 [+0.00] <<< write me >>> # 30.23 [+0.34] # 30.23 [+0.00] IPv6 nexthop tests # 30.35 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 30.48 [+0.13] TEST: Directly connected nexthop, unicast address with device [ OK ] # 30.62 [+0.13] TEST: Gateway is linklocal address [ OK ] # 30.73 [+0.12] TEST: Gateway is linklocal address, no device [ OK ] # 30.87 [+0.13] TEST: Gateway can not be local unicast address [ OK ] # 31.00 [+0.13] TEST: Gateway can not be local unicast address, with device [ OK ] # 31.13 [+0.14] TEST: Gateway can not be a local linklocal address [ OK ] # 31.25 [+0.12] TEST: Gateway can be local address in a VRF [ OK ] # 31.39 [+0.14] TEST: Gateway can be local address in a VRF, with device [ OK ] # 31.52 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 31.65 [+0.13] TEST: Redirect to VRF lookup [ OK ] # 31.77 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 31.89 [+0.13] TEST: VRF route, gateway can not be a local address [ OK ] # 32.02 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 33.24 [+1.22] # 33.24 [+0.00] FIB rule with suppress_prefixlength # 35.57 [+2.33] TEST: FIB rule suppress test [ OK ] # 37.73 [+2.16] # 37.73 [+0.00] Fib6 info length calculation in route notify test # 42.58 [+4.84] TEST: ipv6 route add notify [ OK ] # 44.88 [+2.30] # 44.88 [+0.00] Fib4 info length calculation in route notify test # 49.65 [+4.77] TEST: ipv4 route add notify [ OK ] # 55.65 [+6.00] # 55.65 [+0.00] IPv6 route add / append tests # 56.14 [+0.49] TEST: Attempt to add duplicate route - gw [ OK ] # 56.61 [+0.47] TEST: Attempt to add duplicate route - dev only [ OK ] # 57.09 [+0.48] TEST: Attempt to add duplicate route - reject route [ OK ] # 57.69 [+0.60] TEST: Append nexthop to existing route - gw [ OK ] # 58.19 [+0.49] TEST: Add multipath route [ OK ] # 58.65 [+0.46] TEST: Attempt to add duplicate multipath route [ OK ] # 59.25 [+0.60] TEST: Route add with different metrics [ OK ] # 59.52 [+0.27] TEST: Route delete with metric [ OK ] # 59.52 [+0.00] # 59.52 [+0.00] IPv6 route replace tests # 60.12 [+0.60] TEST: Single path with single path [ OK ] # 60.74 [+0.62] TEST: Single path with multipath [ OK ] # 61.36 [+0.61] TEST: Single path with single path via multipath attribute [ OK ] # 61.96 [+0.61] TEST: Invalid nexthop [ OK ] # 62.46 [+0.50] TEST: Single path - replace of non-existent route [ OK ] # 63.09 [+0.63] TEST: Multipath with multipath [ OK ] # 63.71 [+0.62] TEST: Multipath with single path [ OK ] # 64.33 [+0.62] TEST: Multipath with single path via multipath attribute [ OK ] # 64.95 [+0.62] TEST: Multipath with dev-only [ OK ] # 65.59 [+0.63] TEST: Multipath - invalid first nexthop [ OK ] # 66.24 [+0.65] TEST: Multipath - invalid second nexthop [ OK ] # 66.70 [+0.47] TEST: Multipath - replace of non-existent route [ OK ] # 66.71 [+0.00] # 66.71 [+0.00] IPv6 route with dsfield tests # 66.96 [+0.25] TEST: Reject route with dsfield [ OK ] # 75.02 [+8.06] # 75.02 [+0.00] IPv4 route add / append tests # 75.50 [+0.47] TEST: Attempt to add duplicate route - gw [ OK ] # 76.03 [+0.54] TEST: Attempt to add duplicate route - dev only [ OK ] # 76.52 [+0.49] TEST: Attempt to add duplicate route - reject route [ OK ] # 77.11 [+0.59] TEST: Add new nexthop for existing prefix [ OK ] # 77.72 [+0.60] TEST: Append nexthop to existing route - gw [ OK ] # 78.31 [+0.59] TEST: Append nexthop to existing route - dev only [ OK ] # 78.93 [+0.62] TEST: Append nexthop to existing route - reject route [ OK ] # 79.48 [+0.55] TEST: Append nexthop to existing reject route - gw [ OK ] # 80.08 [+0.60] TEST: Append nexthop to existing reject route - dev only [ OK ] # 80.56 [+0.49] TEST: add multipath route [ OK ] # 81.06 [+0.50] TEST: Attempt to add duplicate multipath route [ OK ] # 81.67 [+0.61] TEST: Route add with different metrics [ OK ] # 81.97 [+0.30] TEST: Route delete with metric [ OK ] # 81.97 [+0.00] # 81.97 [+0.00] IPv4 route replace tests # 82.61 [+0.64] TEST: Single path with single path [ OK ] # 83.22 [+0.61] TEST: Single path with multipath [ OK ] # 83.87 [+0.65] TEST: Single path with reject route [ OK ] # 84.47 [+0.60] TEST: Single path with single path via multipath attribute [ OK ] # 85.06 [+0.59] TEST: Invalid nexthop [ OK ] # 85.56 [+0.50] TEST: Single path - replace of non-existent route [ OK ] # 86.19 [+0.63] TEST: Multipath with multipath [ OK ] # 86.81 [+0.62] TEST: Multipath with single path [ OK ] # 87.41 [+0.60] TEST: Multipath with single path via multipath attribute [ OK ] # 88.22 [+0.81] TEST: Multipath with reject route [ OK ] # 89.03 [+0.81] TEST: Multipath - invalid first nexthop [ OK ] # 89.90 [+0.87] TEST: Multipath - invalid second nexthop [ OK ] # 90.53 [+0.63] TEST: Multipath - replace of non-existent route [ OK ] # 92.73 [+2.20] TEST: Cached route removed from VRF port device [ OK ] # 92.73 [+0.00] # 92.73 [+0.00] IPv4 route with dsfield tests # 93.00 [+0.27] TEST: Reject route with dsfield 0x01 [ OK ] # 93.15 [+0.14] TEST: Reject route with dsfield 0x02 [ OK ] # 93.31 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 93.71 [+0.41] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 93.86 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 93.98 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 94.13 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 94.25 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 94.41 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 94.54 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 94.66 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 94.79 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 94.93 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 95.08 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 95.24 [+0.16] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 97.79 [+2.55] # 97.79 [+0.00] IPv6 prefix route tests # 101.33 [+3.54] TEST: Default metric [ OK ] # 101.86 [+0.52] TEST: User specified metric on first device [ OK ] # 102.37 [+0.51] TEST: User specified metric on second device [ OK ] # 102.75 [+0.38] TEST: Delete of address on first device [ OK ] # 103.07 [+0.32] TEST: Modify metric of address [ OK ] # 103.62 [+0.55] TEST: Prefix route removed on link down [ OK ] # 103.94 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 104.39 [+0.46] TEST: Set metric with peer route on local side [ OK ] # 104.55 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 104.87 [+0.33] TEST: Modify metric and peer address on local side [ OK ] # 105.04 [+0.17] TEST: Modify metric and peer address on peer side [ OK ] # 106.56 [+1.52] # 106.56 [+0.00] IPv4 prefix route tests # 109.30 [+2.74] TEST: Default metric [ OK ] # 109.71 [+0.41] TEST: User specified metric on first device [ OK ] # 110.12 [+0.41] TEST: User specified metric on second device [ OK ] # 110.39 [+0.27] TEST: Delete of address on first device [ OK ] # 110.64 [+0.25] TEST: Modify metric of address [ OK ] # 110.90 [+0.25] TEST: Prefix route removed on link down [ OK ] # 111.17 [+0.27] TEST: Prefix route with metric on link up [ OK ] # 111.70 [+0.53] TEST: Modify metric of .0/24 address [ OK ] # 112.08 [+0.38] TEST: Set metric of address with peer route [ OK ] # 112.35 [+0.26] TEST: Modify metric and peer address for peer route [ OK ] # 113.65 [+1.30] # 113.65 [+0.00] IPv6 routes with metrics # 120.00 [+6.35] TEST: Single path route with mtu metric [ OK ] # 120.43 [+0.43] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 120.82 [+0.39] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 121.09 [+0.28] TEST: MTU of second leg [ OK ] # 121.37 [+0.27] TEST: Multipath route with mtu metric [ OK ] # 121.68 [+0.31] TEST: Using route with mtu metric [ OK ] # 121.90 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 124.11 [+2.21] # 124.11 [+0.00] IPv4 route add / append tests # 130.30 [+6.19] TEST: Single path route with mtu metric [ OK ] # 130.55 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 130.84 [+0.29] TEST: Using route with mtu metric [ OK ] # 131.05 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 133.08 [+2.03] # 133.08 [+0.00] IPv4 route with IPv6 gateway tests # 141.26 [+8.18] TEST: Single path route with IPv6 gateway [ OK ] # 141.58 [+0.32] TEST: Single path route with IPv6 gateway - ping [ OK ] # 141.69 [+0.11] TEST: Single path route delete [ OK ] # 141.93 [+0.24] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 142.17 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 142.31 [+0.13] TEST: Multipath route delete exact match [ OK ] # 142.43 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 142.69 [+0.26] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 142.82 [+0.13] TEST: Multipath route delete exact match [ OK ] # 145.07 [+2.25] # 145.07 [+0.00] IPv4 rp_filter tests # 152.88 [+7.81] TEST: rp_filter passes local packets [ OK ] # 153.06 [+0.19] TEST: rp_filter passes loopback packets [ OK ] # 154.07 [+1.01] # 154.07 [+0.00] IPv4 delete address route tests # 157.80 [+3.73] Regular FIB info # 158.02 [+0.21] TEST: Route removed from VRF when source address deleted [ OK ] # 158.14 [+0.12] TEST: Route in default VRF not removed [ OK ] # 158.58 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 158.69 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 158.69 [+0.00] Identical FIB info with different table ID # 158.92 [+0.23] TEST: Route removed from VRF when source address deleted [ OK ] # 159.04 [+0.11] TEST: Route in default VRF not removed [ OK ] # 159.48 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 159.61 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 159.61 [+0.00] Table ID 0 # 159.84 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 161.10 [+1.27] # 161.11 [+0.00] IPv6 delete address route tests # 167.43 [+6.32] Single device using src address # 167.64 [+0.21] TEST: Prefsrc removed when src address removed on other device [ OK ] # 167.64 [+0.00] Two devices with the same source address # 167.89 [+0.25] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 168.16 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 168.16 [+0.00] VRF with single device using src address # 168.42 [+0.26] TEST: Prefsrc removed when src address removed on other device [ OK ] # 168.42 [+0.00] VRF with two devices using src address # 168.67 [+0.25] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 168.89 [+0.22] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 168.90 [+0.00] src address and nexthop dev in same VRF # 169.15 [+0.26] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 169.28 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 169.70 [+0.43] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 169.82 [+0.11] TEST: Prefsrc in default VRF removed [ OK ] # 169.82 [+0.00] src address and nexthop device in different VRF # 170.06 [+0.24] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 170.16 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 170.48 [+0.32] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 170.61 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 170.61 [+0.00] Table ID 0 # 170.84 [+0.23] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 170.85 [+0.00] Link local source route # 171.05 [+0.21] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 171.30 [+0.24] TEST: Prefsrc removed when delete ll addr [ OK ] # 171.42 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 171.77 [+0.35] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 173.67 [+1.90] # 173.67 [+0.00] IPv4 mangling tests # 182.73 [+9.06] TEST: Connection with correct parameters [ OK ] # 182.96 [+0.24] TEST: Connection with incorrect parameters [ OK ] # 184.00 [+1.04] TEST: Connection with correct parameters - mangling [ OK ] # 184.96 [+0.96] TEST: Connection with correct parameters - no mangling [ OK ] # 185.04 [+0.08] TEST: Connection check - server side [ OK ] # 187.55 [+2.51] # 187.55 [+0.00] IPv6 mangling tests # 196.76 [+9.21] TEST: Connection with correct parameters [ OK ] # 197.04 [+0.28] TEST: Connection with incorrect parameters [ OK ] # 198.04 [+1.00] TEST: Connection with correct parameters - mangling [ OK ] # 199.04 [+1.01] TEST: Connection with correct parameters - no mangling [ OK ] # 199.13 [+0.08] TEST: Connection check - server side [ OK ] # 201.62 [+2.49] # 201.62 [+0.00] IPv4 broadcast neighbour tests # 204.67 [+3.05] TEST: Resolved neighbour for broadcast address [ OK ] # 204.80 [+0.13] TEST: Resolved neighbour for network broadcast address [ OK ] # 204.92 [+0.12] TEST: Unresolved neighbour for broadcast address [ OK ] # 205.04 [+0.12] TEST: Unresolved neighbour for network broadcast address [ OK ] # 207.57 [+2.53] # 207.57 [+0.00] Fib6 garbage collection test # 221.19 [+13.62] TEST: ipv6 route garbage collection [ OK ] # 235.12 [+13.93] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 249.06 [+13.94] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 263.10 [+14.05] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 277.89 [+14.79] TEST: ipv6 route garbage collection (RA message) [ OK ] # 278.84 [+0.94] # 278.84 [+0.00] IPv4 multipath list receive tests # 298.27 [+19.43] TEST: Multipath route hit ratio (1.00) [ OK ] # 300.47 [+2.20] # 300.48 [+0.01] IPv6 multipath list receive tests # 319.25 [+18.77] TEST: Multipath route hit ratio (1.00) [ OK ] # 321.43 [+2.18] # 321.43 [+0.00] Tests passed: 229 # 321.43 [+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__->