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.56 [+0.56] # 0.56 [+0.00] Single path route test # 1.64 [+1.08] Start point # 1.73 [+0.09] TEST: IPv4 fibmatch [ OK ] # 1.83 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.98 [+0.15] Nexthop device deleted # 2.08 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 2.17 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.76 [+0.59] # 2.76 [+0.00] Multipath route test # 4.57 [+1.81] Start point # 4.66 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.78 [+0.12] TEST: IPv6 fibmatch [ OK ] # 4.89 [+0.11] One nexthop device deleted # 4.98 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.07 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 5.18 [+0.10] Second nexthop device deleted # 5.28 [+0.10] TEST: IPv6 - no route [ OK ] # 5.87 [+0.59] # 5.87 [+0.00] Single path, admin down # 7.04 [+1.17] Start point # 7.12 [+0.08] TEST: IPv4 fibmatch [ OK ] # 7.21 [+0.09] TEST: IPv6 fibmatch [ OK ] # 7.30 [+0.09] Route deleted on down # 7.41 [+0.11] TEST: IPv4 fibmatch [ OK ] # 7.49 [+0.09] TEST: IPv6 fibmatch [ OK ] # 7.98 [+0.48] # 7.98 [+0.00] Admin down multipath # 9.71 [+1.73] Verify start point # 9.79 [+0.08] TEST: IPv4 fibmatch [ OK ] # 9.87 [+0.08] TEST: IPv6 fibmatch [ OK ] # 9.96 [+0.09] One device down, one up # 10.04 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 10.12 [+0.08] TEST: IPv6 fibmatch on down device [ OK ] # 10.21 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 10.30 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 10.40 [+0.10] TEST: IPv4 flags on down device [ OK ] # 10.50 [+0.10] TEST: IPv6 flags on down device [ OK ] # 10.60 [+0.10] TEST: IPv4 flags on up device [ OK ] # 10.70 [+0.10] TEST: IPv6 flags on up device [ OK ] # 10.90 [+0.20] Other device down and up # 11.00 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 11.09 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 11.17 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 11.27 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 11.36 [+0.10] TEST: IPv4 flags on down device [ OK ] # 11.46 [+0.10] TEST: IPv6 flags on down device [ OK ] # 11.56 [+0.10] TEST: IPv4 flags on up device [ OK ] # 11.65 [+0.09] TEST: IPv6 flags on up device [ OK ] # 11.73 [+0.09] Both devices down # 11.83 [+0.09] TEST: IPv4 fibmatch [ OK ] # 11.91 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.46 [+0.55] # 12.46 [+0.00] Local carrier tests - single path # 13.71 [+1.25] Start point # 13.79 [+0.08] TEST: IPv4 fibmatch [ OK ] # 13.88 [+0.09] TEST: IPv6 fibmatch [ OK ] # 13.97 [+0.09] TEST: IPv4 - no linkdown flag [ OK ] # 14.06 [+0.09] TEST: IPv6 - no linkdown flag [ OK ] # 15.20 [+1.14] Carrier off on nexthop # 15.29 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.39 [+0.10] TEST: IPv6 fibmatch [ OK ] # 15.48 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 15.58 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 15.74 [+0.16] Route to local address with carrier down # 15.81 [+0.07] TEST: IPv4 fibmatch [ OK ] # 15.91 [+0.10] TEST: IPv6 fibmatch [ OK ] # 15.99 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 16.08 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 16.52 [+0.44] # 16.52 [+0.00] Single path route carrier test # 17.79 [+1.28] Start point # 17.88 [+0.08] TEST: IPv4 fibmatch [ OK ] # 17.97 [+0.09] TEST: IPv6 fibmatch [ OK ] # 18.05 [+0.08] TEST: IPv4 no linkdown flag [ OK ] # 18.14 [+0.09] TEST: IPv6 no linkdown flag [ OK ] # 19.26 [+1.12] Carrier down # 19.36 [+0.10] TEST: IPv4 fibmatch [ OK ] # 19.44 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.53 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 19.61 [+0.08] TEST: IPv6 linkdown flag set [ OK ] # 19.78 [+0.17] Second address added with carrier down # 19.86 [+0.08] TEST: IPv4 fibmatch [ OK ] # 19.95 [+0.08] TEST: IPv6 fibmatch [ OK ] # 20.02 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 20.11 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 24.26 [+4.16] # 24.27 [+0.00] IPv4 nexthop tests # 24.27 [+0.00] <<< write me >>> # 24.48 [+0.21] # 24.48 [+0.00] IPv6 nexthop tests # 24.58 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 24.67 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 24.77 [+0.09] TEST: Gateway is linklocal address [ OK ] # 24.86 [+0.09] TEST: Gateway is linklocal address, no device [ OK ] # 24.95 [+0.09] TEST: Gateway can not be local unicast address [ OK ] # 25.05 [+0.09] TEST: Gateway can not be local unicast address, with device [ OK ] # 25.13 [+0.08] TEST: Gateway can not be a local linklocal address [ OK ] # 25.22 [+0.09] TEST: Gateway can be local address in a VRF [ OK ] # 25.32 [+0.10] TEST: Gateway can be local address in a VRF, with device [ OK ] # 25.41 [+0.09] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 25.51 [+0.10] TEST: Redirect to VRF lookup [ OK ] # 25.59 [+0.08] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 25.68 [+0.09] TEST: VRF route, gateway can not be a local address [ OK ] # 25.77 [+0.08] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 26.77 [+1.00] # 26.77 [+0.00] FIB rule with suppress_prefixlength # 28.52 [+1.74] TEST: FIB rule suppress test [ OK ] # 30.09 [+1.57] # 30.09 [+0.00] Fib6 info length calculation in route notify test # 33.98 [+3.89] TEST: ipv6 route add notify [ OK ] # 35.69 [+1.71] # 35.69 [+0.00] Fib4 info length calculation in route notify test # 39.67 [+3.98] TEST: ipv4 route add notify [ OK ] # 44.11 [+4.44] # 44.11 [+0.00] IPv6 route add / append tests # 44.46 [+0.35] TEST: Attempt to add duplicate route - gw [ OK ] # 44.83 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 45.20 [+0.37] TEST: Attempt to add duplicate route - reject route [ OK ] # 45.69 [+0.49] TEST: Append nexthop to existing route - gw [ OK ] # 46.10 [+0.41] TEST: Add multipath route [ OK ] # 46.46 [+0.36] TEST: Attempt to add duplicate multipath route [ OK ] # 46.91 [+0.45] TEST: Route add with different metrics [ OK ] # 47.10 [+0.19] TEST: Route delete with metric [ OK ] # 47.10 [+0.00] # 47.10 [+0.00] IPv6 route replace tests # 47.53 [+0.43] TEST: Single path with single path [ OK ] # 47.99 [+0.46] TEST: Single path with multipath [ OK ] # 48.43 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 48.89 [+0.46] TEST: Invalid nexthop [ OK ] # 49.25 [+0.37] TEST: Single path - replace of non-existent route [ OK ] # 49.70 [+0.44] TEST: Multipath with multipath [ OK ] # 50.16 [+0.46] TEST: Multipath with single path [ OK ] # 50.60 [+0.44] TEST: Multipath with single path via multipath attribute [ OK ] # 51.05 [+0.45] TEST: Multipath with dev-only [ OK ] # 51.52 [+0.47] TEST: Multipath - invalid first nexthop [ OK ] # 51.99 [+0.47] TEST: Multipath - invalid second nexthop [ OK ] # 52.34 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 52.34 [+0.00] # 52.34 [+0.00] IPv6 route with dsfield tests # 52.51 [+0.17] TEST: Reject route with dsfield [ OK ] # 58.63 [+6.12] # 58.64 [+0.00] IPv4 route add / append tests # 58.99 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 59.35 [+0.36] TEST: Attempt to add duplicate route - dev only [ OK ] # 59.70 [+0.34] TEST: Attempt to add duplicate route - reject route [ OK ] # 60.15 [+0.45] TEST: Add new nexthop for existing prefix [ OK ] # 60.68 [+0.53] TEST: Append nexthop to existing route - gw [ OK ] # 61.19 [+0.51] TEST: Append nexthop to existing route - dev only [ OK ] # 61.74 [+0.55] TEST: Append nexthop to existing route - reject route [ OK ] # 62.11 [+0.37] TEST: Append nexthop to existing reject route - gw [ OK ] # 62.49 [+0.38] TEST: Append nexthop to existing reject route - dev only [ OK ] # 62.86 [+0.37] TEST: add multipath route [ OK ] # 63.27 [+0.41] TEST: Attempt to add duplicate multipath route [ OK ] # 63.77 [+0.50] TEST: Route add with different metrics [ OK ] # 63.99 [+0.21] TEST: Route delete with metric [ OK ] # 63.99 [+0.00] # 63.99 [+0.00] IPv4 route replace tests # 64.49 [+0.50] TEST: Single path with single path [ OK ] # 64.98 [+0.49] TEST: Single path with multipath [ OK ] # 65.44 [+0.46] TEST: Single path with reject route [ OK ] # 65.90 [+0.46] TEST: Single path with single path via multipath attribute [ OK ] # 66.34 [+0.44] TEST: Invalid nexthop [ OK ] # 66.68 [+0.34] TEST: Single path - replace of non-existent route [ OK ] # 67.10 [+0.42] TEST: Multipath with multipath [ OK ] # 67.54 [+0.44] TEST: Multipath with single path [ OK ] # 67.99 [+0.45] TEST: Multipath with single path via multipath attribute [ OK ] # 68.41 [+0.42] TEST: Multipath with reject route [ OK ] # 68.84 [+0.44] TEST: Multipath - invalid first nexthop [ OK ] # 69.28 [+0.43] TEST: Multipath - invalid second nexthop [ OK ] # 69.63 [+0.35] TEST: Multipath - replace of non-existent route [ OK ] # 71.06 [+1.43] TEST: Cached route removed from VRF port device [ OK ] # 71.06 [+0.00] # 71.06 [+0.00] IPv4 route with dsfield tests # 71.25 [+0.19] TEST: Reject route with dsfield 0x01 [ OK ] # 71.33 [+0.08] TEST: Reject route with dsfield 0x02 [ OK ] # 71.43 [+0.09] TEST: Reject route with dsfield 0x03 [ OK ] # 71.70 [+0.27] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 71.78 [+0.08] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 71.87 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 71.96 [+0.09] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 72.05 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 72.13 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 72.23 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 72.32 [+0.08] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 72.39 [+0.07] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 72.47 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 72.54 [+0.07] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 72.63 [+0.09] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 74.48 [+1.85] # 74.48 [+0.00] IPv6 prefix route tests # 76.32 [+1.85] TEST: Default metric [ OK ] # 76.61 [+0.29] TEST: User specified metric on first device [ OK ] # 76.90 [+0.29] TEST: User specified metric on second device [ OK ] # 77.08 [+0.19] TEST: Delete of address on first device [ OK ] # 77.30 [+0.22] TEST: Modify metric of address [ OK ] # 77.64 [+0.34] TEST: Prefix route removed on link down [ OK ] # 77.88 [+0.24] TEST: Prefix route with metric on link up [ OK ] # 78.19 [+0.31] TEST: Set metric with peer route on local side [ OK ] # 78.32 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 78.52 [+0.20] TEST: Modify metric and peer address on local side [ OK ] # 78.62 [+0.10] TEST: Modify metric and peer address on peer side [ OK ] # 79.67 [+1.05] # 79.67 [+0.00] IPv4 prefix route tests # 81.67 [+2.00] TEST: Default metric [ OK ] # 81.98 [+0.30] TEST: User specified metric on first device [ OK ] # 82.27 [+0.29] TEST: User specified metric on second device [ OK ] # 82.45 [+0.19] TEST: Delete of address on first device [ OK ] # 82.65 [+0.20] TEST: Modify metric of address [ OK ] # 82.83 [+0.17] TEST: Prefix route removed on link down [ OK ] # 83.03 [+0.20] TEST: Prefix route with metric on link up [ OK ] # 83.40 [+0.38] TEST: Modify metric of .0/24 address [ OK ] # 83.71 [+0.31] TEST: Set metric of address with peer route [ OK ] # 83.90 [+0.19] TEST: Modify metric and peer address for peer route [ OK ] # 84.98 [+1.08] # 84.98 [+0.00] IPv6 routes with metrics # 89.94 [+4.96] TEST: Single path route with mtu metric [ OK ] # 90.23 [+0.29] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 90.54 [+0.31] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 90.72 [+0.18] TEST: MTU of second leg [ OK ] # 90.92 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 91.13 [+0.22] TEST: Using route with mtu metric [ OK ] # 91.30 [+0.17] TEST: Invalid metric (fails metric_convert) [ OK ] # 93.08 [+1.77] # 93.08 [+0.00] IPv4 route add / append tests # 97.70 [+4.62] TEST: Single path route with mtu metric [ OK ] # 97.88 [+0.18] TEST: Multipath route with mtu metric [ OK ] # 98.10 [+0.22] TEST: Using route with mtu metric [ OK ] # 98.26 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 100.03 [+1.77] # 100.03 [+0.00] IPv4 route with IPv6 gateway tests # 106.64 [+6.61] TEST: Single path route with IPv6 gateway [ OK ] # 106.87 [+0.23] TEST: Single path route with IPv6 gateway - ping [ OK ] # 106.95 [+0.08] TEST: Single path route delete [ OK ] # 107.11 [+0.17] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 107.31 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 107.42 [+0.11] TEST: Multipath route delete exact match [ OK ] # 107.52 [+0.10] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 107.72 [+0.20] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 107.83 [+0.10] TEST: Multipath route delete exact match [ OK ] # 109.58 [+1.75] # 109.58 [+0.00] IPv4 rp_filter tests # 115.65 [+6.07] TEST: rp_filter passes local packets [ OK ] # 115.79 [+0.15] TEST: rp_filter passes loopback packets [ OK ] # 116.57 [+0.77] # 116.57 [+0.00] IPv4 delete address route tests # 119.54 [+2.97] Regular FIB info # 119.70 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 119.78 [+0.08] TEST: Route in default VRF not removed [ OK ] # 120.09 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 120.19 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 120.19 [+0.00] Identical FIB info with different table ID # 120.36 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 120.45 [+0.09] TEST: Route in default VRF not removed [ OK ] # 120.79 [+0.34] TEST: Route removed in default VRF when source address deleted [ OK ] # 120.87 [+0.08] TEST: Route in VRF is not removed by address delete [ OK ] # 120.87 [+0.00] Table ID 0 # 121.04 [+0.17] TEST: Route removed in default VRF when source address deleted [ OK ] # 122.02 [+0.98] # 122.02 [+0.00] IPv6 delete address route tests # 126.88 [+4.86] Single device using src address # 127.05 [+0.17] TEST: Prefsrc removed when src address removed on other device [ OK ] # 127.05 [+0.00] Two devices with the same source address # 127.23 [+0.18] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 127.42 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 127.42 [+0.00] VRF with single device using src address # 127.63 [+0.21] TEST: Prefsrc removed when src address removed on other device [ OK ] # 127.63 [+0.00] VRF with two devices using src address # 127.80 [+0.17] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 127.98 [+0.18] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 127.98 [+0.00] src address and nexthop dev in same VRF # 128.17 [+0.19] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 128.27 [+0.10] TEST: Prefsrc in default VRF not removed [ OK ] # 128.58 [+0.31] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 128.66 [+0.08] TEST: Prefsrc in default VRF removed [ OK ] # 128.67 [+0.00] src address and nexthop device in different VRF # 128.82 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 128.96 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 129.22 [+0.26] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 129.34 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 129.35 [+0.00] Table ID 0 # 129.53 [+0.18] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 129.53 [+0.00] Link local source route # 129.73 [+0.20] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 129.90 [+0.17] TEST: Prefsrc removed when delete ll addr [ OK ] # 130.01 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 130.24 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 131.83 [+1.58] # 131.83 [+0.00] IPv4 mangling tests # 139.99 [+8.16] TEST: Connection with correct parameters [ OK ] # 140.17 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 141.18 [+1.01] TEST: Connection with correct parameters - mangling [ OK ] # 142.03 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 142.11 [+0.08] TEST: Connection check - server side [ OK ] # 144.15 [+2.04] # 144.15 [+0.00] IPv6 mangling tests # 151.72 [+7.57] TEST: Connection with correct parameters [ OK ] # 151.90 [+0.18] TEST: Connection with incorrect parameters [ OK ] # 152.75 [+0.84] TEST: Connection with correct parameters - mangling [ OK ] # 153.60 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 153.67 [+0.07] TEST: Connection check - server side [ OK ] # 155.76 [+2.09] # 155.76 [+0.00] IPv4 broadcast neighbour tests # 158.06 [+2.29] TEST: Resolved neighbour for broadcast address [ OK ] # 158.14 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 158.25 [+0.11] TEST: Unresolved neighbour for broadcast address [ OK ] # 158.33 [+0.09] TEST: Unresolved neighbour for network broadcast address [ OK ] # 160.17 [+1.84] # 160.17 [+0.00] Fib6 garbage collection test # 173.35 [+13.18] TEST: ipv6 route garbage collection [ OK ] # 186.76 [+13.41] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 200.26 [+13.50] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 213.91 [+13.65] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 228.31 [+14.40] TEST: ipv6 route garbage collection (RA message) [ OK ] # 229.12 [+0.81] # 229.12 [+0.00] IPv4 multipath list receive tests # 246.37 [+17.25] TEST: Multipath route hit ratio (1.00) [ OK ] # 248.30 [+1.93] # 248.30 [+0.00] IPv6 multipath list receive tests # 265.07 [+16.77] TEST: Multipath route hit ratio (.99) [ OK ] # 266.86 [+1.79] # 266.86 [+0.00] Tests passed: 229 # 266.86 [+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__->