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.38 [+0.38] # 0.38 [+0.00] Single path route test # 1.32 [+0.94] Start point # 1.41 [+0.08] TEST: IPv4 fibmatch [ OK ] # 1.50 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.61 [+0.11] Nexthop device deleted # 1.69 [+0.08] TEST: IPv4 fibmatch - no route [ OK ] # 1.77 [+0.07] TEST: IPv6 fibmatch - no route [ OK ] # 2.29 [+0.52] # 2.29 [+0.00] Multipath route test # 3.99 [+1.69] Start point # 4.07 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.17 [+0.09] TEST: IPv6 fibmatch [ OK ] # 4.29 [+0.12] One nexthop device deleted # 4.37 [+0.08] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.46 [+0.09] TEST: IPv6 - multipath down to single path [ OK ] # 4.63 [+0.17] Second nexthop device deleted # 4.73 [+0.10] TEST: IPv6 - no route [ OK ] # 5.46 [+0.73] # 5.46 [+0.00] Single path, admin down # 7.09 [+1.63] Start point # 7.20 [+0.10] TEST: IPv4 fibmatch [ OK ] # 7.30 [+0.10] TEST: IPv6 fibmatch [ OK ] # 7.45 [+0.15] Route deleted on down # 7.54 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.68 [+0.14] TEST: IPv6 fibmatch [ OK ] # 8.18 [+0.51] # 8.18 [+0.00] Admin down multipath # 10.15 [+1.97] Verify start point # 10.25 [+0.09] TEST: IPv4 fibmatch [ OK ] # 10.35 [+0.10] TEST: IPv6 fibmatch [ OK ] # 10.45 [+0.10] One device down, one up # 10.56 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 10.64 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 10.74 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 10.85 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 10.96 [+0.10] TEST: IPv4 flags on down device [ OK ] # 11.06 [+0.10] TEST: IPv6 flags on down device [ OK ] # 11.15 [+0.09] TEST: IPv4 flags on up device [ OK ] # 11.24 [+0.10] TEST: IPv6 flags on up device [ OK ] # 11.43 [+0.18] Other device down and up # 11.53 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 11.61 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 11.71 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 11.79 [+0.08] TEST: IPv6 fibmatch on up device [ OK ] # 11.89 [+0.09] TEST: IPv4 flags on down device [ OK ] # 11.98 [+0.10] TEST: IPv6 flags on down device [ OK ] # 12.10 [+0.12] TEST: IPv4 flags on up device [ OK ] # 12.20 [+0.10] TEST: IPv6 flags on up device [ OK ] # 12.28 [+0.08] Both devices down # 12.37 [+0.10] TEST: IPv4 fibmatch [ OK ] # 12.47 [+0.09] TEST: IPv6 fibmatch [ OK ] # 13.10 [+0.63] # 13.10 [+0.00] Local carrier tests - single path # 14.42 [+1.33] Start point # 14.52 [+0.10] TEST: IPv4 fibmatch [ OK ] # 14.61 [+0.09] TEST: IPv6 fibmatch [ OK ] # 14.70 [+0.08] TEST: IPv4 - no linkdown flag [ OK ] # 14.78 [+0.08] TEST: IPv6 - no linkdown flag [ OK ] # 15.91 [+1.14] Carrier off on nexthop # 16.00 [+0.09] TEST: IPv4 fibmatch [ OK ] # 16.09 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.18 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 16.28 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 16.45 [+0.17] Route to local address with carrier down # 16.54 [+0.09] TEST: IPv4 fibmatch [ OK ] # 16.63 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.71 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 16.81 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 17.26 [+0.45] # 17.26 [+0.00] Single path route carrier test # 18.60 [+1.34] Start point # 18.70 [+0.10] TEST: IPv4 fibmatch [ OK ] # 18.78 [+0.08] TEST: IPv6 fibmatch [ OK ] # 18.86 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 18.96 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 20.10 [+1.14] Carrier down # 20.20 [+0.10] TEST: IPv4 fibmatch [ OK ] # 20.28 [+0.09] TEST: IPv6 fibmatch [ OK ] # 20.36 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 20.49 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 20.66 [+0.17] Second address added with carrier down # 20.74 [+0.08] TEST: IPv4 fibmatch [ OK ] # 20.83 [+0.09] TEST: IPv6 fibmatch [ OK ] # 20.91 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 20.98 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 25.12 [+4.14] # 25.12 [+0.00] IPv4 nexthop tests # 25.12 [+0.00] <<< write me >>> # 25.34 [+0.22] # 25.34 [+0.00] IPv6 nexthop tests # 25.44 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 25.53 [+0.09] TEST: Directly connected nexthop, unicast address with device [ OK ] # 25.62 [+0.09] TEST: Gateway is linklocal address [ OK ] # 25.71 [+0.08] TEST: Gateway is linklocal address, no device [ OK ] # 25.81 [+0.10] TEST: Gateway can not be local unicast address [ OK ] # 25.89 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.98 [+0.09] TEST: Gateway can not be a local linklocal address [ OK ] # 26.07 [+0.08] TEST: Gateway can be local address in a VRF [ OK ] # 26.16 [+0.09] TEST: Gateway can be local address in a VRF, with device [ OK ] # 26.25 [+0.10] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 26.35 [+0.09] TEST: Redirect to VRF lookup [ OK ] # 26.43 [+0.09] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 26.53 [+0.10] TEST: VRF route, gateway can not be a local address [ OK ] # 26.62 [+0.09] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 27.59 [+0.97] # 27.59 [+0.00] FIB rule with suppress_prefixlength # 29.30 [+1.71] TEST: FIB rule suppress test [ OK ] # 30.84 [+1.54] # 30.84 [+0.00] Fib6 info length calculation in route notify test # 34.80 [+3.96] TEST: ipv6 route add notify [ OK ] # 36.34 [+1.55] # 36.34 [+0.00] Fib4 info length calculation in route notify test # 40.31 [+3.97] TEST: ipv4 route add notify [ OK ] # 44.66 [+4.35] # 44.66 [+0.00] IPv6 route add / append tests # 45.00 [+0.34] TEST: Attempt to add duplicate route - gw [ OK ] # 45.36 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 45.72 [+0.36] TEST: Attempt to add duplicate route - reject route [ OK ] # 46.19 [+0.47] TEST: Append nexthop to existing route - gw [ OK ] # 46.56 [+0.37] TEST: Add multipath route [ OK ] # 46.93 [+0.37] TEST: Attempt to add duplicate multipath route [ OK ] # 47.38 [+0.45] TEST: Route add with different metrics [ OK ] # 47.59 [+0.21] TEST: Route delete with metric [ OK ] # 47.60 [+0.00] # 47.60 [+0.00] IPv6 route replace tests # 48.05 [+0.46] TEST: Single path with single path [ OK ] # 48.52 [+0.47] TEST: Single path with multipath [ OK ] # 48.99 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 49.42 [+0.43] TEST: Invalid nexthop [ OK ] # 49.79 [+0.37] TEST: Single path - replace of non-existent route [ OK ] # 50.26 [+0.47] TEST: Multipath with multipath [ OK ] # 50.70 [+0.45] TEST: Multipath with single path [ OK ] # 51.14 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 51.59 [+0.45] TEST: Multipath with dev-only [ OK ] # 52.05 [+0.45] TEST: Multipath - invalid first nexthop [ OK ] # 52.49 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 52.85 [+0.36] TEST: Multipath - replace of non-existent route [ OK ] # 52.85 [+0.00] # 52.85 [+0.00] IPv6 route with dsfield tests # 53.02 [+0.16] TEST: Reject route with dsfield [ OK ] # 58.95 [+5.93] # 58.95 [+0.00] IPv4 route add / append tests # 59.28 [+0.33] TEST: Attempt to add duplicate route - gw [ OK ] # 59.62 [+0.34] TEST: Attempt to add duplicate route - dev only [ OK ] # 59.97 [+0.35] TEST: Attempt to add duplicate route - reject route [ OK ] # 60.40 [+0.43] TEST: Add new nexthop for existing prefix [ OK ] # 60.82 [+0.42] TEST: Append nexthop to existing route - gw [ OK ] # 61.25 [+0.43] TEST: Append nexthop to existing route - dev only [ OK ] # 61.68 [+0.43] TEST: Append nexthop to existing route - reject route [ OK ] # 62.04 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 62.39 [+0.35] TEST: Append nexthop to existing reject route - dev only [ OK ] # 62.74 [+0.35] TEST: add multipath route [ OK ] # 63.08 [+0.35] TEST: Attempt to add duplicate multipath route [ OK ] # 63.51 [+0.42] TEST: Route add with different metrics [ OK ] # 63.68 [+0.17] TEST: Route delete with metric [ OK ] # 63.68 [+0.00] # 63.68 [+0.00] IPv4 route replace tests # 64.13 [+0.44] TEST: Single path with single path [ OK ] # 64.55 [+0.42] TEST: Single path with multipath [ OK ] # 64.98 [+0.43] TEST: Single path with reject route [ OK ] # 65.41 [+0.43] TEST: Single path with single path via multipath attribute [ OK ] # 65.83 [+0.43] TEST: Invalid nexthop [ OK ] # 66.17 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 66.61 [+0.43] TEST: Multipath with multipath [ OK ] # 67.04 [+0.43] TEST: Multipath with single path [ OK ] # 67.48 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 67.90 [+0.43] TEST: Multipath with reject route [ OK ] # 68.35 [+0.44] TEST: Multipath - invalid first nexthop [ OK ] # 68.79 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 69.12 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 70.53 [+1.40] TEST: Cached route removed from VRF port device [ OK ] # 70.53 [+0.00] # 70.53 [+0.00] IPv4 route with dsfield tests # 70.71 [+0.18] TEST: Reject route with dsfield 0x01 [ OK ] # 70.80 [+0.09] TEST: Reject route with dsfield 0x02 [ OK ] # 70.89 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 71.15 [+0.26] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 71.23 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 71.33 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 71.42 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 71.50 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 71.60 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 71.68 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 71.78 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 71.86 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 71.95 [+0.08] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 72.04 [+0.09] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 72.11 [+0.07] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 73.84 [+1.73] # 73.84 [+0.00] IPv6 prefix route tests # 75.64 [+1.79] TEST: Default metric [ OK ] # 75.92 [+0.29] TEST: User specified metric on first device [ OK ] # 76.21 [+0.29] TEST: User specified metric on second device [ OK ] # 76.38 [+0.17] TEST: Delete of address on first device [ OK ] # 76.56 [+0.18] TEST: Modify metric of address [ OK ] # 76.85 [+0.29] TEST: Prefix route removed on link down [ OK ] # 77.04 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 77.31 [+0.27] TEST: Set metric with peer route on local side [ OK ] # 77.40 [+0.09] TEST: Set metric with peer route on peer side [ OK ] # 77.59 [+0.19] TEST: Modify metric and peer address on local side [ OK ] # 77.68 [+0.08] TEST: Modify metric and peer address on peer side [ OK ] # 78.63 [+0.95] # 78.63 [+0.00] IPv4 prefix route tests # 80.39 [+1.77] TEST: Default metric [ OK ] # 80.65 [+0.26] TEST: User specified metric on first device [ OK ] # 80.91 [+0.26] TEST: User specified metric on second device [ OK ] # 81.09 [+0.18] TEST: Delete of address on first device [ OK ] # 81.27 [+0.18] TEST: Modify metric of address [ OK ] # 81.44 [+0.17] TEST: Prefix route removed on link down [ OK ] # 81.62 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 81.97 [+0.35] TEST: Modify metric of .0/24 address [ OK ] # 82.25 [+0.29] TEST: Set metric of address with peer route [ OK ] # 82.43 [+0.18] TEST: Modify metric and peer address for peer route [ OK ] # 83.37 [+0.94] # 83.37 [+0.00] IPv6 routes with metrics # 87.75 [+4.38] TEST: Single path route with mtu metric [ OK ] # 88.04 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 88.31 [+0.27] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 88.50 [+0.18] TEST: MTU of second leg [ OK ] # 88.71 [+0.21] TEST: Multipath route with mtu metric [ OK ] # 88.92 [+0.22] TEST: Using route with mtu metric [ OK ] # 89.08 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 90.74 [+1.66] # 90.74 [+0.00] IPv4 route add / append tests # 95.07 [+4.33] TEST: Single path route with mtu metric [ OK ] # 95.25 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 95.47 [+0.22] TEST: Using route with mtu metric [ OK ] # 95.62 [+0.15] TEST: Invalid metric (fails metric_convert) [ OK ] # 97.28 [+1.66] # 97.28 [+0.00] IPv4 route with IPv6 gateway tests # 103.68 [+6.40] TEST: Single path route with IPv6 gateway [ OK ] # 103.91 [+0.23] TEST: Single path route with IPv6 gateway - ping [ OK ] # 104.00 [+0.10] TEST: Single path route delete [ OK ] # 104.17 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 104.35 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 104.44 [+0.09] TEST: Multipath route delete exact match [ OK ] # 104.53 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 104.72 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 104.80 [+0.09] TEST: Multipath route delete exact match [ OK ] # 106.50 [+1.69] # 106.50 [+0.00] IPv4 rp_filter tests # 112.24 [+5.75] TEST: rp_filter passes local packets [ OK ] # 112.38 [+0.14] TEST: rp_filter passes loopback packets [ OK ] # 113.09 [+0.71] # 113.09 [+0.00] IPv4 delete address route tests # 115.70 [+2.60] Regular FIB info # 115.84 [+0.14] TEST: Route removed from VRF when source address deleted [ OK ] # 115.93 [+0.09] TEST: Route in default VRF not removed [ OK ] # 116.23 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 116.31 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 116.31 [+0.00] Identical FIB info with different table ID # 116.47 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 116.57 [+0.09] TEST: Route in default VRF not removed [ OK ] # 116.89 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 116.96 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 116.96 [+0.00] Table ID 0 # 117.13 [+0.18] TEST: Route removed in default VRF when source address deleted [ OK ] # 118.06 [+0.92] # 118.06 [+0.00] IPv6 delete address route tests # 122.61 [+4.55] Single device using src address # 122.77 [+0.16] TEST: Prefsrc removed when src address removed on other device [ OK ] # 122.78 [+0.00] Two devices with the same source address # 122.95 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 123.12 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 123.12 [+0.00] VRF with single device using src address # 123.30 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 123.30 [+0.00] VRF with two devices using src address # 123.47 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 123.63 [+0.16] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 123.63 [+0.00] src address and nexthop dev in same VRF # 123.79 [+0.16] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 123.87 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 124.17 [+0.31] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 124.26 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 124.26 [+0.00] src address and nexthop device in different VRF # 124.42 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 124.50 [+0.08] TEST: Prefsrc not removed in default VRF [ OK ] # 124.73 [+0.23] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 124.81 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 124.81 [+0.00] Table ID 0 # 124.98 [+0.17] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 124.98 [+0.00] Link local source route # 125.14 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 125.31 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 125.40 [+0.09] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 125.66 [+0.26] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 127.09 [+1.44] # 127.09 [+0.00] IPv4 mangling tests # 134.44 [+7.35] TEST: Connection with correct parameters [ OK ] # 134.61 [+0.17] TEST: Connection with incorrect parameters [ OK ] # 135.55 [+0.94] TEST: Connection with correct parameters - mangling [ OK ] # 136.39 [+0.84] TEST: Connection with correct parameters - no mangling [ OK ] # 136.45 [+0.06] TEST: Connection check - server side [ OK ] # 138.47 [+2.02] # 138.47 [+0.00] IPv6 mangling tests # 145.99 [+7.52] TEST: Connection with correct parameters [ OK ] # 146.17 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 147.01 [+0.84] TEST: Connection with correct parameters - mangling [ OK ] # 147.87 [+0.86] TEST: Connection with correct parameters - no mangling [ OK ] # 147.93 [+0.05] TEST: Connection check - server side [ OK ] # 149.84 [+1.91] # 149.84 [+0.00] IPv4 broadcast neighbour tests # 151.90 [+2.06] TEST: Resolved neighbour for broadcast address [ OK ] # 151.97 [+0.08] TEST: Resolved neighbour for network broadcast address [ OK ] # 152.07 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 152.16 [+0.08] TEST: Unresolved neighbour for network broadcast address [ OK ] # 153.87 [+1.72] # 153.87 [+0.00] Fib6 garbage collection test # 166.99 [+13.12] TEST: ipv6 route garbage collection [ OK ] # 180.30 [+13.31] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 193.61 [+13.31] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 207.06 [+13.44] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 221.30 [+14.24] TEST: ipv6 route garbage collection (RA message) [ OK ] # 221.98 [+0.68] # 221.98 [+0.00] IPv4 multipath list receive tests # 237.87 [+15.90] TEST: Multipath route hit ratio (1.00) [ OK ] # 239.66 [+1.79] # 239.66 [+0.00] IPv6 multipath list receive tests # 255.86 [+16.19] TEST: Multipath route hit ratio (1.00) [ OK ] # 257.69 [+1.83] # 257.69 [+0.00] Tests passed: 229 # 257.69 [+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__->