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.47 [+0.47] # 0.47 [+0.00] Single path route test # 1.57 [+1.10] Start point # 1.67 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.77 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.93 [+0.16] Nexthop device deleted # 2.02 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 2.13 [+0.11] TEST: IPv6 fibmatch - no route [ OK ] # 2.78 [+0.65] # 2.78 [+0.00] Multipath route test # 4.66 [+1.88] Start point # 4.75 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.86 [+0.10] TEST: IPv6 fibmatch [ OK ] # 5.01 [+0.15] One nexthop device deleted # 5.11 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.22 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 5.38 [+0.16] Second nexthop device deleted # 5.48 [+0.10] TEST: IPv6 - no route [ OK ] # 6.14 [+0.66] # 6.14 [+0.00] Single path, admin down # 7.59 [+1.44] Start point # 7.69 [+0.10] TEST: IPv4 fibmatch [ OK ] # 7.79 [+0.11] TEST: IPv6 fibmatch [ OK ] # 7.89 [+0.10] Route deleted on down # 8.00 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.10 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.62 [+0.52] # 8.62 [+0.00] Admin down multipath # 10.58 [+1.96] Verify start point # 10.68 [+0.10] TEST: IPv4 fibmatch [ OK ] # 10.81 [+0.13] TEST: IPv6 fibmatch [ OK ] # 10.97 [+0.16] One device down, one up # 11.07 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 11.17 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 11.27 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 11.39 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 11.52 [+0.14] TEST: IPv4 flags on down device [ OK ] # 11.67 [+0.15] TEST: IPv6 flags on down device [ OK ] # 11.78 [+0.11] TEST: IPv4 flags on up device [ OK ] # 11.90 [+0.12] TEST: IPv6 flags on up device [ OK ] # 12.10 [+0.20] Other device down and up # 12.20 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 12.31 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 12.41 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 12.51 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 12.64 [+0.14] TEST: IPv4 flags on down device [ OK ] # 12.77 [+0.12] TEST: IPv6 flags on down device [ OK ] # 12.88 [+0.12] TEST: IPv4 flags on up device [ OK ] # 13.00 [+0.11] TEST: IPv6 flags on up device [ OK ] # 13.11 [+0.11] Both devices down # 13.20 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.30 [+0.09] TEST: IPv6 fibmatch [ OK ] # 13.93 [+0.63] # 13.93 [+0.00] Local carrier tests - single path # 15.40 [+1.47] Start point # 15.49 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.59 [+0.10] TEST: IPv6 fibmatch [ OK ] # 15.72 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 15.83 [+0.11] TEST: IPv6 - no linkdown flag [ OK ] # 16.98 [+1.14] Carrier off on nexthop # 17.09 [+0.11] TEST: IPv4 fibmatch [ OK ] # 17.21 [+0.12] TEST: IPv6 fibmatch [ OK ] # 17.34 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 17.46 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 17.76 [+0.29] Route to local address with carrier down # 17.85 [+0.09] TEST: IPv4 fibmatch [ OK ] # 17.96 [+0.11] TEST: IPv6 fibmatch [ OK ] # 18.06 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 18.18 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 18.71 [+0.53] # 18.71 [+0.00] Single path route carrier test # 20.39 [+1.67] Start point # 20.52 [+0.14] TEST: IPv4 fibmatch [ OK ] # 20.65 [+0.12] TEST: IPv6 fibmatch [ OK ] # 20.76 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 20.86 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 21.99 [+1.13] Carrier down # 22.09 [+0.10] TEST: IPv4 fibmatch [ OK ] # 22.18 [+0.09] TEST: IPv6 fibmatch [ OK ] # 22.27 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 22.36 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 22.54 [+0.18] Second address added with carrier down # 22.63 [+0.09] TEST: IPv4 fibmatch [ OK ] # 22.72 [+0.09] TEST: IPv6 fibmatch [ OK ] # 22.80 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 22.88 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 27.36 [+4.48] # 27.36 [+0.00] IPv4 nexthop tests # 27.36 [+0.00] <<< write me >>> # 27.60 [+0.24] # 27.60 [+0.00] IPv6 nexthop tests # 27.71 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 27.82 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 27.92 [+0.10] TEST: Gateway is linklocal address [ OK ] # 28.03 [+0.10] TEST: Gateway is linklocal address, no device [ OK ] # 28.13 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 28.22 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 28.33 [+0.11] TEST: Gateway can not be a local linklocal address [ OK ] # 28.42 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 28.53 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 28.63 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 28.73 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 28.83 [+0.10] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 28.92 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 29.02 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 30.07 [+1.05] # 30.07 [+0.00] FIB rule with suppress_prefixlength # 31.89 [+1.82] TEST: FIB rule suppress test [ OK ] # 33.49 [+1.60] # 33.49 [+0.00] Fib6 info length calculation in route notify test # 37.52 [+4.02] TEST: ipv6 route add notify [ OK ] # 39.17 [+1.65] # 39.17 [+0.00] Fib4 info length calculation in route notify test # 43.21 [+4.04] TEST: ipv4 route add notify [ OK ] # 47.68 [+4.47] # 47.68 [+0.00] IPv6 route add / append tests # 48.06 [+0.38] TEST: Attempt to add duplicate route - gw [ OK ] # 48.46 [+0.40] TEST: Attempt to add duplicate route - dev only [ OK ] # 48.84 [+0.38] TEST: Attempt to add duplicate route - reject route [ OK ] # 49.35 [+0.51] TEST: Append nexthop to existing route - gw [ OK ] # 49.76 [+0.41] TEST: Add multipath route [ OK ] # 50.13 [+0.38] TEST: Attempt to add duplicate multipath route [ OK ] # 50.62 [+0.48] TEST: Route add with different metrics [ OK ] # 50.84 [+0.22] TEST: Route delete with metric [ OK ] # 50.84 [+0.00] # 50.84 [+0.00] IPv6 route replace tests # 51.31 [+0.47] TEST: Single path with single path [ OK ] # 51.84 [+0.53] TEST: Single path with multipath [ OK ] # 52.32 [+0.48] TEST: Single path with single path via multipath attribute [ OK ] # 52.78 [+0.46] TEST: Invalid nexthop [ OK ] # 53.17 [+0.39] TEST: Single path - replace of non-existent route [ OK ] # 53.68 [+0.51] TEST: Multipath with multipath [ OK ] # 54.14 [+0.46] TEST: Multipath with single path [ OK ] # 54.62 [+0.48] TEST: Multipath with single path via multipath attribute [ OK ] # 55.10 [+0.48] TEST: Multipath with dev-only [ OK ] # 55.58 [+0.49] TEST: Multipath - invalid first nexthop [ OK ] # 56.09 [+0.51] TEST: Multipath - invalid second nexthop [ OK ] # 56.46 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 56.46 [+0.00] # 56.46 [+0.00] IPv6 route with dsfield tests # 56.67 [+0.20] TEST: Reject route with dsfield [ OK ] # 62.80 [+6.13] # 62.80 [+0.00] IPv4 route add / append tests # 63.16 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 63.52 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 63.88 [+0.36] TEST: Attempt to add duplicate route - reject route [ OK ] # 64.32 [+0.44] TEST: Add new nexthop for existing prefix [ OK ] # 64.76 [+0.44] TEST: Append nexthop to existing route - gw [ OK ] # 65.22 [+0.46] TEST: Append nexthop to existing route - dev only [ OK ] # 65.66 [+0.44] TEST: Append nexthop to existing route - reject route [ OK ] # 66.02 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 66.38 [+0.37] TEST: Append nexthop to existing reject route - dev only [ OK ] # 66.74 [+0.36] TEST: add multipath route [ OK ] # 67.10 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 67.53 [+0.44] TEST: Route add with different metrics [ OK ] # 67.73 [+0.19] TEST: Route delete with metric [ OK ] # 67.73 [+0.00] # 67.73 [+0.00] IPv4 route replace tests # 68.18 [+0.45] TEST: Single path with single path [ OK ] # 68.63 [+0.45] TEST: Single path with multipath [ OK ] # 69.05 [+0.43] TEST: Single path with reject route [ OK ] # 69.50 [+0.45] TEST: Single path with single path via multipath attribute [ OK ] # 69.94 [+0.44] TEST: Invalid nexthop [ OK ] # 70.28 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 70.75 [+0.46] TEST: Multipath with multipath [ OK ] # 71.18 [+0.43] TEST: Multipath with single path [ OK ] # 71.62 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 72.06 [+0.44] TEST: Multipath with reject route [ OK ] # 72.49 [+0.43] TEST: Multipath - invalid first nexthop [ OK ] # 72.93 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 73.28 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 74.72 [+1.44] TEST: Cached route removed from VRF port device [ OK ] # 74.72 [+0.00] # 74.72 [+0.00] IPv4 route with dsfield tests # 74.90 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 75.00 [+0.10] TEST: Reject route with dsfield 0x02 [ OK ] # 75.08 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 75.35 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 75.45 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 75.53 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 75.62 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 75.71 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 75.79 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 75.88 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 75.97 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 76.05 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 76.14 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 76.22 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 76.30 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 78.03 [+1.73] # 78.03 [+0.00] IPv6 prefix route tests # 79.90 [+1.87] TEST: Default metric [ OK ] # 80.18 [+0.28] TEST: User specified metric on first device [ OK ] # 80.46 [+0.28] TEST: User specified metric on second device [ OK ] # 80.65 [+0.19] TEST: Delete of address on first device [ OK ] # 80.84 [+0.19] TEST: Modify metric of address [ OK ] # 81.15 [+0.31] TEST: Prefix route removed on link down [ OK ] # 81.35 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 81.63 [+0.29] TEST: Set metric with peer route on local side [ OK ] # 81.72 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 81.90 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 81.98 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 82.96 [+0.98] # 82.96 [+0.00] IPv4 prefix route tests # 84.74 [+1.78] TEST: Default metric [ OK ] # 85.01 [+0.28] TEST: User specified metric on first device [ OK ] # 85.29 [+0.28] TEST: User specified metric on second device [ OK ] # 85.48 [+0.19] TEST: Delete of address on first device [ OK ] # 85.66 [+0.19] TEST: Modify metric of address [ OK ] # 85.83 [+0.17] TEST: Prefix route removed on link down [ OK ] # 86.01 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 86.38 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 86.65 [+0.27] TEST: Set metric of address with peer route [ OK ] # 86.84 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 87.82 [+0.98] # 87.82 [+0.00] IPv6 routes with metrics # 92.31 [+4.50] TEST: Single path route with mtu metric [ OK ] # 92.65 [+0.33] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 92.92 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 93.11 [+0.19] TEST: MTU of second leg [ OK ] # 93.31 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 93.54 [+0.23] TEST: Using route with mtu metric [ OK ] # 93.71 [+0.18] TEST: Invalid metric (fails metric_convert) [ OK ] # 95.39 [+1.67] # 95.39 [+0.00] IPv4 route add / append tests # 99.94 [+4.55] TEST: Single path route with mtu metric [ OK ] # 100.13 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 100.34 [+0.21] TEST: Using route with mtu metric [ OK ] # 100.50 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 102.20 [+1.70] # 102.20 [+0.00] IPv4 route with IPv6 gateway tests # 108.56 [+6.36] TEST: Single path route with IPv6 gateway [ OK ] # 108.79 [+0.23] TEST: Single path route with IPv6 gateway - ping [ OK ] # 108.88 [+0.08] TEST: Single path route delete [ OK ] # 109.07 [+0.19] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 109.25 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.33 [+0.08] TEST: Multipath route delete exact match [ OK ] # 109.42 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 109.61 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.70 [+0.09] TEST: Multipath route delete exact match [ OK ] # 111.35 [+1.65] # 111.35 [+0.00] IPv4 rp_filter tests # 117.15 [+5.80] TEST: rp_filter passes local packets [ OK ] # 117.31 [+0.16] TEST: rp_filter passes loopback packets [ OK ] # 118.06 [+0.75] # 118.06 [+0.00] IPv4 delete address route tests # 120.78 [+2.72] Regular FIB info # 120.94 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 121.01 [+0.07] TEST: Route in default VRF not removed [ OK ] # 121.33 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.41 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 121.41 [+0.00] Identical FIB info with different table ID # 121.58 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 121.66 [+0.08] TEST: Route in default VRF not removed [ OK ] # 122.00 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.08 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 122.08 [+0.00] Table ID 0 # 122.22 [+0.14] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.15 [+0.93] # 123.15 [+0.00] IPv6 delete address route tests # 127.78 [+4.62] Single device using src address # 127.96 [+0.19] TEST: Prefsrc removed when src address removed on other device [ OK ] # 127.97 [+0.00] Two devices with the same source address # 128.13 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 128.28 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 128.28 [+0.00] VRF with single device using src address # 128.45 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 128.45 [+0.00] VRF with two devices using src address # 128.63 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 128.79 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 128.79 [+0.00] src address and nexthop dev in same VRF # 128.95 [+0.16] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 129.04 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 129.37 [+0.33] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 129.45 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 129.46 [+0.00] src address and nexthop device in different VRF # 129.62 [+0.17] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 129.71 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 129.95 [+0.24] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 130.03 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 130.04 [+0.00] Table ID 0 # 130.19 [+0.16] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 130.20 [+0.00] Link local source route # 130.35 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.51 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 130.58 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.81 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 132.48 [+1.67] # 132.48 [+0.00] IPv4 mangling tests # 141.03 [+8.55] TEST: Connection with correct parameters [ OK ] # 141.20 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 142.11 [+0.91] TEST: Connection with correct parameters - mangling [ OK ] # 142.97 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 143.01 [+0.05] TEST: Connection check - server side [ OK ] # 144.92 [+1.91] # 144.92 [+0.00] IPv6 mangling tests # 153.03 [+8.11] TEST: Connection with correct parameters [ OK ] # 153.25 [+0.21] TEST: Connection with incorrect parameters [ OK ] # 154.15 [+0.90] TEST: Connection with correct parameters - mangling [ OK ] # 155.13 [+0.98] TEST: Connection with correct parameters - no mangling [ OK ] # 155.23 [+0.10] TEST: Connection check - server side [ OK ] # 157.73 [+2.50] # 157.73 [+0.00] IPv4 broadcast neighbour tests # 160.15 [+2.43] TEST: Resolved neighbour for broadcast address [ OK ] # 160.24 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 160.33 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 160.42 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 162.33 [+1.91] # 162.33 [+0.00] Fib6 garbage collection test # 175.81 [+13.48] TEST: ipv6 route garbage collection [ OK ] # 189.74 [+13.94] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 203.39 [+13.64] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 217.72 [+14.33] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 232.00 [+14.29] TEST: ipv6 route garbage collection (RA message) [ OK ] # 232.73 [+0.73] # 232.73 [+0.00] IPv4 multipath list receive tests # 249.33 [+16.60] TEST: Multipath route hit ratio (1.00) [ OK ] # 251.10 [+1.77] # 251.10 [+0.00] IPv6 multipath list receive tests # 267.38 [+16.28] TEST: Multipath route hit ratio (1.00) [ OK ] # 269.65 [+2.26] # 269.65 [+0.00] Tests passed: 229 # 269.65 [+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__->