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.84 [+0.84] # 0.84 [+0.00] Single path route test # 2.60 [+1.76] Start point # 2.75 [+0.15] TEST: IPv4 fibmatch [ OK ] # 2.90 [+0.15] TEST: IPv6 fibmatch [ OK ] # 3.09 [+0.19] Nexthop device deleted # 3.25 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.41 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 4.35 [+0.94] # 4.35 [+0.00] Multipath route test # 7.55 [+3.20] Start point # 7.72 [+0.17] TEST: IPv4 fibmatch [ OK ] # 7.88 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.12 [+0.24] One nexthop device deleted # 8.31 [+0.20] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.46 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 8.68 [+0.22] Second nexthop device deleted # 8.84 [+0.16] TEST: IPv6 - no route [ OK ] # 9.84 [+1.01] # 9.84 [+0.00] Single path, admin down # 12.13 [+2.28] Start point # 12.28 [+0.15] TEST: IPv4 fibmatch [ OK ] # 12.43 [+0.15] TEST: IPv6 fibmatch [ OK ] # 12.58 [+0.15] Route deleted on down # 12.72 [+0.14] TEST: IPv4 fibmatch [ OK ] # 12.88 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.61 [+0.73] # 13.61 [+0.00] Admin down multipath # 16.76 [+3.15] Verify start point # 16.92 [+0.16] TEST: IPv4 fibmatch [ OK ] # 17.07 [+0.15] TEST: IPv6 fibmatch [ OK ] # 17.23 [+0.16] One device down, one up # 17.38 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 17.53 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 17.69 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 17.85 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 17.97 [+0.11] TEST: IPv4 flags on down device [ OK ] # 18.09 [+0.12] TEST: IPv6 flags on down device [ OK ] # 18.20 [+0.11] TEST: IPv4 flags on up device [ OK ] # 18.33 [+0.13] TEST: IPv6 flags on up device [ OK ] # 18.65 [+0.32] Other device down and up # 18.80 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 18.96 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 19.11 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 19.27 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 19.39 [+0.11] TEST: IPv4 flags on down device [ OK ] # 19.51 [+0.13] TEST: IPv6 flags on down device [ OK ] # 19.64 [+0.13] TEST: IPv4 flags on up device [ OK ] # 19.77 [+0.12] TEST: IPv6 flags on up device [ OK ] # 19.93 [+0.17] Both devices down # 20.08 [+0.15] TEST: IPv4 fibmatch [ OK ] # 20.23 [+0.15] TEST: IPv6 fibmatch [ OK ] # 21.17 [+0.94] # 21.18 [+0.00] Local carrier tests - single path # 23.52 [+2.35] Start point # 23.67 [+0.15] TEST: IPv4 fibmatch [ OK ] # 23.82 [+0.15] TEST: IPv6 fibmatch [ OK ] # 23.97 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 24.08 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 25.36 [+1.27] Carrier off on nexthop # 25.51 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.66 [+0.15] TEST: IPv6 fibmatch [ OK ] # 25.78 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 25.90 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 26.20 [+0.30] Route to local address with carrier down # 26.36 [+0.16] TEST: IPv4 fibmatch [ OK ] # 26.51 [+0.16] TEST: IPv6 fibmatch [ OK ] # 26.64 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 26.78 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 27.55 [+0.76] # 27.55 [+0.00] Single path route carrier test # 29.83 [+2.29] Start point # 29.98 [+0.15] TEST: IPv4 fibmatch [ OK ] # 30.14 [+0.16] TEST: IPv6 fibmatch [ OK ] # 30.25 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 30.40 [+0.15] TEST: IPv6 no linkdown flag [ OK ] # 31.66 [+1.25] Carrier down # 31.81 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.97 [+0.16] TEST: IPv6 fibmatch [ OK ] # 32.09 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 32.21 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 32.52 [+0.30] Second address added with carrier down # 32.67 [+0.15] TEST: IPv4 fibmatch [ OK ] # 32.82 [+0.15] TEST: IPv6 fibmatch [ OK ] # 32.93 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 33.06 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 40.00 [+6.94] # 40.00 [+0.00] IPv4 nexthop tests # 40.00 [+0.00] <<< write me >>> # 40.31 [+0.31] # 40.31 [+0.00] IPv6 nexthop tests # 40.47 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 40.64 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 40.81 [+0.17] TEST: Gateway is linklocal address [ OK ] # 40.99 [+0.18] TEST: Gateway is linklocal address, no device [ OK ] # 41.15 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 41.32 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 41.50 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 41.68 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 41.85 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 42.01 [+0.16] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 42.18 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 42.33 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 42.49 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 42.65 [+0.16] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 44.19 [+1.55] # 44.19 [+0.00] FIB rule with suppress_prefixlength # 47.52 [+3.32] TEST: FIB rule suppress test [ OK ] # 50.65 [+3.13] # 50.65 [+0.00] Fib6 info length calculation in route notify test # 56.33 [+5.68] TEST: ipv6 route add notify [ OK ] # 59.39 [+3.05] # 59.39 [+0.00] Fib4 info length calculation in route notify test # 65.07 [+5.69] TEST: ipv4 route add notify [ OK ] # 73.19 [+8.12] # 73.19 [+0.00] IPv6 route add / append tests # 73.82 [+0.63] TEST: Attempt to add duplicate route - gw [ OK ] # 74.46 [+0.64] TEST: Attempt to add duplicate route - dev only [ OK ] # 75.10 [+0.64] TEST: Attempt to add duplicate route - reject route [ OK ] # 75.88 [+0.78] TEST: Append nexthop to existing route - gw [ OK ] # 76.53 [+0.65] TEST: Add multipath route [ OK ] # 77.15 [+0.62] TEST: Attempt to add duplicate multipath route [ OK ] # 77.96 [+0.82] TEST: Route add with different metrics [ OK ] # 78.26 [+0.29] TEST: Route delete with metric [ OK ] # 78.26 [+0.00] # 78.26 [+0.00] IPv6 route replace tests # 79.04 [+0.78] TEST: Single path with single path [ OK ] # 79.84 [+0.80] TEST: Single path with multipath [ OK ] # 80.62 [+0.78] TEST: Single path with single path via multipath attribute [ OK ] # 81.39 [+0.76] TEST: Invalid nexthop [ OK ] # 82.01 [+0.62] TEST: Single path - replace of non-existent route [ OK ] # 82.78 [+0.77] TEST: Multipath with multipath [ OK ] # 83.53 [+0.75] TEST: Multipath with single path [ OK ] # 84.31 [+0.78] TEST: Multipath with single path via multipath attribute [ OK ] # 85.06 [+0.75] TEST: Multipath with dev-only [ OK ] # 85.82 [+0.76] TEST: Multipath - invalid first nexthop [ OK ] # 86.60 [+0.78] TEST: Multipath - invalid second nexthop [ OK ] # 87.21 [+0.61] TEST: Multipath - replace of non-existent route [ OK ] # 87.21 [+0.00] # 87.21 [+0.00] IPv6 route with dsfield tests # 87.54 [+0.33] TEST: Reject route with dsfield [ OK ] # 97.94 [+10.40] # 97.94 [+0.00] IPv4 route add / append tests # 98.54 [+0.59] TEST: Attempt to add duplicate route - gw [ OK ] # 99.11 [+0.58] TEST: Attempt to add duplicate route - dev only [ OK ] # 99.73 [+0.61] TEST: Attempt to add duplicate route - reject route [ OK ] # 100.45 [+0.72] TEST: Add new nexthop for existing prefix [ OK ] # 101.19 [+0.74] TEST: Append nexthop to existing route - gw [ OK ] # 101.92 [+0.73] TEST: Append nexthop to existing route - dev only [ OK ] # 102.69 [+0.77] TEST: Append nexthop to existing route - reject route [ OK ] # 103.30 [+0.61] TEST: Append nexthop to existing reject route - gw [ OK ] # 103.92 [+0.61] TEST: Append nexthop to existing reject route - dev only [ OK ] # 104.52 [+0.60] TEST: add multipath route [ OK ] # 105.13 [+0.61] TEST: Attempt to add duplicate multipath route [ OK ] # 105.88 [+0.75] TEST: Route add with different metrics [ OK ] # 106.17 [+0.30] TEST: Route delete with metric [ OK ] # 106.18 [+0.00] # 106.18 [+0.00] IPv4 route replace tests # 106.93 [+0.75] TEST: Single path with single path [ OK ] # 107.69 [+0.76] TEST: Single path with multipath [ OK ] # 108.45 [+0.76] TEST: Single path with reject route [ OK ] # 109.22 [+0.77] TEST: Single path with single path via multipath attribute [ OK ] # 109.98 [+0.76] TEST: Invalid nexthop [ OK ] # 110.59 [+0.61] TEST: Single path - replace of non-existent route [ OK ] # 111.36 [+0.77] TEST: Multipath with multipath [ OK ] # 112.12 [+0.76] TEST: Multipath with single path [ OK ] # 112.91 [+0.79] TEST: Multipath with single path via multipath attribute [ OK ] # 113.70 [+0.79] TEST: Multipath with reject route [ OK ] # 114.50 [+0.80] TEST: Multipath - invalid first nexthop [ OK ] # 115.29 [+0.79] TEST: Multipath - invalid second nexthop [ OK ] # 115.91 [+0.63] TEST: Multipath - replace of non-existent route [ OK ] # 118.18 [+2.26] TEST: Cached route removed from VRF port device [ OK ] # 118.18 [+0.00] # 118.18 [+0.00] IPv4 route with dsfield tests # 118.50 [+0.31] TEST: Reject route with dsfield 0x01 [ OK ] # 118.66 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 118.83 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 119.28 [+0.45] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 119.41 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 119.53 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 119.67 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 119.80 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 119.92 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 120.05 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 120.19 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 120.32 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 120.46 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 120.61 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 120.75 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 123.39 [+2.64] # 123.39 [+0.00] IPv6 prefix route tests # 126.68 [+3.29] TEST: Default metric [ OK ] # 127.16 [+0.47] TEST: User specified metric on first device [ OK ] # 127.61 [+0.46] TEST: User specified metric on second device [ OK ] # 127.94 [+0.33] TEST: Delete of address on first device [ OK ] # 128.23 [+0.29] TEST: Modify metric of address [ OK ] # 128.81 [+0.57] TEST: Prefix route removed on link down [ OK ] # 129.12 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 129.58 [+0.46] TEST: Set metric with peer route on local side [ OK ] # 129.73 [+0.15] TEST: Set metric with peer route on peer side [ OK ] # 130.04 [+0.31] TEST: Modify metric and peer address on local side [ OK ] # 130.18 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 131.83 [+1.65] # 131.83 [+0.00] IPv4 prefix route tests # 135.20 [+3.37] TEST: Default metric [ OK ] # 135.69 [+0.49] TEST: User specified metric on first device [ OK ] # 136.16 [+0.47] TEST: User specified metric on second device [ OK ] # 136.48 [+0.32] TEST: Delete of address on first device [ OK ] # 136.79 [+0.31] TEST: Modify metric of address [ OK ] # 137.10 [+0.31] TEST: Prefix route removed on link down [ OK ] # 137.42 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 138.05 [+0.63] TEST: Modify metric of .0/24 address [ OK ] # 138.52 [+0.47] TEST: Set metric of address with peer route [ OK ] # 138.83 [+0.31] TEST: Modify metric and peer address for peer route [ OK ] # 140.48 [+1.65] # 140.48 [+0.00] IPv6 routes with metrics # 148.59 [+8.11] TEST: Single path route with mtu metric [ OK ] # 149.04 [+0.45] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 149.53 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 149.82 [+0.29] TEST: MTU of second leg [ OK ] # 150.12 [+0.29] TEST: Multipath route with mtu metric [ OK ] # 150.53 [+0.42] TEST: Using route with mtu metric [ OK ] # 150.80 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 153.39 [+2.59] # 153.39 [+0.00] IPv4 route add / append tests # 161.66 [+8.27] TEST: Single path route with mtu metric [ OK ] # 161.99 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 162.41 [+0.42] TEST: Using route with mtu metric [ OK ] # 162.68 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 165.27 [+2.59] # 165.27 [+0.00] IPv4 route with IPv6 gateway tests # 175.47 [+10.20] TEST: Single path route with IPv6 gateway [ OK ] # 175.91 [+0.44] TEST: Single path route with IPv6 gateway - ping [ OK ] # 176.06 [+0.15] TEST: Single path route delete [ OK ] # 176.37 [+0.30] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 176.68 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 176.84 [+0.16] TEST: Multipath route delete exact match [ OK ] # 177.00 [+0.16] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 177.30 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 177.46 [+0.16] TEST: Multipath route delete exact match [ OK ] # 180.09 [+2.63] # 180.09 [+0.00] IPv4 rp_filter tests # 191.08 [+10.99] TEST: rp_filter passes local packets [ OK ] # 191.35 [+0.27] TEST: rp_filter passes loopback packets [ OK ] # 192.64 [+1.29] # 192.64 [+0.00] IPv4 delete address route tests # 197.75 [+5.11] Regular FIB info # 198.02 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 198.13 [+0.11] TEST: Route in default VRF not removed [ OK ] # 198.68 [+0.55] TEST: Route removed in default VRF when source address deleted [ OK ] # 198.81 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 198.81 [+0.00] Identical FIB info with different table ID # 199.08 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 199.23 [+0.14] TEST: Route in default VRF not removed [ OK ] # 199.78 [+0.56] TEST: Route removed in default VRF when source address deleted [ OK ] # 199.91 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 199.92 [+0.00] Table ID 0 # 200.18 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 201.83 [+1.65] # 201.83 [+0.00] IPv6 delete address route tests # 210.60 [+8.77] Single device using src address # 210.88 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 210.88 [+0.00] Two devices with the same source address # 211.17 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 211.43 [+0.26] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 211.43 [+0.00] VRF with single device using src address # 211.69 [+0.26] TEST: Prefsrc removed when src address removed on other device [ OK ] # 211.69 [+0.00] VRF with two devices using src address # 211.96 [+0.27] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 212.22 [+0.26] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 212.23 [+0.00] src address and nexthop dev in same VRF # 212.51 [+0.28] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 212.64 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 213.22 [+0.57] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 213.36 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 213.36 [+0.00] src address and nexthop device in different VRF # 213.65 [+0.29] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 213.79 [+0.14] TEST: Prefsrc not removed in default VRF [ OK ] # 214.23 [+0.44] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 214.36 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 214.36 [+0.00] Table ID 0 # 214.64 [+0.28] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 214.64 [+0.00] Link local source route # 214.91 [+0.27] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 215.18 [+0.27] TEST: Prefsrc removed when delete ll addr [ OK ] # 215.29 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 215.74 [+0.45] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 218.26 [+2.52] # 218.26 [+0.00] IPv4 mangling tests # 229.95 [+11.69] TEST: Connection with correct parameters [ OK ] # 230.24 [+0.29] TEST: Connection with incorrect parameters [ OK ] # 231.48 [+1.24] TEST: Connection with correct parameters - mangling [ OK ] # 232.61 [+1.13] TEST: Connection with correct parameters - no mangling [ OK ] # 232.71 [+0.10] TEST: Connection check - server side [ OK ] # 235.94 [+3.23] # 235.94 [+0.00] IPv6 mangling tests # 247.61 [+11.67] TEST: Connection with correct parameters [ OK ] # 247.94 [+0.33] TEST: Connection with incorrect parameters [ OK ] # 249.09 [+1.15] TEST: Connection with correct parameters - mangling [ OK ] # 250.24 [+1.15] TEST: Connection with correct parameters - no mangling [ OK ] # 250.35 [+0.11] TEST: Connection check - server side [ OK ] # 253.52 [+3.17] # 253.52 [+0.00] IPv4 broadcast neighbour tests # 257.53 [+4.01] TEST: Resolved neighbour for broadcast address [ OK ] # 257.69 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 257.85 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 258.00 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 261.36 [+3.36] # 261.36 [+0.00] Fib6 garbage collection test # 275.64 [+14.28] TEST: ipv6 route garbage collection [ OK ] # 290.16 [+14.53] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 304.73 [+14.57] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 319.49 [+14.76] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 334.65 [+15.16] TEST: ipv6 route garbage collection (RA message) [ OK ] # 335.90 [+1.24] # 335.90 [+0.00] IPv4 multipath list receive tests # 358.69 [+22.80] TEST: Multipath route hit ratio (1.00) [ OK ] # 361.53 [+2.84] # 361.53 [+0.00] IPv6 multipath list receive tests # 383.40 [+21.87] TEST: Multipath route hit ratio (1.00) [ OK ] # 386.14 [+2.74] # 386.14 [+0.00] Tests passed: 229 # 386.14 [+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__->