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.41 [+0.41] # 0.42 [+0.00] Single path route test # 1.37 [+0.96] Start point # 1.47 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.57 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.71 [+0.14] Nexthop device deleted # 1.81 [+0.10] TEST: IPv4 fibmatch - no route [ OK ] # 1.90 [+0.09] TEST: IPv6 fibmatch - no route [ OK ] # 2.43 [+0.53] # 2.43 [+0.00] Multipath route test # 4.13 [+1.70] Start point # 4.22 [+0.09] TEST: IPv4 fibmatch [ OK ] # 4.30 [+0.08] TEST: IPv6 fibmatch [ OK ] # 4.42 [+0.12] One nexthop device deleted # 4.51 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 4.61 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 4.73 [+0.12] Second nexthop device deleted # 4.82 [+0.09] TEST: IPv6 - no route [ OK ] # 5.33 [+0.52] # 5.33 [+0.00] Single path, admin down # 6.63 [+1.29] Start point # 6.75 [+0.12] TEST: IPv4 fibmatch [ OK ] # 6.83 [+0.09] TEST: IPv6 fibmatch [ OK ] # 6.98 [+0.15] Route deleted on down # 7.08 [+0.09] TEST: IPv4 fibmatch [ OK ] # 7.19 [+0.11] TEST: IPv6 fibmatch [ OK ] # 7.67 [+0.48] # 7.67 [+0.00] Admin down multipath # 9.38 [+1.71] Verify start point # 9.48 [+0.10] TEST: IPv4 fibmatch [ OK ] # 9.63 [+0.15] TEST: IPv6 fibmatch [ OK ] # 9.78 [+0.16] One device down, one up # 9.93 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 10.08 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 10.16 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 10.32 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 10.43 [+0.11] TEST: IPv4 flags on down device [ OK ] # 10.55 [+0.12] TEST: IPv6 flags on down device [ OK ] # 10.66 [+0.11] TEST: IPv4 flags on up device [ OK ] # 10.77 [+0.11] TEST: IPv6 flags on up device [ OK ] # 10.95 [+0.19] Other device down and up # 11.03 [+0.08] TEST: IPv4 fibmatch on down device [ OK ] # 11.16 [+0.13] TEST: IPv6 fibmatch on down device [ OK ] # 11.24 [+0.08] TEST: IPv4 fibmatch on up device [ OK ] # 11.34 [+0.09] TEST: IPv6 fibmatch on up device [ OK ] # 11.42 [+0.08] TEST: IPv4 flags on down device [ OK ] # 11.51 [+0.09] TEST: IPv6 flags on down device [ OK ] # 11.59 [+0.08] TEST: IPv4 flags on up device [ OK ] # 11.68 [+0.09] TEST: IPv6 flags on up device [ OK ] # 11.77 [+0.09] Both devices down # 11.85 [+0.08] TEST: IPv4 fibmatch [ OK ] # 11.93 [+0.08] TEST: IPv6 fibmatch [ OK ] # 12.49 [+0.56] # 12.49 [+0.00] Local carrier tests - single path # 14.00 [+1.51] Start point # 14.13 [+0.13] TEST: IPv4 fibmatch [ OK ] # 14.22 [+0.10] TEST: IPv6 fibmatch [ OK ] # 14.35 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 14.48 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 15.64 [+1.16] Carrier off on nexthop # 15.73 [+0.09] TEST: IPv4 fibmatch [ OK ] # 15.81 [+0.09] TEST: IPv6 fibmatch [ OK ] # 15.90 [+0.09] TEST: IPv4 - linkdown flag set [ OK ] # 15.98 [+0.08] TEST: IPv6 - linkdown flag set [ OK ] # 16.15 [+0.16] Route to local address with carrier down # 16.22 [+0.07] TEST: IPv4 fibmatch [ OK ] # 16.31 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.38 [+0.07] TEST: IPv4 linkdown flag set [ OK ] # 16.47 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 16.89 [+0.43] # 16.89 [+0.00] Single path route carrier test # 18.08 [+1.19] Start point # 18.17 [+0.09] TEST: IPv4 fibmatch [ OK ] # 18.28 [+0.11] TEST: IPv6 fibmatch [ OK ] # 18.42 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 18.53 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 19.71 [+1.18] Carrier down # 19.80 [+0.09] TEST: IPv4 fibmatch [ OK ] # 19.88 [+0.08] TEST: IPv6 fibmatch [ OK ] # 19.97 [+0.09] TEST: IPv4 linkdown flag set [ OK ] # 20.06 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 20.23 [+0.17] Second address added with carrier down # 20.31 [+0.08] TEST: IPv4 fibmatch [ OK ] # 20.39 [+0.08] TEST: IPv6 fibmatch [ OK ] # 20.49 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 20.58 [+0.09] TEST: IPv6 linkdown flag set [ OK ] # 25.19 [+4.60] # 25.19 [+0.00] IPv4 nexthop tests # 25.19 [+0.00] <<< write me >>> # 25.58 [+0.39] # 25.58 [+0.00] IPv6 nexthop tests # 25.75 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 25.89 [+0.14] TEST: Directly connected nexthop, unicast address with device [ OK ] # 26.05 [+0.15] TEST: Gateway is linklocal address [ OK ] # 26.18 [+0.13] TEST: Gateway is linklocal address, no device [ OK ] # 26.34 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 26.53 [+0.19] TEST: Gateway can not be local unicast address, with device [ OK ] # 26.71 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 26.87 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 26.99 [+0.12] TEST: Gateway can be local address in a VRF, with device [ OK ] # 27.11 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 27.28 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 27.46 [+0.18] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 27.60 [+0.14] TEST: VRF route, gateway can not be a local address [ OK ] # 27.73 [+0.13] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 29.00 [+1.27] # 29.00 [+0.00] FIB rule with suppress_prefixlength # 30.83 [+1.83] TEST: FIB rule suppress test [ OK ] # 32.37 [+1.54] # 32.37 [+0.00] Fib6 info length calculation in route notify test # 36.28 [+3.91] TEST: ipv6 route add notify [ OK ] # 37.85 [+1.57] # 37.85 [+0.00] Fib4 info length calculation in route notify test # 42.39 [+4.54] TEST: ipv4 route add notify [ OK ] # 47.44 [+5.05] # 47.44 [+0.00] IPv6 route add / append tests # 47.79 [+0.36] TEST: Attempt to add duplicate route - gw [ OK ] # 48.17 [+0.37] TEST: Attempt to add duplicate route - dev only [ OK ] # 48.55 [+0.38] TEST: Attempt to add duplicate route - reject route [ OK ] # 49.04 [+0.49] TEST: Append nexthop to existing route - gw [ OK ] # 49.47 [+0.43] TEST: Add multipath route [ OK ] # 49.94 [+0.47] TEST: Attempt to add duplicate multipath route [ OK ] # 50.59 [+0.65] TEST: Route add with different metrics [ OK ] # 50.95 [+0.36] TEST: Route delete with metric [ OK ] # 50.95 [+0.00] # 50.95 [+0.00] IPv6 route replace tests # 51.67 [+0.72] TEST: Single path with single path [ OK ] # 52.45 [+0.78] TEST: Single path with multipath [ OK ] # 53.21 [+0.76] TEST: Single path with single path via multipath attribute [ OK ] # 53.78 [+0.57] TEST: Invalid nexthop [ OK ] # 54.18 [+0.40] TEST: Single path - replace of non-existent route [ OK ] # 54.69 [+0.51] TEST: Multipath with multipath [ OK ] # 55.16 [+0.47] TEST: Multipath with single path [ OK ] # 55.63 [+0.47] TEST: Multipath with single path via multipath attribute [ OK ] # 56.14 [+0.51] TEST: Multipath with dev-only [ OK ] # 56.62 [+0.48] TEST: Multipath - invalid first nexthop [ OK ] # 57.06 [+0.44] TEST: Multipath - invalid second nexthop [ OK ] # 57.41 [+0.34] TEST: Multipath - replace of non-existent route [ OK ] # 57.41 [+0.00] # 57.41 [+0.00] IPv6 route with dsfield tests # 57.60 [+0.19] TEST: Reject route with dsfield [ OK ] # 64.07 [+6.47] # 64.07 [+0.00] IPv4 route add / append tests # 64.40 [+0.32] TEST: Attempt to add duplicate route - gw [ OK ] # 64.80 [+0.40] TEST: Attempt to add duplicate route - dev only [ OK ] # 65.35 [+0.55] TEST: Attempt to add duplicate route - reject route [ OK ] # 65.99 [+0.65] TEST: Add new nexthop for existing prefix [ OK ] # 66.47 [+0.47] TEST: Append nexthop to existing route - gw [ OK ] # 66.92 [+0.45] TEST: Append nexthop to existing route - dev only [ OK ] # 67.36 [+0.44] TEST: Append nexthop to existing route - reject route [ OK ] # 67.72 [+0.36] TEST: Append nexthop to existing reject route - gw [ OK ] # 68.08 [+0.36] TEST: Append nexthop to existing reject route - dev only [ OK ] # 68.44 [+0.35] TEST: add multipath route [ OK ] # 68.84 [+0.41] TEST: Attempt to add duplicate multipath route [ OK ] # 69.49 [+0.65] TEST: Route add with different metrics [ OK ] # 69.82 [+0.33] TEST: Route delete with metric [ OK ] # 69.83 [+0.01] # 69.83 [+0.00] IPv4 route replace tests # 70.41 [+0.58] TEST: Single path with single path [ OK ] # 70.90 [+0.49] TEST: Single path with multipath [ OK ] # 71.35 [+0.45] TEST: Single path with reject route [ OK ] # 71.80 [+0.44] TEST: Single path with single path via multipath attribute [ OK ] # 72.25 [+0.45] TEST: Invalid nexthop [ OK ] # 72.60 [+0.35] TEST: Single path - replace of non-existent route [ OK ] # 73.27 [+0.67] TEST: Multipath with multipath [ OK ] # 73.85 [+0.58] TEST: Multipath with single path [ OK ] # 74.30 [+0.45] TEST: Multipath with single path via multipath attribute [ OK ] # 74.74 [+0.44] TEST: Multipath with reject route [ OK ] # 75.20 [+0.46] TEST: Multipath - invalid first nexthop [ OK ] # 75.65 [+0.45] TEST: Multipath - invalid second nexthop [ OK ] # 76.08 [+0.43] TEST: Multipath - replace of non-existent route [ OK ] # 77.97 [+1.89] TEST: Cached route removed from VRF port device [ OK ] # 77.98 [+0.01] # 77.98 [+0.00] IPv4 route with dsfield tests # 78.27 [+0.30] TEST: Reject route with dsfield 0x01 [ OK ] # 78.41 [+0.14] TEST: Reject route with dsfield 0x02 [ OK ] # 78.55 [+0.14] TEST: Reject route with dsfield 0x03 [ OK ] # 78.97 [+0.42] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 79.13 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 79.24 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 79.35 [+0.11] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 79.52 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 79.63 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 79.75 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 79.86 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 79.95 [+0.08] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 80.06 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 80.17 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 80.29 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 82.10 [+1.81] # 82.10 [+0.00] IPv6 prefix route tests # 83.96 [+1.86] TEST: Default metric [ OK ] # 84.25 [+0.30] TEST: User specified metric on first device [ OK ] # 84.55 [+0.30] TEST: User specified metric on second device [ OK ] # 84.73 [+0.18] TEST: Delete of address on first device [ OK ] # 84.92 [+0.18] TEST: Modify metric of address [ OK ] # 85.22 [+0.31] TEST: Prefix route removed on link down [ OK ] # 85.40 [+0.18] TEST: Prefix route with metric on link up [ OK ] # 85.68 [+0.28] TEST: Set metric with peer route on local side [ OK ] # 85.79 [+0.11] TEST: Set metric with peer route on peer side [ OK ] # 86.01 [+0.22] TEST: Modify metric and peer address on local side [ OK ] # 86.10 [+0.09] TEST: Modify metric and peer address on peer side [ OK ] # 87.08 [+0.98] # 87.08 [+0.00] IPv4 prefix route tests # 88.81 [+1.74] TEST: Default metric [ OK ] # 89.08 [+0.26] TEST: User specified metric on first device [ OK ] # 89.34 [+0.26] TEST: User specified metric on second device [ OK ] # 89.52 [+0.18] TEST: Delete of address on first device [ OK ] # 89.69 [+0.17] TEST: Modify metric of address [ OK ] # 89.86 [+0.17] TEST: Prefix route removed on link down [ OK ] # 90.03 [+0.17] TEST: Prefix route with metric on link up [ OK ] # 90.39 [+0.36] TEST: Modify metric of .0/24 address [ OK ] # 90.64 [+0.26] TEST: Set metric of address with peer route [ OK ] # 90.81 [+0.17] TEST: Modify metric and peer address for peer route [ OK ] # 91.72 [+0.91] # 91.72 [+0.00] IPv6 routes with metrics # 96.10 [+4.37] TEST: Single path route with mtu metric [ OK ] # 96.36 [+0.26] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 96.63 [+0.28] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 96.81 [+0.18] TEST: MTU of second leg [ OK ] # 97.02 [+0.20] TEST: Multipath route with mtu metric [ OK ] # 97.24 [+0.22] TEST: Using route with mtu metric [ OK ] # 97.39 [+0.16] TEST: Invalid metric (fails metric_convert) [ OK ] # 99.00 [+1.61] # 99.00 [+0.00] IPv4 route add / append tests # 103.36 [+4.36] TEST: Single path route with mtu metric [ OK ] # 103.53 [+0.17] TEST: Multipath route with mtu metric [ OK ] # 103.76 [+0.23] TEST: Using route with mtu metric [ OK ] # 104.01 [+0.25] TEST: Invalid metric (fails metric_convert) [ OK ] # 105.61 [+1.59] # 105.61 [+0.00] IPv4 route with IPv6 gateway tests # 111.81 [+6.21] TEST: Single path route with IPv6 gateway [ OK ] # 112.04 [+0.22] TEST: Single path route with IPv6 gateway - ping [ OK ] # 112.12 [+0.08] TEST: Single path route delete [ OK ] # 112.28 [+0.16] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 112.46 [+0.18] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 112.54 [+0.08] TEST: Multipath route delete exact match [ OK ] # 112.63 [+0.09] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 112.81 [+0.17] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 112.91 [+0.10] TEST: Multipath route delete exact match [ OK ] # 114.49 [+1.58] # 114.49 [+0.00] IPv4 rp_filter tests # 120.06 [+5.57] TEST: rp_filter passes local packets [ OK ] # 120.19 [+0.13] TEST: rp_filter passes loopback packets [ OK ] # 120.90 [+0.71] # 120.90 [+0.00] IPv4 delete address route tests # 123.50 [+2.60] Regular FIB info # 123.67 [+0.17] TEST: Route removed from VRF when source address deleted [ OK ] # 123.77 [+0.09] TEST: Route in default VRF not removed [ OK ] # 124.08 [+0.31] TEST: Route removed in default VRF when source address deleted [ OK ] # 124.18 [+0.10] TEST: Route in VRF is not removed by address delete [ OK ] # 124.18 [+0.00] Identical FIB info with different table ID # 124.34 [+0.16] TEST: Route removed from VRF when source address deleted [ OK ] # 124.41 [+0.07] TEST: Route in default VRF not removed [ OK ] # 124.73 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 124.80 [+0.07] TEST: Route in VRF is not removed by address delete [ OK ] # 124.81 [+0.00] Table ID 0 # 124.95 [+0.14] TEST: Route removed in default VRF when source address deleted [ OK ] # 125.86 [+0.92] # 125.86 [+0.00] IPv6 delete address route tests # 130.26 [+4.39] Single device using src address # 130.41 [+0.15] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.42 [+0.00] Two devices with the same source address # 130.58 [+0.16] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 130.75 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 130.75 [+0.00] VRF with single device using src address # 130.89 [+0.14] TEST: Prefsrc removed when src address removed on other device [ OK ] # 130.90 [+0.00] VRF with two devices using src address # 131.05 [+0.15] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 131.22 [+0.17] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 131.22 [+0.00] src address and nexthop dev in same VRF # 131.37 [+0.15] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 131.45 [+0.08] TEST: Prefsrc in default VRF not removed [ OK ] # 131.76 [+0.31] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 131.85 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 131.85 [+0.00] src address and nexthop device in different VRF # 132.01 [+0.16] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 132.08 [+0.07] TEST: Prefsrc not removed in default VRF [ OK ] # 132.33 [+0.25] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 132.41 [+0.08] TEST: Prefsrc removed in default VRF [ OK ] # 132.42 [+0.00] Table ID 0 # 132.59 [+0.17] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 132.59 [+0.00] Link local source route # 132.75 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 132.91 [+0.16] TEST: Prefsrc removed when delete ll addr [ OK ] # 132.99 [+0.08] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 133.21 [+0.23] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 134.65 [+1.44] # 134.65 [+0.00] IPv4 mangling tests # 141.79 [+7.14] TEST: Connection with correct parameters [ OK ] # 141.96 [+0.16] TEST: Connection with incorrect parameters [ OK ] # 142.88 [+0.92] TEST: Connection with correct parameters - mangling [ OK ] # 143.73 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 143.77 [+0.05] TEST: Connection check - server side [ OK ] # 145.74 [+1.96] # 145.74 [+0.00] IPv6 mangling tests # 153.00 [+7.26] TEST: Connection with correct parameters [ OK ] # 153.18 [+0.19] TEST: Connection with incorrect parameters [ OK ] # 154.03 [+0.84] TEST: Connection with correct parameters - mangling [ OK ] # 154.88 [+0.85] TEST: Connection with correct parameters - no mangling [ OK ] # 154.94 [+0.06] TEST: Connection check - server side [ OK ] # 156.85 [+1.91] # 156.85 [+0.00] IPv4 broadcast neighbour tests # 158.97 [+2.13] TEST: Resolved neighbour for broadcast address [ OK ] # 159.06 [+0.09] TEST: Resolved neighbour for network broadcast address [ OK ] # 159.15 [+0.08] TEST: Unresolved neighbour for broadcast address [ OK ] # 159.26 [+0.11] TEST: Unresolved neighbour for network broadcast address [ OK ] # 161.04 [+1.78] # 161.04 [+0.00] Fib6 garbage collection test # 174.19 [+13.15] TEST: ipv6 route garbage collection [ OK ] # 187.51 [+13.32] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 200.85 [+13.34] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 214.31 [+13.47] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 228.50 [+14.19] TEST: ipv6 route garbage collection (RA message) [ OK ] # 229.19 [+0.69] # 229.19 [+0.00] IPv4 multipath list receive tests # 244.86 [+15.67] TEST: Multipath route hit ratio (1.00) [ OK ] # 246.63 [+1.77] # 246.63 [+0.00] IPv6 multipath list receive tests # 262.46 [+15.83] TEST: Multipath route hit ratio (1.00) [ OK ] # 264.28 [+1.81] # 264.28 [+0.00] Tests passed: 229 # 264.28 [+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__->