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.44 [+0.44] # 0.45 [+0.00] Single path route test # 1.69 [+1.25] Start point # 1.79 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.93 [+0.14] TEST: IPv6 fibmatch [ OK ] # 2.06 [+0.13] Nexthop device deleted # 2.15 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 2.24 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.74 [+0.50] # 2.74 [+0.00] Multipath route test # 4.29 [+1.55] Start point # 4.37 [+0.08] TEST: IPv4 fibmatch [ OK ] # 4.45 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.58 [+0.13] One nexthop device deleted # 4.67 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.75 [+0.08] TEST: IPv6 - multipath down to single path [ OK ] # 4.90 [+0.16] Second nexthop device deleted # 4.99 [+0.09] TEST: IPv6 - no route [ OK ] # 5.67 [+0.68] # 5.67 [+0.00] Single path, admin down # 6.85 [+1.18] Start point # 6.93 [+0.08] TEST: IPv4 fibmatch [ OK ] # 7.01 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.08 [+0.08] Route deleted on down # 7.16 [+0.08] TEST: IPv4 fibmatch [ OK ] # 7.25 [+0.08] TEST: IPv6 fibmatch [ OK ] # 7.66 [+0.42] # 7.66 [+0.00] Admin down multipath # 9.63 [+1.97] Verify start point # 9.73 [+0.10] TEST: IPv4 fibmatch [ OK ] # 9.82 [+0.09] TEST: IPv6 fibmatch [ OK ] # 9.93 [+0.10] One device down, one up # 10.00 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.10 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.19 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 10.28 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 10.39 [+0.10] TEST: IPv4 flags on down device [ OK ] # 10.50 [+0.11] TEST: IPv6 flags on down device [ OK ] # 10.61 [+0.11] TEST: IPv4 flags on up device [ OK ] # 10.71 [+0.11] TEST: IPv6 flags on up device [ OK ] # 10.91 [+0.20] Other device down and up # 11.00 [+0.09] TEST: IPv4 fibmatch on down device [ OK ] # 11.08 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 11.16 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 11.24 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 11.34 [+0.10] TEST: IPv4 flags on down device [ OK ] # 11.43 [+0.10] TEST: IPv6 flags on down device [ OK ] # 11.54 [+0.11] TEST: IPv4 flags on up device [ OK ] # 11.64 [+0.10] TEST: IPv6 flags on up device [ OK ] # 11.72 [+0.09] Both devices down # 11.86 [+0.13] TEST: IPv4 fibmatch [ OK ] # 11.95 [+0.09] TEST: IPv6 fibmatch [ OK ] # 12.56 [+0.62] # 12.56 [+0.00] Local carrier tests - single path # 13.80 [+1.23] Start point # 13.88 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.96 [+0.08] TEST: IPv6 fibmatch [ OK ] # 14.04 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 14.15 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 15.28 [+1.13] Carrier off on nexthop # 15.38 [+0.11] TEST: IPv4 fibmatch [ OK ] # 15.47 [+0.09] TEST: IPv6 fibmatch [ OK ] # 15.57 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 15.67 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 15.83 [+0.16] Route to local address with carrier down # 15.92 [+0.09] TEST: IPv4 fibmatch [ OK ] # 16.01 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.11 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 16.19 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 16.63 [+0.44] # 16.63 [+0.00] Single path route carrier test # 17.86 [+1.22] Start point # 17.94 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.05 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.13 [+0.09] TEST: IPv4 no linkdown flag [ OK ] # 18.21 [+0.08] TEST: IPv6 no linkdown flag [ OK ] # 19.36 [+1.15] Carrier down # 19.45 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.53 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.60 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 19.69 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 19.84 [+0.15] Second address added with carrier down # 19.92 [+0.08] TEST: IPv4 fibmatch [ OK ] # 20.01 [+0.09] TEST: IPv6 fibmatch [ OK ] # 20.09 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 20.16 [+0.07] TEST: IPv6 linkdown flag set [ OK ] # 24.44 [+4.28] # 24.44 [+0.00] IPv4 nexthop tests # 24.44 [+0.00] <<< write me >>> # 24.66 [+0.22] # 24.66 [+0.00] IPv6 nexthop tests # 24.75 [+0.09] TEST: Directly connected nexthop, unicast address [ OK ] # 24.85 [+0.11] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.94 [+0.09] TEST: Gateway is linklocal address [ OK ] # 25.04 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 25.14 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 25.23 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.32 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 25.41 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 25.50 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 25.59 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 25.69 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 25.79 [+0.10] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.89 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 25.97 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 26.91 [+0.94] # 26.91 [+0.00] FIB rule with suppress_prefixlength # 28.85 [+1.94] TEST: FIB rule suppress test [ OK ] # 30.46 [+1.61] # 30.46 [+0.00] Fib6 info length calculation in route notify test # 34.49 [+4.03] TEST: ipv6 route add notify [ OK ] # 36.25 [+1.76] # 36.25 [+0.00] Fib4 info length calculation in route notify test # 40.53 [+4.28] TEST: ipv4 route add notify [ OK ] # 44.84 [+4.31] # 44.84 [+0.00] IPv6 route add / append tests # 45.20 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 45.54 [+0.34] TEST: Attempt to add duplicate route - dev only [ OK ] # 45.92 [+0.38] TEST: Attempt to add duplicate route - reject route [ OK ] # 46.35 [+0.43] TEST: Append nexthop to existing route - gw [ OK ] # 46.73 [+0.38] TEST: Add multipath route [ OK ] # 47.12 [+0.39] TEST: Attempt to add duplicate multipath route [ OK ] # 47.68 [+0.57] TEST: Route add with different metrics [ OK ] # 47.94 [+0.25] TEST: Route delete with metric [ OK ] # 47.94 [+0.00] # 47.94 [+0.00] IPv6 route replace tests # 48.57 [+0.63] TEST: Single path with single path [ OK ] # 49.06 [+0.49] TEST: Single path with multipath [ OK ] # 49.52 [+0.47] TEST: Single path with single path via multipath attribute [ OK ] # 49.98 [+0.46] TEST: Invalid nexthop [ OK ] # 50.33 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 50.79 [+0.46] TEST: Multipath with multipath [ OK ] # 51.27 [+0.48] TEST: Multipath with single path [ OK ] # 51.77 [+0.50] TEST: Multipath with single path via multipath attribute [ OK ] # 52.34 [+0.57] TEST: Multipath with dev-only [ OK ] # 52.89 [+0.55] TEST: Multipath - invalid first nexthop [ OK ] # 53.40 [+0.51] TEST: Multipath - invalid second nexthop [ OK ] # 53.77 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 53.77 [+0.00] # 53.77 [+0.00] IPv6 route with dsfield tests # 53.95 [+0.17] TEST: Reject route with dsfield [ OK ] # 60.17 [+6.23] # 60.17 [+0.00] IPv4 route add / append tests # 60.58 [+0.40] TEST: Attempt to add duplicate route - gw [ OK ] # 60.96 [+0.39] TEST: Attempt to add duplicate route - dev only [ OK ] # 61.33 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 61.76 [+0.43] TEST: Add new nexthop for existing prefix [ OK ] # 62.20 [+0.44] TEST: Append nexthop to existing route - gw [ OK ] # 62.62 [+0.42] TEST: Append nexthop to existing route - dev only [ OK ] # 63.06 [+0.44] TEST: Append nexthop to existing route - reject route [ OK ] # 63.44 [+0.38] TEST: Append nexthop to existing reject route - gw [ OK ] # 63.84 [+0.40] TEST: Append nexthop to existing reject route - dev only [ OK ] # 64.25 [+0.41] TEST: add multipath route [ OK ] # 64.66 [+0.41] TEST: Attempt to add duplicate multipath route [ OK ] # 65.17 [+0.51] TEST: Route add with different metrics [ OK ] # 65.39 [+0.22] TEST: Route delete with metric [ OK ] # 65.39 [+0.00] # 65.39 [+0.00] IPv4 route replace tests # 65.93 [+0.54] TEST: Single path with single path [ OK ] # 66.47 [+0.54] TEST: Single path with multipath [ OK ] # 67.02 [+0.55] TEST: Single path with reject route [ OK ] # 67.59 [+0.57] TEST: Single path with single path via multipath attribute [ OK ] # 68.18 [+0.58] TEST: Invalid nexthop [ OK ] # 68.65 [+0.47] TEST: Single path - replace of non-existent route [ OK ] # 69.26 [+0.61] TEST: Multipath with multipath [ OK ] # 69.76 [+0.50] TEST: Multipath with single path [ OK ] # 70.23 [+0.47] TEST: Multipath with single path via multipath attribute [ OK ] # 70.69 [+0.46] TEST: Multipath with reject route [ OK ] # 71.16 [+0.46] TEST: Multipath - invalid first nexthop [ OK ] # 71.63 [+0.47] TEST: Multipath - invalid second nexthop [ OK ] # 72.00 [+0.37] TEST: Multipath - replace of non-existent route [ OK ] # 73.47 [+1.48] TEST: Cached route removed from VRF port device [ OK ] # 73.47 [+0.00] # 73.47 [+0.00] IPv4 route with dsfield tests # 73.66 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 73.74 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 73.84 [+0.10] TEST: Reject route with dsfield 0x03 [ OK ] # 74.12 [+0.28] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 74.22 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 74.29 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 74.41 [+0.11] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 74.49 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 74.59 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 74.68 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 74.77 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 74.90 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 74.98 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 75.07 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 75.15 [+0.08] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 77.19 [+2.04] # 77.19 [+0.00] IPv6 prefix route tests # 79.31 [+2.12] TEST: Default metric [ OK ] # 79.61 [+0.30] TEST: User specified metric on first device [ OK ] # 79.89 [+0.28] TEST: User specified metric on second device [ OK ] # 80.09 [+0.20] TEST: Delete of address on first device [ OK ] # 80.27 [+0.18] TEST: Modify metric of address [ OK ] # 80.59 [+0.32] TEST: Prefix route removed on link down [ OK ] # 80.78 [+0.19] TEST: Prefix route with metric on link up [ OK ] # 81.12 [+0.34] TEST: Set metric with peer route on local side [ OK ] # 81.23 [+0.11] TEST: Set metric with peer route on peer side [ OK ] # 81.45 [+0.22] TEST: Modify metric and peer address on local side [ OK ] # 81.59 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 82.82 [+1.23] # 82.82 [+0.00] IPv4 prefix route tests # 84.64 [+1.82] TEST: Default metric [ OK ] # 84.91 [+0.27] TEST: User specified metric on first device [ OK ] # 85.19 [+0.28] TEST: User specified metric on second device [ OK ] # 85.38 [+0.19] TEST: Delete of address on first device [ OK ] # 85.63 [+0.25] TEST: Modify metric of address [ OK ] # 85.81 [+0.19] TEST: Prefix route removed on link down [ OK ] # 86.03 [+0.22] TEST: Prefix route with metric on link up [ OK ] # 86.48 [+0.45] TEST: Modify metric of .0/24 address [ OK ] # 86.80 [+0.33] TEST: Set metric of address with peer route [ OK ] # 87.07 [+0.27] TEST: Modify metric and peer address for peer route [ OK ] # 88.12 [+1.04] # 88.12 [+0.00] IPv6 routes with metrics # 93.01 [+4.90] TEST: Single path route with mtu metric [ OK ] # 93.28 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 93.56 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 93.75 [+0.20] TEST: MTU of second leg [ OK ] # 93.99 [+0.24] TEST: Multipath route with mtu metric [ OK ] # 94.28 [+0.29] TEST: Using route with mtu metric [ OK ] # 94.49 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 96.69 [+2.20] # 96.69 [+0.00] IPv4 route add / append tests # 102.16 [+5.46] TEST: Single path route with mtu metric [ OK ] # 102.34 [+0.19] TEST: Multipath route with mtu metric [ OK ] # 102.57 [+0.23] TEST: Using route with mtu metric [ OK ] # 102.74 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 104.64 [+1.90] # 104.64 [+0.00] IPv4 route with IPv6 gateway tests # 111.15 [+6.51] TEST: Single path route with IPv6 gateway [ OK ] # 111.38 [+0.22] TEST: Single path route with IPv6 gateway - ping [ OK ] # 111.46 [+0.08] TEST: Single path route delete [ OK ] # 111.62 [+0.16] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 111.81 [+0.19] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 111.89 [+0.08] TEST: Multipath route delete exact match [ OK ] # 111.98 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 112.17 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 112.26 [+0.10] TEST: Multipath route delete exact match [ OK ] # 113.92 [+1.66] # 113.92 [+0.00] IPv4 rp_filter tests # 119.68 [+5.76] TEST: rp_filter passes local packets [ OK ] # 119.82 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 120.55 [+0.73] # 120.55 [+0.00] IPv4 delete address route tests # 123.21 [+2.66] Regular FIB info # 123.36 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 123.46 [+0.10] TEST: Route in default VRF not removed [ OK ] # 123.79 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 123.88 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 123.89 [+0.01] Identical FIB info with different table ID # 124.04 [+0.15] TEST: Route removed from VRF when source address deleted [ OK ] # 124.15 [+0.11] TEST: Route in default VRF not removed [ OK ] # 124.46 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 124.56 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 124.57 [+0.00] Table ID 0 # 124.75 [+0.19] TEST: Route removed in default VRF when source address deleted [ OK ] # 125.66 [+0.91] # 125.66 [+0.00] IPv6 delete address route tests # 130.15 [+4.48] Single device using src address # 130.30 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.30 [+0.00] Two devices with the same source address # 130.46 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 130.64 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 130.64 [+0.00] VRF with single device using src address # 130.81 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.81 [+0.00] VRF with two devices using src address # 130.99 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 131.14 [+0.15] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 131.15 [+0.00] src address and nexthop dev in same VRF # 131.30 [+0.15] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 131.37 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 131.70 [+0.33] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 131.77 [+0.07] TEST: Prefsrc in default VRF removed [ OK ] # 131.78 [+0.00] src address and nexthop device in different VRF # 131.93 [+0.15] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 132.01 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 132.26 [+0.24] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 132.35 [+0.09] TEST: Prefsrc removed in default VRF [ OK ] # 132.35 [+0.00] Table ID 0 # 132.52 [+0.17] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 132.52 [+0.00] Link local source route # 132.69 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 132.85 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 132.94 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 133.19 [+0.25] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 134.57 [+1.38] # 134.57 [+0.00] IPv4 mangling tests # 141.88 [+7.32] TEST: Connection with correct parameters [ OK ] # 142.05 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 142.97 [+0.92] TEST: Connection with correct parameters - mangling [ OK ] # 143.82 [+0.84] TEST: Connection with correct parameters - no mangling [ OK ] # 143.88 [+0.07] TEST: Connection check - server side [ OK ] # 145.81 [+1.92] # 145.81 [+0.00] IPv6 mangling tests # 153.14 [+7.34] TEST: Connection with correct parameters [ OK ] # 153.33 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 154.19 [+0.86] TEST: Connection with correct parameters - mangling [ OK ] # 155.04 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 155.13 [+0.08] TEST: Connection check - server side [ OK ] # 157.13 [+2.00] # 157.13 [+0.00] IPv4 broadcast neighbour tests # 159.27 [+2.14] TEST: Resolved neighbour for broadcast address [ OK ] # 159.35 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 159.44 [+0.09] TEST: Unresolved neighbour for broadcast address [ OK ] # 159.53 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 161.33 [+1.79] # 161.33 [+0.00] Fib6 garbage collection test # 174.51 [+13.18] TEST: ipv6 route garbage collection [ OK ] # 187.90 [+13.39] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 201.31 [+13.41] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 214.88 [+13.57] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 229.21 [+14.34] TEST: ipv6 route garbage collection (RA message) [ OK ] # 229.94 [+0.73] # 229.94 [+0.00] IPv4 multipath list receive tests # 247.25 [+17.31] TEST: Multipath route hit ratio (1.00) [ OK ] # 249.08 [+1.83] # 249.08 [+0.00] IPv6 multipath list receive tests # 265.87 [+16.79] TEST: Multipath route hit ratio (1.00) [ OK ] # 267.68 [+1.81] # 267.68 [+0.00] Tests passed: 229 # 267.68 [+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__->