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.33 [+0.33] # 0.33 [+0.00] Single path route test # 1.06 [+0.73] Start point # 1.13 [+0.07] TEST: IPv4 fibmatch [ OK ] # 1.20 [+0.07] TEST: IPv6 fibmatch [ OK ] # 1.32 [+0.12] Nexthop device deleted # 1.38 [+0.06] TEST: IPv4 fibmatch - no route [ OK ] # 1.46 [+0.08] TEST: IPv6 fibmatch - no route [ OK ] # 1.90 [+0.44] # 1.90 [+0.00] Multipath route test # 3.24 [+1.34] Start point # 3.30 [+0.06] TEST: IPv4 fibmatch [ OK ] # 3.37 [+0.07] TEST: IPv6 fibmatch [ OK ] # 3.48 [+0.11] One nexthop device deleted # 3.56 [+0.07] TEST: IPv4 - multipath route removed on delete [ OK ] # 3.62 [+0.06] TEST: IPv6 - multipath down to single path [ OK ] # 3.72 [+0.10] Second nexthop device deleted # 3.80 [+0.07] TEST: IPv6 - no route [ OK ] # 4.24 [+0.44] # 4.24 [+0.00] Single path, admin down # 5.18 [+0.94] Start point # 5.24 [+0.06] TEST: IPv4 fibmatch [ OK ] # 5.32 [+0.08] TEST: IPv6 fibmatch [ OK ] # 5.38 [+0.07] Route deleted on down # 5.45 [+0.07] TEST: IPv4 fibmatch [ OK ] # 5.52 [+0.07] TEST: IPv6 fibmatch [ OK ] # 5.89 [+0.37] # 5.89 [+0.00] Admin down multipath # 7.24 [+1.34] Verify start point # 7.31 [+0.07] TEST: IPv4 fibmatch [ OK ] # 7.37 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.44 [+0.07] One device down, one up # 7.51 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 7.58 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 7.66 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 7.72 [+0.06] TEST: IPv6 fibmatch on up device [ OK ] # 7.81 [+0.09] TEST: IPv4 flags on down device [ OK ] # 7.88 [+0.07] TEST: IPv6 flags on down device [ OK ] # 7.96 [+0.08] TEST: IPv4 flags on up device [ OK ] # 8.04 [+0.08] TEST: IPv6 flags on up device [ OK ] # 8.17 [+0.13] Other device down and up # 8.24 [+0.07] TEST: IPv4 fibmatch on down device [ OK ] # 8.31 [+0.06] TEST: IPv6 fibmatch on down device [ OK ] # 8.38 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 8.45 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 8.53 [+0.08] TEST: IPv4 flags on down device [ OK ] # 8.62 [+0.09] TEST: IPv6 flags on down device [ OK ] # 8.70 [+0.07] TEST: IPv4 flags on up device [ OK ] # 8.78 [+0.08] TEST: IPv6 flags on up device [ OK ] # 8.86 [+0.08] Both devices down # 8.92 [+0.07] TEST: IPv4 fibmatch [ OK ] # 8.99 [+0.07] TEST: IPv6 fibmatch [ OK ] # 9.47 [+0.48] # 9.47 [+0.00] Local carrier tests - single path # 10.47 [+1.00] Start point # 10.55 [+0.07] TEST: IPv4 fibmatch [ OK ] # 10.63 [+0.08] TEST: IPv6 fibmatch [ OK ] # 10.69 [+0.07] TEST: IPv4 - no linkdown flag [ OK ] # 10.78 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 11.88 [+1.11] Carrier off on nexthop # 11.95 [+0.07] TEST: IPv4 fibmatch [ OK ] # 12.03 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.09 [+0.06] TEST: IPv4 - linkdown flag set [ OK ] # 12.16 [+0.07] TEST: IPv6 - linkdown flag set [ OK ] # 12.31 [+0.15] Route to local address with carrier down # 12.38 [+0.07] TEST: IPv4 fibmatch [ OK ] # 12.46 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.53 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 12.60 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 12.96 [+0.36] # 12.96 [+0.00] Single path route carrier test # 13.98 [+1.01] Start point # 14.05 [+0.07] TEST: IPv4 fibmatch [ OK ] # 14.12 [+0.07] TEST: IPv6 fibmatch [ OK ] # 14.20 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 14.28 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 15.39 [+1.11] Carrier down # 15.46 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.53 [+0.06] TEST: IPv6 fibmatch [ OK ] # 15.61 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 15.68 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 15.83 [+0.15] Second address added with carrier down # 15.91 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.98 [+0.07] TEST: IPv6 fibmatch [ OK ] # 16.05 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 16.13 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 19.77 [+3.64] # 19.77 [+0.00] IPv4 nexthop tests # 19.77 [+0.00] <<< write me >>> # 19.98 [+0.20] # 19.98 [+0.00] IPv6 nexthop tests # 20.05 [+0.07] TEST: Directly connected nexthop, unicast address [ OK ] # 20.12 [+0.07] TEST: Directly connected nexthop, unicast address with device [ OK ] # 20.20 [+0.08] TEST: Gateway is linklocal address [ OK ] # 20.27 [+0.07] TEST: Gateway is linklocal address, no device [ OK ] # 20.35 [+0.08] TEST: Gateway can not be local unicast address [ OK ] # 20.43 [+0.07] TEST: Gateway can not be local unicast address, with device [ OK ] # 20.52 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 20.59 [+0.07] TEST: Gateway can be local address in a VRF [ OK ] # 20.67 [+0.08] TEST: Gateway can be local address in a VRF, with device [ OK ] # 20.74 [+0.07] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 20.82 [+0.08] TEST: Redirect to VRF lookup [ OK ] # 20.90 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 20.98 [+0.08] TEST: VRF route, gateway can not be a local address [ OK ] # 21.06 [+0.07] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 21.92 [+0.86] # 21.92 [+0.00] FIB rule with suppress_prefixlength # 23.39 [+1.47] TEST: FIB rule suppress test [ OK ] # 24.69 [+1.30] # 24.69 [+0.00] Fib6 info length calculation in route notify test # 28.34 [+3.65] TEST: ipv6 route add notify [ OK ] # 29.68 [+1.34] # 29.68 [+0.00] Fib4 info length calculation in route notify test # 33.33 [+3.64] TEST: ipv4 route add notify [ OK ] # 36.96 [+3.64] # 36.96 [+0.00] IPv6 route add / append tests # 37.25 [+0.29] TEST: Attempt to add duplicate route - gw [ OK ] # 37.55 [+0.30] TEST: Attempt to add duplicate route - dev only [ OK ] # 37.86 [+0.30] TEST: Attempt to add duplicate route - reject route [ OK ] # 38.24 [+0.39] TEST: Append nexthop to existing route - gw [ OK ] # 38.54 [+0.30] TEST: Add multipath route [ OK ] # 38.85 [+0.31] TEST: Attempt to add duplicate multipath route [ OK ] # 39.22 [+0.37] TEST: Route add with different metrics [ OK ] # 39.40 [+0.18] TEST: Route delete with metric [ OK ] # 39.40 [+0.00] # 39.40 [+0.00] IPv6 route replace tests # 39.79 [+0.39] TEST: Single path with single path [ OK ] # 40.17 [+0.38] TEST: Single path with multipath [ OK ] # 40.56 [+0.39] TEST: Single path with single path via multipath attribute [ OK ] # 40.94 [+0.38] TEST: Invalid nexthop [ OK ] # 41.24 [+0.30] TEST: Single path - replace of non-existent route [ OK ] # 41.63 [+0.39] TEST: Multipath with multipath [ OK ] # 42.00 [+0.37] TEST: Multipath with single path [ OK ] # 42.37 [+0.37] TEST: Multipath with single path via multipath attribute [ OK ] # 42.76 [+0.39] TEST: Multipath with dev-only [ OK ] # 43.15 [+0.38] TEST: Multipath - invalid first nexthop [ OK ] # 43.55 [+0.40] TEST: Multipath - invalid second nexthop [ OK ] # 43.85 [+0.30] TEST: Multipath - replace of non-existent route [ OK ] # 43.85 [+0.00] # 43.85 [+0.00] IPv6 route with dsfield tests # 44.01 [+0.16] TEST: Reject route with dsfield [ OK ] # 48.95 [+4.93] # 48.95 [+0.00] IPv4 route add / append tests # 49.25 [+0.30] TEST: Attempt to add duplicate route - gw [ OK ] # 49.54 [+0.29] TEST: Attempt to add duplicate route - dev only [ OK ] # 49.84 [+0.30] TEST: Attempt to add duplicate route - reject route [ OK ] # 50.20 [+0.36] TEST: Add new nexthop for existing prefix [ OK ] # 50.57 [+0.37] TEST: Append nexthop to existing route - gw [ OK ] # 50.94 [+0.37] TEST: Append nexthop to existing route - dev only [ OK ] # 51.31 [+0.38] TEST: Append nexthop to existing route - reject route [ OK ] # 51.62 [+0.31] TEST: Append nexthop to existing reject route - gw [ OK ] # 51.94 [+0.32] TEST: Append nexthop to existing reject route - dev only [ OK ] # 52.24 [+0.30] TEST: add multipath route [ OK ] # 52.53 [+0.30] TEST: Attempt to add duplicate multipath route [ OK ] # 52.90 [+0.36] TEST: Route add with different metrics [ OK ] # 53.05 [+0.16] TEST: Route delete with metric [ OK ] # 53.06 [+0.00] # 53.06 [+0.00] IPv4 route replace tests # 53.44 [+0.38] TEST: Single path with single path [ OK ] # 53.80 [+0.36] TEST: Single path with multipath [ OK ] # 54.18 [+0.39] TEST: Single path with reject route [ OK ] # 54.56 [+0.38] TEST: Single path with single path via multipath attribute [ OK ] # 54.94 [+0.38] TEST: Invalid nexthop [ OK ] # 55.24 [+0.29] TEST: Single path - replace of non-existent route [ OK ] # 55.61 [+0.37] TEST: Multipath with multipath [ OK ] # 55.98 [+0.37] TEST: Multipath with single path [ OK ] # 56.36 [+0.38] TEST: Multipath with single path via multipath attribute [ OK ] # 56.74 [+0.37] TEST: Multipath with reject route [ OK ] # 57.10 [+0.37] TEST: Multipath - invalid first nexthop [ OK ] # 57.48 [+0.37] TEST: Multipath - invalid second nexthop [ OK ] # 57.77 [+0.30] TEST: Multipath - replace of non-existent route [ OK ] # 58.97 [+1.20] TEST: Cached route removed from VRF port device [ OK ] # 58.97 [+0.00] # 58.97 [+0.00] IPv4 route with dsfield tests # 59.13 [+0.15] TEST: Reject route with dsfield 0x01 [ OK ] # 59.20 [+0.07] TEST: Reject route with dsfield 0x02 [ OK ] # 59.28 [+0.08] TEST: Reject route with dsfield 0x03 [ OK ] # 59.52 [+0.23] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 59.58 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 59.65 [+0.06] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 59.72 [+0.07] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 59.79 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 59.85 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 59.92 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 59.99 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 60.05 [+0.06] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 60.13 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 60.20 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 60.28 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 61.76 [+1.48] # 61.76 [+0.00] IPv6 prefix route tests # 63.30 [+1.54] TEST: Default metric [ OK ] # 63.55 [+0.25] TEST: User specified metric on first device [ OK ] # 63.78 [+0.24] TEST: User specified metric on second device [ OK ] # 63.95 [+0.17] TEST: Delete of address on first device [ OK ] # 64.09 [+0.15] TEST: Modify metric of address [ OK ] # 64.36 [+0.27] TEST: Prefix route removed on link down [ OK ] # 64.52 [+0.15] TEST: Prefix route with metric on link up [ OK ] # 64.75 [+0.23] TEST: Set metric with peer route on local side [ OK ] # 64.83 [+0.08] TEST: Set metric with peer route on peer side [ OK ] # 64.98 [+0.15] TEST: Modify metric and peer address on local side [ OK ] # 65.08 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 65.92 [+0.84] # 65.92 [+0.00] IPv4 prefix route tests # 67.39 [+1.47] TEST: Default metric [ OK ] # 67.62 [+0.23] TEST: User specified metric on first device [ OK ] # 67.85 [+0.23] TEST: User specified metric on second device [ OK ] # 68.01 [+0.17] TEST: Delete of address on first device [ OK ] # 68.16 [+0.15] TEST: Modify metric of address [ OK ] # 68.31 [+0.14] TEST: Prefix route removed on link down [ OK ] # 68.46 [+0.16] TEST: Prefix route with metric on link up [ OK ] # 68.78 [+0.31] TEST: Modify metric of .0/24 address [ OK ] # 69.01 [+0.23] TEST: Set metric of address with peer route [ OK ] # 69.16 [+0.15] TEST: Modify metric and peer address for peer route [ OK ] # 70.00 [+0.83] # 70.00 [+0.00] IPv6 routes with metrics # 73.72 [+3.73] TEST: Single path route with mtu metric [ OK ] # 73.96 [+0.23] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 74.19 [+0.24] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 74.35 [+0.16] TEST: MTU of second leg [ OK ] # 74.53 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 74.75 [+0.21] TEST: Using route with mtu metric [ OK ] # 74.87 [+0.13] TEST: Invalid metric (fails metric_convert) [ OK ] # 76.31 [+1.44] # 76.31 [+0.00] IPv4 route add / append tests # 80.04 [+3.73] TEST: Single path route with mtu metric [ OK ] # 80.20 [+0.16] TEST: Multipath route with mtu metric [ OK ] # 80.38 [+0.18] TEST: Using route with mtu metric [ OK ] # 80.51 [+0.14] TEST: Invalid metric (fails metric_convert) [ OK ] # 82.02 [+1.51] # 82.02 [+0.00] IPv4 route with IPv6 gateway tests # 87.74 [+5.71] TEST: Single path route with IPv6 gateway [ OK ] # 87.94 [+0.20] TEST: Single path route with IPv6 gateway - ping [ OK ] # 88.01 [+0.07] TEST: Single path route delete [ OK ] # 88.16 [+0.15] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 88.30 [+0.15] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 88.38 [+0.08] TEST: Multipath route delete exact match [ OK ] # 88.46 [+0.08] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 88.61 [+0.15] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 88.69 [+0.08] TEST: Multipath route delete exact match [ OK ] # 90.16 [+1.47] # 90.16 [+0.00] IPv4 rp_filter tests # 95.00 [+4.83] TEST: rp_filter passes local packets [ OK ] # 95.12 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 95.76 [+0.64] # 95.76 [+0.00] IPv4 delete address route tests # 98.06 [+2.30] Regular FIB info # 98.20 [+0.14] TEST: Route removed from VRF when source address deleted [ OK ] # 98.28 [+0.08] TEST: Route in default VRF not removed [ OK ] # 98.54 [+0.26] TEST: Route removed in default VRF when source address deleted [ OK ] # 98.62 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 98.62 [+0.00] Identical FIB info with different table ID # 98.76 [+0.14] TEST: Route removed from VRF when source address deleted [ OK ] # 98.84 [+0.07] TEST: Route in default VRF not removed [ OK ] # 99.11 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 99.18 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 99.19 [+0.00] Table ID 0 # 99.32 [+0.13] TEST: Route removed in default VRF when source address deleted [ OK ] # 100.15 [+0.83] # 100.15 [+0.00] IPv6 delete address route tests # 104.04 [+3.88] Single device using src address # 104.18 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 104.19 [+0.00] Two devices with the same source address # 104.35 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 104.51 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 104.51 [+0.00] VRF with single device using src address # 104.66 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 104.67 [+0.00] VRF with two devices using src address # 104.80 [+0.13] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 104.93 [+0.13] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 104.93 [+0.00] src address and nexthop dev in same VRF # 105.07 [+0.14] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 105.16 [+0.09] TEST: Prefsrc in default VRF not removed [ OK ] # 105.42 [+0.27] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 105.50 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 105.51 [+0.00] src address and nexthop device in different VRF # 105.64 [+0.14] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 105.73 [+0.09] TEST: Prefsrc not removed in default VRF [ OK ] # 105.93 [+0.20] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 105.99 [+0.06] TEST: Prefsrc removed in default VRF [ OK ] # 105.99 [+0.00] Table ID 0 # 106.13 [+0.14] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 106.13 [+0.00] Link local source route # 106.27 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 106.40 [+0.13] TEST: Prefsrc removed when delete ll addr [ OK ] # 106.47 [+0.06] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 106.68 [+0.22] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 107.95 [+1.26] # 107.95 [+0.00] IPv4 mangling tests # 114.62 [+6.67] TEST: Connection with correct parameters [ OK ] # 114.75 [+0.13] TEST: Connection with incorrect parameters [ OK ] # 115.62 [+0.88] TEST: Connection with correct parameters - mangling [ OK ] # 116.40 [+0.78] TEST: Connection with correct parameters - no mangling [ OK ] # 116.46 [+0.05] TEST: Connection check - server side [ OK ] # 118.20 [+1.74] # 118.20 [+0.00] IPv6 mangling tests # 124.90 [+6.70] TEST: Connection with correct parameters [ OK ] # 125.06 [+0.16] TEST: Connection with incorrect parameters [ OK ] # 125.87 [+0.81] TEST: Connection with correct parameters - mangling [ OK ] # 126.68 [+0.81] TEST: Connection with correct parameters - no mangling [ OK ] # 126.73 [+0.05] TEST: Connection check - server side [ OK ] # 128.51 [+1.78] # 128.51 [+0.00] IPv4 broadcast neighbour tests # 130.37 [+1.85] TEST: Resolved neighbour for broadcast address [ OK ] # 130.44 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 130.52 [+0.07] TEST: Unresolved neighbour for broadcast address [ OK ] # 130.59 [+0.07] TEST: Unresolved neighbour for network broadcast address [ OK ] # 132.13 [+1.55] # 132.13 [+0.00] Fib6 garbage collection test # 145.15 [+13.02] TEST: ipv6 route garbage collection [ OK ] # 158.48 [+13.32] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 171.69 [+13.21] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 184.96 [+13.27] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 198.99 [+14.03] TEST: ipv6 route garbage collection (RA message) [ OK ] # 199.62 [+0.63] # 199.62 [+0.00] IPv4 multipath list receive tests # 211.27 [+11.66] TEST: Multipath route hit ratio (1.00) [ OK ] # 212.83 [+1.56] # 212.84 [+0.00] IPv6 multipath list receive tests # 224.25 [+11.41] TEST: Multipath route hit ratio (1.00) [ OK ] # 225.83 [+1.58] # 225.83 [+0.00] Tests passed: 229 # 225.83 [+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__->