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.77 [+0.77] # 0.77 [+0.00] Single path route test # 2.48 [+1.72] Start point # 2.62 [+0.14] TEST: IPv4 fibmatch [ OK ] # 2.77 [+0.14] TEST: IPv6 fibmatch [ OK ] # 2.95 [+0.18] Nexthop device deleted # 3.09 [+0.14] TEST: IPv4 fibmatch - no route [ OK ] # 3.24 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 4.13 [+0.89] # 4.13 [+0.00] Multipath route test # 7.09 [+2.96] Start point # 7.24 [+0.14] TEST: IPv4 fibmatch [ OK ] # 7.38 [+0.14] TEST: IPv6 fibmatch [ OK ] # 7.56 [+0.18] One nexthop device deleted # 7.70 [+0.14] TEST: IPv4 - multipath route removed on delete [ OK ] # 7.84 [+0.14] TEST: IPv6 - multipath down to single path [ OK ] # 8.02 [+0.18] Second nexthop device deleted # 8.17 [+0.15] TEST: IPv6 - no route [ OK ] # 9.08 [+0.90] # 9.08 [+0.00] Single path, admin down # 11.13 [+2.06] Start point # 11.27 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.42 [+0.15] TEST: IPv6 fibmatch [ OK ] # 11.55 [+0.14] Route deleted on down # 11.70 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.83 [+0.14] TEST: IPv6 fibmatch [ OK ] # 12.56 [+0.73] # 12.57 [+0.00] Admin down multipath # 15.47 [+2.91] Verify start point # 15.61 [+0.14] TEST: IPv4 fibmatch [ OK ] # 15.76 [+0.15] TEST: IPv6 fibmatch [ OK ] # 15.90 [+0.14] One device down, one up # 16.04 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 16.18 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 16.32 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 16.46 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 16.59 [+0.13] TEST: IPv4 flags on down device [ OK ] # 16.75 [+0.16] TEST: IPv6 flags on down device [ OK ] # 16.86 [+0.11] TEST: IPv4 flags on up device [ OK ] # 16.97 [+0.12] TEST: IPv6 flags on up device [ OK ] # 17.25 [+0.28] Other device down and up # 17.38 [+0.13] TEST: IPv4 fibmatch on down device [ OK ] # 17.54 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 17.69 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 17.84 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 17.95 [+0.11] TEST: IPv4 flags on down device [ OK ] # 18.06 [+0.11] TEST: IPv6 flags on down device [ OK ] # 18.19 [+0.13] TEST: IPv4 flags on up device [ OK ] # 18.30 [+0.11] TEST: IPv6 flags on up device [ OK ] # 18.44 [+0.14] Both devices down # 18.58 [+0.14] TEST: IPv4 fibmatch [ OK ] # 18.73 [+0.15] TEST: IPv6 fibmatch [ OK ] # 19.65 [+0.92] # 19.65 [+0.00] Local carrier tests - single path # 21.86 [+2.21] Start point # 22.01 [+0.15] TEST: IPv4 fibmatch [ OK ] # 22.16 [+0.15] TEST: IPv6 fibmatch [ OK ] # 22.30 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 22.43 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 23.70 [+1.26] Carrier off on nexthop # 23.84 [+0.14] TEST: IPv4 fibmatch [ OK ] # 24.00 [+0.16] TEST: IPv6 fibmatch [ OK ] # 24.14 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 24.26 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 24.55 [+0.29] Route to local address with carrier down # 24.72 [+0.17] TEST: IPv4 fibmatch [ OK ] # 24.87 [+0.15] TEST: IPv6 fibmatch [ OK ] # 25.01 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 25.13 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 25.84 [+0.71] # 25.84 [+0.00] Single path route carrier test # 28.06 [+2.22] Start point # 28.20 [+0.15] TEST: IPv4 fibmatch [ OK ] # 28.35 [+0.15] TEST: IPv6 fibmatch [ OK ] # 28.48 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 28.59 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 29.83 [+1.24] Carrier down # 29.98 [+0.15] TEST: IPv4 fibmatch [ OK ] # 30.11 [+0.13] TEST: IPv6 fibmatch [ OK ] # 30.24 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 30.40 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 30.68 [+0.28] Second address added with carrier down # 30.82 [+0.14] TEST: IPv4 fibmatch [ OK ] # 30.96 [+0.14] TEST: IPv6 fibmatch [ OK ] # 31.09 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 31.22 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 37.94 [+6.72] # 37.94 [+0.00] IPv4 nexthop tests # 37.94 [+0.00] <<< write me >>> # 38.24 [+0.29] # 38.24 [+0.00] IPv6 nexthop tests # 38.40 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 38.55 [+0.15] TEST: Directly connected nexthop, unicast address with device [ OK ] # 38.70 [+0.15] TEST: Gateway is linklocal address [ OK ] # 38.86 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 39.02 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 39.18 [+0.15] TEST: Gateway can not be local unicast address, with device [ OK ] # 39.34 [+0.16] TEST: Gateway can not be a local linklocal address [ OK ] # 39.49 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 39.65 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 39.81 [+0.17] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 39.97 [+0.15] TEST: Redirect to VRF lookup [ OK ] # 40.12 [+0.16] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 40.28 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 40.44 [+0.15] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 41.87 [+1.43] # 41.87 [+0.00] FIB rule with suppress_prefixlength # 45.00 [+3.13] TEST: FIB rule suppress test [ OK ] # 47.83 [+2.83] # 47.83 [+0.00] Fib6 info length calculation in route notify test # 53.24 [+5.42] TEST: ipv6 route add notify [ OK ] # 56.12 [+2.88] # 56.12 [+0.00] Fib4 info length calculation in route notify test # 61.49 [+5.36] TEST: ipv4 route add notify [ OK ] # 69.32 [+7.83] # 69.32 [+0.00] IPv6 route add / append tests # 69.94 [+0.62] TEST: Attempt to add duplicate route - gw [ OK ] # 70.54 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.16 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 71.95 [+0.80] TEST: Append nexthop to existing route - gw [ OK ] # 72.56 [+0.61] TEST: Add multipath route [ OK ] # 73.16 [+0.60] TEST: Attempt to add duplicate multipath route [ OK ] # 73.92 [+0.76] TEST: Route add with different metrics [ OK ] # 74.21 [+0.29] TEST: Route delete with metric [ OK ] # 74.22 [+0.01] # 74.22 [+0.00] IPv6 route replace tests # 74.98 [+0.76] TEST: Single path with single path [ OK ] # 75.75 [+0.77] TEST: Single path with multipath [ OK ] # 76.50 [+0.75] TEST: Single path with single path via multipath attribute [ OK ] # 77.23 [+0.74] TEST: Invalid nexthop [ OK ] # 77.85 [+0.61] TEST: Single path - replace of non-existent route [ OK ] # 78.60 [+0.75] TEST: Multipath with multipath [ OK ] # 79.37 [+0.77] TEST: Multipath with single path [ OK ] # 80.13 [+0.76] TEST: Multipath with single path via multipath attribute [ OK ] # 80.88 [+0.75] TEST: Multipath with dev-only [ OK ] # 81.63 [+0.75] TEST: Multipath - invalid first nexthop [ OK ] # 82.38 [+0.75] TEST: Multipath - invalid second nexthop [ OK ] # 82.99 [+0.61] TEST: Multipath - replace of non-existent route [ OK ] # 82.99 [+0.00] # 82.99 [+0.00] IPv6 route with dsfield tests # 83.30 [+0.31] TEST: Reject route with dsfield [ OK ] # 93.97 [+10.67] # 93.97 [+0.00] IPv4 route add / append tests # 94.58 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 95.18 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 95.80 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 96.55 [+0.76] TEST: Add new nexthop for existing prefix [ OK ] # 97.34 [+0.79] TEST: Append nexthop to existing route - gw [ OK ] # 98.13 [+0.78] TEST: Append nexthop to existing route - dev only [ OK ] # 98.90 [+0.77] TEST: Append nexthop to existing route - reject route [ OK ] # 99.52 [+0.62] TEST: Append nexthop to existing reject route - gw [ OK ] # 100.17 [+0.65] TEST: Append nexthop to existing reject route - dev only [ OK ] # 100.82 [+0.64] TEST: add multipath route [ OK ] # 101.51 [+0.70] TEST: Attempt to add duplicate multipath route [ OK ] # 102.30 [+0.78] TEST: Route add with different metrics [ OK ] # 102.60 [+0.30] TEST: Route delete with metric [ OK ] # 102.60 [+0.00] # 102.60 [+0.00] IPv4 route replace tests # 103.38 [+0.78] TEST: Single path with single path [ OK ] # 104.16 [+0.78] TEST: Single path with multipath [ OK ] # 104.93 [+0.77] TEST: Single path with reject route [ OK ] # 105.69 [+0.76] TEST: Single path with single path via multipath attribute [ OK ] # 106.47 [+0.78] TEST: Invalid nexthop [ OK ] # 107.07 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 107.83 [+0.77] TEST: Multipath with multipath [ OK ] # 108.60 [+0.77] TEST: Multipath with single path [ OK ] # 109.39 [+0.79] TEST: Multipath with single path via multipath attribute [ OK ] # 110.20 [+0.81] TEST: Multipath with reject route [ OK ] # 110.98 [+0.78] TEST: Multipath - invalid first nexthop [ OK ] # 111.77 [+0.79] TEST: Multipath - invalid second nexthop [ OK ] # 112.41 [+0.63] TEST: Multipath - replace of non-existent route [ OK ] # 114.62 [+2.21] TEST: Cached route removed from VRF port device [ OK ] # 114.62 [+0.00] # 114.62 [+0.00] IPv4 route with dsfield tests # 114.92 [+0.30] TEST: Reject route with dsfield 0x01 [ OK ] # 115.08 [+0.16] TEST: Reject route with dsfield 0x02 [ OK ] # 115.24 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 115.68 [+0.44] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 115.81 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 115.92 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 116.04 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 116.15 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 116.28 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 116.40 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 116.52 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 116.63 [+0.12] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 116.78 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 116.91 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 117.04 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 119.71 [+2.68] # 119.71 [+0.00] IPv6 prefix route tests # 123.04 [+3.32] TEST: Default metric [ OK ] # 123.50 [+0.46] TEST: User specified metric on first device [ OK ] # 123.98 [+0.49] TEST: User specified metric on second device [ OK ] # 124.26 [+0.28] TEST: Delete of address on first device [ OK ] # 124.55 [+0.29] TEST: Modify metric of address [ OK ] # 125.11 [+0.56] TEST: Prefix route removed on link down [ OK ] # 125.41 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 125.86 [+0.45] TEST: Set metric with peer route on local side [ OK ] # 126.01 [+0.15] TEST: Set metric with peer route on peer side [ OK ] # 126.30 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 126.47 [+0.17] TEST: Modify metric and peer address on peer side [ OK ] # 128.15 [+1.69] # 128.15 [+0.00] IPv4 prefix route tests # 131.47 [+3.31] TEST: Default metric [ OK ] # 131.95 [+0.48] TEST: User specified metric on first device [ OK ] # 132.41 [+0.46] TEST: User specified metric on second device [ OK ] # 132.73 [+0.31] TEST: Delete of address on first device [ OK ] # 133.04 [+0.32] TEST: Modify metric of address [ OK ] # 133.36 [+0.32] TEST: Prefix route removed on link down [ OK ] # 133.68 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 134.32 [+0.64] TEST: Modify metric of .0/24 address [ OK ] # 134.80 [+0.48] TEST: Set metric of address with peer route [ OK ] # 135.12 [+0.32] TEST: Modify metric and peer address for peer route [ OK ] # 136.77 [+1.65] # 136.77 [+0.00] IPv6 routes with metrics # 145.12 [+8.35] TEST: Single path route with mtu metric [ OK ] # 145.56 [+0.44] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 146.03 [+0.47] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 146.34 [+0.32] TEST: MTU of second leg [ OK ] # 146.64 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 147.07 [+0.43] TEST: Using route with mtu metric [ OK ] # 147.34 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 149.99 [+2.65] # 149.99 [+0.00] IPv4 route add / append tests # 158.31 [+8.32] TEST: Single path route with mtu metric [ OK ] # 158.61 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 159.03 [+0.42] TEST: Using route with mtu metric [ OK ] # 159.29 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 161.89 [+2.60] # 161.89 [+0.00] IPv4 route with IPv6 gateway tests # 172.14 [+10.25] TEST: Single path route with IPv6 gateway [ OK ] # 172.57 [+0.43] TEST: Single path route with IPv6 gateway - ping [ OK ] # 172.73 [+0.16] TEST: Single path route delete [ OK ] # 173.03 [+0.30] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 173.35 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 173.50 [+0.15] TEST: Multipath route delete exact match [ OK ] # 173.66 [+0.16] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 173.99 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 174.14 [+0.16] TEST: Multipath route delete exact match [ OK ] # 176.82 [+2.67] # 176.82 [+0.00] IPv4 rp_filter tests # 187.61 [+10.79] TEST: rp_filter passes local packets [ OK ] # 187.88 [+0.27] TEST: rp_filter passes loopback packets [ OK ] # 189.12 [+1.24] # 189.12 [+0.00] IPv4 delete address route tests # 194.12 [+5.00] Regular FIB info # 194.39 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 194.51 [+0.12] TEST: Route in default VRF not removed [ OK ] # 195.09 [+0.58] TEST: Route removed in default VRF when source address deleted [ OK ] # 195.21 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 195.21 [+0.00] Identical FIB info with different table ID # 195.52 [+0.31] TEST: Route removed from VRF when source address deleted [ OK ] # 195.65 [+0.13] TEST: Route in default VRF not removed [ OK ] # 196.25 [+0.59] TEST: Route removed in default VRF when source address deleted [ OK ] # 196.36 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 196.36 [+0.00] Table ID 0 # 196.63 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 198.25 [+1.62] # 198.25 [+0.00] IPv6 delete address route tests # 206.95 [+8.70] Single device using src address # 207.21 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 207.22 [+0.00] Two devices with the same source address # 207.49 [+0.27] 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.78 [+0.00] VRF with single device using src address # 208.03 [+0.25] TEST: Prefsrc removed when src address removed on other device [ OK ] # 208.03 [+0.00] VRF with two devices using src address # 208.32 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 208.60 [+0.28] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 208.60 [+0.00] src address and nexthop dev in same VRF # 208.88 [+0.28] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 209.00 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 209.58 [+0.57] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 209.70 [+0.12] TEST: Prefsrc in default VRF removed [ OK ] # 209.70 [+0.00] src address and nexthop device in different VRF # 209.98 [+0.28] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 210.10 [+0.11] TEST: Prefsrc not removed in default VRF [ OK ] # 210.50 [+0.41] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 210.65 [+0.15] TEST: Prefsrc removed in default VRF [ OK ] # 210.66 [+0.00] Table ID 0 # 210.92 [+0.26] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 210.92 [+0.00] Link local source route # 211.18 [+0.26] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 211.44 [+0.26] TEST: Prefsrc removed when delete ll addr [ OK ] # 211.57 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 211.99 [+0.41] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 214.42 [+2.44] # 214.42 [+0.00] IPv4 mangling tests # 225.92 [+11.50] TEST: Connection with correct parameters [ OK ] # 226.22 [+0.30] TEST: Connection with incorrect parameters [ OK ] # 227.45 [+1.23] TEST: Connection with correct parameters - mangling [ OK ] # 228.55 [+1.10] TEST: Connection with correct parameters - no mangling [ OK ] # 228.65 [+0.10] TEST: Connection check - server side [ OK ] # 231.80 [+3.15] # 231.80 [+0.00] IPv6 mangling tests # 243.30 [+11.50] TEST: Connection with correct parameters [ OK ] # 243.65 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 244.78 [+1.13] TEST: Connection with correct parameters - mangling [ OK ] # 245.93 [+1.15] TEST: Connection with correct parameters - no mangling [ OK ] # 246.05 [+0.12] TEST: Connection check - server side [ OK ] # 249.20 [+3.15] # 249.20 [+0.00] IPv4 broadcast neighbour tests # 253.10 [+3.90] TEST: Resolved neighbour for broadcast address [ OK ] # 253.25 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 253.40 [+0.15] TEST: Unresolved neighbour for broadcast address [ OK ] # 253.55 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 256.90 [+3.35] # 256.90 [+0.00] Fib6 garbage collection test # 271.14 [+14.25] TEST: ipv6 route garbage collection [ OK ] # 285.72 [+14.58] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 300.30 [+14.58] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 314.93 [+14.63] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 330.15 [+15.22] TEST: ipv6 route garbage collection (RA message) [ OK ] # 331.47 [+1.32] # 331.47 [+0.00] IPv4 multipath list receive tests # 354.54 [+23.06] TEST: Multipath route hit ratio (1.00) [ OK ] # 357.32 [+2.78] # 357.32 [+0.00] IPv6 multipath list receive tests # 378.86 [+21.54] TEST: Multipath route hit ratio (1.00) [ OK ] # 381.79 [+2.93] # 381.79 [+0.00] Tests passed: 229 # 381.79 [+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__->