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.15] TEST: IPv4 fibmatch [ OK ] # 2.91 [+0.15] TEST: IPv6 fibmatch [ OK ] # 3.09 [+0.19] Nexthop device deleted # 3.24 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.39 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 4.35 [+0.96] # 4.35 [+0.00] Multipath route test # 7.49 [+3.14] Start point # 7.65 [+0.15] TEST: IPv4 fibmatch [ OK ] # 7.79 [+0.14] TEST: IPv6 fibmatch [ OK ] # 7.97 [+0.18] One nexthop device deleted # 8.13 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.26 [+0.13] TEST: IPv6 - multipath down to single path [ OK ] # 8.45 [+0.19] Second nexthop device deleted # 8.60 [+0.15] TEST: IPv6 - no route [ OK ] # 9.50 [+0.90] # 9.50 [+0.00] Single path, admin down # 11.81 [+2.31] Start point # 11.96 [+0.15] TEST: IPv4 fibmatch [ OK ] # 12.10 [+0.15] TEST: IPv6 fibmatch [ OK ] # 12.26 [+0.15] Route deleted on down # 12.39 [+0.14] TEST: IPv4 fibmatch [ OK ] # 12.55 [+0.15] TEST: IPv6 fibmatch [ OK ] # 13.31 [+0.76] # 13.31 [+0.00] Admin down multipath # 16.33 [+3.03] Verify start point # 16.48 [+0.14] TEST: IPv4 fibmatch [ OK ] # 16.61 [+0.14] TEST: IPv6 fibmatch [ OK ] # 16.78 [+0.17] One device down, one up # 16.97 [+0.19] TEST: IPv4 fibmatch on down device [ OK ] # 17.12 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 17.26 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 17.42 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 17.56 [+0.14] TEST: IPv4 flags on down device [ OK ] # 17.67 [+0.11] TEST: IPv6 flags on down device [ OK ] # 17.79 [+0.12] TEST: IPv4 flags on up device [ OK ] # 17.91 [+0.12] TEST: IPv6 flags on up device [ OK ] # 18.19 [+0.29] Other device down and up # 18.34 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 18.48 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 18.62 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 18.77 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 18.92 [+0.15] TEST: IPv4 flags on down device [ OK ] # 19.06 [+0.14] TEST: IPv6 flags on down device [ OK ] # 19.18 [+0.12] TEST: IPv4 flags on up device [ OK ] # 19.33 [+0.15] TEST: IPv6 flags on up device [ OK ] # 19.48 [+0.14] Both devices down # 19.62 [+0.14] TEST: IPv4 fibmatch [ OK ] # 19.77 [+0.15] TEST: IPv6 fibmatch [ OK ] # 20.67 [+0.90] # 20.67 [+0.00] Local carrier tests - single path # 22.90 [+2.23] Start point # 23.04 [+0.14] TEST: IPv4 fibmatch [ OK ] # 23.20 [+0.16] TEST: IPv6 fibmatch [ OK ] # 23.31 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 23.47 [+0.16] TEST: IPv6 - no linkdown flag [ OK ] # 24.73 [+1.26] Carrier off on nexthop # 24.87 [+0.14] TEST: IPv4 fibmatch [ OK ] # 25.02 [+0.15] TEST: IPv6 fibmatch [ OK ] # 25.14 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 25.26 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 25.56 [+0.30] Route to local address with carrier down # 25.71 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.85 [+0.15] TEST: IPv6 fibmatch [ OK ] # 25.97 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 26.11 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 26.81 [+0.70] # 26.81 [+0.00] Single path route carrier test # 29.09 [+2.28] Start point # 29.24 [+0.14] TEST: IPv4 fibmatch [ OK ] # 29.39 [+0.16] TEST: IPv6 fibmatch [ OK ] # 29.51 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 29.66 [+0.15] TEST: IPv6 no linkdown flag [ OK ] # 30.90 [+1.24] Carrier down # 31.04 [+0.14] TEST: IPv4 fibmatch [ OK ] # 31.20 [+0.15] TEST: IPv6 fibmatch [ OK ] # 31.31 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 31.43 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 31.74 [+0.31] Second address added with carrier down # 31.89 [+0.15] TEST: IPv4 fibmatch [ OK ] # 32.04 [+0.14] TEST: IPv6 fibmatch [ OK ] # 32.16 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 32.29 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 39.15 [+6.86] # 39.15 [+0.00] IPv4 nexthop tests # 39.15 [+0.00] <<< write me >>> # 39.48 [+0.32] # 39.48 [+0.00] IPv6 nexthop tests # 39.64 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 39.79 [+0.15] TEST: Directly connected nexthop, unicast address with device [ OK ] # 39.96 [+0.17] TEST: Gateway is linklocal address [ OK ] # 40.13 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 40.28 [+0.15] TEST: Gateway can not be local unicast address [ OK ] # 40.44 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 40.60 [+0.16] TEST: Gateway can not be a local linklocal address [ OK ] # 40.76 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 40.92 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 41.09 [+0.17] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 41.25 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 41.42 [+0.16] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 41.57 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 41.74 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 43.20 [+1.46] # 43.20 [+0.00] FIB rule with suppress_prefixlength # 46.45 [+3.25] TEST: FIB rule suppress test [ OK ] # 49.29 [+2.84] # 49.29 [+0.00] Fib6 info length calculation in route notify test # 54.75 [+5.46] TEST: ipv6 route add notify [ OK ] # 57.57 [+2.82] # 57.57 [+0.00] Fib4 info length calculation in route notify test # 62.99 [+5.42] TEST: ipv4 route add notify [ OK ] # 70.94 [+7.95] # 70.94 [+0.00] IPv6 route add / append tests # 71.54 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 72.15 [+0.61] TEST: Attempt to add duplicate route - dev only [ OK ] # 72.76 [+0.61] TEST: Attempt to add duplicate route - reject route [ OK ] # 73.51 [+0.76] TEST: Append nexthop to existing route - gw [ OK ] # 74.13 [+0.62] TEST: Add multipath route [ OK ] # 74.74 [+0.60] TEST: Attempt to add duplicate multipath route [ OK ] # 75.52 [+0.78] TEST: Route add with different metrics [ OK ] # 75.81 [+0.29] TEST: Route delete with metric [ OK ] # 75.81 [+0.00] # 75.81 [+0.00] IPv6 route replace tests # 76.58 [+0.76] TEST: Single path with single path [ OK ] # 77.36 [+0.78] TEST: Single path with multipath [ OK ] # 78.10 [+0.74] TEST: Single path with single path via multipath attribute [ OK ] # 78.86 [+0.76] TEST: Invalid nexthop [ OK ] # 79.45 [+0.59] TEST: Single path - replace of non-existent route [ OK ] # 80.20 [+0.75] TEST: Multipath with multipath [ OK ] # 80.93 [+0.73] TEST: Multipath with single path [ OK ] # 81.69 [+0.75] TEST: Multipath with single path via multipath attribute [ OK ] # 82.41 [+0.72] TEST: Multipath with dev-only [ OK ] # 83.15 [+0.74] TEST: Multipath - invalid first nexthop [ OK ] # 83.88 [+0.73] TEST: Multipath - invalid second nexthop [ OK ] # 84.47 [+0.59] TEST: Multipath - replace of non-existent route [ OK ] # 84.47 [+0.00] # 84.47 [+0.00] IPv6 route with dsfield tests # 84.78 [+0.31] TEST: Reject route with dsfield [ OK ] # 95.06 [+10.27] # 95.06 [+0.00] IPv4 route add / append tests # 95.65 [+0.60] TEST: Attempt to add duplicate route - gw [ OK ] # 96.25 [+0.60] TEST: Attempt to add duplicate route - dev only [ OK ] # 96.87 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 97.61 [+0.74] TEST: Add new nexthop for existing prefix [ OK ] # 98.35 [+0.75] TEST: Append nexthop to existing route - gw [ OK ] # 99.12 [+0.76] TEST: Append nexthop to existing route - dev only [ OK ] # 99.87 [+0.76] TEST: Append nexthop to existing route - reject route [ OK ] # 100.48 [+0.60] TEST: Append nexthop to existing reject route - gw [ OK ] # 101.09 [+0.61] TEST: Append nexthop to existing reject route - dev only [ OK ] # 101.68 [+0.59] TEST: add multipath route [ OK ] # 102.30 [+0.62] TEST: Attempt to add duplicate multipath route [ OK ] # 103.05 [+0.75] TEST: Route add with different metrics [ OK ] # 103.36 [+0.31] TEST: Route delete with metric [ OK ] # 103.36 [+0.00] # 103.36 [+0.00] IPv4 route replace tests # 104.11 [+0.75] TEST: Single path with single path [ OK ] # 104.89 [+0.77] TEST: Single path with multipath [ OK ] # 105.64 [+0.75] TEST: Single path with reject route [ OK ] # 106.39 [+0.75] TEST: Single path with single path via multipath attribute [ OK ] # 107.13 [+0.74] TEST: Invalid nexthop [ OK ] # 107.76 [+0.62] TEST: Single path - replace of non-existent route [ OK ] # 108.51 [+0.75] TEST: Multipath with multipath [ OK ] # 109.27 [+0.76] TEST: Multipath with single path [ OK ] # 110.01 [+0.74] TEST: Multipath with single path via multipath attribute [ OK ] # 110.75 [+0.74] TEST: Multipath with reject route [ OK ] # 111.50 [+0.75] TEST: Multipath - invalid first nexthop [ OK ] # 112.26 [+0.76] TEST: Multipath - invalid second nexthop [ OK ] # 112.86 [+0.60] TEST: Multipath - replace of non-existent route [ OK ] # 115.00 [+2.14] TEST: Cached route removed from VRF port device [ OK ] # 115.00 [+0.00] # 115.00 [+0.00] IPv4 route with dsfield tests # 115.31 [+0.31] TEST: Reject route with dsfield 0x01 [ OK ] # 115.47 [+0.16] TEST: Reject route with dsfield 0x02 [ OK ] # 115.63 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 116.06 [+0.43] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 116.19 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 116.31 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 116.45 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 116.57 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 116.69 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 116.82 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 116.95 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 117.08 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 117.21 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 117.35 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 117.49 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 120.11 [+2.62] # 120.11 [+0.00] IPv6 prefix route tests # 123.38 [+3.26] TEST: Default metric [ OK ] # 123.82 [+0.44] TEST: User specified metric on first device [ OK ] # 124.29 [+0.47] TEST: User specified metric on second device [ OK ] # 124.58 [+0.29] TEST: Delete of address on first device [ OK ] # 124.85 [+0.27] TEST: Modify metric of address [ OK ] # 125.40 [+0.55] TEST: Prefix route removed on link down [ OK ] # 125.69 [+0.29] TEST: Prefix route with metric on link up [ OK ] # 126.13 [+0.44] TEST: Set metric with peer route on local side [ OK ] # 126.27 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 126.56 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 126.69 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 128.27 [+1.58] # 128.27 [+0.00] IPv4 prefix route tests # 131.45 [+3.18] TEST: Default metric [ OK ] # 131.90 [+0.45] TEST: User specified metric on first device [ OK ] # 132.36 [+0.46] TEST: User specified metric on second device [ OK ] # 132.67 [+0.31] TEST: Delete of address on first device [ OK ] # 132.98 [+0.31] TEST: Modify metric of address [ OK ] # 133.28 [+0.30] TEST: Prefix route removed on link down [ OK ] # 133.60 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 134.23 [+0.63] TEST: Modify metric of .0/24 address [ OK ] # 134.69 [+0.46] TEST: Set metric of address with peer route [ OK ] # 135.00 [+0.31] TEST: Modify metric and peer address for peer route [ OK ] # 136.59 [+1.60] # 136.59 [+0.00] IPv6 routes with metrics # 144.69 [+8.10] TEST: Single path route with mtu metric [ OK ] # 145.14 [+0.45] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 145.60 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 145.90 [+0.30] TEST: MTU of second leg [ OK ] # 146.21 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 146.63 [+0.42] TEST: Using route with mtu metric [ OK ] # 146.91 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 149.60 [+2.69] # 149.60 [+0.00] IPv4 route add / append tests # 157.77 [+8.18] TEST: Single path route with mtu metric [ OK ] # 158.09 [+0.32] TEST: Multipath route with mtu metric [ OK ] # 158.50 [+0.41] TEST: Using route with mtu metric [ OK ] # 158.76 [+0.25] TEST: Invalid metric (fails metric_convert) [ OK ] # 161.34 [+2.58] # 161.34 [+0.00] IPv4 route with IPv6 gateway tests # 171.34 [+10.00] TEST: Single path route with IPv6 gateway [ OK ] # 171.78 [+0.44] TEST: Single path route with IPv6 gateway - ping [ OK ] # 171.93 [+0.15] TEST: Single path route delete [ OK ] # 172.23 [+0.30] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 172.53 [+0.30] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 172.68 [+0.15] TEST: Multipath route delete exact match [ OK ] # 172.84 [+0.16] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 173.15 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 173.30 [+0.15] TEST: Multipath route delete exact match [ OK ] # 175.89 [+2.58] # 175.89 [+0.00] IPv4 rp_filter tests # 186.59 [+10.70] TEST: rp_filter passes local packets [ OK ] # 186.86 [+0.27] TEST: rp_filter passes loopback packets [ OK ] # 188.13 [+1.27] # 188.13 [+0.00] IPv4 delete address route tests # 193.15 [+5.02] Regular FIB info # 193.41 [+0.26] TEST: Route removed from VRF when source address deleted [ OK ] # 193.54 [+0.13] TEST: Route in default VRF not removed [ OK ] # 194.11 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 194.25 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 194.25 [+0.00] Identical FIB info with different table ID # 194.53 [+0.28] TEST: Route removed from VRF when source address deleted [ OK ] # 194.66 [+0.13] TEST: Route in default VRF not removed [ OK ] # 195.23 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 195.35 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 195.35 [+0.00] Table ID 0 # 195.63 [+0.28] TEST: Route removed in default VRF when source address deleted [ OK ] # 197.22 [+1.59] # 197.22 [+0.00] IPv6 delete address route tests # 205.78 [+8.55] Single device using src address # 206.05 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 206.05 [+0.00] Two devices with the same source address # 206.32 [+0.26] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 206.58 [+0.26] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 206.58 [+0.00] VRF with single device using src address # 206.84 [+0.26] TEST: Prefsrc removed when src address removed on other device [ OK ] # 206.85 [+0.00] VRF with two devices using src address # 207.13 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 207.39 [+0.26] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 207.39 [+0.00] src address and nexthop dev in same VRF # 207.65 [+0.26] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 207.80 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 208.37 [+0.57] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 208.49 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 208.50 [+0.00] src address and nexthop device in different VRF # 208.74 [+0.25] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 208.88 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 209.29 [+0.41] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 209.41 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 209.41 [+0.00] Table ID 0 # 209.67 [+0.26] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 209.68 [+0.00] Link local source route # 209.94 [+0.27] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 210.19 [+0.25] TEST: Prefsrc removed when delete ll addr [ OK ] # 210.32 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 210.75 [+0.43] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 213.22 [+2.48] # 213.22 [+0.00] IPv4 mangling tests # 224.75 [+11.53] TEST: Connection with correct parameters [ OK ] # 225.05 [+0.29] TEST: Connection with incorrect parameters [ OK ] # 226.28 [+1.23] TEST: Connection with correct parameters - mangling [ OK ] # 227.40 [+1.11] TEST: Connection with correct parameters - no mangling [ OK ] # 227.50 [+0.11] TEST: Connection check - server side [ OK ] # 230.70 [+3.20] # 230.70 [+0.00] IPv6 mangling tests # 242.23 [+11.53] TEST: Connection with correct parameters [ OK ] # 242.58 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 243.72 [+1.14] TEST: Connection with correct parameters - mangling [ OK ] # 244.84 [+1.13] TEST: Connection with correct parameters - no mangling [ OK ] # 244.97 [+0.13] TEST: Connection check - server side [ OK ] # 248.08 [+3.11] # 248.08 [+0.00] IPv4 broadcast neighbour tests # 251.98 [+3.90] TEST: Resolved neighbour for broadcast address [ OK ] # 252.13 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 252.28 [+0.15] TEST: Unresolved neighbour for broadcast address [ OK ] # 252.45 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 255.78 [+3.33] # 255.78 [+0.00] Fib6 garbage collection test # 270.00 [+14.22] TEST: ipv6 route garbage collection [ OK ] # 284.52 [+14.52] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 299.08 [+14.56] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 313.78 [+14.70] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 328.98 [+15.20] TEST: ipv6 route garbage collection (RA message) [ OK ] # 330.24 [+1.26] # 330.24 [+0.00] IPv4 multipath list receive tests # 353.41 [+23.17] TEST: Multipath route hit ratio (1.00) [ OK ] # 356.16 [+2.75] # 356.16 [+0.00] IPv6 multipath list receive tests # 377.64 [+21.48] TEST: Multipath route hit ratio (1.00) [ OK ] # 380.37 [+2.73] # 380.37 [+0.00] Tests passed: 229 # 380.37 [+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__->