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.40 [+0.40] # 0.40 [+0.00] Single path route test # 1.31 [+0.91] Start point # 1.40 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.48 [+0.08] TEST: IPv6 fibmatch [ OK ] # 1.61 [+0.13] Nexthop device deleted # 1.71 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 1.79 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 2.34 [+0.55] # 2.34 [+0.00] Multipath route test # 4.06 [+1.73] Start point # 4.17 [+0.10] TEST: IPv4 fibmatch [ OK ] # 4.25 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.44 [+0.19] One nexthop device deleted # 4.53 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.63 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 4.78 [+0.15] Second nexthop device deleted # 4.86 [+0.09] TEST: IPv6 - no route [ OK ] # 5.43 [+0.57] # 5.43 [+0.00] Single path, admin down # 6.69 [+1.26] Start point # 6.78 [+0.09] TEST: IPv4 fibmatch [ OK ] # 6.87 [+0.09] TEST: IPv6 fibmatch [ OK ] # 6.97 [+0.10] Route deleted on down # 7.07 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.16 [+0.09] TEST: IPv6 fibmatch [ OK ] # 7.59 [+0.44] # 7.59 [+0.00] Admin down multipath # 9.30 [+1.71] Verify start point # 9.40 [+0.10] TEST: IPv4 fibmatch [ OK ] # 9.49 [+0.08] TEST: IPv6 fibmatch [ OK ] # 9.58 [+0.09] One device down, one up # 9.67 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 9.75 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 9.84 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 9.94 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 10.05 [+0.12] TEST: IPv4 flags on down device [ OK ] # 10.16 [+0.11] TEST: IPv6 flags on down device [ OK ] # 10.26 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.37 [+0.11] TEST: IPv6 flags on up device [ OK ] # 10.55 [+0.17] Other device down and up # 10.63 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.72 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.80 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.89 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 10.99 [+0.10] TEST: IPv4 flags on down device [ OK ] # 11.08 [+0.09] TEST: IPv6 flags on down device [ OK ] # 11.19 [+0.10] TEST: IPv4 flags on up device [ OK ] # 11.28 [+0.09] TEST: IPv6 flags on up device [ OK ] # 11.37 [+0.09] Both devices down # 11.45 [+0.08] TEST: IPv4 fibmatch [ OK ] # 11.55 [+0.10] TEST: IPv6 fibmatch [ OK ] # 12.11 [+0.56] # 12.11 [+0.00] Local carrier tests - single path # 13.41 [+1.30] Start point # 13.50 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.59 [+0.09] TEST: IPv6 fibmatch [ OK ] # 13.67 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 13.77 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 14.91 [+1.14] Carrier off on nexthop # 14.99 [+0.08] TEST: IPv4 fibmatch [ OK ] # 15.08 [+0.09] TEST: IPv6 fibmatch [ OK ] # 15.18 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 15.28 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 15.44 [+0.17] Route to local address with carrier down # 15.54 [+0.10] TEST: IPv4 fibmatch [ OK ] # 15.62 [+0.08] TEST: IPv6 fibmatch [ OK ] # 15.71 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 15.81 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 16.28 [+0.48] # 16.28 [+0.00] Single path route carrier test # 17.56 [+1.27] Start point # 17.65 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.74 [+0.09] TEST: IPv6 fibmatch [ OK ] # 17.83 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 17.92 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 19.06 [+1.14] Carrier down # 19.15 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.24 [+0.09] TEST: IPv6 fibmatch [ OK ] # 19.32 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 19.42 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 19.59 [+0.17] Second address added with carrier down # 19.68 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.77 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.87 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 19.95 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 24.42 [+4.47] # 24.42 [+0.00] IPv4 nexthop tests # 24.42 [+0.00] <<< write me >>> # 24.70 [+0.28] # 24.70 [+0.00] IPv6 nexthop tests # 24.82 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 24.93 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 25.04 [+0.12] TEST: Gateway is linklocal address [ OK ] # 25.17 [+0.13] TEST: Gateway is linklocal address, no device [ OK ] # 25.26 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 25.37 [+0.11] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.48 [+0.11] TEST: Gateway can not be a local linklocal address [ OK ] # 25.60 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 25.69 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 25.82 [+0.13] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 25.93 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 26.02 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 26.12 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 26.22 [+0.10] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 27.31 [+1.09] # 27.31 [+0.00] FIB rule with suppress_prefixlength # 29.27 [+1.96] TEST: FIB rule suppress test [ OK ] # 30.88 [+1.61] # 30.88 [+0.00] Fib6 info length calculation in route notify test # 35.09 [+4.21] TEST: ipv6 route add notify [ OK ] # 36.90 [+1.81] # 36.90 [+0.00] Fib4 info length calculation in route notify test # 41.09 [+4.19] TEST: ipv4 route add notify [ OK ] # 45.65 [+4.56] # 45.65 [+0.00] IPv6 route add / append tests # 46.03 [+0.38] TEST: Attempt to add duplicate route - gw [ OK ] # 46.39 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 46.77 [+0.38] TEST: Attempt to add duplicate route - reject route [ OK ] # 47.26 [+0.49] TEST: Append nexthop to existing route - gw [ OK ] # 47.65 [+0.39] TEST: Add multipath route [ OK ] # 48.05 [+0.40] TEST: Attempt to add duplicate multipath route [ OK ] # 48.51 [+0.46] TEST: Route add with different metrics [ OK ] # 48.70 [+0.19] TEST: Route delete with metric [ OK ] # 48.71 [+0.00] # 48.71 [+0.00] IPv6 route replace tests # 49.16 [+0.46] TEST: Single path with single path [ OK ] # 49.64 [+0.48] TEST: Single path with multipath [ OK ] # 50.10 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 50.58 [+0.48] TEST: Invalid nexthop [ OK ] # 50.95 [+0.37] TEST: Single path - replace of non-existent route [ OK ] # 51.48 [+0.53] TEST: Multipath with multipath [ OK ] # 51.94 [+0.46] TEST: Multipath with single path [ OK ] # 52.41 [+0.47] TEST: Multipath with single path via multipath attribute [ OK ] # 52.88 [+0.47] TEST: Multipath with dev-only [ OK ] # 53.35 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 53.83 [+0.48] TEST: Multipath - invalid second nexthop [ OK ] # 54.19 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 54.19 [+0.00] # 54.19 [+0.00] IPv6 route with dsfield tests # 54.39 [+0.20] TEST: Reject route with dsfield [ OK ] # 60.65 [+6.26] # 60.65 [+0.00] IPv4 route add / append tests # 61.03 [+0.38] TEST: Attempt to add duplicate route - gw [ OK ] # 61.39 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 61.76 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 62.25 [+0.49] TEST: Add new nexthop for existing prefix [ OK ] # 62.73 [+0.48] TEST: Append nexthop to existing route - gw [ OK ] # 63.22 [+0.48] TEST: Append nexthop to existing route - dev only [ OK ] # 63.73 [+0.51] TEST: Append nexthop to existing route - reject route [ OK ] # 64.11 [+0.38] TEST: Append nexthop to existing reject route - gw [ OK ] # 64.53 [+0.42] TEST: Append nexthop to existing reject route - dev only [ OK ] # 64.91 [+0.39] TEST: add multipath route [ OK ] # 65.31 [+0.40] TEST: Attempt to add duplicate multipath route [ OK ] # 65.76 [+0.46] TEST: Route add with different metrics [ OK ] # 65.96 [+0.20] TEST: Route delete with metric [ OK ] # 65.97 [+0.00] # 65.97 [+0.00] IPv4 route replace tests # 66.43 [+0.46] TEST: Single path with single path [ OK ] # 66.89 [+0.46] TEST: Single path with multipath [ OK ] # 67.37 [+0.48] TEST: Single path with reject route [ OK ] # 67.87 [+0.50] TEST: Single path with single path via multipath attribute [ OK ] # 68.40 [+0.52] TEST: Invalid nexthop [ OK ] # 68.78 [+0.38] TEST: Single path - replace of non-existent route [ OK ] # 69.35 [+0.57] TEST: Multipath with multipath [ OK ] # 69.95 [+0.60] TEST: Multipath with single path [ OK ] # 70.45 [+0.50] TEST: Multipath with single path via multipath attribute [ OK ] # 70.94 [+0.49] TEST: Multipath with reject route [ OK ] # 71.43 [+0.49] TEST: Multipath - invalid first nexthop [ OK ] # 71.94 [+0.51] TEST: Multipath - invalid second nexthop [ OK ] # 72.31 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 73.88 [+1.56] TEST: Cached route removed from VRF port device [ OK ] # 73.88 [+0.00] # 73.88 [+0.00] IPv4 route with dsfield tests # 74.09 [+0.21] TEST: Reject route with dsfield 0x01 [ OK ] # 74.20 [+0.11] TEST: Reject route with dsfield 0x02 [ OK ] # 74.29 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 74.59 [+0.30] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 74.68 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 74.78 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 74.89 [+0.11] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 74.99 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 75.08 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 75.18 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 75.28 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 75.38 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 75.45 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 75.53 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 75.61 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 77.40 [+1.79] # 77.40 [+0.00] IPv6 prefix route tests # 79.31 [+1.91] TEST: Default metric [ OK ] # 79.61 [+0.30] TEST: User specified metric on first device [ OK ] # 79.92 [+0.31] TEST: User specified metric on second device [ OK ] # 80.11 [+0.19] TEST: Delete of address on first device [ OK ] # 80.30 [+0.19] TEST: Modify metric of address [ OK ] # 80.60 [+0.30] TEST: Prefix route removed on link down [ OK ] # 80.79 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 81.08 [+0.29] TEST: Set metric with peer route on local side [ OK ] # 81.17 [+0.10] TEST: Set metric with peer route on peer side [ OK ] # 81.37 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 81.46 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 82.44 [+0.98] # 82.44 [+0.00] IPv4 prefix route tests # 84.34 [+1.90] TEST: Default metric [ OK ] # 84.62 [+0.28] TEST: User specified metric on first device [ OK ] # 84.91 [+0.29] TEST: User specified metric on second device [ OK ] # 85.10 [+0.18] TEST: Delete of address on first device [ OK ] # 85.29 [+0.19] TEST: Modify metric of address [ OK ] # 85.47 [+0.18] TEST: Prefix route removed on link down [ OK ] # 85.66 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 86.04 [+0.38] TEST: Modify metric of .0/24 address [ OK ] # 86.34 [+0.30] TEST: Set metric of address with peer route [ OK ] # 86.52 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 87.56 [+1.03] # 87.56 [+0.00] IPv6 routes with metrics # 92.23 [+4.68] TEST: Single path route with mtu metric [ OK ] # 92.52 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 92.82 [+0.30] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 93.02 [+0.20] TEST: MTU of second leg [ OK ] # 93.22 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 93.45 [+0.23] TEST: Using route with mtu metric [ OK ] # 93.62 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 95.37 [+1.75] # 95.37 [+0.00] IPv4 route add / append tests # 100.01 [+4.64] TEST: Single path route with mtu metric [ OK ] # 100.20 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 100.43 [+0.24] TEST: Using route with mtu metric [ OK ] # 100.59 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 102.33 [+1.73] # 102.33 [+0.00] IPv4 route with IPv6 gateway tests # 108.89 [+6.56] TEST: Single path route with IPv6 gateway [ OK ] # 109.13 [+0.24] TEST: Single path route with IPv6 gateway - ping [ OK ] # 109.24 [+0.11] TEST: Single path route delete [ OK ] # 109.43 [+0.19] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 109.62 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 109.72 [+0.10] TEST: Multipath route delete exact match [ OK ] # 109.81 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 110.02 [+0.21] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 110.12 [+0.10] TEST: Multipath route delete exact match [ OK ] # 111.99 [+1.87] # 111.99 [+0.00] IPv4 rp_filter tests # 118.17 [+6.18] TEST: rp_filter passes local packets [ OK ] # 118.31 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 119.08 [+0.77] # 119.08 [+0.00] IPv4 delete address route tests # 121.88 [+2.80] Regular FIB info # 122.04 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 122.12 [+0.08] TEST: Route in default VRF not removed [ OK ] # 122.46 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.56 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 122.56 [+0.00] Identical FIB info with different table ID # 122.72 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 122.81 [+0.09] TEST: Route in default VRF not removed [ OK ] # 123.16 [+0.35] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.26 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 123.26 [+0.00] Table ID 0 # 123.44 [+0.18] TEST: Route removed in default VRF when source address deleted [ OK ] # 124.43 [+1.00] # 124.43 [+0.00] IPv6 delete address route tests # 129.16 [+4.73] Single device using src address # 129.34 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 129.34 [+0.00] Two devices with the same source address # 129.50 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 129.67 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 129.67 [+0.00] VRF with single device using src address # 129.84 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 129.84 [+0.00] VRF with two devices using src address # 130.03 [+0.19] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 130.22 [+0.19] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 130.22 [+0.00] src address and nexthop dev in same VRF # 130.38 [+0.16] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 130.48 [+0.10] TEST: Prefsrc in default VRF not removed [ OK ] # 130.83 [+0.34] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 130.92 [+0.10] TEST: Prefsrc in default VRF removed [ OK ] # 130.93 [+0.00] src address and nexthop device in different VRF # 131.10 [+0.18] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 131.19 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 131.46 [+0.27] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 131.54 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 131.55 [+0.00] Table ID 0 # 131.72 [+0.17] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 131.72 [+0.00] Link local source route # 131.89 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 132.06 [+0.18] TEST: Prefsrc removed when delete ll addr [ OK ] # 132.15 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 132.42 [+0.27] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 133.96 [+1.55] # 133.96 [+0.00] IPv4 mangling tests # 141.84 [+7.88] TEST: Connection with correct parameters [ OK ] # 142.02 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 143.04 [+1.02] TEST: Connection with correct parameters - mangling [ OK ] # 143.90 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 143.97 [+0.07] TEST: Connection check - server side [ OK ] # 146.03 [+2.06] # 146.03 [+0.00] IPv6 mangling tests # 153.84 [+7.81] TEST: Connection with correct parameters [ OK ] # 154.05 [+0.21] TEST: Connection with incorrect parameters [ OK ] # 154.91 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 155.81 [+0.89] TEST: Connection with correct parameters - no mangling [ OK ] # 155.86 [+0.06] TEST: Connection check - server side [ OK ] # 157.94 [+2.08] # 157.94 [+0.00] IPv4 broadcast neighbour tests # 160.25 [+2.30] TEST: Resolved neighbour for broadcast address [ OK ] # 160.34 [+0.10] TEST: Resolved neighbour for network broadcast address [ OK ] # 160.45 [+0.11] TEST: Unresolved neighbour for broadcast address [ OK ] # 160.54 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 162.46 [+1.92] # 162.47 [+0.00] Fib6 garbage collection test # 175.69 [+13.22] TEST: ipv6 route garbage collection [ OK ] # 189.22 [+13.54] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 202.73 [+13.51] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 216.94 [+14.21] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 231.77 [+14.83] TEST: ipv6 route garbage collection (RA message) [ OK ] # 232.79 [+1.02] # 232.80 [+0.00] IPv4 multipath list receive tests # 248.83 [+16.03] TEST: Multipath route hit ratio (1.00) [ OK ] # 250.72 [+1.89] # 250.72 [+0.00] IPv6 multipath list receive tests # 264.75 [+14.03] TEST: Multipath route hit ratio (1.00) [ OK ] # 266.58 [+1.82] # 266.58 [+0.00] Tests passed: 229 # 266.58 [+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__->