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.28 [+0.28] # 0.28 [+0.00] Single path route test # 0.99 [+0.70] Start point # 1.06 [+0.07] TEST: IPv4 fibmatch [ OK ] # 1.12 [+0.06] TEST: IPv6 fibmatch [ OK ] # 1.23 [+0.11] Nexthop device deleted # 1.29 [+0.06] TEST: IPv4 fibmatch - no route [ OK ] # 1.36 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 1.77 [+0.42] # 1.77 [+0.00] Multipath route test # 3.04 [+1.27] Start point # 3.10 [+0.06] TEST: IPv4 fibmatch [ OK ] # 3.17 [+0.07] TEST: IPv6 fibmatch [ OK ] # 3.28 [+0.11] One nexthop device deleted # 3.34 [+0.06] TEST: IPv4 - multipath route removed on delete [ OK ] # 3.41 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 3.52 [+0.11] Second nexthop device deleted # 3.59 [+0.07] TEST: IPv6 - no route [ OK ] # 4.00 [+0.42] # 4.00 [+0.00] Single path, admin down # 4.90 [+0.90] Start point # 4.96 [+0.06] TEST: IPv4 fibmatch [ OK ] # 5.03 [+0.07] TEST: IPv6 fibmatch [ OK ] # 5.09 [+0.06] Route deleted on down # 5.15 [+0.06] TEST: IPv4 fibmatch [ OK ] # 5.22 [+0.07] TEST: IPv6 fibmatch [ OK ] # 5.56 [+0.35] # 5.56 [+0.00] Admin down multipath # 6.84 [+1.27] Verify start point # 6.90 [+0.06] TEST: IPv4 fibmatch [ OK ] # 6.97 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.03 [+0.06] One device down, one up # 7.09 [+0.06] TEST: IPv4 fibmatch on down device [ OK ] # 7.15 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 7.21 [+0.06] TEST: IPv4 fibmatch on up device [ OK ] # 7.28 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 7.35 [+0.07] TEST: IPv4 flags on down device [ OK ] # 7.42 [+0.07] TEST: IPv6 flags on down device [ OK ] # 7.49 [+0.06] TEST: IPv4 flags on up device [ OK ] # 7.56 [+0.07] TEST: IPv6 flags on up device [ OK ] # 7.69 [+0.13] Other device down and up # 7.75 [+0.06] TEST: IPv4 fibmatch on down device [ OK ] # 7.81 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 7.88 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 7.96 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 8.03 [+0.07] TEST: IPv4 flags on down device [ OK ] # 8.10 [+0.07] TEST: IPv6 flags on down device [ OK ] # 8.18 [+0.08] TEST: IPv4 flags on up device [ OK ] # 8.28 [+0.09] TEST: IPv6 flags on up device [ OK ] # 8.34 [+0.07] Both devices down # 8.40 [+0.06] TEST: IPv4 fibmatch [ OK ] # 8.47 [+0.07] TEST: IPv6 fibmatch [ OK ] # 8.91 [+0.44] # 8.91 [+0.00] Local carrier tests - single path # 9.88 [+0.96] Start point # 9.94 [+0.07] TEST: IPv4 fibmatch [ OK ] # 10.01 [+0.06] TEST: IPv6 fibmatch [ OK ] # 10.08 [+0.07] TEST: IPv4 - no linkdown flag [ OK ] # 10.15 [+0.07] TEST: IPv6 - no linkdown flag [ OK ] # 11.26 [+1.11] Carrier off on nexthop # 11.33 [+0.07] TEST: IPv4 fibmatch [ OK ] # 11.40 [+0.07] TEST: IPv6 fibmatch [ OK ] # 11.46 [+0.06] TEST: IPv4 - linkdown flag set [ OK ] # 11.52 [+0.07] TEST: IPv6 - linkdown flag set [ OK ] # 11.66 [+0.13] Route to local address with carrier down # 11.71 [+0.06] TEST: IPv4 fibmatch [ OK ] # 11.78 [+0.07] TEST: IPv6 fibmatch [ OK ] # 11.84 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 11.91 [+0.06] TEST: IPv6 linkdown flag set [ OK ] # 12.26 [+0.36] # 12.26 [+0.00] Single path route carrier test # 13.22 [+0.96] Start point # 13.29 [+0.07] TEST: IPv4 fibmatch [ OK ] # 13.36 [+0.07] TEST: IPv6 fibmatch [ OK ] # 13.43 [+0.07] TEST: IPv4 no linkdown flag [ OK ] # 13.49 [+0.06] TEST: IPv6 no linkdown flag [ OK ] # 14.61 [+1.12] Carrier down # 14.68 [+0.07] TEST: IPv4 fibmatch [ OK ] # 14.75 [+0.06] TEST: IPv6 fibmatch [ OK ] # 14.81 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 14.88 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 15.01 [+0.13] Second address added with carrier down # 15.08 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.14 [+0.06] TEST: IPv6 fibmatch [ OK ] # 15.20 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 15.26 [+0.06] TEST: IPv6 linkdown flag set [ OK ] # 18.78 [+3.53] # 18.78 [+0.00] IPv4 nexthop tests # 18.79 [+0.00] <<< write me >>> # 18.98 [+0.19] # 18.98 [+0.00] IPv6 nexthop tests # 19.04 [+0.07] TEST: Directly connected nexthop, unicast address [ OK ] # 19.11 [+0.07] TEST: Directly connected nexthop, unicast address with device [ OK ] # 19.18 [+0.07] TEST: Gateway is linklocal address [ OK ] # 19.26 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 19.34 [+0.08] TEST: Gateway can not be local unicast address [ OK ] # 19.41 [+0.08] TEST: Gateway can not be local unicast address, with device [ OK ] # 19.49 [+0.07] TEST: Gateway can not be a local linklocal address [ OK ] # 19.57 [+0.08] TEST: Gateway can be local address in a VRF [ OK ] # 19.64 [+0.07] TEST: Gateway can be local address in a VRF, with device [ OK ] # 19.71 [+0.07] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 19.79 [+0.08] TEST: Redirect to VRF lookup [ OK ] # 19.86 [+0.07] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 19.95 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 20.01 [+0.07] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 20.84 [+0.83] # 20.84 [+0.00] FIB rule with suppress_prefixlength # 22.22 [+1.38] TEST: FIB rule suppress test [ OK ] # 23.45 [+1.23] # 23.45 [+0.00] Fib6 info length calculation in route notify test # 27.10 [+3.65] TEST: ipv6 route add notify [ OK ] # 28.45 [+1.34] # 28.45 [+0.00] Fib4 info length calculation in route notify test # 32.05 [+3.60] TEST: ipv4 route add notify [ OK ] # 35.56 [+3.51] # 35.56 [+0.00] IPv6 route add / append tests # 35.85 [+0.29] TEST: Attempt to add duplicate route - gw [ OK ] # 36.13 [+0.29] TEST: Attempt to add duplicate route - dev only [ OK ] # 36.41 [+0.28] TEST: Attempt to add duplicate route - reject route [ OK ] # 36.78 [+0.37] TEST: Append nexthop to existing route - gw [ OK ] # 37.08 [+0.30] TEST: Add multipath route [ OK ] # 37.35 [+0.27] TEST: Attempt to add duplicate multipath route [ OK ] # 37.70 [+0.35] TEST: Route add with different metrics [ OK ] # 37.87 [+0.16] TEST: Route delete with metric [ OK ] # 37.87 [+0.00] # 37.87 [+0.00] IPv6 route replace tests # 38.23 [+0.36] TEST: Single path with single path [ OK ] # 38.60 [+0.37] TEST: Single path with multipath [ OK ] # 38.95 [+0.35] TEST: Single path with single path via multipath attribute [ OK ] # 39.32 [+0.36] TEST: Invalid nexthop [ OK ] # 39.60 [+0.29] TEST: Single path - replace of non-existent route [ OK ] # 39.98 [+0.38] TEST: Multipath with multipath [ OK ] # 40.35 [+0.36] TEST: Multipath with single path [ OK ] # 40.72 [+0.37] TEST: Multipath with single path via multipath attribute [ OK ] # 41.06 [+0.35] TEST: Multipath with dev-only [ OK ] # 41.43 [+0.37] TEST: Multipath - invalid first nexthop [ OK ] # 41.79 [+0.36] TEST: Multipath - invalid second nexthop [ OK ] # 42.07 [+0.28] TEST: Multipath - replace of non-existent route [ OK ] # 42.07 [+0.00] # 42.07 [+0.00] IPv6 route with dsfield tests # 42.22 [+0.15] TEST: Reject route with dsfield [ OK ] # 47.08 [+4.85] # 47.08 [+0.00] IPv4 route add / append tests # 47.36 [+0.28] TEST: Attempt to add duplicate route - gw [ OK ] # 47.64 [+0.28] TEST: Attempt to add duplicate route - dev only [ OK ] # 47.93 [+0.29] TEST: Attempt to add duplicate route - reject route [ OK ] # 48.29 [+0.36] TEST: Add new nexthop for existing prefix [ OK ] # 48.64 [+0.36] TEST: Append nexthop to existing route - gw [ OK ] # 49.01 [+0.36] TEST: Append nexthop to existing route - dev only [ OK ] # 49.36 [+0.35] TEST: Append nexthop to existing route - reject route [ OK ] # 49.65 [+0.29] TEST: Append nexthop to existing reject route - gw [ OK ] # 49.94 [+0.29] TEST: Append nexthop to existing reject route - dev only [ OK ] # 50.22 [+0.29] TEST: add multipath route [ OK ] # 50.50 [+0.27] TEST: Attempt to add duplicate multipath route [ OK ] # 50.86 [+0.36] TEST: Route add with different metrics [ OK ] # 51.00 [+0.14] TEST: Route delete with metric [ OK ] # 51.00 [+0.00] # 51.00 [+0.00] IPv4 route replace tests # 51.36 [+0.37] TEST: Single path with single path [ OK ] # 51.72 [+0.35] TEST: Single path with multipath [ OK ] # 52.06 [+0.35] TEST: Single path with reject route [ OK ] # 52.41 [+0.35] TEST: Single path with single path via multipath attribute [ OK ] # 52.78 [+0.37] TEST: Invalid nexthop [ OK ] # 53.04 [+0.27] TEST: Single path - replace of non-existent route [ OK ] # 53.40 [+0.36] TEST: Multipath with multipath [ OK ] # 53.76 [+0.36] TEST: Multipath with single path [ OK ] # 54.12 [+0.37] TEST: Multipath with single path via multipath attribute [ OK ] # 54.48 [+0.35] TEST: Multipath with reject route [ OK ] # 54.83 [+0.36] TEST: Multipath - invalid first nexthop [ OK ] # 55.19 [+0.36] TEST: Multipath - invalid second nexthop [ OK ] # 55.48 [+0.29] TEST: Multipath - replace of non-existent route [ OK ] # 56.60 [+1.12] TEST: Cached route removed from VRF port device [ OK ] # 56.60 [+0.00] # 56.60 [+0.00] IPv4 route with dsfield tests # 56.76 [+0.16] TEST: Reject route with dsfield 0x01 [ OK ] # 56.84 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 56.90 [+0.06] TEST: Reject route with dsfield 0x03 [ OK ] # 57.13 [+0.23] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 57.20 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 57.27 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 57.34 [+0.06] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 57.40 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 57.47 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 57.54 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 57.60 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 57.68 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 57.77 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 57.83 [+0.06] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 57.90 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 59.37 [+1.46] # 59.37 [+0.00] IPv6 prefix route tests # 60.86 [+1.50] TEST: Default metric [ OK ] # 61.09 [+0.22] TEST: User specified metric on first device [ OK ] # 61.32 [+0.23] TEST: User specified metric on second device [ OK ] # 61.46 [+0.14] TEST: Delete of address on first device [ OK ] # 61.63 [+0.17] TEST: Modify metric of address [ OK ] # 61.87 [+0.24] TEST: Prefix route removed on link down [ OK ] # 62.03 [+0.16] TEST: Prefix route with metric on link up [ OK ] # 62.25 [+0.22] TEST: Set metric with peer route on local side [ OK ] # 62.32 [+0.07] TEST: Set metric with peer route on peer side [ OK ] # 62.48 [+0.16] TEST: Modify metric and peer address on local side [ OK ] # 62.55 [+0.07] TEST: Modify metric and peer address on peer side [ OK ] # 63.35 [+0.80] # 63.35 [+0.00] IPv4 prefix route tests # 64.80 [+1.45] TEST: Default metric [ OK ] # 65.03 [+0.23] TEST: User specified metric on first device [ OK ] # 65.26 [+0.22] TEST: User specified metric on second device [ OK ] # 65.41 [+0.16] TEST: Delete of address on first device [ OK ] # 65.56 [+0.14] TEST: Modify metric of address [ OK ] # 65.70 [+0.14] TEST: Prefix route removed on link down [ OK ] # 65.84 [+0.14] TEST: Prefix route with metric on link up [ OK ] # 66.13 [+0.29] TEST: Modify metric of .0/24 address [ OK ] # 66.36 [+0.22] TEST: Set metric of address with peer route [ OK ] # 66.51 [+0.15] TEST: Modify metric and peer address for peer route [ OK ] # 67.27 [+0.76] # 67.27 [+0.00] IPv6 routes with metrics # 70.88 [+3.60] TEST: Single path route with mtu metric [ OK ] # 71.11 [+0.23] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 71.33 [+0.23] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 71.48 [+0.15] TEST: MTU of second leg [ OK ] # 71.64 [+0.15] TEST: Multipath route with mtu metric [ OK ] # 71.82 [+0.18] TEST: Using route with mtu metric [ OK ] # 71.93 [+0.12] TEST: Invalid metric (fails metric_convert) [ OK ] # 73.41 [+1.47] # 73.41 [+0.00] IPv4 route add / append tests # 76.98 [+3.57] TEST: Single path route with mtu metric [ OK ] # 77.12 [+0.15] TEST: Multipath route with mtu metric [ OK ] # 77.30 [+0.18] TEST: Using route with mtu metric [ OK ] # 77.42 [+0.12] TEST: Invalid metric (fails metric_convert) [ OK ] # 78.86 [+1.43] # 78.86 [+0.00] IPv4 route with IPv6 gateway tests # 84.39 [+5.54] TEST: Single path route with IPv6 gateway [ OK ] # 84.59 [+0.19] TEST: Single path route with IPv6 gateway - ping [ OK ] # 84.66 [+0.07] TEST: Single path route delete [ OK ] # 84.80 [+0.14] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 84.94 [+0.14] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 85.02 [+0.07] TEST: Multipath route delete exact match [ OK ] # 85.09 [+0.08] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 85.24 [+0.14] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 85.30 [+0.07] TEST: Multipath route delete exact match [ OK ] # 86.66 [+1.36] # 86.66 [+0.00] IPv4 rp_filter tests # 91.29 [+4.63] TEST: rp_filter passes local packets [ OK ] # 91.40 [+0.11] TEST: rp_filter passes loopback packets [ OK ] # 92.00 [+0.60] # 92.00 [+0.00] IPv4 delete address route tests # 94.21 [+2.21] Regular FIB info # 94.33 [+0.13] TEST: Route removed from VRF when source address deleted [ OK ] # 94.41 [+0.08] TEST: Route in default VRF not removed [ OK ] # 94.67 [+0.25] TEST: Route removed in default VRF when source address deleted [ OK ] # 94.73 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 94.73 [+0.00] Identical FIB info with different table ID # 94.86 [+0.13] TEST: Route removed from VRF when source address deleted [ OK ] # 94.93 [+0.07] TEST: Route in default VRF not removed [ OK ] # 95.20 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 95.27 [+0.06] TEST: Route in VRF is not removed by address delete [ OK ] # 95.27 [+0.00] Table ID 0 # 95.39 [+0.12] TEST: Route removed in default VRF when source address deleted [ OK ] # 96.18 [+0.80] # 96.18 [+0.00] IPv6 delete address route tests # 99.88 [+3.70] Single device using src address # 100.02 [+0.14] TEST: Prefsrc removed when src address removed on other device [ OK ] # 100.02 [+0.00] Two devices with the same source address # 100.15 [+0.13] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 100.28 [+0.13] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 100.28 [+0.00] VRF with single device using src address # 100.43 [+0.14] TEST: Prefsrc removed when src address removed on other device [ OK ] # 100.43 [+0.00] VRF with two devices using src address # 100.57 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 100.71 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 100.72 [+0.00] src address and nexthop dev in same VRF # 100.84 [+0.12] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 100.90 [+0.06] TEST: Prefsrc in default VRF not removed [ OK ] # 101.18 [+0.28] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 101.26 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 101.27 [+0.00] src address and nexthop device in different VRF # 101.39 [+0.13] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 101.46 [+0.06] TEST: Prefsrc not removed in default VRF [ OK ] # 101.65 [+0.19] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 101.73 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 101.73 [+0.00] Table ID 0 # 101.86 [+0.13] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 101.86 [+0.00] Link local source route # 102.03 [+0.17] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 102.17 [+0.14] TEST: Prefsrc removed when delete ll addr [ OK ] # 102.23 [+0.06] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 102.42 [+0.19] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 103.71 [+1.29] # 103.71 [+0.00] IPv4 mangling tests # 110.12 [+6.41] TEST: Connection with correct parameters [ OK ] # 110.26 [+0.14] TEST: Connection with incorrect parameters [ OK ] # 111.09 [+0.84] TEST: Connection with correct parameters - mangling [ OK ] # 111.87 [+0.78] TEST: Connection with correct parameters - no mangling [ OK ] # 111.92 [+0.05] TEST: Connection check - server side [ OK ] # 113.61 [+1.69] # 113.61 [+0.00] IPv6 mangling tests # 120.10 [+6.49] TEST: Connection with correct parameters [ OK ] # 120.28 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 121.07 [+0.79] TEST: Connection with correct parameters - mangling [ OK ] # 121.88 [+0.81] TEST: Connection with correct parameters - no mangling [ OK ] # 121.92 [+0.05] TEST: Connection check - server side [ OK ] # 123.59 [+1.67] # 123.59 [+0.00] IPv4 broadcast neighbour tests # 125.37 [+1.78] TEST: Resolved neighbour for broadcast address [ OK ] # 125.45 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 125.52 [+0.07] TEST: Unresolved neighbour for broadcast address [ OK ] # 125.59 [+0.07] TEST: Unresolved neighbour for network broadcast address [ OK ] # 127.06 [+1.47] # 127.06 [+0.00] Fib6 garbage collection test # 140.01 [+12.95] TEST: ipv6 route garbage collection [ OK ] # 153.16 [+13.15] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 166.30 [+13.14] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 179.52 [+13.22] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 193.61 [+14.09] TEST: ipv6 route garbage collection (RA message) [ OK ] # 194.27 [+0.66] # 194.27 [+0.00] IPv4 multipath list receive tests # 206.53 [+12.26] TEST: Multipath route hit ratio (1.00) [ OK ] # 208.06 [+1.52] # 208.06 [+0.00] IPv6 multipath list receive tests # 219.44 [+11.39] TEST: Multipath route hit ratio (1.00) [ OK ] # 220.98 [+1.54] # 220.98 [+0.00] Tests passed: 229 # 220.98 [+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__->