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.38 [+0.38] # 0.39 [+0.00] Single path route test # 1.29 [+0.91] Start point # 1.43 [+0.13] TEST: IPv4 fibmatch [ OK ] # 1.52 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.70 [+0.18] Nexthop device deleted # 1.79 [+0.09] TEST: IPv4 fibmatch - no route [ OK ] # 1.93 [+0.14] TEST: IPv6 fibmatch - no route [ OK ] # 2.53 [+0.60] # 2.53 [+0.00] Multipath route test # 4.43 [+1.90] Start point # 4.51 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.60 [+0.09] TEST: IPv6 fibmatch [ OK ] # 4.71 [+0.11] One nexthop device deleted # 4.79 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.88 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 5.00 [+0.12] Second nexthop device deleted # 5.07 [+0.08] TEST: IPv6 - no route [ OK ] # 5.57 [+0.49] # 5.57 [+0.00] Single path, admin down # 6.64 [+1.07] Start point # 6.72 [+0.08] TEST: IPv4 fibmatch [ OK ] # 6.79 [+0.07] TEST: IPv6 fibmatch [ OK ] # 6.86 [+0.07] Route deleted on down # 6.94 [+0.08] TEST: IPv4 fibmatch [ OK ] # 7.02 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.44 [+0.42] # 7.44 [+0.00] Admin down multipath # 9.06 [+1.62] Verify start point # 9.13 [+0.07] TEST: IPv4 fibmatch [ OK ] # 9.23 [+0.10] TEST: IPv6 fibmatch [ OK ] # 9.31 [+0.08] One device down, one up # 9.38 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 9.49 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 9.58 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 9.68 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 9.79 [+0.12] TEST: IPv4 flags on down device [ OK ] # 9.89 [+0.10] TEST: IPv6 flags on down device [ OK ] # 10.00 [+0.11] TEST: IPv4 flags on up device [ OK ] # 10.13 [+0.12] TEST: IPv6 flags on up device [ OK ] # 10.31 [+0.19] Other device down and up # 10.41 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 10.51 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 10.60 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.71 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 10.87 [+0.16] TEST: IPv4 flags on down device [ OK ] # 10.97 [+0.10] TEST: IPv6 flags on down device [ OK ] # 11.10 [+0.13] TEST: IPv4 flags on up device [ OK ] # 11.23 [+0.13] TEST: IPv6 flags on up device [ OK ] # 11.35 [+0.12] Both devices down # 11.44 [+0.09] TEST: IPv4 fibmatch [ OK ] # 11.54 [+0.10] TEST: IPv6 fibmatch [ OK ] # 12.19 [+0.65] # 12.19 [+0.00] Local carrier tests - single path # 13.48 [+1.29] Start point # 13.57 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.65 [+0.09] TEST: IPv6 fibmatch [ OK ] # 13.73 [+0.07] TEST: IPv4 - no linkdown flag [ OK ] # 13.81 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 14.94 [+1.14] Carrier off on nexthop # 15.06 [+0.12] TEST: IPv4 fibmatch [ OK ] # 15.14 [+0.07] TEST: IPv6 fibmatch [ OK ] # 15.23 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 15.32 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 15.47 [+0.15] Route to local address with carrier down # 15.55 [+0.08] TEST: IPv4 fibmatch [ OK ] # 15.63 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.72 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 15.80 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 16.25 [+0.45] # 16.25 [+0.00] Single path route carrier test # 17.71 [+1.46] Start point # 17.83 [+0.12] TEST: IPv4 fibmatch [ OK ] # 17.91 [+0.07] TEST: IPv6 fibmatch [ OK ] # 17.99 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 18.09 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 19.25 [+1.16] Carrier down # 19.38 [+0.13] TEST: IPv4 fibmatch [ OK ] # 19.45 [+0.07] TEST: IPv6 fibmatch [ OK ] # 19.53 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 19.62 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 19.83 [+0.21] Second address added with carrier down # 19.93 [+0.10] TEST: IPv4 fibmatch [ OK ] # 20.03 [+0.09] TEST: IPv6 fibmatch [ OK ] # 20.13 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 20.21 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 24.58 [+4.37] # 24.58 [+0.00] IPv4 nexthop tests # 24.58 [+0.00] <<< write me >>> # 24.87 [+0.29] # 24.87 [+0.00] IPv6 nexthop tests # 25.01 [+0.14] TEST: Directly connected nexthop, unicast address [ OK ] # 25.14 [+0.13] TEST: Directly connected nexthop, unicast address with device [ OK ] # 25.28 [+0.14] TEST: Gateway is linklocal address [ OK ] # 25.41 [+0.13] TEST: Gateway is linklocal address, no device [ OK ] # 25.53 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 25.66 [+0.12] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.80 [+0.14] TEST: Gateway can not be a local linklocal address [ OK ] # 25.92 [+0.12] TEST: Gateway can be local address in a VRF [ OK ] # 26.07 [+0.15] TEST: Gateway can be local address in a VRF, with device [ OK ] # 26.22 [+0.15] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 26.38 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 26.49 [+0.11] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 26.59 [+0.11] TEST: VRF route, gateway can not be a local address [ OK ] # 26.71 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 27.72 [+1.01] # 27.72 [+0.00] FIB rule with suppress_prefixlength # 29.45 [+1.73] TEST: FIB rule suppress test [ OK ] # 30.97 [+1.52] # 30.97 [+0.00] Fib6 info length calculation in route notify test # 34.87 [+3.90] TEST: ipv6 route add notify [ OK ] # 36.42 [+1.55] # 36.42 [+0.00] Fib4 info length calculation in route notify test # 40.75 [+4.32] TEST: ipv4 route add notify [ OK ] # 45.17 [+4.42] # 45.17 [+0.00] IPv6 route add / append tests # 45.67 [+0.50] TEST: Attempt to add duplicate route - gw [ OK ] # 46.19 [+0.52] TEST: Attempt to add duplicate route - dev only [ OK ] # 46.70 [+0.51] TEST: Attempt to add duplicate route - reject route [ OK ] # 47.48 [+0.78] TEST: Append nexthop to existing route - gw [ OK ] # 48.06 [+0.58] TEST: Add multipath route [ OK ] # 48.64 [+0.57] TEST: Attempt to add duplicate multipath route [ OK ] # 49.28 [+0.64] TEST: Route add with different metrics [ OK ] # 49.53 [+0.25] TEST: Route delete with metric [ OK ] # 49.53 [+0.00] # 49.54 [+0.00] IPv6 route replace tests # 50.10 [+0.57] TEST: Single path with single path [ OK ] # 50.63 [+0.53] TEST: Single path with multipath [ OK ] # 51.14 [+0.51] TEST: Single path with single path via multipath attribute [ OK ] # 51.71 [+0.57] TEST: Invalid nexthop [ OK ] # 52.22 [+0.51] TEST: Single path - replace of non-existent route [ OK ] # 52.73 [+0.51] TEST: Multipath with multipath [ OK ] # 53.27 [+0.54] TEST: Multipath with single path [ OK ] # 53.73 [+0.46] TEST: Multipath with single path via multipath attribute [ OK ] # 54.19 [+0.46] TEST: Multipath with dev-only [ OK ] # 54.66 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 55.12 [+0.46] TEST: Multipath - invalid second nexthop [ OK ] # 55.46 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 55.47 [+0.00] # 55.47 [+0.00] IPv6 route with dsfield tests # 55.65 [+0.18] TEST: Reject route with dsfield [ OK ] # 61.49 [+5.84] # 61.49 [+0.00] IPv4 route add / append tests # 61.83 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 62.18 [+0.34] TEST: Attempt to add duplicate route - dev only [ OK ] # 62.52 [+0.34] TEST: Attempt to add duplicate route - reject route [ OK ] # 62.95 [+0.43] TEST: Add new nexthop for existing prefix [ OK ] # 63.39 [+0.44] TEST: Append nexthop to existing route - gw [ OK ] # 63.81 [+0.42] TEST: Append nexthop to existing route - dev only [ OK ] # 64.26 [+0.44] TEST: Append nexthop to existing route - reject route [ OK ] # 64.60 [+0.34] TEST: Append nexthop to existing reject route - gw [ OK ] # 64.96 [+0.36] TEST: Append nexthop to existing reject route - dev only [ OK ] # 65.30 [+0.34] TEST: add multipath route [ OK ] # 65.65 [+0.34] TEST: Attempt to add duplicate multipath route [ OK ] # 66.07 [+0.42] TEST: Route add with different metrics [ OK ] # 66.26 [+0.19] TEST: Route delete with metric [ OK ] # 66.27 [+0.00] # 66.27 [+0.00] IPv4 route replace tests # 66.68 [+0.42] TEST: Single path with single path [ OK ] # 67.12 [+0.44] TEST: Single path with multipath [ OK ] # 67.56 [+0.44] TEST: Single path with reject route [ OK ] # 67.99 [+0.43] TEST: Single path with single path via multipath attribute [ OK ] # 68.43 [+0.44] TEST: Invalid nexthop [ OK ] # 68.76 [+0.33] TEST: Single path - replace of non-existent route [ OK ] # 69.19 [+0.44] TEST: Multipath with multipath [ OK ] # 69.63 [+0.44] TEST: Multipath with single path [ OK ] # 70.07 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 70.52 [+0.44] TEST: Multipath with reject route [ OK ] # 70.94 [+0.43] TEST: Multipath - invalid first nexthop [ OK ] # 71.39 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 71.74 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 73.14 [+1.40] TEST: Cached route removed from VRF port device [ OK ] # 73.14 [+0.00] # 73.14 [+0.00] IPv4 route with dsfield tests # 73.33 [+0.19] TEST: Reject route with dsfield 0x01 [ OK ] # 73.42 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 73.50 [+0.08] TEST: Reject route with dsfield 0x03 [ OK ] # 73.76 [+0.26] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 73.85 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 73.94 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 74.03 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 74.10 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 74.19 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 74.29 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 74.38 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 74.48 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 74.55 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 74.64 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 74.72 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 76.48 [+1.75] # 76.48 [+0.00] IPv6 prefix route tests # 78.37 [+1.89] TEST: Default metric [ OK ] # 78.67 [+0.30] TEST: User specified metric on first device [ OK ] # 78.95 [+0.28] TEST: User specified metric on second device [ OK ] # 79.14 [+0.19] TEST: Delete of address on first device [ OK ] # 79.32 [+0.18] TEST: Modify metric of address [ OK ] # 79.61 [+0.29] TEST: Prefix route removed on link down [ OK ] # 79.80 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 80.07 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 80.15 [+0.08] TEST: Set metric with peer route on peer side [ OK ] # 80.36 [+0.21] TEST: Modify metric and peer address on local side [ OK ] # 80.45 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 81.41 [+0.96] # 81.41 [+0.00] IPv4 prefix route tests # 83.14 [+1.73] TEST: Default metric [ OK ] # 83.41 [+0.27] TEST: User specified metric on first device [ OK ] # 83.68 [+0.26] TEST: User specified metric on second device [ OK ] # 83.86 [+0.18] TEST: Delete of address on first device [ OK ] # 84.04 [+0.18] TEST: Modify metric of address [ OK ] # 84.20 [+0.17] TEST: Prefix route removed on link down [ OK ] # 84.39 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 84.74 [+0.35] TEST: Modify metric of .0/24 address [ OK ] # 85.02 [+0.29] TEST: Set metric of address with peer route [ OK ] # 85.20 [+0.18] TEST: Modify metric and peer address for peer route [ OK ] # 86.14 [+0.94] # 86.14 [+0.00] IPv6 routes with metrics # 90.62 [+4.49] TEST: Single path route with mtu metric [ OK ] # 90.89 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 91.18 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 91.35 [+0.18] TEST: MTU of second leg [ OK ] # 91.54 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 91.76 [+0.22] TEST: Using route with mtu metric [ OK ] # 91.91 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 93.58 [+1.67] # 93.58 [+0.00] IPv4 route add / append tests # 97.91 [+4.33] TEST: Single path route with mtu metric [ OK ] # 98.10 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 98.30 [+0.21] TEST: Using route with mtu metric [ OK ] # 98.47 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 100.10 [+1.63] # 100.10 [+0.00] IPv4 route with IPv6 gateway tests # 106.61 [+6.51] TEST: Single path route with IPv6 gateway [ OK ] # 106.88 [+0.27] TEST: Single path route with IPv6 gateway - ping [ OK ] # 106.99 [+0.11] TEST: Single path route delete [ OK ] # 107.23 [+0.24] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 107.42 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 107.50 [+0.08] TEST: Multipath route delete exact match [ OK ] # 107.61 [+0.11] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 107.78 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 107.87 [+0.09] TEST: Multipath route delete exact match [ OK ] # 109.51 [+1.64] # 109.51 [+0.00] IPv4 rp_filter tests # 115.40 [+5.88] TEST: rp_filter passes local packets [ OK ] # 115.53 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 116.31 [+0.79] # 116.31 [+0.00] IPv4 delete address route tests # 119.16 [+2.85] Regular FIB info # 119.31 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 119.40 [+0.08] TEST: Route in default VRF not removed [ OK ] # 119.73 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 119.81 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 119.81 [+0.00] Identical FIB info with different table ID # 119.96 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 120.03 [+0.07] TEST: Route in default VRF not removed [ OK ] # 120.39 [+0.36] TEST: Route removed in default VRF when source address deleted [ OK ] # 120.47 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 120.47 [+0.00] Table ID 0 # 120.63 [+0.16] TEST: Route removed in default VRF when source address deleted [ OK ] # 121.70 [+1.07] # 121.70 [+0.00] IPv6 delete address route tests # 126.13 [+4.43] Single device using src address # 126.29 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 126.29 [+0.00] Two devices with the same source address # 126.48 [+0.19] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 126.67 [+0.19] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 126.67 [+0.00] VRF with single device using src address # 126.86 [+0.19] TEST: Prefsrc removed when src address removed on other device [ OK ] # 126.86 [+0.00] VRF with two devices using src address # 127.05 [+0.19] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 127.25 [+0.20] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 127.25 [+0.00] src address and nexthop dev in same VRF # 127.45 [+0.20] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 127.54 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 127.89 [+0.35] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 127.96 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 127.96 [+0.00] src address and nexthop device in different VRF # 128.12 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 128.20 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 128.42 [+0.22] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 128.51 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 128.51 [+0.00] Table ID 0 # 128.67 [+0.15] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 128.67 [+0.00] Link local source route # 128.81 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 128.97 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 129.04 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 129.27 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 130.65 [+1.37] # 130.65 [+0.00] IPv4 mangling tests # 138.31 [+7.66] TEST: Connection with correct parameters [ OK ] # 138.51 [+0.20] TEST: Connection with incorrect parameters [ OK ] # 139.56 [+1.05] TEST: Connection with correct parameters - mangling [ OK ] # 140.50 [+0.93] TEST: Connection with correct parameters - no mangling [ OK ] # 140.55 [+0.05] TEST: Connection check - server side [ OK ] # 142.36 [+1.82] # 142.36 [+0.00] IPv6 mangling tests # 149.64 [+7.28] TEST: Connection with correct parameters [ OK ] # 149.83 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 150.74 [+0.90] TEST: Connection with correct parameters - mangling [ OK ] # 151.60 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 151.67 [+0.07] TEST: Connection check - server side [ OK ] # 153.56 [+1.89] # 153.56 [+0.00] IPv4 broadcast neighbour tests # 156.09 [+2.53] TEST: Resolved neighbour for broadcast address [ OK ] # 156.26 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 156.35 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 156.53 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 158.84 [+2.32] # 158.84 [+0.00] Fib6 garbage collection test # 172.01 [+13.17] TEST: ipv6 route garbage collection [ OK ] # 185.37 [+13.36] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 199.33 [+13.96] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 213.01 [+13.68] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 227.31 [+14.30] TEST: ipv6 route garbage collection (RA message) [ OK ] # 227.99 [+0.68] # 227.99 [+0.00] IPv4 multipath list receive tests # 246.34 [+18.34] TEST: Multipath route hit ratio (1.00) [ OK ] # 248.14 [+1.81] # 248.14 [+0.00] IPv6 multipath list receive tests # 265.51 [+17.37] TEST: Multipath route hit ratio (1.00) [ OK ] # 267.25 [+1.74] # 267.25 [+0.00] Tests passed: 229 # 267.25 [+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__->