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.77 [+1.21] Start point # 1.88 [+0.11] TEST: IPv4 fibmatch [ OK ] # 1.99 [+0.11] TEST: IPv6 fibmatch [ OK ] # 2.15 [+0.16] Nexthop device deleted # 2.26 [+0.11] TEST: IPv4 fibmatch - no route [ OK ] # 2.38 [+0.11] TEST: IPv6 fibmatch - no route [ OK ] # 3.07 [+0.70] # 3.07 [+0.00] Multipath route test # 5.22 [+2.15] Start point # 5.33 [+0.11] TEST: IPv4 fibmatch [ OK ] # 5.45 [+0.12] TEST: IPv6 fibmatch [ OK ] # 5.61 [+0.16] One nexthop device deleted # 5.72 [+0.11] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.84 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 5.98 [+0.15] Second nexthop device deleted # 6.10 [+0.11] TEST: IPv6 - no route [ OK ] # 6.81 [+0.72] # 6.82 [+0.00] Single path, admin down # 8.35 [+1.53] Start point # 8.46 [+0.12] TEST: IPv4 fibmatch [ OK ] # 8.58 [+0.12] TEST: IPv6 fibmatch [ OK ] # 8.70 [+0.11] Route deleted on down # 8.80 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.92 [+0.12] TEST: IPv6 fibmatch [ OK ] # 9.47 [+0.55] # 9.47 [+0.00] Admin down multipath # 11.69 [+2.22] Verify start point # 11.80 [+0.10] TEST: IPv4 fibmatch [ OK ] # 11.92 [+0.13] TEST: IPv6 fibmatch [ OK ] # 12.03 [+0.11] One device down, one up # 12.15 [+0.12] TEST: IPv4 fibmatch on down device [ OK ] # 12.25 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 12.38 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 12.49 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.62 [+0.13] TEST: IPv4 flags on down device [ OK ] # 12.73 [+0.12] TEST: IPv6 flags on down device [ OK ] # 12.87 [+0.14] TEST: IPv4 flags on up device [ OK ] # 12.99 [+0.12] TEST: IPv6 flags on up device [ OK ] # 13.25 [+0.26] Other device down and up # 13.36 [+0.11] TEST: IPv4 fibmatch on down device [ OK ] # 13.47 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 13.58 [+0.12] TEST: IPv4 fibmatch on up device [ OK ] # 13.70 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 13.83 [+0.13] TEST: IPv4 flags on down device [ OK ] # 13.96 [+0.13] TEST: IPv6 flags on down device [ OK ] # 14.08 [+0.12] TEST: IPv4 flags on up device [ OK ] # 14.21 [+0.14] TEST: IPv6 flags on up device [ OK ] # 14.32 [+0.11] Both devices down # 14.43 [+0.11] TEST: IPv4 fibmatch [ OK ] # 14.53 [+0.10] TEST: IPv6 fibmatch [ OK ] # 15.26 [+0.73] # 15.26 [+0.00] Local carrier tests - single path # 16.91 [+1.64] Start point # 17.02 [+0.11] TEST: IPv4 fibmatch [ OK ] # 17.13 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.25 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 17.36 [+0.11] TEST: IPv6 - no linkdown flag [ OK ] # 18.53 [+1.17] Carrier off on nexthop # 18.65 [+0.12] TEST: IPv4 fibmatch [ OK ] # 18.76 [+0.11] TEST: IPv6 fibmatch [ OK ] # 18.86 [+0.11] TEST: IPv4 - linkdown flag set [ OK ] # 18.98 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 19.21 [+0.22] Route to local address with carrier down # 19.32 [+0.11] TEST: IPv4 fibmatch [ OK ] # 19.43 [+0.11] TEST: IPv6 fibmatch [ OK ] # 19.57 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 19.71 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 20.30 [+0.60] # 20.31 [+0.00] Single path route carrier test # 21.98 [+1.68] Start point # 22.09 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.20 [+0.10] TEST: IPv6 fibmatch [ OK ] # 22.30 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 22.43 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 23.60 [+1.18] Carrier down # 23.72 [+0.12] TEST: IPv4 fibmatch [ OK ] # 23.84 [+0.12] TEST: IPv6 fibmatch [ OK ] # 23.96 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 24.08 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 24.32 [+0.23] Second address added with carrier down # 24.43 [+0.11] TEST: IPv4 fibmatch [ OK ] # 24.54 [+0.12] TEST: IPv6 fibmatch [ OK ] # 24.65 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 24.75 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 30.10 [+5.35] # 30.10 [+0.00] IPv4 nexthop tests # 30.10 [+0.00] <<< write me >>> # 30.41 [+0.31] # 30.41 [+0.00] IPv6 nexthop tests # 30.55 [+0.14] TEST: Directly connected nexthop, unicast address [ OK ] # 30.67 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 30.79 [+0.12] TEST: Gateway is linklocal address [ OK ] # 30.91 [+0.12] TEST: Gateway is linklocal address, no device [ OK ] # 31.05 [+0.14] TEST: Gateway can not be local unicast address [ OK ] # 31.18 [+0.14] TEST: Gateway can not be local unicast address, with device [ OK ] # 31.32 [+0.13] TEST: Gateway can not be a local linklocal address [ OK ] # 31.44 [+0.12] TEST: Gateway can be local address in a VRF [ OK ] # 31.56 [+0.13] TEST: Gateway can be local address in a VRF, with device [ OK ] # 31.69 [+0.13] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 31.82 [+0.13] TEST: Redirect to VRF lookup [ OK ] # 31.94 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 32.07 [+0.13] TEST: VRF route, gateway can not be a local address [ OK ] # 32.20 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 33.42 [+1.22] # 33.42 [+0.00] FIB rule with suppress_prefixlength # 35.77 [+2.35] TEST: FIB rule suppress test [ OK ] # 37.87 [+2.10] # 37.87 [+0.00] Fib6 info length calculation in route notify test # 42.52 [+4.65] TEST: ipv6 route add notify [ OK ] # 44.61 [+2.09] # 44.61 [+0.00] Fib4 info length calculation in route notify test # 49.24 [+4.62] TEST: ipv4 route add notify [ OK ] # 55.12 [+5.88] # 55.12 [+0.00] IPv6 route add / append tests # 55.59 [+0.48] TEST: Attempt to add duplicate route - gw [ OK ] # 56.08 [+0.49] TEST: Attempt to add duplicate route - dev only [ OK ] # 56.60 [+0.52] TEST: Attempt to add duplicate route - reject route [ OK ] # 57.25 [+0.65] TEST: Append nexthop to existing route - gw [ OK ] # 57.79 [+0.54] TEST: Add multipath route [ OK ] # 58.28 [+0.49] TEST: Attempt to add duplicate multipath route [ OK ] # 58.91 [+0.63] TEST: Route add with different metrics [ OK ] # 59.20 [+0.29] TEST: Route delete with metric [ OK ] # 59.20 [+0.00] # 59.20 [+0.00] IPv6 route replace tests # 59.85 [+0.65] TEST: Single path with single path [ OK ] # 60.50 [+0.65] TEST: Single path with multipath [ OK ] # 61.13 [+0.63] TEST: Single path with single path via multipath attribute [ OK ] # 61.75 [+0.62] TEST: Invalid nexthop [ OK ] # 62.23 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 62.91 [+0.67] TEST: Multipath with multipath [ OK ] # 63.53 [+0.63] TEST: Multipath with single path [ OK ] # 64.21 [+0.67] TEST: Multipath with single path via multipath attribute [ OK ] # 64.91 [+0.70] TEST: Multipath with dev-only [ OK ] # 65.58 [+0.68] TEST: Multipath - invalid first nexthop [ OK ] # 66.29 [+0.71] TEST: Multipath - invalid second nexthop [ OK ] # 66.80 [+0.51] TEST: Multipath - replace of non-existent route [ OK ] # 66.80 [+0.00] # 66.80 [+0.00] IPv6 route with dsfield tests # 67.06 [+0.26] TEST: Reject route with dsfield [ OK ] # 75.26 [+8.20] # 75.26 [+0.00] IPv4 route add / append tests # 75.74 [+0.48] TEST: Attempt to add duplicate route - gw [ OK ] # 76.20 [+0.46] TEST: Attempt to add duplicate route - dev only [ OK ] # 76.68 [+0.48] TEST: Attempt to add duplicate route - reject route [ OK ] # 77.32 [+0.63] TEST: Add new nexthop for existing prefix [ OK ] # 77.93 [+0.62] TEST: Append nexthop to existing route - gw [ OK ] # 78.63 [+0.70] TEST: Append nexthop to existing route - dev only [ OK ] # 79.25 [+0.61] TEST: Append nexthop to existing route - reject route [ OK ] # 79.78 [+0.53] TEST: Append nexthop to existing reject route - gw [ OK ] # 80.30 [+0.52] TEST: Append nexthop to existing reject route - dev only [ OK ] # 80.79 [+0.48] TEST: add multipath route [ OK ] # 81.28 [+0.50] TEST: Attempt to add duplicate multipath route [ OK ] # 81.92 [+0.63] TEST: Route add with different metrics [ OK ] # 82.18 [+0.26] TEST: Route delete with metric [ OK ] # 82.18 [+0.00] # 82.18 [+0.00] IPv4 route replace tests # 82.87 [+0.69] TEST: Single path with single path [ OK ] # 83.48 [+0.60] TEST: Single path with multipath [ OK ] # 84.08 [+0.61] TEST: Single path with reject route [ OK ] # 84.70 [+0.61] TEST: Single path with single path via multipath attribute [ OK ] # 85.30 [+0.60] TEST: Invalid nexthop [ OK ] # 85.78 [+0.48] TEST: Single path - replace of non-existent route [ OK ] # 86.39 [+0.61] TEST: Multipath with multipath [ OK ] # 87.00 [+0.61] TEST: Multipath with single path [ OK ] # 87.64 [+0.63] TEST: Multipath with single path via multipath attribute [ OK ] # 88.26 [+0.62] TEST: Multipath with reject route [ OK ] # 88.88 [+0.62] TEST: Multipath - invalid first nexthop [ OK ] # 89.49 [+0.61] TEST: Multipath - invalid second nexthop [ OK ] # 89.98 [+0.49] TEST: Multipath - replace of non-existent route [ OK ] # 91.90 [+1.92] TEST: Cached route removed from VRF port device [ OK ] # 91.91 [+0.00] # 91.91 [+0.00] IPv4 route with dsfield tests # 92.20 [+0.29] TEST: Reject route with dsfield 0x01 [ OK ] # 92.32 [+0.12] TEST: Reject route with dsfield 0x02 [ OK ] # 92.45 [+0.13] TEST: Reject route with dsfield 0x03 [ OK ] # 92.80 [+0.35] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 92.90 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 93.03 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 93.15 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 93.28 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 93.38 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 93.50 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 93.62 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 93.74 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 93.87 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 94.00 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 94.12 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 96.36 [+2.24] # 96.36 [+0.00] IPv6 prefix route tests # 98.89 [+2.53] TEST: Default metric [ OK ] # 99.29 [+0.40] TEST: User specified metric on first device [ OK ] # 99.69 [+0.40] TEST: User specified metric on second device [ OK ] # 99.96 [+0.27] TEST: Delete of address on first device [ OK ] # 100.22 [+0.26] TEST: Modify metric of address [ OK ] # 100.60 [+0.39] TEST: Prefix route removed on link down [ OK ] # 100.88 [+0.27] TEST: Prefix route with metric on link up [ OK ] # 101.24 [+0.37] TEST: Set metric with peer route on local side [ OK ] # 101.37 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 101.64 [+0.26] TEST: Modify metric and peer address on local side [ OK ] # 101.76 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 103.01 [+1.24] # 103.01 [+0.00] IPv4 prefix route tests # 105.48 [+2.47] TEST: Default metric [ OK ] # 105.86 [+0.38] TEST: User specified metric on first device [ OK ] # 106.22 [+0.36] TEST: User specified metric on second device [ OK ] # 106.47 [+0.25] TEST: Delete of address on first device [ OK ] # 106.72 [+0.24] TEST: Modify metric of address [ OK ] # 106.97 [+0.25] TEST: Prefix route removed on link down [ OK ] # 107.24 [+0.27] TEST: Prefix route with metric on link up [ OK ] # 107.74 [+0.50] TEST: Modify metric of .0/24 address [ OK ] # 108.13 [+0.39] TEST: Set metric of address with peer route [ OK ] # 108.38 [+0.24] TEST: Modify metric and peer address for peer route [ OK ] # 109.59 [+1.21] # 109.59 [+0.00] IPv6 routes with metrics # 115.77 [+6.18] TEST: Single path route with mtu metric [ OK ] # 116.17 [+0.40] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 116.57 [+0.40] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 116.81 [+0.24] TEST: MTU of second leg [ OK ] # 117.09 [+0.28] TEST: Multipath route with mtu metric [ OK ] # 117.38 [+0.30] TEST: Using route with mtu metric [ OK ] # 117.61 [+0.22] TEST: Invalid metric (fails metric_convert) [ OK ] # 119.79 [+2.19] # 119.79 [+0.00] IPv4 route add / append tests # 125.94 [+6.15] TEST: Single path route with mtu metric [ OK ] # 126.19 [+0.25] TEST: Multipath route with mtu metric [ OK ] # 126.50 [+0.31] TEST: Using route with mtu metric [ OK ] # 126.71 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 128.91 [+2.20] # 128.91 [+0.00] IPv4 route with IPv6 gateway tests # 136.98 [+8.06] TEST: Single path route with IPv6 gateway [ OK ] # 137.30 [+0.32] TEST: Single path route with IPv6 gateway - ping [ OK ] # 137.42 [+0.13] TEST: Single path route delete [ OK ] # 137.65 [+0.23] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 137.89 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 138.02 [+0.14] TEST: Multipath route delete exact match [ OK ] # 138.15 [+0.13] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 138.39 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 138.52 [+0.13] TEST: Multipath route delete exact match [ OK ] # 140.63 [+2.11] # 140.63 [+0.00] IPv4 rp_filter tests # 148.32 [+7.69] TEST: rp_filter passes local packets [ OK ] # 148.50 [+0.19] TEST: rp_filter passes loopback packets [ OK ] # 149.47 [+0.97] # 149.47 [+0.00] IPv4 delete address route tests # 153.17 [+3.70] Regular FIB info # 153.39 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 153.52 [+0.13] TEST: Route in default VRF not removed [ OK ] # 153.94 [+0.42] TEST: Route removed in default VRF when source address deleted [ OK ] # 154.09 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 154.10 [+0.00] Identical FIB info with different table ID # 154.33 [+0.23] TEST: Route removed from VRF when source address deleted [ OK ] # 154.43 [+0.10] TEST: Route in default VRF not removed [ OK ] # 154.88 [+0.45] TEST: Route removed in default VRF when source address deleted [ OK ] # 155.01 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 155.01 [+0.00] Table ID 0 # 155.25 [+0.24] TEST: Route removed in default VRF when source address deleted [ OK ] # 156.53 [+1.28] # 156.53 [+0.00] IPv6 delete address route tests # 162.92 [+6.40] Single device using src address # 163.15 [+0.23] TEST: Prefsrc removed when src address removed on other device [ OK ] # 163.16 [+0.00] Two devices with the same source address # 163.41 [+0.25] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 163.65 [+0.25] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 163.66 [+0.01] VRF with single device using src address # 163.87 [+0.22] TEST: Prefsrc removed when src address removed on other device [ OK ] # 163.88 [+0.00] VRF with two devices using src address # 164.11 [+0.23] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 164.34 [+0.23] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 164.34 [+0.00] src address and nexthop dev in same VRF # 164.60 [+0.26] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 164.72 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 165.16 [+0.44] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 165.26 [+0.10] TEST: Prefsrc in default VRF removed [ OK ] # 165.27 [+0.00] src address and nexthop device in different VRF # 165.50 [+0.23] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 165.63 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 166.01 [+0.38] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 166.13 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 166.13 [+0.00] Table ID 0 # 166.36 [+0.23] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 166.37 [+0.00] Link local source route # 166.61 [+0.24] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 166.86 [+0.25] TEST: Prefsrc removed when delete ll addr [ OK ] # 166.99 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 167.32 [+0.33] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 169.28 [+1.96] # 169.28 [+0.00] IPv4 mangling tests # 178.56 [+9.28] TEST: Connection with correct parameters [ OK ] # 178.80 [+0.24] TEST: Connection with incorrect parameters [ OK ] # 179.86 [+1.05] TEST: Connection with correct parameters - mangling [ OK ] # 180.83 [+0.97] TEST: Connection with correct parameters - no mangling [ OK ] # 180.90 [+0.07] TEST: Connection check - server side [ OK ] # 183.45 [+2.55] # 183.45 [+0.00] IPv6 mangling tests # 192.68 [+9.23] TEST: Connection with correct parameters [ OK ] # 192.97 [+0.29] TEST: Connection with incorrect parameters [ OK ] # 193.93 [+0.97] TEST: Connection with correct parameters - mangling [ OK ] # 194.92 [+0.99] TEST: Connection with correct parameters - no mangling [ OK ] # 195.01 [+0.08] TEST: Connection check - server side [ OK ] # 197.58 [+2.58] # 197.59 [+0.00] IPv4 broadcast neighbour tests # 200.58 [+2.99] TEST: Resolved neighbour for broadcast address [ OK ] # 200.72 [+0.14] TEST: Resolved neighbour for network broadcast address [ OK ] # 200.85 [+0.13] TEST: Unresolved neighbour for broadcast address [ OK ] # 200.98 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 203.47 [+2.49] # 203.47 [+0.00] Fib6 garbage collection test # 217.08 [+13.61] TEST: ipv6 route garbage collection [ OK ] # 231.01 [+13.93] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 244.92 [+13.91] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 258.99 [+14.07] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 273.72 [+14.73] TEST: ipv6 route garbage collection (RA message) [ OK ] # 274.70 [+0.98] # 274.70 [+0.00] IPv4 multipath list receive tests # 294.52 [+19.82] TEST: Multipath route hit ratio (1.00) [ OK ] # 296.77 [+2.24] # 296.77 [+0.00] IPv6 multipath list receive tests # 315.83 [+19.07] TEST: Multipath route hit ratio (1.00) [ OK ] # 318.03 [+2.20] # 318.03 [+0.00] Tests passed: 229 # 318.04 [+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__->