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.59 [+0.59] # 0.59 [+0.00] Single path route test # 1.76 [+1.18] Start point # 1.87 [+0.11] TEST: IPv4 fibmatch [ OK ] # 2.00 [+0.13] TEST: IPv6 fibmatch [ OK ] # 2.13 [+0.13] Nexthop device deleted # 2.24 [+0.11] TEST: IPv4 fibmatch - no route [ OK ] # 2.34 [+0.10] TEST: IPv6 fibmatch - no route [ OK ] # 3.05 [+0.71] # 3.05 [+0.00] Multipath route test # 5.25 [+2.20] Start point # 5.37 [+0.12] TEST: IPv4 fibmatch [ OK ] # 5.48 [+0.11] TEST: IPv6 fibmatch [ OK ] # 5.65 [+0.16] One nexthop device deleted # 5.75 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.85 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 6.02 [+0.16] Second nexthop device deleted # 6.12 [+0.11] TEST: IPv6 - no route [ OK ] # 6.88 [+0.76] # 6.88 [+0.00] Single path, admin down # 8.50 [+1.62] Start point # 8.62 [+0.11] TEST: IPv4 fibmatch [ OK ] # 8.72 [+0.10] TEST: IPv6 fibmatch [ OK ] # 8.84 [+0.12] Route deleted on down # 8.93 [+0.09] TEST: IPv4 fibmatch [ OK ] # 9.04 [+0.11] TEST: IPv6 fibmatch [ OK ] # 9.63 [+0.59] # 9.63 [+0.00] Admin down multipath # 11.85 [+2.22] Verify start point # 11.97 [+0.13] TEST: IPv4 fibmatch [ OK ] # 12.08 [+0.10] TEST: IPv6 fibmatch [ OK ] # 12.20 [+0.12] One device down, one up # 12.30 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 12.42 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 12.53 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 12.65 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.78 [+0.13] TEST: IPv4 flags on down device [ OK ] # 12.92 [+0.14] TEST: IPv6 flags on down device [ OK ] # 13.03 [+0.12] TEST: IPv4 flags on up device [ OK ] # 13.16 [+0.12] TEST: IPv6 flags on up device [ OK ] # 13.38 [+0.22] Other device down and up # 13.48 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 13.59 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 13.70 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 13.83 [+0.13] TEST: IPv6 fibmatch on up device [ OK ] # 13.94 [+0.12] TEST: IPv4 flags on down device [ OK ] # 14.06 [+0.12] TEST: IPv6 flags on down device [ OK ] # 14.19 [+0.12] TEST: IPv4 flags on up device [ OK ] # 14.29 [+0.10] TEST: IPv6 flags on up device [ OK ] # 14.42 [+0.13] Both devices down # 14.53 [+0.11] TEST: IPv4 fibmatch [ OK ] # 14.65 [+0.12] TEST: IPv6 fibmatch [ OK ] # 15.37 [+0.72] # 15.37 [+0.00] Local carrier tests - single path # 17.06 [+1.69] Start point # 17.16 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.29 [+0.13] TEST: IPv6 fibmatch [ OK ] # 17.40 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 17.54 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 18.72 [+1.18] Carrier off on nexthop # 18.84 [+0.12] TEST: IPv4 fibmatch [ OK ] # 18.96 [+0.11] TEST: IPv6 fibmatch [ OK ] # 19.08 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 19.20 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 19.43 [+0.23] Route to local address with carrier down # 19.54 [+0.11] TEST: IPv4 fibmatch [ OK ] # 19.65 [+0.11] TEST: IPv6 fibmatch [ OK ] # 19.75 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 19.87 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 20.44 [+0.57] # 20.44 [+0.00] Single path route carrier test # 22.10 [+1.65] Start point # 22.21 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.33 [+0.12] TEST: IPv6 fibmatch [ OK ] # 22.44 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 22.56 [+0.12] TEST: IPv6 no linkdown flag [ OK ] # 23.73 [+1.17] Carrier down # 23.85 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.96 [+0.10] TEST: IPv6 fibmatch [ OK ] # 24.06 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 24.17 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 24.41 [+0.23] Second address added with carrier down # 24.51 [+0.10] TEST: IPv4 fibmatch [ OK ] # 24.62 [+0.11] TEST: IPv6 fibmatch [ OK ] # 24.76 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 24.88 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 30.23 [+5.36] # 30.23 [+0.00] IPv4 nexthop tests # 30.23 [+0.00] <<< write me >>> # 30.55 [+0.32] # 30.55 [+0.00] IPv6 nexthop tests # 30.69 [+0.14] TEST: Directly connected nexthop, unicast address [ OK ] # 30.81 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 30.95 [+0.13] TEST: Gateway is linklocal address [ OK ] # 31.06 [+0.11] TEST: Gateway is linklocal address, no device [ OK ] # 31.19 [+0.13] TEST: Gateway can not be local unicast address [ OK ] # 31.30 [+0.12] TEST: Gateway can not be local unicast address, with device [ OK ] # 31.44 [+0.13] TEST: Gateway can not be a local linklocal address [ OK ] # 31.57 [+0.13] TEST: Gateway can be local address in a VRF [ OK ] # 31.71 [+0.14] TEST: Gateway can be local address in a VRF, with device [ OK ] # 31.82 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 31.95 [+0.13] TEST: Redirect to VRF lookup [ OK ] # 32.08 [+0.13] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 32.19 [+0.11] TEST: VRF route, gateway can not be a local address [ OK ] # 32.33 [+0.14] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 33.49 [+1.16] # 33.49 [+0.00] FIB rule with suppress_prefixlength # 35.91 [+2.42] TEST: FIB rule suppress test [ OK ] # 38.06 [+2.16] # 38.06 [+0.00] Fib6 info length calculation in route notify test # 42.72 [+4.66] TEST: ipv6 route add notify [ OK ] # 44.92 [+2.20] # 44.92 [+0.00] Fib4 info length calculation in route notify test # 49.58 [+4.66] TEST: ipv4 route add notify [ OK ] # 55.49 [+5.91] # 55.50 [+0.00] IPv6 route add / append tests # 55.99 [+0.49] TEST: Attempt to add duplicate route - gw [ OK ] # 56.47 [+0.48] TEST: Attempt to add duplicate route - dev only [ OK ] # 56.96 [+0.49] TEST: Attempt to add duplicate route - reject route [ OK ] # 57.58 [+0.62] TEST: Append nexthop to existing route - gw [ OK ] # 58.13 [+0.55] TEST: Add multipath route [ OK ] # 58.62 [+0.49] TEST: Attempt to add duplicate multipath route [ OK ] # 59.26 [+0.63] TEST: Route add with different metrics [ OK ] # 59.52 [+0.27] TEST: Route delete with metric [ OK ] # 59.53 [+0.00] # 59.53 [+0.00] IPv6 route replace tests # 60.13 [+0.60] TEST: Single path with single path [ OK ] # 60.76 [+0.64] TEST: Single path with multipath [ OK ] # 61.37 [+0.61] TEST: Single path with single path via multipath attribute [ OK ] # 61.96 [+0.59] TEST: Invalid nexthop [ OK ] # 62.47 [+0.51] TEST: Single path - replace of non-existent route [ OK ] # 63.07 [+0.60] TEST: Multipath with multipath [ OK ] # 63.68 [+0.61] TEST: Multipath with single path [ OK ] # 64.29 [+0.61] TEST: Multipath with single path via multipath attribute [ OK ] # 64.93 [+0.64] TEST: Multipath with dev-only [ OK ] # 65.56 [+0.63] TEST: Multipath - invalid first nexthop [ OK ] # 66.19 [+0.63] TEST: Multipath - invalid second nexthop [ OK ] # 66.69 [+0.50] TEST: Multipath - replace of non-existent route [ OK ] # 66.70 [+0.01] # 66.70 [+0.00] IPv6 route with dsfield tests # 66.95 [+0.25] TEST: Reject route with dsfield [ OK ] # 75.14 [+8.20] # 75.14 [+0.00] IPv4 route add / append tests # 75.64 [+0.50] TEST: Attempt to add duplicate route - gw [ OK ] # 76.14 [+0.50] TEST: Attempt to add duplicate route - dev only [ OK ] # 76.62 [+0.48] TEST: Attempt to add duplicate route - reject route [ OK ] # 77.22 [+0.60] TEST: Add new nexthop for existing prefix [ OK ] # 77.84 [+0.63] TEST: Append nexthop to existing route - gw [ OK ] # 78.45 [+0.60] TEST: Append nexthop to existing route - dev only [ OK ] # 79.05 [+0.60] TEST: Append nexthop to existing route - reject route [ OK ] # 79.55 [+0.51] TEST: Append nexthop to existing reject route - gw [ OK ] # 80.05 [+0.50] TEST: Append nexthop to existing reject route - dev only [ OK ] # 80.53 [+0.48] TEST: add multipath route [ OK ] # 81.03 [+0.50] TEST: Attempt to add duplicate multipath route [ OK ] # 81.63 [+0.60] TEST: Route add with different metrics [ OK ] # 81.89 [+0.26] TEST: Route delete with metric [ OK ] # 81.89 [+0.00] # 81.89 [+0.00] IPv4 route replace tests # 82.47 [+0.58] TEST: Single path with single path [ OK ] # 83.05 [+0.57] TEST: Single path with multipath [ OK ] # 83.66 [+0.62] TEST: Single path with reject route [ OK ] # 84.27 [+0.61] TEST: Single path with single path via multipath attribute [ OK ] # 84.86 [+0.59] TEST: Invalid nexthop [ OK ] # 85.34 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 85.94 [+0.60] TEST: Multipath with multipath [ OK ] # 86.54 [+0.59] TEST: Multipath with single path [ OK ] # 87.14 [+0.60] TEST: Multipath with single path via multipath attribute [ OK ] # 87.73 [+0.59] TEST: Multipath with reject route [ OK ] # 88.33 [+0.60] TEST: Multipath - invalid first nexthop [ OK ] # 88.95 [+0.62] TEST: Multipath - invalid second nexthop [ OK ] # 89.43 [+0.47] TEST: Multipath - replace of non-existent route [ OK ] # 91.38 [+1.96] TEST: Cached route removed from VRF port device [ OK ] # 91.39 [+0.00] # 91.39 [+0.00] IPv4 route with dsfield tests # 91.64 [+0.25] TEST: Reject route with dsfield 0x01 [ OK ] # 91.76 [+0.12] TEST: Reject route with dsfield 0x02 [ OK ] # 91.89 [+0.13] TEST: Reject route with dsfield 0x03 [ OK ] # 92.24 [+0.35] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 92.38 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 92.52 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 92.62 [+0.10] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 92.75 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 92.88 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 92.99 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 93.10 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 93.21 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 93.32 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 93.42 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 93.57 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 95.87 [+2.30] # 95.87 [+0.00] IPv6 prefix route tests # 98.36 [+2.49] TEST: Default metric [ OK ] # 98.75 [+0.39] TEST: User specified metric on first device [ OK ] # 99.13 [+0.38] TEST: User specified metric on second device [ OK ] # 99.39 [+0.26] TEST: Delete of address on first device [ OK ] # 99.65 [+0.26] TEST: Modify metric of address [ OK ] # 100.08 [+0.43] TEST: Prefix route removed on link down [ OK ] # 100.35 [+0.27] TEST: Prefix route with metric on link up [ OK ] # 100.73 [+0.37] TEST: Set metric with peer route on local side [ OK ] # 100.87 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 101.12 [+0.25] TEST: Modify metric and peer address on local side [ OK ] # 101.25 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 102.50 [+1.25] # 102.50 [+0.00] IPv4 prefix route tests # 104.98 [+2.48] TEST: Default metric [ OK ] # 105.36 [+0.38] TEST: User specified metric on first device [ OK ] # 105.73 [+0.37] TEST: User specified metric on second device [ OK ] # 105.97 [+0.24] TEST: Delete of address on first device [ OK ] # 106.21 [+0.24] TEST: Modify metric of address [ OK ] # 106.45 [+0.24] TEST: Prefix route removed on link down [ OK ] # 106.69 [+0.24] TEST: Prefix route with metric on link up [ OK ] # 107.20 [+0.51] TEST: Modify metric of .0/24 address [ OK ] # 107.57 [+0.37] TEST: Set metric of address with peer route [ OK ] # 107.82 [+0.25] TEST: Modify metric and peer address for peer route [ OK ] # 109.04 [+1.22] # 109.04 [+0.00] IPv6 routes with metrics # 115.16 [+6.13] TEST: Single path route with mtu metric [ OK ] # 115.57 [+0.40] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 115.98 [+0.41] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 116.23 [+0.25] TEST: MTU of second leg [ OK ] # 116.51 [+0.28] TEST: Multipath route with mtu metric [ OK ] # 116.81 [+0.30] TEST: Using route with mtu metric [ OK ] # 117.02 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 119.18 [+2.16] # 119.18 [+0.00] IPv4 route add / append tests # 125.33 [+6.15] TEST: Single path route with mtu metric [ OK ] # 125.63 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 125.96 [+0.32] TEST: Using route with mtu metric [ OK ] # 126.18 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 128.36 [+2.18] # 128.36 [+0.00] IPv4 route with IPv6 gateway tests # 136.46 [+8.10] TEST: Single path route with IPv6 gateway [ OK ] # 136.77 [+0.32] TEST: Single path route with IPv6 gateway - ping [ OK ] # 136.90 [+0.13] TEST: Single path route delete [ OK ] # 137.13 [+0.23] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 137.37 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 137.52 [+0.15] TEST: Multipath route delete exact match [ OK ] # 137.65 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 137.90 [+0.25] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 138.02 [+0.12] TEST: Multipath route delete exact match [ OK ] # 140.09 [+2.07] # 140.09 [+0.00] IPv4 rp_filter tests # 147.87 [+7.78] TEST: rp_filter passes local packets [ OK ] # 148.07 [+0.20] TEST: rp_filter passes loopback packets [ OK ] # 149.02 [+0.95] # 149.02 [+0.00] IPv4 delete address route tests # 152.73 [+3.71] Regular FIB info # 152.96 [+0.23] TEST: Route removed from VRF when source address deleted [ OK ] # 153.06 [+0.10] TEST: Route in default VRF not removed [ OK ] # 153.54 [+0.48] TEST: Route removed in default VRF when source address deleted [ OK ] # 153.64 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 153.65 [+0.00] Identical FIB info with different table ID # 153.86 [+0.21] TEST: Route removed from VRF when source address deleted [ OK ] # 153.98 [+0.12] TEST: Route in default VRF not removed [ OK ] # 154.44 [+0.46] TEST: Route removed in default VRF when source address deleted [ OK ] # 154.56 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 154.57 [+0.00] Table ID 0 # 154.79 [+0.22] TEST: Route removed in default VRF when source address deleted [ OK ] # 156.03 [+1.24] # 156.03 [+0.00] IPv6 delete address route tests # 162.34 [+6.31] Single device using src address # 162.57 [+0.23] TEST: Prefsrc removed when src address removed on other device [ OK ] # 162.57 [+0.00] Two devices with the same source address # 162.81 [+0.24] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 163.03 [+0.21] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 163.03 [+0.00] VRF with single device using src address # 163.27 [+0.25] TEST: Prefsrc removed when src address removed on other device [ OK ] # 163.28 [+0.00] VRF with two devices using src address # 163.49 [+0.21] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 163.70 [+0.21] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 163.70 [+0.00] src address and nexthop dev in same VRF # 163.97 [+0.27] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 164.08 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 164.52 [+0.43] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 164.63 [+0.11] TEST: Prefsrc in default VRF removed [ OK ] # 164.63 [+0.00] src address and nexthop device in different VRF # 164.85 [+0.22] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 164.97 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 165.30 [+0.33] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 165.42 [+0.11] TEST: Prefsrc removed in default VRF [ OK ] # 165.42 [+0.00] Table ID 0 # 165.66 [+0.24] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 165.67 [+0.00] Link local source route # 165.89 [+0.22] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 166.13 [+0.24] TEST: Prefsrc removed when delete ll addr [ OK ] # 166.26 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 166.62 [+0.36] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 168.53 [+1.91] # 168.53 [+0.00] IPv4 mangling tests # 177.74 [+9.21] TEST: Connection with correct parameters [ OK ] # 178.00 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 179.06 [+1.06] TEST: Connection with correct parameters - mangling [ OK ] # 180.04 [+0.98] TEST: Connection with correct parameters - no mangling [ OK ] # 180.12 [+0.08] TEST: Connection check - server side [ OK ] # 182.62 [+2.51] # 182.62 [+0.00] IPv6 mangling tests # 191.81 [+9.19] TEST: Connection with correct parameters [ OK ] # 192.10 [+0.28] TEST: Connection with incorrect parameters [ OK ] # 193.07 [+0.98] TEST: Connection with correct parameters - mangling [ OK ] # 194.08 [+1.00] TEST: Connection with correct parameters - no mangling [ OK ] # 194.17 [+0.09] TEST: Connection check - server side [ OK ] # 196.76 [+2.59] # 196.76 [+0.00] IPv4 broadcast neighbour tests # 199.82 [+3.06] TEST: Resolved neighbour for broadcast address [ OK ] # 199.93 [+0.12] TEST: Resolved neighbour for network broadcast address [ OK ] # 200.05 [+0.12] TEST: Unresolved neighbour for broadcast address [ OK ] # 200.18 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 202.63 [+2.44] # 202.63 [+0.00] Fib6 garbage collection test # 216.33 [+13.70] TEST: ipv6 route garbage collection [ OK ] # 230.23 [+13.90] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 244.17 [+13.94] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 258.21 [+14.04] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 272.89 [+14.67] TEST: ipv6 route garbage collection (RA message) [ OK ] # 273.86 [+0.98] # 273.87 [+0.00] IPv4 multipath list receive tests # 293.55 [+19.68] TEST: Multipath route hit ratio (1.00) [ OK ] # 295.84 [+2.29] # 295.84 [+0.00] IPv6 multipath list receive tests # 315.07 [+19.23] TEST: Multipath route hit ratio (1.00) [ OK ] # 317.39 [+2.32] # 317.39 [+0.00] Tests passed: 229 # 317.39 [+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__->