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.85 [+0.85] # 0.85 [+0.00] Single path route test # 2.61 [+1.76] Start point # 2.76 [+0.14] TEST: IPv4 fibmatch [ OK ] # 2.90 [+0.14] TEST: IPv6 fibmatch [ OK ] # 3.09 [+0.19] Nexthop device deleted # 3.25 [+0.17] TEST: IPv4 fibmatch - no route [ OK ] # 3.40 [+0.14] TEST: IPv6 fibmatch - no route [ OK ] # 4.37 [+0.97] # 4.37 [+0.00] Multipath route test # 7.38 [+3.01] Start point # 7.55 [+0.17] TEST: IPv4 fibmatch [ OK ] # 7.69 [+0.15] TEST: IPv6 fibmatch [ OK ] # 7.87 [+0.18] One nexthop device deleted # 8.02 [+0.15] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.16 [+0.14] TEST: IPv6 - multipath down to single path [ OK ] # 8.35 [+0.19] Second nexthop device deleted # 8.49 [+0.14] TEST: IPv6 - no route [ OK ] # 9.40 [+0.90] # 9.40 [+0.00] Single path, admin down # 11.47 [+2.07] Start point # 11.64 [+0.16] TEST: IPv4 fibmatch [ OK ] # 11.79 [+0.15] TEST: IPv6 fibmatch [ OK ] # 11.93 [+0.15] Route deleted on down # 12.08 [+0.15] TEST: IPv4 fibmatch [ OK ] # 12.22 [+0.14] TEST: IPv6 fibmatch [ OK ] # 12.93 [+0.71] # 12.93 [+0.00] Admin down multipath # 15.91 [+2.98] Verify start point # 16.06 [+0.15] TEST: IPv4 fibmatch [ OK ] # 16.21 [+0.15] TEST: IPv6 fibmatch [ OK ] # 16.36 [+0.15] One device down, one up # 16.52 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 16.66 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 16.82 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 16.97 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 17.08 [+0.11] TEST: IPv4 flags on down device [ OK ] # 17.20 [+0.12] TEST: IPv6 flags on down device [ OK ] # 17.31 [+0.11] TEST: IPv4 flags on up device [ OK ] # 17.43 [+0.13] TEST: IPv6 flags on up device [ OK ] # 17.73 [+0.30] Other device down and up # 17.89 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.04 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 18.20 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 18.36 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 18.49 [+0.12] TEST: IPv4 flags on down device [ OK ] # 18.62 [+0.14] TEST: IPv6 flags on down device [ OK ] # 18.75 [+0.13] TEST: IPv4 flags on up device [ OK ] # 18.86 [+0.11] TEST: IPv6 flags on up device [ OK ] # 19.02 [+0.15] Both devices down # 19.17 [+0.15] TEST: IPv4 fibmatch [ OK ] # 19.33 [+0.16] TEST: IPv6 fibmatch [ OK ] # 20.29 [+0.96] # 20.29 [+0.00] Local carrier tests - single path # 22.65 [+2.36] Start point # 22.80 [+0.15] TEST: IPv4 fibmatch [ OK ] # 23.00 [+0.21] TEST: IPv6 fibmatch [ OK ] # 23.13 [+0.13] TEST: IPv4 - no linkdown flag [ OK ] # 23.27 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 24.51 [+1.25] Carrier off on nexthop # 24.66 [+0.15] TEST: IPv4 fibmatch [ OK ] # 24.81 [+0.15] TEST: IPv6 fibmatch [ OK ] # 24.94 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 25.06 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 25.36 [+0.29] Route to local address with carrier down # 25.51 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.67 [+0.16] TEST: IPv6 fibmatch [ OK ] # 25.78 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 25.91 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 26.66 [+0.75] # 26.66 [+0.00] Single path route carrier test # 28.96 [+2.30] Start point # 29.11 [+0.15] TEST: IPv4 fibmatch [ OK ] # 29.25 [+0.14] TEST: IPv6 fibmatch [ OK ] # 29.36 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 29.49 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 30.75 [+1.26] Carrier down # 30.89 [+0.14] TEST: IPv4 fibmatch [ OK ] # 31.05 [+0.16] TEST: IPv6 fibmatch [ OK ] # 31.16 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 31.27 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 31.59 [+0.31] Second address added with carrier down # 31.73 [+0.14] TEST: IPv4 fibmatch [ OK ] # 31.88 [+0.15] TEST: IPv6 fibmatch [ OK ] # 32.00 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 32.12 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 38.83 [+6.71] # 38.83 [+0.00] IPv4 nexthop tests # 38.83 [+0.00] <<< write me >>> # 39.15 [+0.32] # 39.15 [+0.00] IPv6 nexthop tests # 39.31 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 39.47 [+0.16] TEST: Directly connected nexthop, unicast address with device [ OK ] # 39.64 [+0.17] TEST: Gateway is linklocal address [ OK ] # 39.79 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 39.96 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 40.12 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 40.27 [+0.15] TEST: Gateway can not be a local linklocal address [ OK ] # 40.42 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 40.59 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 40.75 [+0.15] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 40.92 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 41.07 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 41.22 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 41.38 [+0.15] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 42.86 [+1.49] # 42.86 [+0.00] FIB rule with suppress_prefixlength # 46.10 [+3.23] TEST: FIB rule suppress test [ OK ] # 48.91 [+2.81] # 48.91 [+0.00] Fib6 info length calculation in route notify test # 54.25 [+5.34] TEST: ipv6 route add notify [ OK ] # 57.03 [+2.79] # 57.03 [+0.00] Fib4 info length calculation in route notify test # 62.41 [+5.37] TEST: ipv4 route add notify [ OK ] # 70.17 [+7.76] # 70.17 [+0.00] IPv6 route add / append tests # 70.80 [+0.63] TEST: Attempt to add duplicate route - gw [ OK ] # 71.41 [+0.61] TEST: Attempt to add duplicate route - dev only [ OK ] # 72.01 [+0.61] TEST: Attempt to add duplicate route - reject route [ OK ] # 72.77 [+0.76] TEST: Append nexthop to existing route - gw [ OK ] # 73.39 [+0.61] TEST: Add multipath route [ OK ] # 73.99 [+0.61] TEST: Attempt to add duplicate multipath route [ OK ] # 74.72 [+0.73] TEST: Route add with different metrics [ OK ] # 75.02 [+0.30] TEST: Route delete with metric [ OK ] # 75.02 [+0.00] # 75.02 [+0.00] IPv6 route replace tests # 75.77 [+0.74] TEST: Single path with single path [ OK ] # 76.59 [+0.82] TEST: Single path with multipath [ OK ] # 77.35 [+0.77] TEST: Single path with single path via multipath attribute [ OK ] # 78.09 [+0.73] TEST: Invalid nexthop [ OK ] # 78.66 [+0.58] TEST: Single path - replace of non-existent route [ OK ] # 79.41 [+0.74] TEST: Multipath with multipath [ OK ] # 80.13 [+0.73] TEST: Multipath with single path [ OK ] # 80.88 [+0.75] TEST: Multipath with single path via multipath attribute [ OK ] # 81.62 [+0.74] TEST: Multipath with dev-only [ OK ] # 82.37 [+0.75] TEST: Multipath - invalid first nexthop [ OK ] # 83.08 [+0.72] TEST: Multipath - invalid second nexthop [ OK ] # 83.69 [+0.61] TEST: Multipath - replace of non-existent route [ OK ] # 83.70 [+0.00] # 83.70 [+0.00] IPv6 route with dsfield tests # 84.00 [+0.30] TEST: Reject route with dsfield [ OK ] # 94.45 [+10.45] # 94.45 [+0.00] IPv4 route add / append tests # 95.06 [+0.60] TEST: Attempt to add duplicate route - gw [ OK ] # 95.65 [+0.59] TEST: Attempt to add duplicate route - dev only [ OK ] # 96.26 [+0.61] TEST: Attempt to add duplicate route - reject route [ OK ] # 97.01 [+0.75] TEST: Add new nexthop for existing prefix [ OK ] # 97.78 [+0.77] TEST: Append nexthop to existing route - gw [ OK ] # 98.54 [+0.76] TEST: Append nexthop to existing route - dev only [ OK ] # 99.31 [+0.76] TEST: Append nexthop to existing route - reject route [ OK ] # 99.92 [+0.61] TEST: Append nexthop to existing reject route - gw [ OK ] # 100.53 [+0.61] TEST: Append nexthop to existing reject route - dev only [ OK ] # 101.15 [+0.62] TEST: add multipath route [ OK ] # 101.76 [+0.61] TEST: Attempt to add duplicate multipath route [ OK ] # 102.51 [+0.75] TEST: Route add with different metrics [ OK ] # 102.82 [+0.31] TEST: Route delete with metric [ OK ] # 102.83 [+0.00] # 102.83 [+0.00] IPv4 route replace tests # 103.59 [+0.76] TEST: Single path with single path [ OK ] # 104.35 [+0.77] TEST: Single path with multipath [ OK ] # 105.11 [+0.76] TEST: Single path with reject route [ OK ] # 105.89 [+0.78] TEST: Single path with single path via multipath attribute [ OK ] # 106.67 [+0.79] TEST: Invalid nexthop [ OK ] # 107.28 [+0.61] TEST: Single path - replace of non-existent route [ OK ] # 108.05 [+0.77] TEST: Multipath with multipath [ OK ] # 108.83 [+0.77] TEST: Multipath with single path [ OK ] # 109.61 [+0.78] TEST: Multipath with single path via multipath attribute [ OK ] # 110.36 [+0.76] TEST: Multipath with reject route [ OK ] # 111.13 [+0.77] TEST: Multipath - invalid first nexthop [ OK ] # 111.90 [+0.77] TEST: Multipath - invalid second nexthop [ OK ] # 112.51 [+0.61] TEST: Multipath - replace of non-existent route [ OK ] # 114.69 [+2.18] TEST: Cached route removed from VRF port device [ OK ] # 114.69 [+0.00] # 114.69 [+0.00] IPv4 route with dsfield tests # 114.99 [+0.31] TEST: Reject route with dsfield 0x01 [ OK ] # 115.15 [+0.16] TEST: Reject route with dsfield 0x02 [ OK ] # 115.30 [+0.15] TEST: Reject route with dsfield 0x03 [ OK ] # 115.74 [+0.44] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 115.87 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 116.00 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 116.12 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 116.25 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 116.38 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 116.50 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 116.63 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 116.76 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 116.89 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 117.03 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 117.15 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 119.77 [+2.62] # 119.77 [+0.00] IPv6 prefix route tests # 123.00 [+3.23] TEST: Default metric [ OK ] # 123.47 [+0.47] TEST: User specified metric on first device [ OK ] # 123.93 [+0.47] TEST: User specified metric on second device [ OK ] # 124.23 [+0.30] TEST: Delete of address on first device [ OK ] # 124.52 [+0.29] TEST: Modify metric of address [ OK ] # 125.06 [+0.55] TEST: Prefix route removed on link down [ OK ] # 125.37 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 125.85 [+0.47] TEST: Set metric with peer route on local side [ OK ] # 125.99 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 126.28 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 126.44 [+0.16] TEST: Modify metric and peer address on peer side [ OK ] # 128.04 [+1.60] # 128.04 [+0.00] IPv4 prefix route tests # 131.34 [+3.30] TEST: Default metric [ OK ] # 131.80 [+0.46] TEST: User specified metric on first device [ OK ] # 132.27 [+0.46] TEST: User specified metric on second device [ OK ] # 132.58 [+0.31] TEST: Delete of address on first device [ OK ] # 132.87 [+0.30] TEST: Modify metric of address [ OK ] # 133.18 [+0.30] TEST: Prefix route removed on link down [ OK ] # 133.48 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 134.10 [+0.62] TEST: Modify metric of .0/24 address [ OK ] # 134.56 [+0.46] TEST: Set metric of address with peer route [ OK ] # 134.87 [+0.31] TEST: Modify metric and peer address for peer route [ OK ] # 136.50 [+1.63] # 136.50 [+0.00] IPv6 routes with metrics # 144.68 [+8.19] TEST: Single path route with mtu metric [ OK ] # 145.12 [+0.43] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 145.58 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 145.86 [+0.28] TEST: MTU of second leg [ OK ] # 146.16 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 146.58 [+0.42] TEST: Using route with mtu metric [ OK ] # 146.83 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 149.42 [+2.59] # 149.42 [+0.00] IPv4 route add / append tests # 157.56 [+8.14] TEST: Single path route with mtu metric [ OK ] # 157.87 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 158.28 [+0.41] TEST: Using route with mtu metric [ OK ] # 158.55 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 161.14 [+2.59] # 161.14 [+0.00] IPv4 route with IPv6 gateway tests # 171.27 [+10.13] TEST: Single path route with IPv6 gateway [ OK ] # 171.69 [+0.42] TEST: Single path route with IPv6 gateway - ping [ OK ] # 171.84 [+0.15] TEST: Single path route delete [ OK ] # 172.14 [+0.29] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 172.43 [+0.29] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 172.59 [+0.16] TEST: Multipath route delete exact match [ OK ] # 172.74 [+0.16] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 173.04 [+0.30] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 173.20 [+0.16] TEST: Multipath route delete exact match [ OK ] # 175.81 [+2.61] # 175.81 [+0.00] IPv4 rp_filter tests # 186.81 [+11.00] TEST: rp_filter passes local packets [ OK ] # 187.10 [+0.29] TEST: rp_filter passes loopback packets [ OK ] # 188.41 [+1.30] # 188.41 [+0.00] IPv4 delete address route tests # 193.47 [+5.06] Regular FIB info # 193.74 [+0.26] TEST: Route removed from VRF when source address deleted [ OK ] # 193.84 [+0.11] TEST: Route in default VRF not removed [ OK ] # 194.40 [+0.55] TEST: Route removed in default VRF when source address deleted [ OK ] # 194.53 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 194.53 [+0.00] Identical FIB info with different table ID # 194.80 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 194.93 [+0.13] TEST: Route in default VRF not removed [ OK ] # 195.49 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 195.64 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 195.65 [+0.00] Table ID 0 # 195.92 [+0.28] TEST: Route removed in default VRF when source address deleted [ OK ] # 197.51 [+1.59] # 197.52 [+0.00] IPv6 delete address route tests # 206.10 [+8.59] Single device using src address # 206.38 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 206.39 [+0.00] Two devices with the same source address # 206.66 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 206.93 [+0.26] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 206.93 [+0.00] VRF with single device using src address # 207.20 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 207.21 [+0.01] VRF with two devices using src address # 207.49 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 207.77 [+0.28] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 207.77 [+0.00] src address and nexthop dev in same VRF # 208.04 [+0.27] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 208.18 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 208.76 [+0.58] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 208.89 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 208.89 [+0.00] src address and nexthop device in different VRF # 209.16 [+0.27] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 209.29 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 209.71 [+0.42] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 209.86 [+0.15] TEST: Prefsrc removed in default VRF [ OK ] # 209.86 [+0.00] Table ID 0 # 210.12 [+0.26] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 210.12 [+0.00] Link local source route # 210.39 [+0.27] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 210.69 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 210.83 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 211.25 [+0.42] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 213.76 [+2.52] # 213.76 [+0.00] IPv4 mangling tests # 225.37 [+11.60] TEST: Connection with correct parameters [ OK ] # 225.67 [+0.30] TEST: Connection with incorrect parameters [ OK ] # 226.87 [+1.21] TEST: Connection with correct parameters - mangling [ OK ] # 227.99 [+1.12] TEST: Connection with correct parameters - no mangling [ OK ] # 228.11 [+0.12] TEST: Connection check - server side [ OK ] # 231.35 [+3.24] # 231.35 [+0.00] IPv6 mangling tests # 242.94 [+11.59] TEST: Connection with correct parameters [ OK ] # 243.29 [+0.35] TEST: Connection with incorrect parameters [ OK ] # 244.40 [+1.11] TEST: Connection with correct parameters - mangling [ OK ] # 245.54 [+1.13] TEST: Connection with correct parameters - no mangling [ OK ] # 245.65 [+0.11] TEST: Connection check - server side [ OK ] # 248.73 [+3.09] # 248.73 [+0.00] IPv4 broadcast neighbour tests # 252.50 [+3.77] TEST: Resolved neighbour for broadcast address [ OK ] # 252.65 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 252.80 [+0.15] TEST: Unresolved neighbour for broadcast address [ OK ] # 252.95 [+0.14] TEST: Unresolved neighbour for network broadcast address [ OK ] # 256.22 [+3.27] # 256.22 [+0.00] Fib6 garbage collection test # 270.40 [+14.19] TEST: ipv6 route garbage collection [ OK ] # 285.05 [+14.65] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 299.60 [+14.54] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 314.32 [+14.72] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 329.50 [+15.18] TEST: ipv6 route garbage collection (RA message) [ OK ] # 330.77 [+1.27] # 330.77 [+0.00] IPv4 multipath list receive tests # 353.71 [+22.94] TEST: Multipath route hit ratio (1.00) [ OK ] # 356.50 [+2.79] # 356.50 [+0.00] IPv6 multipath list receive tests # 377.81 [+21.32] TEST: Multipath route hit ratio (1.00) [ OK ] # 380.56 [+2.75] # 380.56 [+0.00] Tests passed: 229 # 380.56 [+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__->