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.37 [+0.37] # 0.37 [+0.00] Single path route test # 1.14 [+0.76] Start point # 1.20 [+0.07] TEST: IPv4 fibmatch [ OK ] # 1.28 [+0.07] TEST: IPv6 fibmatch [ OK ] # 1.40 [+0.12] Nexthop device deleted # 1.47 [+0.07] TEST: IPv4 fibmatch - no route [ OK ] # 1.53 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 2.00 [+0.46] # 2.00 [+0.00] Multipath route test # 3.37 [+1.37] Start point # 3.44 [+0.07] TEST: IPv4 fibmatch [ OK ] # 3.51 [+0.07] TEST: IPv6 fibmatch [ OK ] # 3.62 [+0.11] One nexthop device deleted # 3.69 [+0.07] TEST: IPv4 - multipath route removed on delete [ OK ] # 3.75 [+0.07] TEST: IPv6 - multipath down to single path [ OK ] # 3.85 [+0.09] Second nexthop device deleted # 3.92 [+0.07] TEST: IPv6 - no route [ OK ] # 4.36 [+0.44] # 4.36 [+0.00] Single path, admin down # 5.29 [+0.93] Start point # 5.36 [+0.07] TEST: IPv4 fibmatch [ OK ] # 5.42 [+0.06] TEST: IPv6 fibmatch [ OK ] # 5.49 [+0.07] Route deleted on down # 5.56 [+0.07] TEST: IPv4 fibmatch [ OK ] # 5.63 [+0.07] TEST: IPv6 fibmatch [ OK ] # 6.00 [+0.37] # 6.00 [+0.00] Admin down multipath # 7.47 [+1.47] Verify start point # 7.53 [+0.07] TEST: IPv4 fibmatch [ OK ] # 7.60 [+0.07] TEST: IPv6 fibmatch [ OK ] # 7.72 [+0.12] One device down, one up # 7.81 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 7.89 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 7.99 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 8.05 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 8.15 [+0.09] TEST: IPv4 flags on down device [ OK ] # 8.23 [+0.08] TEST: IPv6 flags on down device [ OK ] # 8.31 [+0.07] TEST: IPv4 flags on up device [ OK ] # 8.39 [+0.08] TEST: IPv6 flags on up device [ OK ] # 8.52 [+0.14] Other device down and up # 8.59 [+0.06] TEST: IPv4 fibmatch on down device [ OK ] # 8.66 [+0.07] TEST: IPv6 fibmatch on down device [ OK ] # 8.73 [+0.07] TEST: IPv4 fibmatch on up device [ OK ] # 8.80 [+0.07] TEST: IPv6 fibmatch on up device [ OK ] # 8.87 [+0.08] TEST: IPv4 flags on down device [ OK ] # 8.94 [+0.07] TEST: IPv6 flags on down device [ OK ] # 9.03 [+0.09] TEST: IPv4 flags on up device [ OK ] # 9.10 [+0.08] TEST: IPv6 flags on up device [ OK ] # 9.17 [+0.07] Both devices down # 9.23 [+0.06] TEST: IPv4 fibmatch [ OK ] # 9.29 [+0.05] TEST: IPv6 fibmatch [ OK ] # 9.74 [+0.45] # 9.74 [+0.00] Local carrier tests - single path # 10.69 [+0.95] Start point # 10.76 [+0.07] TEST: IPv4 fibmatch [ OK ] # 10.82 [+0.06] TEST: IPv6 fibmatch [ OK ] # 10.89 [+0.06] TEST: IPv4 - no linkdown flag [ OK ] # 10.95 [+0.06] TEST: IPv6 - no linkdown flag [ OK ] # 12.06 [+1.11] Carrier off on nexthop # 12.12 [+0.07] TEST: IPv4 fibmatch [ OK ] # 12.20 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.27 [+0.07] TEST: IPv4 - linkdown flag set [ OK ] # 12.35 [+0.08] TEST: IPv6 - linkdown flag set [ OK ] # 12.47 [+0.12] Route to local address with carrier down # 12.54 [+0.07] TEST: IPv4 fibmatch [ OK ] # 12.60 [+0.06] TEST: IPv6 fibmatch [ OK ] # 12.68 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 12.75 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 13.12 [+0.37] # 13.12 [+0.00] Single path route carrier test # 14.09 [+0.97] Start point # 14.15 [+0.07] TEST: IPv4 fibmatch [ OK ] # 14.23 [+0.07] TEST: IPv6 fibmatch [ OK ] # 14.28 [+0.06] TEST: IPv4 no linkdown flag [ OK ] # 14.35 [+0.06] TEST: IPv6 no linkdown flag [ OK ] # 15.44 [+1.10] Carrier down # 15.52 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.58 [+0.06] TEST: IPv6 fibmatch [ OK ] # 15.64 [+0.06] TEST: IPv4 linkdown flag set [ OK ] # 15.73 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 15.85 [+0.12] Second address added with carrier down # 15.92 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.98 [+0.06] TEST: IPv6 fibmatch [ OK ] # 16.05 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 16.18 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 19.70 [+3.52] # 19.70 [+0.00] IPv4 nexthop tests # 19.70 [+0.00] <<< write me >>> # 19.89 [+0.19] # 19.89 [+0.00] IPv6 nexthop tests # 19.96 [+0.07] TEST: Directly connected nexthop, unicast address [ OK ] # 20.05 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 20.13 [+0.08] TEST: Gateway is linklocal address [ OK ] # 20.19 [+0.06] TEST: Gateway is linklocal address, no device [ OK ] # 20.27 [+0.08] TEST: Gateway can not be local unicast address [ OK ] # 20.35 [+0.08] TEST: Gateway can not be local unicast address, with device [ OK ] # 20.42 [+0.07] TEST: Gateway can not be a local linklocal address [ OK ] # 20.50 [+0.08] TEST: Gateway can be local address in a VRF [ OK ] # 20.57 [+0.07] TEST: Gateway can be local address in a VRF, with device [ OK ] # 20.64 [+0.07] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 20.71 [+0.07] TEST: Redirect to VRF lookup [ OK ] # 20.79 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 20.87 [+0.08] TEST: VRF route, gateway can not be a local address [ OK ] # 20.94 [+0.07] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 21.79 [+0.85] # 21.79 [+0.00] FIB rule with suppress_prefixlength # 23.18 [+1.39] TEST: FIB rule suppress test [ OK ] # 24.40 [+1.23] # 24.40 [+0.00] Fib6 info length calculation in route notify test # 27.95 [+3.54] TEST: ipv6 route add notify [ OK ] # 29.24 [+1.29] # 29.24 [+0.00] Fib4 info length calculation in route notify test # 32.81 [+3.57] TEST: ipv4 route add notify [ OK ] # 36.25 [+3.44] # 36.25 [+0.00] IPv6 route add / append tests # 36.53 [+0.28] TEST: Attempt to add duplicate route - gw [ OK ] # 36.81 [+0.28] TEST: Attempt to add duplicate route - dev only [ OK ] # 37.10 [+0.29] TEST: Attempt to add duplicate route - reject route [ OK ] # 37.47 [+0.37] TEST: Append nexthop to existing route - gw [ OK ] # 37.77 [+0.30] TEST: Add multipath route [ OK ] # 38.06 [+0.29] TEST: Attempt to add duplicate multipath route [ OK ] # 38.42 [+0.36] TEST: Route add with different metrics [ OK ] # 38.59 [+0.17] TEST: Route delete with metric [ OK ] # 38.59 [+0.00] # 38.59 [+0.00] IPv6 route replace tests # 38.97 [+0.38] TEST: Single path with single path [ OK ] # 39.34 [+0.37] TEST: Single path with multipath [ OK ] # 39.71 [+0.37] TEST: Single path with single path via multipath attribute [ OK ] # 40.08 [+0.37] TEST: Invalid nexthop [ OK ] # 40.37 [+0.29] TEST: Single path - replace of non-existent route [ OK ] # 40.74 [+0.37] TEST: Multipath with multipath [ OK ] # 41.12 [+0.38] TEST: Multipath with single path [ OK ] # 41.48 [+0.36] TEST: Multipath with single path via multipath attribute [ OK ] # 41.85 [+0.37] TEST: Multipath with dev-only [ OK ] # 42.24 [+0.38] TEST: Multipath - invalid first nexthop [ OK ] # 42.62 [+0.38] TEST: Multipath - invalid second nexthop [ OK ] # 42.90 [+0.29] TEST: Multipath - replace of non-existent route [ OK ] # 42.91 [+0.00] # 42.91 [+0.00] IPv6 route with dsfield tests # 43.06 [+0.15] TEST: Reject route with dsfield [ OK ] # 48.07 [+5.01] # 48.07 [+0.00] IPv4 route add / append tests # 48.36 [+0.29] TEST: Attempt to add duplicate route - gw [ OK ] # 48.64 [+0.28] TEST: Attempt to add duplicate route - dev only [ OK ] # 48.94 [+0.30] TEST: Attempt to add duplicate route - reject route [ OK ] # 49.30 [+0.36] TEST: Add new nexthop for existing prefix [ OK ] # 49.66 [+0.36] TEST: Append nexthop to existing route - gw [ OK ] # 50.02 [+0.36] TEST: Append nexthop to existing route - dev only [ OK ] # 50.40 [+0.37] TEST: Append nexthop to existing route - reject route [ OK ] # 50.68 [+0.28] TEST: Append nexthop to existing reject route - gw [ OK ] # 50.97 [+0.29] TEST: Append nexthop to existing reject route - dev only [ OK ] # 51.25 [+0.28] TEST: add multipath route [ OK ] # 51.55 [+0.30] TEST: Attempt to add duplicate multipath route [ OK ] # 51.91 [+0.36] TEST: Route add with different metrics [ OK ] # 52.05 [+0.14] TEST: Route delete with metric [ OK ] # 52.05 [+0.00] # 52.05 [+0.00] IPv4 route replace tests # 52.42 [+0.36] TEST: Single path with single path [ OK ] # 52.76 [+0.35] TEST: Single path with multipath [ OK ] # 53.11 [+0.35] TEST: Single path with reject route [ OK ] # 53.47 [+0.36] TEST: Single path with single path via multipath attribute [ OK ] # 53.82 [+0.35] TEST: Invalid nexthop [ OK ] # 54.09 [+0.28] TEST: Single path - replace of non-existent route [ OK ] # 54.46 [+0.37] TEST: Multipath with multipath [ OK ] # 54.82 [+0.36] TEST: Multipath with single path [ OK ] # 55.16 [+0.34] TEST: Multipath with single path via multipath attribute [ OK ] # 55.54 [+0.37] TEST: Multipath with reject route [ OK ] # 55.88 [+0.35] TEST: Multipath - invalid first nexthop [ OK ] # 56.23 [+0.35] TEST: Multipath - invalid second nexthop [ OK ] # 56.52 [+0.28] TEST: Multipath - replace of non-existent route [ OK ] # 57.66 [+1.14] TEST: Cached route removed from VRF port device [ OK ] # 57.66 [+0.00] # 57.66 [+0.00] IPv4 route with dsfield tests # 57.81 [+0.15] TEST: Reject route with dsfield 0x01 [ OK ] # 57.88 [+0.07] TEST: Reject route with dsfield 0x02 [ OK ] # 57.95 [+0.07] TEST: Reject route with dsfield 0x03 [ OK ] # 58.17 [+0.22] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 58.24 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 58.31 [+0.07] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 58.39 [+0.08] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 58.47 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 58.54 [+0.07] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 58.62 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 58.68 [+0.06] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 58.76 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 58.83 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 58.91 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 58.98 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 60.42 [+1.44] # 60.42 [+0.00] IPv6 prefix route tests # 61.92 [+1.50] TEST: Default metric [ OK ] # 62.16 [+0.24] TEST: User specified metric on first device [ OK ] # 62.38 [+0.22] TEST: User specified metric on second device [ OK ] # 62.53 [+0.15] TEST: Delete of address on first device [ OK ] # 62.69 [+0.15] TEST: Modify metric of address [ OK ] # 62.95 [+0.27] TEST: Prefix route removed on link down [ OK ] # 63.11 [+0.15] TEST: Prefix route with metric on link up [ OK ] # 63.33 [+0.22] TEST: Set metric with peer route on local side [ OK ] # 63.40 [+0.08] TEST: Set metric with peer route on peer side [ OK ] # 63.57 [+0.16] TEST: Modify metric and peer address on local side [ OK ] # 63.65 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 64.45 [+0.80] # 64.45 [+0.00] IPv4 prefix route tests # 65.89 [+1.44] TEST: Default metric [ OK ] # 66.11 [+0.21] TEST: User specified metric on first device [ OK ] # 66.33 [+0.23] TEST: User specified metric on second device [ OK ] # 66.48 [+0.15] TEST: Delete of address on first device [ OK ] # 66.62 [+0.14] TEST: Modify metric of address [ OK ] # 66.76 [+0.15] TEST: Prefix route removed on link down [ OK ] # 66.91 [+0.15] TEST: Prefix route with metric on link up [ OK ] # 67.20 [+0.29] TEST: Modify metric of .0/24 address [ OK ] # 67.42 [+0.22] TEST: Set metric of address with peer route [ OK ] # 67.56 [+0.14] TEST: Modify metric and peer address for peer route [ OK ] # 68.36 [+0.80] # 68.36 [+0.00] IPv6 routes with metrics # 72.00 [+3.64] TEST: Single path route with mtu metric [ OK ] # 72.24 [+0.24] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 72.47 [+0.23] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 72.62 [+0.15] TEST: MTU of second leg [ OK ] # 72.79 [+0.16] TEST: Multipath route with mtu metric [ OK ] # 72.98 [+0.19] TEST: Using route with mtu metric [ OK ] # 73.12 [+0.13] TEST: Invalid metric (fails metric_convert) [ OK ] # 74.55 [+1.44] # 74.56 [+0.00] IPv4 route add / append tests # 78.12 [+3.57] TEST: Single path route with mtu metric [ OK ] # 78.28 [+0.15] TEST: Multipath route with mtu metric [ OK ] # 78.45 [+0.17] TEST: Using route with mtu metric [ OK ] # 78.59 [+0.14] TEST: Invalid metric (fails metric_convert) [ OK ] # 80.05 [+1.46] # 80.05 [+0.00] IPv4 route with IPv6 gateway tests # 85.65 [+5.60] TEST: Single path route with IPv6 gateway [ OK ] # 85.84 [+0.19] TEST: Single path route with IPv6 gateway - ping [ OK ] # 85.92 [+0.07] TEST: Single path route delete [ OK ] # 86.06 [+0.14] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 86.21 [+0.15] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 86.28 [+0.07] TEST: Multipath route delete exact match [ OK ] # 86.36 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 86.50 [+0.14] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 86.57 [+0.07] TEST: Multipath route delete exact match [ OK ] # 88.05 [+1.48] # 88.05 [+0.00] IPv4 rp_filter tests # 92.78 [+4.73] TEST: rp_filter passes local packets [ OK ] # 92.89 [+0.11] TEST: rp_filter passes loopback packets [ OK ] # 93.49 [+0.60] # 93.49 [+0.00] IPv4 delete address route tests # 95.69 [+2.20] Regular FIB info # 95.82 [+0.13] TEST: Route removed from VRF when source address deleted [ OK ] # 95.88 [+0.06] TEST: Route in default VRF not removed [ OK ] # 96.14 [+0.26] TEST: Route removed in default VRF when source address deleted [ OK ] # 96.22 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 96.22 [+0.00] Identical FIB info with different table ID # 96.35 [+0.12] TEST: Route removed from VRF when source address deleted [ OK ] # 96.42 [+0.07] TEST: Route in default VRF not removed [ OK ] # 96.69 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 96.77 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 96.77 [+0.00] Table ID 0 # 96.90 [+0.13] TEST: Route removed in default VRF when source address deleted [ OK ] # 97.76 [+0.85] # 97.76 [+0.00] IPv6 delete address route tests # 101.66 [+3.90] Single device using src address # 101.82 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 101.82 [+0.00] Two devices with the same source address # 101.95 [+0.13] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 102.10 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 102.10 [+0.00] VRF with single device using src address # 102.24 [+0.14] TEST: Prefsrc removed when src address removed on other device [ OK ] # 102.25 [+0.00] VRF with two devices using src address # 102.38 [+0.14] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 102.52 [+0.14] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 102.52 [+0.00] src address and nexthop dev in same VRF # 102.66 [+0.14] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 102.73 [+0.07] TEST: Prefsrc in default VRF not removed [ OK ] # 102.99 [+0.27] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 103.07 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 103.07 [+0.00] src address and nexthop device in different VRF # 103.19 [+0.12] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 103.27 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 103.49 [+0.22] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 103.56 [+0.07] TEST: Prefsrc removed in default VRF [ OK ] # 103.56 [+0.00] Table ID 0 # 103.71 [+0.15] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 103.71 [+0.00] Link local source route # 103.85 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 103.99 [+0.14] TEST: Prefsrc removed when delete ll addr [ OK ] # 104.07 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 104.28 [+0.21] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 105.59 [+1.30] # 105.59 [+0.00] IPv4 mangling tests # 112.14 [+6.55] TEST: Connection with correct parameters [ OK ] # 112.29 [+0.16] TEST: Connection with incorrect parameters [ OK ] # 113.16 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 113.95 [+0.80] TEST: Connection with correct parameters - no mangling [ OK ] # 114.01 [+0.05] TEST: Connection check - server side [ OK ] # 115.70 [+1.70] # 115.71 [+0.00] IPv6 mangling tests # 122.35 [+6.64] TEST: Connection with correct parameters [ OK ] # 122.52 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 123.34 [+0.82] TEST: Connection with correct parameters - mangling [ OK ] # 124.16 [+0.82] TEST: Connection with correct parameters - no mangling [ OK ] # 124.21 [+0.05] TEST: Connection check - server side [ OK ] # 125.99 [+1.78] # 125.99 [+0.00] IPv4 broadcast neighbour tests # 127.89 [+1.90] TEST: Resolved neighbour for broadcast address [ OK ] # 127.97 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 128.04 [+0.07] TEST: Unresolved neighbour for broadcast address [ OK ] # 128.11 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 129.72 [+1.60] # 129.72 [+0.00] Fib6 garbage collection test # 142.73 [+13.02] TEST: ipv6 route garbage collection [ OK ] # 155.97 [+13.24] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 169.18 [+13.21] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 182.51 [+13.34] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 196.62 [+14.10] TEST: ipv6 route garbage collection (RA message) [ OK ] # 197.25 [+0.63] # 197.25 [+0.00] IPv4 multipath list receive tests # 209.14 [+11.89] TEST: Multipath route hit ratio (1.00) [ OK ] # 210.75 [+1.61] # 210.75 [+0.00] IPv6 multipath list receive tests # 223.05 [+12.30] TEST: Multipath route hit ratio (1.00) [ OK ] # 224.72 [+1.67] # 224.72 [+0.00] Tests passed: 229 # 224.72 [+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__->