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.32 [+0.32] # 0.32 [+0.00] Single path route test # 1.06 [+0.74] Start point # 1.13 [+0.07] TEST: IPv4 fibmatch [ OK ] # 1.19 [+0.06] TEST: IPv6 fibmatch [ OK ] # 1.31 [+0.12] Nexthop device deleted # 1.38 [+0.07] TEST: IPv4 fibmatch - no route [ OK ] # 1.44 [+0.06] TEST: IPv6 fibmatch - no route [ OK ] # 1.90 [+0.46] # 1.90 [+0.00] Multipath route test # 3.23 [+1.34] Start point # 3.30 [+0.07] TEST: IPv4 fibmatch [ OK ] # 3.37 [+0.07] TEST: IPv6 fibmatch [ OK ] # 3.46 [+0.09] One nexthop device deleted # 3.54 [+0.07] TEST: IPv4 - multipath route removed on delete [ OK ] # 3.60 [+0.06] TEST: IPv6 - multipath down to single path [ OK ] # 3.71 [+0.11] Second nexthop device deleted # 3.78 [+0.07] TEST: IPv6 - no route [ OK ] # 4.23 [+0.45] # 4.23 [+0.00] Single path, admin down # 5.14 [+0.91] Start point # 5.21 [+0.06] TEST: IPv4 fibmatch [ OK ] # 5.27 [+0.07] TEST: IPv6 fibmatch [ OK ] # 5.35 [+0.07] Route deleted on down # 5.42 [+0.08] TEST: IPv4 fibmatch [ OK ] # 5.49 [+0.07] TEST: IPv6 fibmatch [ OK ] # 5.86 [+0.37] # 5.86 [+0.00] Admin down multipath # 7.21 [+1.34] Verify start point # 7.28 [+0.07] TEST: IPv4 fibmatch [ OK ] # 7.35 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.42 [+0.07] One device down, one up # 7.49 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 7.55 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 7.62 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 7.70 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 7.78 [+0.08] TEST: IPv4 flags on down device [ OK ] # 7.87 [+0.08] TEST: IPv6 flags on down device [ OK ] # 7.94 [+0.07] TEST: IPv4 flags on up device [ OK ] # 8.01 [+0.08] TEST: IPv6 flags on up device [ OK ] # 8.17 [+0.16] Other device down and up # 8.24 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 8.31 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 8.38 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 8.45 [+0.06] TEST: IPv6 fibmatch on up device [ OK ] # 8.53 [+0.08] TEST: IPv4 flags on down device [ OK ] # 8.61 [+0.08] TEST: IPv6 flags on down device [ OK ] # 8.69 [+0.08] TEST: IPv4 flags on up device [ OK ] # 8.76 [+0.07] TEST: IPv6 flags on up device [ OK ] # 8.83 [+0.06] Both devices down # 8.89 [+0.07] TEST: IPv4 fibmatch [ OK ] # 8.96 [+0.07] TEST: IPv6 fibmatch [ OK ] # 9.45 [+0.48] # 9.45 [+0.00] Local carrier tests - single path # 10.46 [+1.01] Start point # 10.53 [+0.07] TEST: IPv4 fibmatch [ OK ] # 10.60 [+0.07] TEST: IPv6 fibmatch [ OK ] # 10.67 [+0.07] TEST: IPv4 - no linkdown flag [ OK ] # 10.73 [+0.07] TEST: IPv6 - no linkdown flag [ OK ] # 11.85 [+1.11] Carrier off on nexthop # 11.93 [+0.08] TEST: IPv4 fibmatch [ OK ] # 11.99 [+0.07] TEST: IPv6 fibmatch [ OK ] # 12.07 [+0.07] TEST: IPv4 - linkdown flag set [ OK ] # 12.15 [+0.08] TEST: IPv6 - linkdown flag set [ OK ] # 12.28 [+0.13] Route to local address with carrier down # 12.35 [+0.07] TEST: IPv4 fibmatch [ OK ] # 12.42 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.49 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 12.55 [+0.06] TEST: IPv6 linkdown flag set [ OK ] # 12.92 [+0.37] # 12.92 [+0.00] Single path route carrier test # 13.93 [+1.01] Start point # 14.01 [+0.07] TEST: IPv4 fibmatch [ OK ] # 14.08 [+0.07] TEST: IPv6 fibmatch [ OK ] # 14.15 [+0.07] TEST: IPv4 no linkdown flag [ OK ] # 14.23 [+0.07] TEST: IPv6 no linkdown flag [ OK ] # 15.34 [+1.12] Carrier down # 15.42 [+0.08] TEST: IPv4 fibmatch [ OK ] # 15.48 [+0.06] TEST: IPv6 fibmatch [ OK ] # 15.56 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 15.63 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 15.78 [+0.14] Second address added with carrier down # 15.84 [+0.06] TEST: IPv4 fibmatch [ OK ] # 15.91 [+0.07] TEST: IPv6 fibmatch [ OK ] # 15.98 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 16.06 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 19.74 [+3.68] # 19.74 [+0.00] IPv4 nexthop tests # 19.74 [+0.00] <<< write me >>> # 19.95 [+0.21] # 19.95 [+0.00] IPv6 nexthop tests # 20.02 [+0.07] TEST: Directly connected nexthop, unicast address [ OK ] # 20.10 [+0.08] TEST: Directly connected nexthop, unicast address with device [ OK ] # 20.18 [+0.08] TEST: Gateway is linklocal address [ OK ] # 20.26 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 20.33 [+0.08] TEST: Gateway can not be local unicast address [ OK ] # 20.41 [+0.08] TEST: Gateway can not be local unicast address, with device [ OK ] # 20.49 [+0.07] TEST: Gateway can not be a local linklocal address [ OK ] # 20.56 [+0.07] TEST: Gateway can be local address in a VRF [ OK ] # 20.64 [+0.08] TEST: Gateway can be local address in a VRF, with device [ OK ] # 20.72 [+0.08] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 20.79 [+0.08] TEST: Redirect to VRF lookup [ OK ] # 20.88 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 20.96 [+0.08] TEST: VRF route, gateway can not be a local address [ OK ] # 21.03 [+0.08] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 21.93 [+0.89] # 21.93 [+0.00] FIB rule with suppress_prefixlength # 23.38 [+1.45] TEST: FIB rule suppress test [ OK ] # 24.68 [+1.30] # 24.68 [+0.00] Fib6 info length calculation in route notify test # 28.29 [+3.61] TEST: ipv6 route add notify [ OK ] # 29.63 [+1.34] # 29.63 [+0.00] Fib4 info length calculation in route notify test # 33.26 [+3.62] TEST: ipv4 route add notify [ OK ] # 36.92 [+3.66] # 36.92 [+0.00] IPv6 route add / append tests # 37.25 [+0.33] TEST: Attempt to add duplicate route - gw [ OK ] # 37.55 [+0.30] TEST: Attempt to add duplicate route - dev only [ OK ] # 37.85 [+0.30] TEST: Attempt to add duplicate route - reject route [ OK ] # 38.25 [+0.39] TEST: Append nexthop to existing route - gw [ OK ] # 38.55 [+0.30] TEST: Add multipath route [ OK ] # 38.85 [+0.30] TEST: Attempt to add duplicate multipath route [ OK ] # 39.22 [+0.37] TEST: Route add with different metrics [ OK ] # 39.38 [+0.16] TEST: Route delete with metric [ OK ] # 39.38 [+0.00] # 39.38 [+0.00] IPv6 route replace tests # 39.76 [+0.37] TEST: Single path with single path [ OK ] # 40.14 [+0.38] TEST: Single path with multipath [ OK ] # 40.56 [+0.42] TEST: Single path with single path via multipath attribute [ OK ] # 40.96 [+0.40] TEST: Invalid nexthop [ OK ] # 41.31 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 41.85 [+0.54] TEST: Multipath with multipath [ OK ] # 42.34 [+0.49] TEST: Multipath with single path [ OK ] # 42.85 [+0.51] TEST: Multipath with single path via multipath attribute [ OK ] # 43.27 [+0.42] TEST: Multipath with dev-only [ OK ] # 43.68 [+0.42] TEST: Multipath - invalid first nexthop [ OK ] # 44.11 [+0.43] TEST: Multipath - invalid second nexthop [ OK ] # 44.43 [+0.32] TEST: Multipath - replace of non-existent route [ OK ] # 44.43 [+0.00] # 44.43 [+0.00] IPv6 route with dsfield tests # 44.59 [+0.16] TEST: Reject route with dsfield [ OK ] # 49.85 [+5.26] # 49.85 [+0.00] IPv4 route add / append tests # 50.15 [+0.30] TEST: Attempt to add duplicate route - gw [ OK ] # 50.46 [+0.30] TEST: Attempt to add duplicate route - dev only [ OK ] # 50.76 [+0.30] TEST: Attempt to add duplicate route - reject route [ OK ] # 51.15 [+0.39] TEST: Add new nexthop for existing prefix [ OK ] # 51.52 [+0.37] TEST: Append nexthop to existing route - gw [ OK ] # 51.92 [+0.40] TEST: Append nexthop to existing route - dev only [ OK ] # 52.30 [+0.38] TEST: Append nexthop to existing route - reject route [ OK ] # 52.61 [+0.31] TEST: Append nexthop to existing reject route - gw [ OK ] # 52.91 [+0.31] TEST: Append nexthop to existing reject route - dev only [ OK ] # 53.23 [+0.31] TEST: add multipath route [ OK ] # 53.53 [+0.30] TEST: Attempt to add duplicate multipath route [ OK ] # 53.90 [+0.37] TEST: Route add with different metrics [ OK ] # 54.06 [+0.16] TEST: Route delete with metric [ OK ] # 54.06 [+0.00] # 54.06 [+0.00] IPv4 route replace tests # 54.44 [+0.38] TEST: Single path with single path [ OK ] # 54.82 [+0.38] TEST: Single path with multipath [ OK ] # 55.20 [+0.38] TEST: Single path with reject route [ OK ] # 55.60 [+0.40] TEST: Single path with single path via multipath attribute [ OK ] # 55.97 [+0.37] TEST: Invalid nexthop [ OK ] # 56.28 [+0.31] TEST: Single path - replace of non-existent route [ OK ] # 56.67 [+0.39] TEST: Multipath with multipath [ OK ] # 57.06 [+0.39] TEST: Multipath with single path [ OK ] # 57.45 [+0.39] TEST: Multipath with single path via multipath attribute [ OK ] # 57.83 [+0.37] TEST: Multipath with reject route [ OK ] # 58.23 [+0.40] TEST: Multipath - invalid first nexthop [ OK ] # 58.61 [+0.38] TEST: Multipath - invalid second nexthop [ OK ] # 58.92 [+0.31] TEST: Multipath - replace of non-existent route [ OK ] # 60.20 [+1.28] TEST: Cached route removed from VRF port device [ OK ] # 60.20 [+0.00] # 60.20 [+0.00] IPv4 route with dsfield tests # 60.39 [+0.19] TEST: Reject route with dsfield 0x01 [ OK ] # 60.48 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 60.57 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 60.81 [+0.24] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 60.87 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 60.94 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 61.03 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 61.12 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 61.19 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 61.26 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 61.35 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 61.43 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 61.51 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 61.59 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 61.68 [+0.10] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 63.28 [+1.59] # 63.28 [+0.00] IPv6 prefix route tests # 64.88 [+1.60] TEST: Default metric [ OK ] # 65.13 [+0.24] TEST: User specified metric on first device [ OK ] # 65.39 [+0.26] TEST: User specified metric on second device [ OK ] # 65.56 [+0.17] TEST: Delete of address on first device [ OK ] # 65.71 [+0.15] TEST: Modify metric of address [ OK ] # 65.98 [+0.27] TEST: Prefix route removed on link down [ OK ] # 66.14 [+0.16] TEST: Prefix route with metric on link up [ OK ] # 66.38 [+0.24] TEST: Set metric with peer route on local side [ OK ] # 66.47 [+0.08] TEST: Set metric with peer route on peer side [ OK ] # 66.62 [+0.15] TEST: Modify metric and peer address on local side [ OK ] # 66.71 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 67.58 [+0.87] # 67.58 [+0.00] IPv4 prefix route tests # 69.11 [+1.53] TEST: Default metric [ OK ] # 69.34 [+0.23] TEST: User specified metric on first device [ OK ] # 69.59 [+0.24] TEST: User specified metric on second device [ OK ] # 69.74 [+0.15] TEST: Delete of address on first device [ OK ] # 69.89 [+0.15] TEST: Modify metric of address [ OK ] # 70.06 [+0.16] TEST: Prefix route removed on link down [ OK ] # 70.21 [+0.15] TEST: Prefix route with metric on link up [ OK ] # 70.52 [+0.31] TEST: Modify metric of .0/24 address [ OK ] # 70.77 [+0.24] TEST: Set metric of address with peer route [ OK ] # 70.93 [+0.16] TEST: Modify metric and peer address for peer route [ OK ] # 71.74 [+0.82] # 71.74 [+0.00] IPv6 routes with metrics # 75.59 [+3.84] TEST: Single path route with mtu metric [ OK ] # 75.83 [+0.24] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 76.07 [+0.24] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 76.22 [+0.15] TEST: MTU of second leg [ OK ] # 76.42 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 76.61 [+0.19] TEST: Using route with mtu metric [ OK ] # 76.74 [+0.14] TEST: Invalid metric (fails metric_convert) [ OK ] # 78.16 [+1.42] # 78.16 [+0.00] IPv4 route add / append tests # 82.04 [+3.88] TEST: Single path route with mtu metric [ OK ] # 82.20 [+0.16] TEST: Multipath route with mtu metric [ OK ] # 82.39 [+0.20] TEST: Using route with mtu metric [ OK ] # 82.53 [+0.14] TEST: Invalid metric (fails metric_convert) [ OK ] # 84.06 [+1.53] # 84.06 [+0.00] IPv4 route with IPv6 gateway tests # 89.88 [+5.82] TEST: Single path route with IPv6 gateway [ OK ] # 90.10 [+0.21] TEST: Single path route with IPv6 gateway - ping [ OK ] # 90.17 [+0.07] TEST: Single path route delete [ OK ] # 90.32 [+0.15] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 90.48 [+0.16] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 90.56 [+0.07] TEST: Multipath route delete exact match [ OK ] # 90.63 [+0.07] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 90.78 [+0.15] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 90.87 [+0.08] TEST: Multipath route delete exact match [ OK ] # 92.38 [+1.52] # 92.38 [+0.00] IPv4 rp_filter tests # 97.45 [+5.07] TEST: rp_filter passes local packets [ OK ] # 97.57 [+0.12] TEST: rp_filter passes loopback packets [ OK ] # 98.22 [+0.65] # 98.22 [+0.00] IPv4 delete address route tests # 100.62 [+2.40] Regular FIB info # 100.76 [+0.14] TEST: Route removed from VRF when source address deleted [ OK ] # 100.83 [+0.07] TEST: Route in default VRF not removed [ OK ] # 101.10 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 101.19 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 101.19 [+0.00] Identical FIB info with different table ID # 101.33 [+0.14] TEST: Route removed from VRF when source address deleted [ OK ] # 101.42 [+0.09] TEST: Route in default VRF not removed [ OK ] # 101.70 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 101.76 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 101.76 [+0.00] Table ID 0 # 101.92 [+0.15] TEST: Route removed in default VRF when source address deleted [ OK ] # 102.75 [+0.84] # 102.75 [+0.00] IPv6 delete address route tests # 106.74 [+3.98] Single device using src address # 106.89 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 106.89 [+0.00] Two devices with the same source address # 107.04 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 107.17 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 107.18 [+0.00] VRF with single device using src address # 107.33 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 107.33 [+0.00] VRF with two devices using src address # 107.49 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 107.64 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 107.64 [+0.00] src address and nexthop dev in same VRF # 107.79 [+0.15] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 107.86 [+0.07] TEST: Prefsrc in default VRF not removed [ OK ] # 108.15 [+0.28] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 108.21 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 108.22 [+0.00] src address and nexthop device in different VRF # 108.38 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 108.46 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 108.67 [+0.21] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 108.74 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 108.75 [+0.00] Table ID 0 # 108.89 [+0.15] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 108.90 [+0.00] Link local source route # 109.04 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 109.18 [+0.14] TEST: Prefsrc removed when delete ll addr [ OK ] # 109.25 [+0.07] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 109.45 [+0.20] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 110.79 [+1.34] # 110.79 [+0.00] IPv4 mangling tests # 117.49 [+6.70] TEST: Connection with correct parameters [ OK ] # 117.64 [+0.15] TEST: Connection with incorrect parameters [ OK ] # 118.50 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 119.31 [+0.81] TEST: Connection with correct parameters - no mangling [ OK ] # 119.37 [+0.06] TEST: Connection check - server side [ OK ] # 121.08 [+1.71] # 121.08 [+0.00] IPv6 mangling tests # 127.76 [+6.68] TEST: Connection with correct parameters [ OK ] # 127.95 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 128.74 [+0.79] TEST: Connection with correct parameters - mangling [ OK ] # 129.54 [+0.80] TEST: Connection with correct parameters - no mangling [ OK ] # 129.59 [+0.05] TEST: Connection check - server side [ OK ] # 131.26 [+1.67] # 131.26 [+0.00] IPv4 broadcast neighbour tests # 133.12 [+1.86] TEST: Resolved neighbour for broadcast address [ OK ] # 133.20 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 133.27 [+0.07] TEST: Unresolved neighbour for broadcast address [ OK ] # 133.34 [+0.07] TEST: Unresolved neighbour for network broadcast address [ OK ] # 134.90 [+1.56] # 134.90 [+0.00] Fib6 garbage collection test # 147.90 [+13.00] TEST: ipv6 route garbage collection [ OK ] # 161.03 [+13.13] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 174.17 [+13.14] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 187.40 [+13.23] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 201.45 [+14.04] TEST: ipv6 route garbage collection (RA message) [ OK ] # 202.04 [+0.59] # 202.04 [+0.00] IPv4 multipath list receive tests # 213.34 [+11.31] TEST: Multipath route hit ratio (.99) [ OK ] # 214.84 [+1.50] # 214.84 [+0.00] IPv6 multipath list receive tests # 225.86 [+11.02] TEST: Multipath route hit ratio (1.00) [ OK ] # 227.36 [+1.50] # 227.36 [+0.00] Tests passed: 229 # 227.36 [+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__->