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.43 [+0.43] # 0.43 [+0.00] Single path route test # 1.50 [+1.06] Start point # 1.58 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.68 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.83 [+0.15] Nexthop device deleted # 1.92 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 2.04 [+0.12] TEST: IPv6 fibmatch - no route [ OK ] # 2.70 [+0.66] # 2.70 [+0.00] Multipath route test # 4.61 [+1.90] Start point # 4.73 [+0.12] TEST: IPv4 fibmatch [ OK ] # 4.81 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.98 [+0.17] One nexthop device deleted # 5.08 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.17 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 5.31 [+0.14] Second nexthop device deleted # 5.41 [+0.10] TEST: IPv6 - no route [ OK ] # 6.03 [+0.63] # 6.03 [+0.00] Single path, admin down # 7.34 [+1.30] Start point # 7.44 [+0.10] TEST: IPv4 fibmatch [ OK ] # 7.52 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.65 [+0.12] Route deleted on down # 7.74 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.85 [+0.11] TEST: IPv6 fibmatch [ OK ] # 8.40 [+0.55] # 8.40 [+0.00] Admin down multipath # 10.29 [+1.89] Verify start point # 10.39 [+0.10] TEST: IPv4 fibmatch [ OK ] # 10.48 [+0.09] TEST: IPv6 fibmatch [ OK ] # 10.56 [+0.08] One device down, one up # 10.67 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 10.76 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.86 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 10.97 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 11.10 [+0.13] TEST: IPv4 flags on down device [ OK ] # 11.23 [+0.13] TEST: IPv6 flags on down device [ OK ] # 11.32 [+0.10] TEST: IPv4 flags on up device [ OK ] # 11.44 [+0.11] TEST: IPv6 flags on up device [ OK ] # 11.63 [+0.20] Other device down and up # 11.74 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 11.83 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 11.97 [+0.13] TEST: IPv4 fibmatch on up device [ OK ] # 12.06 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 12.17 [+0.11] TEST: IPv4 flags on down device [ OK ] # 12.29 [+0.12] TEST: IPv6 flags on down device [ OK ] # 12.39 [+0.10] TEST: IPv4 flags on up device [ OK ] # 12.48 [+0.09] TEST: IPv6 flags on up device [ OK ] # 12.60 [+0.12] Both devices down # 12.71 [+0.10] TEST: IPv4 fibmatch [ OK ] # 12.81 [+0.11] TEST: IPv6 fibmatch [ OK ] # 13.44 [+0.63] # 13.44 [+0.00] Local carrier tests - single path # 14.85 [+1.41] Start point # 14.96 [+0.11] TEST: IPv4 fibmatch [ OK ] # 15.07 [+0.11] TEST: IPv6 fibmatch [ OK ] # 15.19 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 15.30 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 16.50 [+1.20] Carrier off on nexthop # 16.60 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.73 [+0.13] TEST: IPv6 fibmatch [ OK ] # 16.82 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 16.94 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 17.14 [+0.20] Route to local address with carrier down # 17.27 [+0.13] TEST: IPv4 fibmatch [ OK ] # 17.37 [+0.10] TEST: IPv6 fibmatch [ OK ] # 17.47 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 17.58 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 18.13 [+0.55] # 18.13 [+0.00] Single path route carrier test # 19.76 [+1.62] Start point # 19.88 [+0.12] TEST: IPv4 fibmatch [ OK ] # 19.97 [+0.09] TEST: IPv6 fibmatch [ OK ] # 20.06 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 20.15 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 21.31 [+1.17] Carrier down # 21.43 [+0.11] TEST: IPv4 fibmatch [ OK ] # 21.55 [+0.12] TEST: IPv6 fibmatch [ OK ] # 21.64 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 21.75 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 21.99 [+0.23] Second address added with carrier down # 22.08 [+0.10] TEST: IPv4 fibmatch [ OK ] # 22.20 [+0.11] TEST: IPv6 fibmatch [ OK ] # 22.33 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 22.46 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 27.69 [+5.24] # 27.69 [+0.00] IPv4 nexthop tests # 27.69 [+0.00] <<< write me >>> # 27.96 [+0.26] # 27.96 [+0.00] IPv6 nexthop tests # 28.07 [+0.11] TEST: Directly connected nexthop, unicast address [ OK ] # 28.21 [+0.13] TEST: Directly connected nexthop, unicast address with device [ OK ] # 28.32 [+0.12] TEST: Gateway is linklocal address [ OK ] # 28.47 [+0.15] TEST: Gateway is linklocal address, no device [ OK ] # 28.57 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 28.70 [+0.13] TEST: Gateway can not be local unicast address, with device [ OK ] # 28.84 [+0.14] TEST: Gateway can not be a local linklocal address [ OK ] # 28.94 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 29.07 [+0.13] TEST: Gateway can be local address in a VRF, with device [ OK ] # 29.17 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 29.31 [+0.14] TEST: Redirect to VRF lookup [ OK ] # 29.43 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 29.55 [+0.11] TEST: VRF route, gateway can not be a local address [ OK ] # 29.65 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 30.89 [+1.24] # 30.89 [+0.00] FIB rule with suppress_prefixlength # 33.35 [+2.45] TEST: FIB rule suppress test [ OK ] # 35.66 [+2.32] # 35.66 [+0.00] Fib6 info length calculation in route notify test # 40.25 [+4.59] TEST: ipv6 route add notify [ OK ] # 42.40 [+2.15] # 42.40 [+0.00] Fib4 info length calculation in route notify test # 46.75 [+4.35] TEST: ipv4 route add notify [ OK ] # 52.29 [+5.53] # 52.29 [+0.00] IPv6 route add / append tests # 52.71 [+0.42] TEST: Attempt to add duplicate route - gw [ OK ] # 53.20 [+0.49] TEST: Attempt to add duplicate route - dev only [ OK ] # 53.68 [+0.48] TEST: Attempt to add duplicate route - reject route [ OK ] # 54.39 [+0.71] TEST: Append nexthop to existing route - gw [ OK ] # 54.88 [+0.50] TEST: Add multipath route [ OK ] # 55.37 [+0.48] TEST: Attempt to add duplicate multipath route [ OK ] # 55.97 [+0.61] TEST: Route add with different metrics [ OK ] # 56.24 [+0.27] TEST: Route delete with metric [ OK ] # 56.24 [+0.00] # 56.24 [+0.00] IPv6 route replace tests # 56.80 [+0.55] TEST: Single path with single path [ OK ] # 57.41 [+0.61] TEST: Single path with multipath [ OK ] # 57.97 [+0.56] TEST: Single path with single path via multipath attribute [ OK ] # 58.58 [+0.61] TEST: Invalid nexthop [ OK ] # 59.04 [+0.45] TEST: Single path - replace of non-existent route [ OK ] # 59.61 [+0.57] TEST: Multipath with multipath [ OK ] # 60.23 [+0.62] TEST: Multipath with single path [ OK ] # 60.79 [+0.56] TEST: Multipath with single path via multipath attribute [ OK ] # 61.32 [+0.52] TEST: Multipath with dev-only [ OK ] # 61.84 [+0.52] TEST: Multipath - invalid first nexthop [ OK ] # 62.43 [+0.60] TEST: Multipath - invalid second nexthop [ OK ] # 62.90 [+0.47] TEST: Multipath - replace of non-existent route [ OK ] # 62.91 [+0.00] # 62.91 [+0.00] IPv6 route with dsfield tests # 63.13 [+0.22] TEST: Reject route with dsfield [ OK ] # 70.85 [+7.72] # 70.85 [+0.00] IPv4 route add / append tests # 71.38 [+0.53] TEST: Attempt to add duplicate route - gw [ OK ] # 71.79 [+0.42] TEST: Attempt to add duplicate route - dev only [ OK ] # 72.21 [+0.41] TEST: Attempt to add duplicate route - reject route [ OK ] # 72.82 [+0.61] TEST: Add new nexthop for existing prefix [ OK ] # 73.38 [+0.56] TEST: Append nexthop to existing route - gw [ OK ] # 73.91 [+0.53] TEST: Append nexthop to existing route - dev only [ OK ] # 74.40 [+0.49] TEST: Append nexthop to existing route - reject route [ OK ] # 74.81 [+0.42] TEST: Append nexthop to existing reject route - gw [ OK ] # 75.29 [+0.47] TEST: Append nexthop to existing reject route - dev only [ OK ] # 75.74 [+0.46] TEST: add multipath route [ OK ] # 76.19 [+0.45] TEST: Attempt to add duplicate multipath route [ OK ] # 76.76 [+0.57] TEST: Route add with different metrics [ OK ] # 76.96 [+0.20] TEST: Route delete with metric [ OK ] # 76.97 [+0.00] # 76.97 [+0.00] IPv4 route replace tests # 77.56 [+0.60] TEST: Single path with single path [ OK ] # 78.14 [+0.57] TEST: Single path with multipath [ OK ] # 78.74 [+0.61] TEST: Single path with reject route [ OK ] # 79.31 [+0.57] TEST: Single path with single path via multipath attribute [ OK ] # 79.84 [+0.53] TEST: Invalid nexthop [ OK ] # 80.27 [+0.43] TEST: Single path - replace of non-existent route [ OK ] # 80.82 [+0.55] TEST: Multipath with multipath [ OK ] # 81.41 [+0.59] TEST: Multipath with single path [ OK ] # 81.93 [+0.52] TEST: Multipath with single path via multipath attribute [ OK ] # 82.50 [+0.57] TEST: Multipath with reject route [ OK ] # 83.09 [+0.59] TEST: Multipath - invalid first nexthop [ OK ] # 83.65 [+0.57] TEST: Multipath - invalid second nexthop [ OK ] # 84.08 [+0.43] TEST: Multipath - replace of non-existent route [ OK ] # 85.90 [+1.81] TEST: Cached route removed from VRF port device [ OK ] # 85.90 [+0.00] # 85.90 [+0.00] IPv4 route with dsfield tests # 86.11 [+0.21] TEST: Reject route with dsfield 0x01 [ OK ] # 86.22 [+0.11] TEST: Reject route with dsfield 0x02 [ OK ] # 86.34 [+0.11] TEST: Reject route with dsfield 0x03 [ OK ] # 86.66 [+0.32] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 86.76 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 86.90 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 87.00 [+0.10] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 87.10 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 87.20 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 87.31 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 87.42 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 87.53 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 87.64 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 87.75 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 87.87 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 89.96 [+2.09] # 89.96 [+0.00] IPv6 prefix route tests # 92.25 [+2.29] TEST: Default metric [ OK ] # 92.55 [+0.30] TEST: User specified metric on first device [ OK ] # 92.91 [+0.36] TEST: User specified metric on second device [ OK ] # 93.11 [+0.20] TEST: Delete of address on first device [ OK ] # 93.32 [+0.20] TEST: Modify metric of address [ OK ] # 93.65 [+0.34] TEST: Prefix route removed on link down [ OK ] # 93.86 [+0.21] TEST: Prefix route with metric on link up [ OK ] # 94.15 [+0.29] TEST: Set metric with peer route on local side [ OK ] # 94.29 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 94.54 [+0.25] TEST: Modify metric and peer address on local side [ OK ] # 94.65 [+0.11] TEST: Modify metric and peer address on peer side [ OK ] # 95.86 [+1.21] # 95.86 [+0.00] IPv4 prefix route tests # 98.23 [+2.37] TEST: Default metric [ OK ] # 98.55 [+0.31] TEST: User specified metric on first device [ OK ] # 98.88 [+0.33] TEST: User specified metric on second device [ OK ] # 99.13 [+0.25] TEST: Delete of address on first device [ OK ] # 99.37 [+0.24] TEST: Modify metric of address [ OK ] # 99.58 [+0.21] TEST: Prefix route removed on link down [ OK ] # 99.79 [+0.21] TEST: Prefix route with metric on link up [ OK ] # 100.28 [+0.49] TEST: Modify metric of .0/24 address [ OK ] # 100.65 [+0.37] TEST: Set metric of address with peer route [ OK ] # 100.86 [+0.21] TEST: Modify metric and peer address for peer route [ OK ] # 101.99 [+1.13] # 101.99 [+0.00] IPv6 routes with metrics # 107.64 [+5.64] TEST: Single path route with mtu metric [ OK ] # 107.99 [+0.35] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 108.36 [+0.37] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 108.60 [+0.24] TEST: MTU of second leg [ OK ] # 108.84 [+0.24] TEST: Multipath route with mtu metric [ OK ] # 109.17 [+0.33] TEST: Using route with mtu metric [ OK ] # 109.39 [+0.23] TEST: Invalid metric (fails metric_convert) [ OK ] # 111.50 [+2.11] # 111.50 [+0.00] IPv4 route add / append tests # 117.12 [+5.61] TEST: Single path route with mtu metric [ OK ] # 117.32 [+0.21] TEST: Multipath route with mtu metric [ OK ] # 117.58 [+0.26] TEST: Using route with mtu metric [ OK ] # 117.76 [+0.19] TEST: Invalid metric (fails metric_convert) [ OK ] # 119.87 [+2.10] # 119.87 [+0.00] IPv4 route with IPv6 gateway tests # 127.52 [+7.66] TEST: Single path route with IPv6 gateway [ OK ] # 127.81 [+0.28] TEST: Single path route with IPv6 gateway - ping [ OK ] # 127.93 [+0.12] TEST: Single path route delete [ OK ] # 128.14 [+0.21] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 128.34 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 128.46 [+0.11] TEST: Multipath route delete exact match [ OK ] # 128.57 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 128.80 [+0.23] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 128.93 [+0.13] TEST: Multipath route delete exact match [ OK ] # 130.98 [+2.05] # 130.98 [+0.00] IPv4 rp_filter tests # 138.34 [+7.36] TEST: rp_filter passes local packets [ OK ] # 138.52 [+0.18] TEST: rp_filter passes loopback packets [ OK ] # 139.47 [+0.95] # 139.47 [+0.00] IPv4 delete address route tests # 142.83 [+3.37] Regular FIB info # 143.02 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 143.12 [+0.11] TEST: Route in default VRF not removed [ OK ] # 143.52 [+0.40] TEST: Route removed in default VRF when source address deleted [ OK ] # 143.64 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 143.64 [+0.01] Identical FIB info with different table ID # 143.82 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 143.90 [+0.08] TEST: Route in default VRF not removed [ OK ] # 144.29 [+0.39] TEST: Route removed in default VRF when source address deleted [ OK ] # 144.39 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 144.39 [+0.00] Table ID 0 # 144.62 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 145.86 [+1.24] # 145.86 [+0.00] IPv6 delete address route tests # 151.71 [+5.85] Single device using src address # 151.91 [+0.19] TEST: Prefsrc removed when src address removed on other device [ OK ] # 151.91 [+0.00] Two devices with the same source address # 152.14 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 152.41 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 152.41 [+0.00] VRF with single device using src address # 152.60 [+0.19] TEST: Prefsrc removed when src address removed on other device [ OK ] # 152.60 [+0.00] VRF with two devices using src address # 152.81 [+0.21] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 153.01 [+0.20] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 153.01 [+0.00] src address and nexthop dev in same VRF # 153.20 [+0.19] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 153.32 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 153.70 [+0.38] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 153.85 [+0.15] TEST: Prefsrc in default VRF removed [ OK ] # 153.85 [+0.00] src address and nexthop device in different VRF # 154.07 [+0.21] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 154.21 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 154.58 [+0.37] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 154.74 [+0.16] TEST: Prefsrc removed in default VRF [ OK ] # 154.74 [+0.00] Table ID 0 # 154.96 [+0.22] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 154.97 [+0.00] Link local source route # 155.23 [+0.26] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 155.47 [+0.24] TEST: Prefsrc removed when delete ll addr [ OK ] # 155.59 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 155.91 [+0.32] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 157.89 [+1.98] # 157.89 [+0.00] IPv4 mangling tests # 166.99 [+9.10] TEST: Connection with correct parameters [ OK ] # 167.18 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 168.38 [+1.20] TEST: Connection with correct parameters - mangling [ OK ] # 169.29 [+0.91] TEST: Connection with correct parameters - no mangling [ OK ] # 169.35 [+0.07] TEST: Connection check - server side [ OK ] # 171.83 [+2.48] # 171.83 [+0.00] IPv6 mangling tests # 180.66 [+8.83] TEST: Connection with correct parameters [ OK ] # 180.90 [+0.24] TEST: Connection with incorrect parameters [ OK ] # 181.87 [+0.97] TEST: Connection with correct parameters - mangling [ OK ] # 182.86 [+0.99] TEST: Connection with correct parameters - no mangling [ OK ] # 182.94 [+0.08] TEST: Connection check - server side [ OK ] # 185.39 [+2.46] # 185.39 [+0.00] IPv4 broadcast neighbour tests # 188.18 [+2.79] TEST: Resolved neighbour for broadcast address [ OK ] # 188.31 [+0.13] TEST: Resolved neighbour for network broadcast address [ OK ] # 188.42 [+0.11] TEST: Unresolved neighbour for broadcast address [ OK ] # 188.52 [+0.10] TEST: Unresolved neighbour for network broadcast address [ OK ] # 190.65 [+2.14] # 190.66 [+0.00] Fib6 garbage collection test # 204.20 [+13.55] TEST: ipv6 route garbage collection [ OK ] # 217.87 [+13.66] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 231.59 [+13.73] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 245.44 [+13.85] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 260.05 [+14.61] TEST: ipv6 route garbage collection (RA message) [ OK ] # 260.85 [+0.80] # 260.85 [+0.00] IPv4 multipath list receive tests # 280.93 [+20.08] TEST: Multipath route hit ratio (1.00) [ OK ] # 283.10 [+2.17] # 283.10 [+0.00] IPv6 multipath list receive tests # 303.60 [+20.49] TEST: Multipath route hit ratio (1.00) [ OK ] # 305.71 [+2.11] # 305.71 [+0.00] Tests passed: 229 # 305.71 [+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__->