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.53 [+0.53] # 0.53 [+0.00] Single path route test # 1.75 [+1.22] Start point # 1.87 [+0.12] TEST: IPv4 fibmatch [ OK ] # 1.99 [+0.12] TEST: IPv6 fibmatch [ OK ] # 2.15 [+0.16] Nexthop device deleted # 2.25 [+0.11] TEST: IPv4 fibmatch - no route [ OK ] # 2.38 [+0.12] TEST: IPv6 fibmatch - no route [ OK ] # 3.11 [+0.73] # 3.11 [+0.00] Multipath route test # 5.42 [+2.31] Start point # 5.54 [+0.12] TEST: IPv4 fibmatch [ OK ] # 5.66 [+0.13] TEST: IPv6 fibmatch [ OK ] # 5.81 [+0.15] One nexthop device deleted # 5.95 [+0.13] TEST: IPv4 - multipath route removed on delete [ OK ] # 6.07 [+0.12] TEST: IPv6 - multipath down to single path [ OK ] # 6.21 [+0.15] Second nexthop device deleted # 6.33 [+0.12] TEST: IPv6 - no route [ OK ] # 7.06 [+0.73] # 7.06 [+0.00] Single path, admin down # 8.59 [+1.53] Start point # 8.70 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.80 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.92 [+0.12] Route deleted on down # 9.01 [+0.09] TEST: IPv4 fibmatch [ OK ] # 9.12 [+0.11] TEST: IPv6 fibmatch [ OK ] # 9.68 [+0.56] # 9.68 [+0.00] Admin down multipath # 11.91 [+2.23] Verify start point # 12.02 [+0.11] TEST: IPv4 fibmatch [ OK ] # 12.14 [+0.12] TEST: IPv6 fibmatch [ OK ] # 12.25 [+0.11] One device down, one up # 12.35 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 12.48 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 12.59 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 12.71 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 12.82 [+0.11] TEST: IPv4 flags on down device [ OK ] # 12.95 [+0.14] TEST: IPv6 flags on down device [ OK ] # 13.06 [+0.11] TEST: IPv4 flags on up device [ OK ] # 13.20 [+0.14] TEST: IPv6 flags on up device [ OK ] # 13.43 [+0.23] Other device down and up # 13.55 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 13.66 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 13.77 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 13.88 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 14.00 [+0.12] TEST: IPv4 flags on down device [ OK ] # 14.14 [+0.13] TEST: IPv6 flags on down device [ OK ] # 14.27 [+0.14] TEST: IPv4 flags on up device [ OK ] # 14.41 [+0.14] TEST: IPv6 flags on up device [ OK ] # 14.53 [+0.12] Both devices down # 14.65 [+0.12] TEST: IPv4 fibmatch [ OK ] # 14.76 [+0.12] TEST: IPv6 fibmatch [ OK ] # 15.51 [+0.74] # 15.51 [+0.00] Local carrier tests - single path # 17.16 [+1.65] Start point # 17.26 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.38 [+0.12] TEST: IPv6 fibmatch [ OK ] # 17.50 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 17.63 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 18.79 [+1.16] Carrier off on nexthop # 18.92 [+0.13] TEST: IPv4 fibmatch [ OK ] # 19.02 [+0.10] TEST: IPv6 fibmatch [ OK ] # 19.16 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 19.26 [+0.10] TEST: IPv6 - linkdown flag set [ OK ] # 19.48 [+0.21] Route to local address with carrier down # 19.59 [+0.12] TEST: IPv4 fibmatch [ OK ] # 19.72 [+0.12] TEST: IPv6 fibmatch [ OK ] # 19.82 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 19.96 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 20.55 [+0.59] # 20.55 [+0.00] Single path route carrier test # 22.18 [+1.63] Start point # 22.29 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.40 [+0.11] TEST: IPv6 fibmatch [ OK ] # 22.50 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 22.61 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 23.79 [+1.17] Carrier down # 23.91 [+0.12] TEST: IPv4 fibmatch [ OK ] # 24.01 [+0.11] TEST: IPv6 fibmatch [ OK ] # 24.14 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 24.24 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 24.47 [+0.22] Second address added with carrier down # 24.57 [+0.10] TEST: IPv4 fibmatch [ OK ] # 24.68 [+0.11] TEST: IPv6 fibmatch [ OK ] # 24.81 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 24.93 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 30.32 [+5.38] # 30.32 [+0.00] IPv4 nexthop tests # 30.32 [+0.00] <<< write me >>> # 30.62 [+0.30] # 30.62 [+0.00] IPv6 nexthop tests # 30.77 [+0.15] TEST: Directly connected nexthop, unicast address [ OK ] # 30.90 [+0.13] TEST: Directly connected nexthop, unicast address with device [ OK ] # 31.03 [+0.13] TEST: Gateway is linklocal address [ OK ] # 31.16 [+0.13] TEST: Gateway is linklocal address, no device [ OK ] # 31.28 [+0.12] TEST: Gateway can not be local unicast address [ OK ] # 31.42 [+0.13] TEST: Gateway can not be local unicast address, with device [ OK ] # 31.55 [+0.13] TEST: Gateway can not be a local linklocal address [ OK ] # 31.67 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 31.81 [+0.13] TEST: Gateway can be local address in a VRF, with device [ OK ] # 31.93 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 32.05 [+0.13] TEST: Redirect to VRF lookup [ OK ] # 32.17 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 32.32 [+0.14] TEST: VRF route, gateway can not be a local address [ OK ] # 32.43 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 33.68 [+1.25] # 33.69 [+0.00] FIB rule with suppress_prefixlength # 36.04 [+2.36] TEST: FIB rule suppress test [ OK ] # 38.21 [+2.17] # 38.21 [+0.00] Fib6 info length calculation in route notify test # 42.86 [+4.65] TEST: ipv6 route add notify [ OK ] # 44.97 [+2.11] # 44.97 [+0.00] Fib4 info length calculation in route notify test # 49.63 [+4.66] TEST: ipv4 route add notify [ OK ] # 55.53 [+5.90] # 55.53 [+0.00] IPv6 route add / append tests # 56.03 [+0.50] TEST: Attempt to add duplicate route - gw [ OK ] # 56.52 [+0.48] TEST: Attempt to add duplicate route - dev only [ OK ] # 57.02 [+0.51] TEST: Attempt to add duplicate route - reject route [ OK ] # 57.66 [+0.64] TEST: Append nexthop to existing route - gw [ OK ] # 58.21 [+0.54] TEST: Add multipath route [ OK ] # 58.68 [+0.48] TEST: Attempt to add duplicate multipath route [ OK ] # 59.29 [+0.61] TEST: Route add with different metrics [ OK ] # 59.55 [+0.26] TEST: Route delete with metric [ OK ] # 59.55 [+0.00] # 59.55 [+0.00] IPv6 route replace tests # 60.18 [+0.63] TEST: Single path with single path [ OK ] # 60.80 [+0.62] TEST: Single path with multipath [ OK ] # 61.40 [+0.59] TEST: Single path with single path via multipath attribute [ OK ] # 62.02 [+0.62] TEST: Invalid nexthop [ OK ] # 62.52 [+0.50] TEST: Single path - replace of non-existent route [ OK ] # 63.12 [+0.61] TEST: Multipath with multipath [ OK ] # 63.76 [+0.64] TEST: Multipath with single path [ OK ] # 64.41 [+0.65] TEST: Multipath with single path via multipath attribute [ OK ] # 65.02 [+0.61] TEST: Multipath with dev-only [ OK ] # 65.67 [+0.64] TEST: Multipath - invalid first nexthop [ OK ] # 66.29 [+0.63] TEST: Multipath - invalid second nexthop [ OK ] # 66.78 [+0.49] TEST: Multipath - replace of non-existent route [ OK ] # 66.79 [+0.00] # 66.79 [+0.00] IPv6 route with dsfield tests # 67.05 [+0.26] TEST: Reject route with dsfield [ OK ] # 75.29 [+8.24] # 75.29 [+0.00] IPv4 route add / append tests # 75.78 [+0.49] TEST: Attempt to add duplicate route - gw [ OK ] # 76.27 [+0.49] TEST: Attempt to add duplicate route - dev only [ OK ] # 76.74 [+0.47] TEST: Attempt to add duplicate route - reject route [ OK ] # 77.37 [+0.64] TEST: Add new nexthop for existing prefix [ OK ] # 77.97 [+0.60] TEST: Append nexthop to existing route - gw [ OK ] # 78.59 [+0.62] TEST: Append nexthop to existing route - dev only [ OK ] # 79.20 [+0.60] TEST: Append nexthop to existing route - reject route [ OK ] # 79.71 [+0.52] TEST: Append nexthop to existing reject route - gw [ OK ] # 80.20 [+0.49] TEST: Append nexthop to existing reject route - dev only [ OK ] # 80.68 [+0.48] TEST: add multipath route [ OK ] # 81.17 [+0.49] TEST: Attempt to add duplicate multipath route [ OK ] # 81.77 [+0.60] TEST: Route add with different metrics [ OK ] # 82.03 [+0.26] TEST: Route delete with metric [ OK ] # 82.03 [+0.00] # 82.03 [+0.00] IPv4 route replace tests # 82.64 [+0.61] TEST: Single path with single path [ OK ] # 83.25 [+0.61] TEST: Single path with multipath [ OK ] # 83.86 [+0.61] TEST: Single path with reject route [ OK ] # 84.47 [+0.60] TEST: Single path with single path via multipath attribute [ OK ] # 85.06 [+0.60] TEST: Invalid nexthop [ OK ] # 85.53 [+0.47] TEST: Single path - replace of non-existent route [ OK ] # 86.13 [+0.60] TEST: Multipath with multipath [ OK ] # 86.71 [+0.58] TEST: Multipath with single path [ OK ] # 87.33 [+0.62] TEST: Multipath with single path via multipath attribute [ OK ] # 87.94 [+0.60] TEST: Multipath with reject route [ OK ] # 88.54 [+0.60] TEST: Multipath - invalid first nexthop [ OK ] # 89.17 [+0.63] TEST: Multipath - invalid second nexthop [ OK ] # 89.66 [+0.49] TEST: Multipath - replace of non-existent route [ OK ] # 91.53 [+1.87] TEST: Cached route removed from VRF port device [ OK ] # 91.53 [+0.00] # 91.53 [+0.00] IPv4 route with dsfield tests # 91.78 [+0.25] TEST: Reject route with dsfield 0x01 [ OK ] # 91.90 [+0.12] TEST: Reject route with dsfield 0x02 [ OK ] # 92.03 [+0.12] TEST: Reject route with dsfield 0x03 [ OK ] # 92.39 [+0.37] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 92.51 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 92.64 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 92.77 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 92.89 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 93.01 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 93.13 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 93.25 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 93.36 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 93.46 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 93.58 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 93.72 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 95.89 [+2.17] # 95.89 [+0.00] IPv6 prefix route tests # 98.38 [+2.48] TEST: Default metric [ OK ] # 98.79 [+0.41] TEST: User specified metric on first device [ OK ] # 99.16 [+0.37] TEST: User specified metric on second device [ OK ] # 99.40 [+0.24] TEST: Delete of address on first device [ OK ] # 99.65 [+0.25] TEST: Modify metric of address [ OK ] # 100.08 [+0.43] TEST: Prefix route removed on link down [ OK ] # 100.36 [+0.28] TEST: Prefix route with metric on link up [ OK ] # 100.76 [+0.40] TEST: Set metric with peer route on local side [ OK ] # 100.89 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 101.14 [+0.25] TEST: Modify metric and peer address on local side [ OK ] # 101.30 [+0.16] TEST: Modify metric and peer address on peer side [ OK ] # 102.54 [+1.24] # 102.54 [+0.00] IPv4 prefix route tests # 104.96 [+2.42] TEST: Default metric [ OK ] # 105.31 [+0.36] TEST: User specified metric on first device [ OK ] # 105.69 [+0.37] TEST: User specified metric on second device [ OK ] # 105.94 [+0.25] TEST: Delete of address on first device [ OK ] # 106.18 [+0.25] TEST: Modify metric of address [ OK ] # 106.42 [+0.24] TEST: Prefix route removed on link down [ OK ] # 106.67 [+0.25] TEST: Prefix route with metric on link up [ OK ] # 107.17 [+0.50] TEST: Modify metric of .0/24 address [ OK ] # 107.52 [+0.35] TEST: Set metric of address with peer route [ OK ] # 107.79 [+0.26] TEST: Modify metric and peer address for peer route [ OK ] # 109.04 [+1.25] # 109.04 [+0.00] IPv6 routes with metrics # 115.16 [+6.12] TEST: Single path route with mtu metric [ OK ] # 115.56 [+0.40] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 115.93 [+0.37] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 116.20 [+0.27] TEST: MTU of second leg [ OK ] # 116.44 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 116.75 [+0.31] TEST: Using route with mtu metric [ OK ] # 116.96 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 119.07 [+2.11] # 119.07 [+0.00] IPv4 route add / append tests # 125.10 [+6.03] TEST: Single path route with mtu metric [ OK ] # 125.37 [+0.27] TEST: Multipath route with mtu metric [ OK ] # 125.72 [+0.34] TEST: Using route with mtu metric [ OK ] # 125.98 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 128.14 [+2.16] # 128.14 [+0.00] IPv4 route with IPv6 gateway tests # 136.11 [+7.97] TEST: Single path route with IPv6 gateway [ OK ] # 136.41 [+0.31] TEST: Single path route with IPv6 gateway - ping [ OK ] # 136.55 [+0.14] TEST: Single path route delete [ OK ] # 136.77 [+0.22] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 137.03 [+0.25] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 137.16 [+0.13] TEST: Multipath route delete exact match [ OK ] # 137.28 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 137.52 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 137.66 [+0.14] TEST: Multipath route delete exact match [ OK ] # 139.84 [+2.18] # 139.84 [+0.00] IPv4 rp_filter tests # 147.70 [+7.86] TEST: rp_filter passes local packets [ OK ] # 147.89 [+0.18] TEST: rp_filter passes loopback packets [ OK ] # 148.88 [+1.00] # 148.88 [+0.00] IPv4 delete address route tests # 152.66 [+3.77] Regular FIB info # 152.88 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 152.99 [+0.12] TEST: Route in default VRF not removed [ OK ] # 153.45 [+0.45] TEST: Route removed in default VRF when source address deleted [ OK ] # 153.55 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 153.56 [+0.00] Identical FIB info with different table ID # 153.78 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 153.89 [+0.11] TEST: Route in default VRF not removed [ OK ] # 154.32 [+0.43] TEST: Route removed in default VRF when source address deleted [ OK ] # 154.43 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 154.44 [+0.00] Table ID 0 # 154.67 [+0.24] TEST: Route removed in default VRF when source address deleted [ OK ] # 155.94 [+1.26] # 155.94 [+0.00] IPv6 delete address route tests # 162.30 [+6.36] Single device using src address # 162.53 [+0.23] TEST: Prefsrc removed when src address removed on other device [ OK ] # 162.53 [+0.00] Two devices with the same source address # 162.75 [+0.22] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 162.99 [+0.24] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 163.00 [+0.00] VRF with single device using src address # 163.23 [+0.23] TEST: Prefsrc removed when src address removed on other device [ OK ] # 163.23 [+0.00] VRF with two devices using src address # 163.43 [+0.20] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 163.66 [+0.23] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 163.66 [+0.00] src address and nexthop dev in same VRF # 163.89 [+0.23] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 164.01 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 164.45 [+0.44] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 164.59 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 164.59 [+0.00] src address and nexthop device in different VRF # 164.80 [+0.21] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 164.92 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 165.28 [+0.36] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 165.40 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 165.41 [+0.00] Table ID 0 # 165.65 [+0.24] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 165.65 [+0.00] Link local source route # 165.86 [+0.21] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 166.10 [+0.24] TEST: Prefsrc removed when delete ll addr [ OK ] # 166.23 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 166.58 [+0.35] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 168.52 [+1.94] # 168.52 [+0.00] IPv4 mangling tests # 177.74 [+9.22] TEST: Connection with correct parameters [ OK ] # 177.98 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 179.05 [+1.06] TEST: Connection with correct parameters - mangling [ OK ] # 180.00 [+0.95] TEST: Connection with correct parameters - no mangling [ OK ] # 180.08 [+0.08] TEST: Connection check - server side [ OK ] # 182.58 [+2.51] # 182.58 [+0.00] IPv6 mangling tests # 191.80 [+9.22] TEST: Connection with correct parameters [ OK ] # 192.08 [+0.27] TEST: Connection with incorrect parameters [ OK ] # 193.04 [+0.96] TEST: Connection with correct parameters - mangling [ OK ] # 194.02 [+0.98] TEST: Connection with correct parameters - no mangling [ OK ] # 194.10 [+0.08] TEST: Connection check - server side [ OK ] # 196.68 [+2.57] # 196.68 [+0.00] IPv4 broadcast neighbour tests # 199.69 [+3.02] TEST: Resolved neighbour for broadcast address [ OK ] # 199.82 [+0.13] TEST: Resolved neighbour for network broadcast address [ OK ] # 199.94 [+0.12] TEST: Unresolved neighbour for broadcast address [ OK ] # 200.06 [+0.12] TEST: Unresolved neighbour for network broadcast address [ OK ] # 202.53 [+2.47] # 202.53 [+0.00] Fib6 garbage collection test # 216.12 [+13.59] TEST: ipv6 route garbage collection [ OK ] # 230.01 [+13.89] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 243.92 [+13.91] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 257.98 [+14.06] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 272.67 [+14.69] TEST: ipv6 route garbage collection (RA message) [ OK ] # 273.61 [+0.94] # 273.61 [+0.00] IPv4 multipath list receive tests # 293.07 [+19.46] TEST: Multipath route hit ratio (1.00) [ OK ] # 295.33 [+2.26] # 295.33 [+0.00] IPv6 multipath list receive tests # 314.43 [+19.09] TEST: Multipath route hit ratio (1.00) [ OK ] # 316.59 [+2.16] # 316.59 [+0.00] Tests passed: 229 # 316.59 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->