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.48 [+0.48] # 0.48 [+0.00] Single path route test # 1.66 [+1.18] Start point # 1.76 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.86 [+0.10] TEST: IPv6 fibmatch [ OK ] # 2.02 [+0.16] Nexthop device deleted # 2.14 [+0.12] TEST: IPv4 fibmatch - no route [ OK ] # 2.24 [+0.10] TEST: IPv6 fibmatch - no route [ OK ] # 2.95 [+0.70] # 2.95 [+0.00] Multipath route test # 4.99 [+2.04] Start point # 5.10 [+0.12] TEST: IPv4 fibmatch [ OK ] # 5.20 [+0.09] TEST: IPv6 fibmatch [ OK ] # 5.35 [+0.15] One nexthop device deleted # 5.45 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.54 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 5.69 [+0.14] Second nexthop device deleted # 5.80 [+0.11] TEST: IPv6 - no route [ OK ] # 6.45 [+0.65] # 6.45 [+0.00] Single path, admin down # 7.94 [+1.49] Start point # 8.04 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.14 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.24 [+0.10] Route deleted on down # 8.33 [+0.09] TEST: IPv4 fibmatch [ OK ] # 8.42 [+0.09] TEST: IPv6 fibmatch [ OK ] # 8.99 [+0.57] # 8.99 [+0.00] Admin down multipath # 11.22 [+2.23] Verify start point # 11.33 [+0.10] TEST: IPv4 fibmatch [ OK ] # 11.42 [+0.10] TEST: IPv6 fibmatch [ OK ] # 11.53 [+0.11] One device down, one up # 11.65 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 11.75 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 11.84 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 11.95 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 12.07 [+0.13] TEST: IPv4 flags on down device [ OK ] # 12.21 [+0.13] TEST: IPv6 flags on down device [ OK ] # 12.33 [+0.12] TEST: IPv4 flags on up device [ OK ] # 12.43 [+0.11] TEST: IPv6 flags on up device [ OK ] # 12.67 [+0.24] Other device down and up # 12.77 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 12.87 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 12.98 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 13.08 [+0.10] TEST: IPv6 fibmatch on up device [ OK ] # 13.18 [+0.10] TEST: IPv4 flags on down device [ OK ] # 13.29 [+0.11] TEST: IPv6 flags on down device [ OK ] # 13.42 [+0.13] TEST: IPv4 flags on up device [ OK ] # 13.53 [+0.11] TEST: IPv6 flags on up device [ OK ] # 13.65 [+0.12] Both devices down # 13.73 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.83 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.47 [+0.65] # 14.47 [+0.00] Local carrier tests - single path # 15.93 [+1.46] Start point # 16.02 [+0.09] TEST: IPv4 fibmatch [ OK ] # 16.14 [+0.12] TEST: IPv6 fibmatch [ OK ] # 16.26 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 16.36 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 17.51 [+1.15] Carrier off on nexthop # 17.60 [+0.09] TEST: IPv4 fibmatch [ OK ] # 17.70 [+0.10] TEST: IPv6 fibmatch [ OK ] # 17.81 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 17.89 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 18.08 [+0.19] Route to local address with carrier down # 18.16 [+0.08] TEST: IPv4 fibmatch [ OK ] # 18.26 [+0.10] TEST: IPv6 fibmatch [ OK ] # 18.36 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 18.45 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 18.99 [+0.54] # 18.99 [+0.00] Single path route carrier test # 20.49 [+1.50] Start point # 20.62 [+0.12] TEST: IPv4 fibmatch [ OK ] # 20.73 [+0.12] TEST: IPv6 fibmatch [ OK ] # 20.85 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 20.96 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 22.12 [+1.16] Carrier down # 22.23 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.34 [+0.11] TEST: IPv6 fibmatch [ OK ] # 22.44 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 22.55 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 22.77 [+0.22] Second address added with carrier down # 22.88 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.98 [+0.10] TEST: IPv6 fibmatch [ OK ] # 23.10 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 23.20 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 28.15 [+4.95] # 28.15 [+0.00] IPv4 nexthop tests # 28.15 [+0.00] <<< write me >>> # 28.42 [+0.27] # 28.42 [+0.00] IPv6 nexthop tests # 28.56 [+0.14] TEST: Directly connected nexthop, unicast address [ OK ] # 28.67 [+0.11] TEST: Directly connected nexthop, unicast address with device [ OK ] # 28.78 [+0.11] TEST: Gateway is linklocal address [ OK ] # 28.90 [+0.12] TEST: Gateway is linklocal address, no device [ OK ] # 29.01 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 29.15 [+0.14] TEST: Gateway can not be local unicast address, with device [ OK ] # 29.28 [+0.13] TEST: Gateway can not be a local linklocal address [ OK ] # 29.42 [+0.14] TEST: Gateway can be local address in a VRF [ OK ] # 29.53 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 29.66 [+0.13] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 29.77 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 29.89 [+0.11] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 29.99 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 30.13 [+0.14] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 31.24 [+1.11] # 31.24 [+0.00] FIB rule with suppress_prefixlength # 33.29 [+2.05] TEST: FIB rule suppress test [ OK ] # 35.19 [+1.90] # 35.19 [+0.00] Fib6 info length calculation in route notify test # 39.64 [+4.45] TEST: ipv6 route add notify [ OK ] # 41.59 [+1.95] # 41.59 [+0.00] Fib4 info length calculation in route notify test # 46.23 [+4.64] TEST: ipv4 route add notify [ OK ] # 51.89 [+5.66] # 51.89 [+0.00] IPv6 route add / append tests # 52.37 [+0.48] TEST: Attempt to add duplicate route - gw [ OK ] # 52.82 [+0.45] TEST: Attempt to add duplicate route - dev only [ OK ] # 53.25 [+0.43] TEST: Attempt to add duplicate route - reject route [ OK ] # 53.81 [+0.56] TEST: Append nexthop to existing route - gw [ OK ] # 54.27 [+0.46] TEST: Add multipath route [ OK ] # 54.68 [+0.41] TEST: Attempt to add duplicate multipath route [ OK ] # 55.26 [+0.57] TEST: Route add with different metrics [ OK ] # 55.54 [+0.28] TEST: Route delete with metric [ OK ] # 55.54 [+0.00] # 55.54 [+0.00] IPv6 route replace tests # 56.13 [+0.59] TEST: Single path with single path [ OK ] # 56.73 [+0.60] TEST: Single path with multipath [ OK ] # 57.32 [+0.59] TEST: Single path with single path via multipath attribute [ OK ] # 57.93 [+0.60] TEST: Invalid nexthop [ OK ] # 58.37 [+0.44] TEST: Single path - replace of non-existent route [ OK ] # 58.98 [+0.61] TEST: Multipath with multipath [ OK ] # 59.62 [+0.64] TEST: Multipath with single path [ OK ] # 60.22 [+0.60] TEST: Multipath with single path via multipath attribute [ OK ] # 60.77 [+0.56] TEST: Multipath with dev-only [ OK ] # 61.37 [+0.60] TEST: Multipath - invalid first nexthop [ OK ] # 61.93 [+0.56] TEST: Multipath - invalid second nexthop [ OK ] # 62.46 [+0.52] TEST: Multipath - replace of non-existent route [ OK ] # 62.46 [+0.00] # 62.46 [+0.00] IPv6 route with dsfield tests # 62.71 [+0.25] TEST: Reject route with dsfield [ OK ] # 70.50 [+7.79] # 70.50 [+0.00] IPv4 route add / append tests # 70.99 [+0.48] TEST: Attempt to add duplicate route - gw [ OK ] # 71.46 [+0.47] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.88 [+0.41] TEST: Attempt to add duplicate route - reject route [ OK ] # 72.44 [+0.56] TEST: Add new nexthop for existing prefix [ OK ] # 72.96 [+0.52] TEST: Append nexthop to existing route - gw [ OK ] # 73.57 [+0.61] TEST: Append nexthop to existing route - dev only [ OK ] # 74.20 [+0.63] TEST: Append nexthop to existing route - reject route [ OK ] # 74.73 [+0.52] TEST: Append nexthop to existing reject route - gw [ OK ] # 75.18 [+0.45] TEST: Append nexthop to existing reject route - dev only [ OK ] # 75.60 [+0.42] TEST: add multipath route [ OK ] # 76.07 [+0.47] TEST: Attempt to add duplicate multipath route [ OK ] # 76.69 [+0.61] TEST: Route add with different metrics [ OK ] # 76.93 [+0.25] TEST: Route delete with metric [ OK ] # 76.94 [+0.00] # 76.94 [+0.00] IPv4 route replace tests # 77.54 [+0.60] TEST: Single path with single path [ OK ] # 78.14 [+0.60] TEST: Single path with multipath [ OK ] # 78.69 [+0.56] TEST: Single path with reject route [ OK ] # 79.24 [+0.55] TEST: Single path with single path via multipath attribute [ OK ] # 79.86 [+0.62] TEST: Invalid nexthop [ OK ] # 80.30 [+0.45] TEST: Single path - replace of non-existent route [ OK ] # 80.89 [+0.59] TEST: Multipath with multipath [ OK ] # 81.52 [+0.63] TEST: Multipath with single path [ OK ] # 82.12 [+0.61] TEST: Multipath with single path via multipath attribute [ OK ] # 82.71 [+0.59] TEST: Multipath with reject route [ OK ] # 83.26 [+0.55] TEST: Multipath - invalid first nexthop [ OK ] # 83.78 [+0.53] TEST: Multipath - invalid second nexthop [ OK ] # 84.26 [+0.48] TEST: Multipath - replace of non-existent route [ OK ] # 86.08 [+1.82] TEST: Cached route removed from VRF port device [ OK ] # 86.09 [+0.01] # 86.09 [+0.00] IPv4 route with dsfield tests # 86.35 [+0.26] TEST: Reject route with dsfield 0x01 [ OK ] # 86.47 [+0.12] TEST: Reject route with dsfield 0x02 [ OK ] # 86.62 [+0.15] TEST: Reject route with dsfield 0x03 [ OK ] # 87.02 [+0.40] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 87.15 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 87.27 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 87.39 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 87.51 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 87.62 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 87.72 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 87.81 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 87.90 [+0.09] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 88.00 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 88.13 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 88.24 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 90.37 [+2.13] # 90.37 [+0.00] IPv6 prefix route tests # 92.80 [+2.43] TEST: Default metric [ OK ] # 93.19 [+0.40] TEST: User specified metric on first device [ OK ] # 93.57 [+0.37] TEST: User specified metric on second device [ OK ] # 93.84 [+0.27] TEST: Delete of address on first device [ OK ] # 94.09 [+0.25] TEST: Modify metric of address [ OK ] # 94.51 [+0.42] TEST: Prefix route removed on link down [ OK ] # 94.77 [+0.26] TEST: Prefix route with metric on link up [ OK ] # 95.19 [+0.42] TEST: Set metric with peer route on local side [ OK ] # 95.31 [+0.12] TEST: Set metric with peer route on peer side [ OK ] # 95.57 [+0.26] TEST: Modify metric and peer address on local side [ OK ] # 95.71 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 96.87 [+1.17] # 96.87 [+0.00] IPv4 prefix route tests # 99.22 [+2.35] TEST: Default metric [ OK ] # 99.57 [+0.34] TEST: User specified metric on first device [ OK ] # 99.90 [+0.33] TEST: User specified metric on second device [ OK ] # 100.16 [+0.26] TEST: Delete of address on first device [ OK ] # 100.38 [+0.22] TEST: Modify metric of address [ OK ] # 100.59 [+0.21] TEST: Prefix route removed on link down [ OK ] # 100.83 [+0.24] TEST: Prefix route with metric on link up [ OK ] # 101.33 [+0.50] TEST: Modify metric of .0/24 address [ OK ] # 101.67 [+0.34] TEST: Set metric of address with peer route [ OK ] # 101.89 [+0.22] TEST: Modify metric and peer address for peer route [ OK ] # 103.02 [+1.14] # 103.02 [+0.00] IPv6 routes with metrics # 108.73 [+5.70] TEST: Single path route with mtu metric [ OK ] # 109.09 [+0.37] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 109.50 [+0.41] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 109.73 [+0.22] TEST: MTU of second leg [ OK ] # 109.97 [+0.24] TEST: Multipath route with mtu metric [ OK ] # 110.25 [+0.28] TEST: Using route with mtu metric [ OK ] # 110.47 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 112.71 [+2.25] # 112.71 [+0.00] IPv4 route add / append tests # 118.45 [+5.74] TEST: Single path route with mtu metric [ OK ] # 118.67 [+0.22] TEST: Multipath route with mtu metric [ OK ] # 118.98 [+0.31] TEST: Using route with mtu metric [ OK ] # 119.19 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 121.18 [+1.99] # 121.18 [+0.00] IPv4 route with IPv6 gateway tests # 128.70 [+7.52] TEST: Single path route with IPv6 gateway [ OK ] # 128.98 [+0.28] TEST: Single path route with IPv6 gateway - ping [ OK ] # 129.10 [+0.12] TEST: Single path route delete [ OK ] # 129.30 [+0.20] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 129.54 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 129.66 [+0.12] TEST: Multipath route delete exact match [ OK ] # 129.78 [+0.13] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 130.01 [+0.22] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 130.13 [+0.13] TEST: Multipath route delete exact match [ OK ] # 132.18 [+2.05] # 132.18 [+0.00] IPv4 rp_filter tests # 139.55 [+7.36] TEST: rp_filter passes local packets [ OK ] # 139.74 [+0.19] TEST: rp_filter passes loopback packets [ OK ] # 140.66 [+0.93] # 140.66 [+0.00] IPv4 delete address route tests # 144.02 [+3.36] Regular FIB info # 144.22 [+0.19] TEST: Route removed from VRF when source address deleted [ OK ] # 144.33 [+0.11] TEST: Route in default VRF not removed [ OK ] # 144.72 [+0.40] TEST: Route removed in default VRF when source address deleted [ OK ] # 144.85 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 144.85 [+0.01] Identical FIB info with different table ID # 145.02 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 145.11 [+0.09] TEST: Route in default VRF not removed [ OK ] # 145.51 [+0.39] TEST: Route removed in default VRF when source address deleted [ OK ] # 145.60 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 145.60 [+0.01] Table ID 0 # 145.83 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 147.04 [+1.21] # 147.04 [+0.00] IPv6 delete address route tests # 153.00 [+5.96] Single device using src address # 153.23 [+0.22] TEST: Prefsrc removed when src address removed on other device [ OK ] # 153.23 [+0.00] Two devices with the same source address # 153.43 [+0.20] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 153.64 [+0.22] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 153.65 [+0.00] VRF with single device using src address # 153.85 [+0.20] TEST: Prefsrc removed when src address removed on other device [ OK ] # 153.85 [+0.00] VRF with two devices using src address # 154.09 [+0.24] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 154.32 [+0.23] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 154.32 [+0.00] src address and nexthop dev in same VRF # 154.53 [+0.21] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 154.65 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 155.07 [+0.42] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 155.16 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 155.16 [+0.00] src address and nexthop device in different VRF # 155.36 [+0.20] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 155.50 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 155.82 [+0.33] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 155.93 [+0.11] TEST: Prefsrc removed in default VRF [ OK ] # 155.93 [+0.00] Table ID 0 # 156.13 [+0.19] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 156.13 [+0.00] Link local source route # 156.31 [+0.18] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 156.52 [+0.21] TEST: Prefsrc removed when delete ll addr [ OK ] # 156.62 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 156.94 [+0.32] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 158.80 [+1.86] # 158.80 [+0.00] IPv4 mangling tests # 167.90 [+9.10] TEST: Connection with correct parameters [ OK ] # 168.11 [+0.21] TEST: Connection with incorrect parameters [ OK ] # 169.20 [+1.10] TEST: Connection with correct parameters - mangling [ OK ] # 170.10 [+0.90] TEST: Connection with correct parameters - no mangling [ OK ] # 170.19 [+0.08] TEST: Connection check - server side [ OK ] # 172.60 [+2.42] # 172.60 [+0.00] IPv6 mangling tests # 181.36 [+8.76] TEST: Connection with correct parameters [ OK ] # 181.62 [+0.26] TEST: Connection with incorrect parameters [ OK ] # 182.56 [+0.94] TEST: Connection with correct parameters - mangling [ OK ] # 183.47 [+0.91] TEST: Connection with correct parameters - no mangling [ OK ] # 183.54 [+0.07] TEST: Connection check - server side [ OK ] # 186.02 [+2.47] # 186.02 [+0.00] IPv4 broadcast neighbour tests # 188.67 [+2.65] TEST: Resolved neighbour for broadcast address [ OK ] # 188.77 [+0.10] TEST: Resolved neighbour for network broadcast address [ OK ] # 188.88 [+0.11] TEST: Unresolved neighbour for broadcast address [ OK ] # 188.99 [+0.11] TEST: Unresolved neighbour for network broadcast address [ OK ] # 191.26 [+2.27] # 191.26 [+0.00] Fib6 garbage collection test # 204.69 [+13.43] TEST: ipv6 route garbage collection [ OK ] # 218.43 [+13.75] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 232.23 [+13.80] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 246.16 [+13.93] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 260.69 [+14.53] TEST: ipv6 route garbage collection (RA message) [ OK ] # 261.42 [+0.73] # 261.43 [+0.00] IPv4 multipath list receive tests # 280.69 [+19.26] TEST: Multipath route hit ratio (1.00) [ OK ] # 282.76 [+2.07] # 282.76 [+0.00] IPv6 multipath list receive tests # 302.08 [+19.31] TEST: Multipath route hit ratio (1.00) [ OK ] # 304.11 [+2.04] # 304.11 [+0.00] Tests passed: 229 # 304.11 [+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__->