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.45 [+1.04] Start point # 1.52 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.62 [+0.09] TEST: IPv6 fibmatch [ OK ] # 1.77 [+0.15] Nexthop device deleted # 1.85 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.94 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.61 [+0.67] # 2.61 [+0.00] Multipath route test # 4.65 [+2.04] Start point # 4.76 [+0.11] TEST: IPv4 fibmatch [ OK ] # 4.90 [+0.14] TEST: IPv6 fibmatch [ OK ] # 5.04 [+0.14] One nexthop device deleted # 5.15 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.25 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 5.41 [+0.16] Second nexthop device deleted # 5.53 [+0.12] TEST: IPv6 - no route [ OK ] # 6.14 [+0.61] # 6.14 [+0.00] Single path, admin down # 7.39 [+1.25] Start point # 7.46 [+0.08] TEST: IPv4 fibmatch [ OK ] # 7.55 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.63 [+0.08] Route deleted on down # 7.71 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.79 [+0.08] TEST: IPv6 fibmatch [ OK ] # 8.32 [+0.53] # 8.32 [+0.00] Admin down multipath # 10.02 [+1.70] Verify start point # 10.11 [+0.09] TEST: IPv4 fibmatch [ OK ] # 10.22 [+0.12] TEST: IPv6 fibmatch [ OK ] # 10.32 [+0.10] One device down, one up # 10.43 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 10.54 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 10.63 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.71 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 10.82 [+0.11] TEST: IPv4 flags on down device [ OK ] # 10.92 [+0.10] TEST: IPv6 flags on down device [ OK ] # 11.02 [+0.10] TEST: IPv4 flags on up device [ OK ] # 11.13 [+0.10] TEST: IPv6 flags on up device [ OK ] # 11.29 [+0.16] Other device down and up # 11.37 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 11.46 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 11.55 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 11.63 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 11.74 [+0.11] TEST: IPv4 flags on down device [ OK ] # 11.85 [+0.11] TEST: IPv6 flags on down device [ OK ] # 11.95 [+0.10] TEST: IPv4 flags on up device [ OK ] # 12.05 [+0.10] TEST: IPv6 flags on up device [ OK ] # 12.14 [+0.09] Both devices down # 12.21 [+0.08] TEST: IPv4 fibmatch [ OK ] # 12.29 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.83 [+0.54] # 12.83 [+0.00] Local carrier tests - single path # 14.05 [+1.22] Start point # 14.14 [+0.09] TEST: IPv4 fibmatch [ OK ] # 14.23 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.31 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 14.40 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 15.54 [+1.13] Carrier off on nexthop # 15.63 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.71 [+0.09] TEST: IPv6 fibmatch [ OK ] # 15.80 [+0.08] TEST: IPv4 - linkdown flag set [ OK ] # 15.89 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 16.06 [+0.17] Route to local address with carrier down # 16.14 [+0.08] TEST: IPv4 fibmatch [ OK ] # 16.23 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.31 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 16.42 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 16.85 [+0.43] # 16.85 [+0.00] Single path route carrier test # 18.05 [+1.20] Start point # 18.12 [+0.07] TEST: IPv4 fibmatch [ OK ] # 18.21 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.29 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 18.38 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 19.51 [+1.13] Carrier down # 19.60 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.68 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.77 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 19.86 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 20.02 [+0.15] Second address added with carrier down # 20.11 [+0.09] TEST: IPv4 fibmatch [ OK ] # 20.19 [+0.08] TEST: IPv6 fibmatch [ OK ] # 20.26 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 20.33 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 24.40 [+4.07] # 24.40 [+0.00] IPv4 nexthop tests # 24.40 [+0.00] <<< write me >>> # 24.64 [+0.24] # 24.64 [+0.00] IPv6 nexthop tests # 24.75 [+0.11] TEST: Directly connected nexthop, unicast address [ OK ] # 24.84 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.94 [+0.10] TEST: Gateway is linklocal address [ OK ] # 25.05 [+0.11] TEST: Gateway is linklocal address, no device [ OK ] # 25.16 [+0.11] TEST: Gateway can not be local unicast address [ OK ] # 25.26 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.36 [+0.11] TEST: Gateway can not be a local linklocal address [ OK ] # 25.47 [+0.10] TEST: Gateway can be local address in a VRF [ OK ] # 25.56 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 25.65 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 25.76 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 25.85 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.95 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 26.06 [+0.11] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 27.05 [+0.99] # 27.06 [+0.00] FIB rule with suppress_prefixlength # 28.85 [+1.79] TEST: FIB rule suppress test [ OK ] # 30.45 [+1.61] # 30.46 [+0.00] Fib6 info length calculation in route notify test # 34.47 [+4.02] TEST: ipv6 route add notify [ OK ] # 36.09 [+1.62] # 36.09 [+0.00] Fib4 info length calculation in route notify test # 40.02 [+3.93] TEST: ipv4 route add notify [ OK ] # 44.43 [+4.41] # 44.43 [+0.00] IPv6 route add / append tests # 44.78 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 45.12 [+0.35] TEST: Attempt to add duplicate route - dev only [ OK ] # 45.50 [+0.38] TEST: Attempt to add duplicate route - reject route [ OK ] # 45.97 [+0.47] TEST: Append nexthop to existing route - gw [ OK ] # 46.35 [+0.38] TEST: Add multipath route [ OK ] # 46.71 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 47.13 [+0.41] TEST: Route add with different metrics [ OK ] # 47.32 [+0.19] TEST: Route delete with metric [ OK ] # 47.32 [+0.00] # 47.32 [+0.00] IPv6 route replace tests # 47.76 [+0.43] TEST: Single path with single path [ OK ] # 48.20 [+0.45] TEST: Single path with multipath [ OK ] # 48.64 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 49.06 [+0.42] TEST: Invalid nexthop [ OK ] # 49.42 [+0.36] TEST: Single path - replace of non-existent route [ OK ] # 49.85 [+0.43] TEST: Multipath with multipath [ OK ] # 50.30 [+0.45] TEST: Multipath with single path [ OK ] # 50.75 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 51.18 [+0.43] TEST: Multipath with dev-only [ OK ] # 51.63 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 52.08 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 52.43 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 52.43 [+0.00] # 52.43 [+0.00] IPv6 route with dsfield tests # 52.62 [+0.19] TEST: Reject route with dsfield [ OK ] # 58.74 [+6.12] # 58.74 [+0.00] IPv4 route add / append tests # 59.08 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 59.44 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 59.85 [+0.40] TEST: Attempt to add duplicate route - reject route [ OK ] # 60.27 [+0.43] TEST: Add new nexthop for existing prefix [ OK ] # 60.71 [+0.43] TEST: Append nexthop to existing route - gw [ OK ] # 61.14 [+0.43] TEST: Append nexthop to existing route - dev only [ OK ] # 61.56 [+0.43] TEST: Append nexthop to existing route - reject route [ OK ] # 61.91 [+0.34] TEST: Append nexthop to existing reject route - gw [ OK ] # 62.26 [+0.35] TEST: Append nexthop to existing reject route - dev only [ OK ] # 62.60 [+0.34] TEST: add multipath route [ OK ] # 62.93 [+0.33] TEST: Attempt to add duplicate multipath route [ OK ] # 63.37 [+0.45] TEST: Route add with different metrics [ OK ] # 63.55 [+0.18] TEST: Route delete with metric [ OK ] # 63.55 [+0.00] # 63.55 [+0.00] IPv4 route replace tests # 63.98 [+0.43] TEST: Single path with single path [ OK ] # 64.41 [+0.44] TEST: Single path with multipath [ OK ] # 64.85 [+0.43] TEST: Single path with reject route [ OK ] # 65.30 [+0.45] TEST: Single path with single path via multipath attribute [ OK ] # 65.71 [+0.42] TEST: Invalid nexthop [ OK ] # 66.06 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 66.50 [+0.44] TEST: Multipath with multipath [ OK ] # 66.91 [+0.41] TEST: Multipath with single path [ OK ] # 67.35 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 67.77 [+0.42] TEST: Multipath with reject route [ OK ] # 68.20 [+0.43] TEST: Multipath - invalid first nexthop [ OK ] # 68.63 [+0.43] TEST: Multipath - invalid second nexthop [ OK ] # 68.96 [+0.33] TEST: Multipath - replace of non-existent route [ OK ] # 70.33 [+1.37] TEST: Cached route removed from VRF port device [ OK ] # 70.33 [+0.00] # 70.33 [+0.00] IPv4 route with dsfield tests # 70.51 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 70.60 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 70.68 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 70.93 [+0.25] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 71.02 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 71.09 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 71.18 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 71.25 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 71.33 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 71.40 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 71.48 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 71.56 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 71.63 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 71.72 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 71.81 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 73.44 [+1.64] # 73.44 [+0.00] IPv6 prefix route tests # 75.20 [+1.76] TEST: Default metric [ OK ] # 75.47 [+0.27] TEST: User specified metric on first device [ OK ] # 75.74 [+0.27] TEST: User specified metric on second device [ OK ] # 75.92 [+0.17] TEST: Delete of address on first device [ OK ] # 76.08 [+0.16] TEST: Modify metric of address [ OK ] # 76.39 [+0.31] TEST: Prefix route removed on link down [ OK ] # 76.57 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 76.83 [+0.26] TEST: Set metric with peer route on local side [ OK ] # 76.91 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 77.08 [+0.16] TEST: Modify metric and peer address on local side [ OK ] # 77.16 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 78.11 [+0.95] # 78.11 [+0.00] IPv4 prefix route tests # 79.89 [+1.78] TEST: Default metric [ OK ] # 80.16 [+0.27] TEST: User specified metric on first device [ OK ] # 80.43 [+0.27] TEST: User specified metric on second device [ OK ] # 80.61 [+0.18] TEST: Delete of address on first device [ OK ] # 80.79 [+0.18] TEST: Modify metric of address [ OK ] # 80.96 [+0.17] TEST: Prefix route removed on link down [ OK ] # 81.15 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 81.50 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 81.77 [+0.27] TEST: Set metric of address with peer route [ OK ] # 81.96 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 82.88 [+0.92] # 82.88 [+0.00] IPv6 routes with metrics # 87.29 [+4.41] TEST: Single path route with mtu metric [ OK ] # 87.56 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 87.83 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 88.01 [+0.18] TEST: MTU of second leg [ OK ] # 88.20 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 88.47 [+0.27] TEST: Using route with mtu metric [ OK ] # 88.62 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 90.25 [+1.63] # 90.25 [+0.00] IPv4 route add / append tests # 94.64 [+4.38] TEST: Single path route with mtu metric [ OK ] # 94.81 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 95.02 [+0.21] TEST: Using route with mtu metric [ OK ] # 95.18 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 96.86 [+1.68] # 96.86 [+0.00] IPv4 route with IPv6 gateway tests # 103.19 [+6.33] TEST: Single path route with IPv6 gateway [ OK ] # 103.43 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 103.52 [+0.10] TEST: Single path route delete [ OK ] # 103.69 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 103.86 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 103.95 [+0.09] TEST: Multipath route delete exact match [ OK ] # 104.05 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 104.24 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 104.33 [+0.09] TEST: Multipath route delete exact match [ OK ] # 106.04 [+1.71] # 106.04 [+0.00] IPv4 rp_filter tests # 111.75 [+5.70] TEST: rp_filter passes local packets [ OK ] # 111.90 [+0.15] TEST: rp_filter passes loopback packets [ OK ] # 112.63 [+0.73] # 112.63 [+0.00] IPv4 delete address route tests # 115.29 [+2.65] Regular FIB info # 115.45 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 115.54 [+0.09] TEST: Route in default VRF not removed [ OK ] # 115.86 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 115.95 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 115.95 [+0.00] Identical FIB info with different table ID # 116.11 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 116.22 [+0.11] TEST: Route in default VRF not removed [ OK ] # 116.53 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 116.62 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 116.62 [+0.00] Table ID 0 # 116.79 [+0.17] TEST: Route removed in default VRF when source address deleted [ OK ] # 117.74 [+0.96] # 117.74 [+0.00] IPv6 delete address route tests # 122.22 [+4.47] Single device using src address # 122.36 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 122.37 [+0.00] Two devices with the same source address # 122.53 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 122.69 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 122.69 [+0.00] VRF with single device using src address # 122.85 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 122.85 [+0.00] VRF with two devices using src address # 122.99 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 123.17 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 123.17 [+0.00] src address and nexthop dev in same VRF # 123.33 [+0.16] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 123.41 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 123.73 [+0.32] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 123.82 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 123.82 [+0.00] src address and nexthop device in different VRF # 123.98 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 124.06 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 124.30 [+0.24] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 124.40 [+0.10] TEST: Prefsrc removed in default VRF [ OK ] # 124.40 [+0.00] Table ID 0 # 124.58 [+0.18] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 124.58 [+0.00] Link local source route # 124.76 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 124.92 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 125.00 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 125.25 [+0.25] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 126.71 [+1.46] # 126.72 [+0.00] IPv4 mangling tests # 134.24 [+7.52] TEST: Connection with correct parameters [ OK ] # 134.40 [+0.16] TEST: Connection with incorrect parameters [ OK ] # 135.40 [+1.00] TEST: Connection with correct parameters - mangling [ OK ] # 136.25 [+0.84] TEST: Connection with correct parameters - no mangling [ OK ] # 136.31 [+0.07] TEST: Connection check - server side [ OK ] # 138.28 [+1.97] # 138.29 [+0.00] IPv6 mangling tests # 145.60 [+7.32] TEST: Connection with correct parameters [ OK ] # 145.78 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 146.64 [+0.85] TEST: Connection with correct parameters - mangling [ OK ] # 147.49 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 147.56 [+0.07] TEST: Connection check - server side [ OK ] # 149.52 [+1.95] # 149.52 [+0.00] IPv4 broadcast neighbour tests # 151.70 [+2.19] TEST: Resolved neighbour for broadcast address [ OK ] # 151.80 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 151.88 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 151.97 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 153.76 [+1.79] # 153.76 [+0.00] Fib6 garbage collection test # 166.91 [+13.15] TEST: ipv6 route garbage collection [ OK ] # 180.33 [+13.42] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 193.68 [+13.35] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 207.15 [+13.47] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 221.37 [+14.22] TEST: ipv6 route garbage collection (RA message) [ OK ] # 222.10 [+0.73] # 222.10 [+0.00] IPv4 multipath list receive tests # 238.47 [+16.37] TEST: Multipath route hit ratio (1.00) [ OK ] # 240.22 [+1.75] # 240.22 [+0.00] IPv6 multipath list receive tests # 256.42 [+16.20] TEST: Multipath route hit ratio (1.00) [ OK ] # 258.20 [+1.78] # 258.20 [+0.00] Tests passed: 229 # 258.20 [+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__->