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.41 [+0.41] # 0.41 [+0.00] Single path route test # 1.29 [+0.88] Start point # 1.37 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.45 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.59 [+0.14] Nexthop device deleted # 1.66 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.74 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 2.26 [+0.53] # 2.26 [+0.00] Multipath route test # 3.90 [+1.63] Start point # 3.97 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.05 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.17 [+0.12] One nexthop device deleted # 4.25 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.33 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.46 [+0.13] Second nexthop device deleted # 4.56 [+0.09] TEST: IPv6 - no route [ OK ] # 5.07 [+0.52] # 5.07 [+0.00] Single path, admin down # 6.18 [+1.11] Start point # 6.27 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.35 [+0.08] TEST: IPv6 fibmatch [ OK ] # 6.44 [+0.08] Route deleted on down # 6.51 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.59 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.03 [+0.44] # 7.03 [+0.00] Admin down multipath # 8.64 [+1.61] Verify start point # 8.73 [+0.08] TEST: IPv4 fibmatch [ OK ] # 8.80 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.89 [+0.09] One device down, one up # 8.97 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 9.05 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.12 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.21 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 9.31 [+0.09] TEST: IPv4 flags on down device [ OK ] # 9.38 [+0.07] TEST: IPv6 flags on down device [ OK ] # 9.46 [+0.08] TEST: IPv4 flags on up device [ OK ] # 9.56 [+0.10] TEST: IPv6 flags on up device [ OK ] # 9.72 [+0.16] Other device down and up # 9.80 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.89 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.97 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.04 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.14 [+0.10] TEST: IPv4 flags on down device [ OK ] # 10.23 [+0.08] TEST: IPv6 flags on down device [ OK ] # 10.32 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.43 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.51 [+0.09] Both devices down # 10.60 [+0.09] TEST: IPv4 fibmatch [ OK ] # 10.68 [+0.08] TEST: IPv6 fibmatch [ OK ] # 11.23 [+0.55] # 11.23 [+0.00] Local carrier tests - single path # 12.43 [+1.20] Start point # 12.52 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.60 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.68 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 12.76 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 13.89 [+1.13] Carrier off on nexthop # 14.00 [+0.11] TEST: IPv4 fibmatch [ OK ] # 14.10 [+0.10] TEST: IPv6 fibmatch [ OK ] # 14.20 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 14.31 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 14.50 [+0.19] Route to local address with carrier down # 14.58 [+0.08] TEST: IPv4 fibmatch [ OK ] # 14.66 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.76 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 14.83 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 15.29 [+0.45] # 15.29 [+0.00] Single path route carrier test # 16.49 [+1.20] Start point # 16.58 [+0.09] TEST: IPv4 fibmatch [ OK ] # 16.66 [+0.08] TEST: IPv6 fibmatch [ OK ] # 16.74 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 16.83 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 17.95 [+1.12] Carrier down # 18.04 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.12 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.21 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 18.28 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 18.44 [+0.16] Second address added with carrier down # 18.52 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.61 [+0.09] TEST: IPv6 fibmatch [ OK ] # 18.69 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 18.78 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 22.96 [+4.18] # 22.96 [+0.00] IPv4 nexthop tests # 22.96 [+0.00] <<< write me >>> # 23.20 [+0.23] # 23.20 [+0.00] IPv6 nexthop tests # 23.28 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 23.38 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 23.47 [+0.09] TEST: Gateway is linklocal address [ OK ] # 23.56 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 23.66 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 23.74 [+0.08] TEST: Gateway can not be local unicast address, with device [ OK ] # 23.85 [+0.10] TEST: Gateway can not be a local linklocal address [ OK ] # 23.94 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 24.03 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 24.12 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 24.22 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 24.31 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 24.41 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 24.50 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 25.49 [+1.00] # 25.49 [+0.00] FIB rule with suppress_prefixlength # 27.24 [+1.75] TEST: FIB rule suppress test [ OK ] # 28.82 [+1.57] # 28.82 [+0.00] Fib6 info length calculation in route notify test # 32.79 [+3.97] TEST: ipv6 route add notify [ OK ] # 34.38 [+1.60] # 34.38 [+0.00] Fib4 info length calculation in route notify test # 38.32 [+3.94] TEST: ipv4 route add notify [ OK ] # 42.65 [+4.33] # 42.65 [+0.00] IPv6 route add / append tests # 43.06 [+0.41] TEST: Attempt to add duplicate route - gw [ OK ] # 43.49 [+0.43] TEST: Attempt to add duplicate route - dev only [ OK ] # 43.90 [+0.41] TEST: Attempt to add duplicate route - reject route [ OK ] # 44.37 [+0.48] TEST: Append nexthop to existing route - gw [ OK ] # 44.75 [+0.38] TEST: Add multipath route [ OK ] # 45.12 [+0.37] TEST: Attempt to add duplicate multipath route [ OK ] # 45.57 [+0.45] TEST: Route add with different metrics [ OK ] # 45.77 [+0.19] TEST: Route delete with metric [ OK ] # 45.77 [+0.00] # 45.77 [+0.00] IPv6 route replace tests # 46.22 [+0.45] TEST: Single path with single path [ OK ] # 46.68 [+0.46] TEST: Single path with multipath [ OK ] # 47.13 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 47.60 [+0.47] TEST: Invalid nexthop [ OK ] # 47.94 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 48.38 [+0.44] TEST: Multipath with multipath [ OK ] # 48.82 [+0.44] TEST: Multipath with single path [ OK ] # 49.28 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 49.72 [+0.44] TEST: Multipath with dev-only [ OK ] # 50.16 [+0.44] TEST: Multipath - invalid first nexthop [ OK ] # 50.62 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 50.97 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 50.98 [+0.00] # 50.98 [+0.00] IPv6 route with dsfield tests # 51.14 [+0.17] TEST: Reject route with dsfield [ OK ] # 57.79 [+6.65] # 57.79 [+0.00] IPv4 route add / append tests # 58.20 [+0.40] TEST: Attempt to add duplicate route - gw [ OK ] # 58.62 [+0.42] TEST: Attempt to add duplicate route - dev only [ OK ] # 59.04 [+0.42] TEST: Attempt to add duplicate route - reject route [ OK ] # 59.60 [+0.56] TEST: Add new nexthop for existing prefix [ OK ] # 60.20 [+0.61] TEST: Append nexthop to existing route - gw [ OK ] # 60.79 [+0.59] TEST: Append nexthop to existing route - dev only [ OK ] # 61.35 [+0.56] TEST: Append nexthop to existing route - reject route [ OK ] # 61.81 [+0.46] TEST: Append nexthop to existing reject route - gw [ OK ] # 62.26 [+0.45] TEST: Append nexthop to existing reject route - dev only [ OK ] # 62.73 [+0.48] TEST: add multipath route [ OK ] # 63.18 [+0.45] TEST: Attempt to add duplicate multipath route [ OK ] # 63.77 [+0.59] TEST: Route add with different metrics [ OK ] # 64.00 [+0.23] TEST: Route delete with metric [ OK ] # 64.00 [+0.00] # 64.00 [+0.00] IPv4 route replace tests # 64.54 [+0.53] TEST: Single path with single path [ OK ] # 65.09 [+0.55] TEST: Single path with multipath [ OK ] # 65.62 [+0.54] TEST: Single path with reject route [ OK ] # 66.21 [+0.58] TEST: Single path with single path via multipath attribute [ OK ] # 66.76 [+0.55] TEST: Invalid nexthop [ OK ] # 67.23 [+0.47] TEST: Single path - replace of non-existent route [ OK ] # 67.85 [+0.62] TEST: Multipath with multipath [ OK ] # 68.46 [+0.60] TEST: Multipath with single path [ OK ] # 69.03 [+0.58] TEST: Multipath with single path via multipath attribute [ OK ] # 69.62 [+0.59] TEST: Multipath with reject route [ OK ] # 70.25 [+0.63] TEST: Multipath - invalid first nexthop [ OK ] # 70.90 [+0.65] TEST: Multipath - invalid second nexthop [ OK ] # 71.38 [+0.48] TEST: Multipath - replace of non-existent route [ OK ] # 73.03 [+1.65] TEST: Cached route removed from VRF port device [ OK ] # 73.03 [+0.00] # 73.03 [+0.00] IPv4 route with dsfield tests # 73.24 [+0.21] TEST: Reject route with dsfield 0x01 [ OK ] # 73.32 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 73.42 [+0.10] TEST: Reject route with dsfield 0x03 [ OK ] # 73.72 [+0.30] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 73.81 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 73.90 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 74.01 [+0.10] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 74.10 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 74.19 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 74.27 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 74.38 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 74.48 [+0.10] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 74.60 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 74.69 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 74.78 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 76.69 [+1.91] # 76.69 [+0.00] IPv6 prefix route tests # 78.68 [+1.99] TEST: Default metric [ OK ] # 79.01 [+0.32] TEST: User specified metric on first device [ OK ] # 79.29 [+0.29] TEST: User specified metric on second device [ OK ] # 79.49 [+0.20] TEST: Delete of address on first device [ OK ] # 79.70 [+0.21] TEST: Modify metric of address [ OK ] # 80.02 [+0.32] TEST: Prefix route removed on link down [ OK ] # 80.23 [+0.22] TEST: Prefix route with metric on link up [ OK ] # 80.54 [+0.31] TEST: Set metric with peer route on local side [ OK ] # 80.66 [+0.11] TEST: Set metric with peer route on peer side [ OK ] # 80.86 [+0.20] TEST: Modify metric and peer address on local side [ OK ] # 80.97 [+0.11] TEST: Modify metric and peer address on peer side [ OK ] # 81.99 [+1.02] # 81.99 [+0.00] IPv4 prefix route tests # 83.90 [+1.90] TEST: Default metric [ OK ] # 84.18 [+0.29] TEST: User specified metric on first device [ OK ] # 84.45 [+0.27] TEST: User specified metric on second device [ OK ] # 84.63 [+0.18] TEST: Delete of address on first device [ OK ] # 84.83 [+0.19] TEST: Modify metric of address [ OK ] # 85.00 [+0.17] TEST: Prefix route removed on link down [ OK ] # 85.20 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 85.57 [+0.37] TEST: Modify metric of .0/24 address [ OK ] # 85.84 [+0.27] TEST: Set metric of address with peer route [ OK ] # 86.04 [+0.20] TEST: Modify metric and peer address for peer route [ OK ] # 86.98 [+0.94] # 86.98 [+0.00] IPv6 routes with metrics # 91.50 [+4.52] TEST: Single path route with mtu metric [ OK ] # 91.81 [+0.30] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 92.10 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 92.27 [+0.18] TEST: MTU of second leg [ OK ] # 92.48 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 92.70 [+0.22] TEST: Using route with mtu metric [ OK ] # 92.87 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 94.56 [+1.69] # 94.56 [+0.00] IPv4 route add / append tests # 98.99 [+4.43] TEST: Single path route with mtu metric [ OK ] # 99.18 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 99.40 [+0.22] TEST: Using route with mtu metric [ OK ] # 99.56 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 101.31 [+1.75] # 101.31 [+0.00] IPv4 route with IPv6 gateway tests # 107.90 [+6.59] TEST: Single path route with IPv6 gateway [ OK ] # 108.13 [+0.23] TEST: Single path route with IPv6 gateway - ping [ OK ] # 108.22 [+0.09] TEST: Single path route delete [ OK ] # 108.39 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 108.57 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 108.67 [+0.10] TEST: Multipath route delete exact match [ OK ] # 108.78 [+0.11] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 108.96 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.06 [+0.09] TEST: Multipath route delete exact match [ OK ] # 110.84 [+1.79] # 110.84 [+0.00] IPv4 rp_filter tests # 116.77 [+5.93] TEST: rp_filter passes local packets [ OK ] # 116.91 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 117.71 [+0.80] # 117.71 [+0.00] IPv4 delete address route tests # 120.60 [+2.89] Regular FIB info # 120.78 [+0.18] TEST: Route removed from VRF when source address deleted [ OK ] # 120.87 [+0.09] TEST: Route in default VRF not removed [ OK ] # 121.21 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.29 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 121.30 [+0.00] Identical FIB info with different table ID # 121.45 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 121.53 [+0.08] TEST: Route in default VRF not removed [ OK ] # 121.86 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.95 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 121.95 [+0.00] Table ID 0 # 122.11 [+0.16] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.12 [+1.00] # 123.12 [+0.00] IPv6 delete address route tests # 127.77 [+4.65] Single device using src address # 127.93 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 127.93 [+0.00] Two devices with the same source address # 128.12 [+0.19] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 128.28 [+0.16] 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.62 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 128.82 [+0.20] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 128.82 [+0.00] src address and nexthop dev in same VRF # 129.02 [+0.19] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 129.11 [+0.10] TEST: Prefsrc in default VRF not removed [ OK ] # 129.50 [+0.39] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 129.60 [+0.10] TEST: Prefsrc in default VRF removed [ OK ] # 129.60 [+0.00] src address and nexthop device in different VRF # 129.79 [+0.18] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 129.89 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 130.13 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 130.23 [+0.10] TEST: Prefsrc removed in default VRF [ OK ] # 130.23 [+0.00] Table ID 0 # 130.40 [+0.17] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 130.40 [+0.00] Link local source route # 130.60 [+0.20] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.78 [+0.18] TEST: Prefsrc removed when delete ll addr [ OK ] # 130.87 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 131.10 [+0.24] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 132.56 [+1.46] # 132.56 [+0.00] IPv4 mangling tests # 140.09 [+7.53] TEST: Connection with correct parameters [ OK ] # 140.25 [+0.16] TEST: Connection with incorrect parameters [ OK ] # 141.25 [+0.99] TEST: Connection with correct parameters - mangling [ OK ] # 142.09 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 142.15 [+0.06] TEST: Connection check - server side [ OK ] # 144.11 [+1.97] # 144.11 [+0.00] IPv6 mangling tests # 151.46 [+7.34] TEST: Connection with correct parameters [ OK ] # 151.65 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 152.49 [+0.84] TEST: Connection with correct parameters - mangling [ OK ] # 153.35 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 153.42 [+0.06] TEST: Connection check - server side [ OK ] # 155.42 [+2.00] # 155.42 [+0.00] IPv4 broadcast neighbour tests # 157.62 [+2.20] TEST: Resolved neighbour for broadcast address [ OK ] # 157.71 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 157.80 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 157.89 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 159.73 [+1.84] # 159.73 [+0.00] Fib6 garbage collection test # 172.93 [+13.20] TEST: ipv6 route garbage collection [ OK ] # 186.36 [+13.43] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 199.81 [+13.45] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 213.34 [+13.52] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 227.60 [+14.26] TEST: ipv6 route garbage collection (RA message) [ OK ] # 228.35 [+0.76] # 228.35 [+0.00] IPv4 multipath list receive tests # 245.12 [+16.76] TEST: Multipath route hit ratio (1.00) [ OK ] # 246.91 [+1.79] # 246.91 [+0.00] IPv6 multipath list receive tests # 263.10 [+16.19] TEST: Multipath route hit ratio (1.00) [ OK ] # 264.86 [+1.76] # 264.86 [+0.00] Tests passed: 229 # 264.86 [+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__->