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.69 [+0.69] # 0.69 [+0.00] Single path route test # 2.48 [+1.79] Start point # 2.63 [+0.16] TEST: IPv4 fibmatch [ OK ] # 2.79 [+0.16] TEST: IPv6 fibmatch [ OK ] # 2.98 [+0.19] Nexthop device deleted # 3.14 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.28 [+0.14] TEST: IPv6 fibmatch - no route [ OK ] # 4.18 [+0.90] # 4.18 [+0.00] Multipath route test # 7.23 [+3.05] Start point # 7.37 [+0.14] TEST: IPv4 fibmatch [ OK ] # 7.53 [+0.15] TEST: IPv6 fibmatch [ OK ] # 7.71 [+0.19] One nexthop device deleted # 7.86 [+0.15] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.01 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 8.20 [+0.19] Second nexthop device deleted # 8.34 [+0.14] TEST: IPv6 - no route [ OK ] # 9.24 [+0.90] # 9.24 [+0.00] Single path, admin down # 11.38 [+2.14] Start point # 11.53 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.68 [+0.15] TEST: IPv6 fibmatch [ OK ] # 11.82 [+0.15] Route deleted on down # 11.98 [+0.16] TEST: IPv4 fibmatch [ OK ] # 12.13 [+0.15] TEST: IPv6 fibmatch [ OK ] # 12.86 [+0.73] # 12.86 [+0.00] Admin down multipath # 15.90 [+3.04] Verify start point # 16.05 [+0.14] TEST: IPv4 fibmatch [ OK ] # 16.21 [+0.16] TEST: IPv6 fibmatch [ OK ] # 16.35 [+0.14] One device down, one up # 16.50 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 16.65 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 16.80 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 16.95 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 17.08 [+0.13] TEST: IPv4 flags on down device [ OK ] # 17.20 [+0.13] TEST: IPv6 flags on down device [ OK ] # 17.34 [+0.14] TEST: IPv4 flags on up device [ OK ] # 17.46 [+0.12] TEST: IPv6 flags on up device [ OK ] # 17.76 [+0.30] Other device down and up # 17.91 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 18.05 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 18.21 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 18.37 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 18.50 [+0.14] TEST: IPv4 flags on down device [ OK ] # 18.64 [+0.14] TEST: IPv6 flags on down device [ OK ] # 18.78 [+0.13] TEST: IPv4 flags on up device [ OK ] # 18.90 [+0.12] TEST: IPv6 flags on up device [ OK ] # 19.05 [+0.15] Both devices down # 19.20 [+0.15] TEST: IPv4 fibmatch [ OK ] # 19.34 [+0.14] TEST: IPv6 fibmatch [ OK ] # 20.26 [+0.92] # 20.26 [+0.00] Local carrier tests - single path # 22.55 [+2.29] Start point # 22.70 [+0.14] TEST: IPv4 fibmatch [ OK ] # 22.86 [+0.16] TEST: IPv6 fibmatch [ OK ] # 23.01 [+0.16] TEST: IPv4 - no linkdown flag [ OK ] # 23.14 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 24.39 [+1.25] Carrier off on nexthop # 24.55 [+0.15] TEST: IPv4 fibmatch [ OK ] # 24.70 [+0.16] TEST: IPv6 fibmatch [ OK ] # 24.84 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 24.98 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 25.27 [+0.30] Route to local address with carrier down # 25.42 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.60 [+0.18] TEST: IPv6 fibmatch [ OK ] # 25.73 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 25.86 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 26.59 [+0.73] # 26.59 [+0.00] Single path route carrier test # 28.92 [+2.33] Start point # 29.07 [+0.15] TEST: IPv4 fibmatch [ OK ] # 29.22 [+0.15] TEST: IPv6 fibmatch [ OK ] # 29.36 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 29.49 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 30.74 [+1.25] Carrier down # 30.89 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.04 [+0.15] TEST: IPv6 fibmatch [ OK ] # 31.16 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 31.32 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 31.62 [+0.30] Second address added with carrier down # 31.77 [+0.15] TEST: IPv4 fibmatch [ OK ] # 31.91 [+0.14] TEST: IPv6 fibmatch [ OK ] # 32.03 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 32.16 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 39.02 [+6.86] # 39.02 [+0.00] IPv4 nexthop tests # 39.02 [+0.00] <<< write me >>> # 39.35 [+0.33] # 39.35 [+0.00] IPv6 nexthop tests # 39.51 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 39.67 [+0.16] TEST: Directly connected nexthop, unicast address with device [ OK ] # 39.83 [+0.16] TEST: Gateway is linklocal address [ OK ] # 39.99 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 40.15 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 40.31 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 40.47 [+0.16] TEST: Gateway can not be a local linklocal address [ OK ] # 40.63 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 40.80 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 40.96 [+0.16] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 41.12 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 41.27 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 41.42 [+0.15] TEST: VRF route, gateway can not be a local address [ OK ] # 41.58 [+0.16] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 43.02 [+1.44] # 43.02 [+0.00] FIB rule with suppress_prefixlength # 46.20 [+3.18] TEST: FIB rule suppress test [ OK ] # 49.14 [+2.94] # 49.14 [+0.00] Fib6 info length calculation in route notify test # 54.68 [+5.54] TEST: ipv6 route add notify [ OK ] # 57.58 [+2.91] # 57.58 [+0.00] Fib4 info length calculation in route notify test # 63.11 [+5.52] TEST: ipv4 route add notify [ OK ] # 71.17 [+8.06] # 71.17 [+0.00] IPv6 route add / append tests # 71.80 [+0.64] TEST: Attempt to add duplicate route - gw [ OK ] # 72.42 [+0.62] TEST: Attempt to add duplicate route - dev only [ OK ] # 73.04 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 73.83 [+0.79] TEST: Append nexthop to existing route - gw [ OK ] # 74.45 [+0.62] TEST: Add multipath route [ OK ] # 75.07 [+0.62] TEST: Attempt to add duplicate multipath route [ OK ] # 75.87 [+0.80] TEST: Route add with different metrics [ OK ] # 76.21 [+0.34] TEST: Route delete with metric [ OK ] # 76.21 [+0.00] # 76.21 [+0.00] IPv6 route replace tests # 77.00 [+0.79] TEST: Single path with single path [ OK ] # 77.76 [+0.76] TEST: Single path with multipath [ OK ] # 78.54 [+0.77] TEST: Single path with single path via multipath attribute [ OK ] # 79.30 [+0.76] TEST: Invalid nexthop [ OK ] # 79.92 [+0.62] TEST: Single path - replace of non-existent route [ OK ] # 80.73 [+0.81] TEST: Multipath with multipath [ OK ] # 81.49 [+0.76] TEST: Multipath with single path [ OK ] # 82.28 [+0.79] TEST: Multipath with single path via multipath attribute [ OK ] # 83.03 [+0.76] TEST: Multipath with dev-only [ OK ] # 83.81 [+0.77] TEST: Multipath - invalid first nexthop [ OK ] # 84.62 [+0.81] TEST: Multipath - invalid second nexthop [ OK ] # 85.24 [+0.62] TEST: Multipath - replace of non-existent route [ OK ] # 85.25 [+0.00] # 85.25 [+0.00] IPv6 route with dsfield tests # 85.55 [+0.31] TEST: Reject route with dsfield [ OK ] # 96.47 [+10.92] # 96.47 [+0.00] IPv4 route add / append tests # 97.10 [+0.63] TEST: Attempt to add duplicate route - gw [ OK ] # 97.75 [+0.65] TEST: Attempt to add duplicate route - dev only [ OK ] # 98.37 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 99.16 [+0.79] TEST: Add new nexthop for existing prefix [ OK ] # 99.94 [+0.78] TEST: Append nexthop to existing route - gw [ OK ] # 100.73 [+0.79] TEST: Append nexthop to existing route - dev only [ OK ] # 101.52 [+0.79] TEST: Append nexthop to existing route - reject route [ OK ] # 102.16 [+0.64] TEST: Append nexthop to existing reject route - gw [ OK ] # 102.79 [+0.63] TEST: Append nexthop to existing reject route - dev only [ OK ] # 103.42 [+0.63] TEST: add multipath route [ OK ] # 104.06 [+0.64] TEST: Attempt to add duplicate multipath route [ OK ] # 104.83 [+0.77] TEST: Route add with different metrics [ OK ] # 105.17 [+0.33] TEST: Route delete with metric [ OK ] # 105.17 [+0.00] # 105.17 [+0.00] IPv4 route replace tests # 105.94 [+0.77] TEST: Single path with single path [ OK ] # 106.74 [+0.81] TEST: Single path with multipath [ OK ] # 107.54 [+0.79] TEST: Single path with reject route [ OK ] # 108.35 [+0.81] TEST: Single path with single path via multipath attribute [ OK ] # 109.12 [+0.77] TEST: Invalid nexthop [ OK ] # 109.74 [+0.62] TEST: Single path - replace of non-existent route [ OK ] # 110.52 [+0.78] TEST: Multipath with multipath [ OK ] # 111.31 [+0.79] TEST: Multipath with single path [ OK ] # 112.10 [+0.78] TEST: Multipath with single path via multipath attribute [ OK ] # 112.87 [+0.78] TEST: Multipath with reject route [ OK ] # 113.67 [+0.80] TEST: Multipath - invalid first nexthop [ OK ] # 114.48 [+0.81] TEST: Multipath - invalid second nexthop [ OK ] # 115.10 [+0.62] TEST: Multipath - replace of non-existent route [ OK ] # 117.36 [+2.26] TEST: Cached route removed from VRF port device [ OK ] # 117.36 [+0.00] # 117.36 [+0.00] IPv4 route with dsfield tests # 117.67 [+0.31] TEST: Reject route with dsfield 0x01 [ OK ] # 117.83 [+0.16] TEST: Reject route with dsfield 0x02 [ OK ] # 117.99 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 118.45 [+0.46] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 118.60 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 118.74 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 118.87 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 119.00 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 119.14 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 119.28 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 119.40 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 119.51 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 119.63 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 119.76 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 119.88 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 122.74 [+2.86] # 122.74 [+0.00] IPv6 prefix route tests # 126.14 [+3.40] TEST: Default metric [ OK ] # 126.61 [+0.47] TEST: User specified metric on first device [ OK ] # 127.09 [+0.48] TEST: User specified metric on second device [ OK ] # 127.37 [+0.27] TEST: Delete of address on first device [ OK ] # 127.68 [+0.31] TEST: Modify metric of address [ OK ] # 128.25 [+0.56] TEST: Prefix route removed on link down [ OK ] # 128.55 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 129.01 [+0.46] TEST: Set metric with peer route on local side [ OK ] # 129.17 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 129.50 [+0.33] TEST: Modify metric and peer address on local side [ OK ] # 129.64 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 131.33 [+1.69] # 131.33 [+0.00] IPv4 prefix route tests # 134.80 [+3.48] TEST: Default metric [ OK ] # 135.28 [+0.48] TEST: User specified metric on first device [ OK ] # 135.77 [+0.49] TEST: User specified metric on second device [ OK ] # 136.10 [+0.33] TEST: Delete of address on first device [ OK ] # 136.44 [+0.34] TEST: Modify metric of address [ OK ] # 136.77 [+0.33] TEST: Prefix route removed on link down [ OK ] # 137.10 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 137.72 [+0.62] TEST: Modify metric of .0/24 address [ OK ] # 138.22 [+0.49] TEST: Set metric of address with peer route [ OK ] # 138.53 [+0.31] TEST: Modify metric and peer address for peer route [ OK ] # 140.20 [+1.67] # 140.20 [+0.00] IPv6 routes with metrics # 148.74 [+8.54] TEST: Single path route with mtu metric [ OK ] # 149.20 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 149.69 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 149.99 [+0.30] TEST: MTU of second leg [ OK ] # 150.32 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 150.74 [+0.42] TEST: Using route with mtu metric [ OK ] # 151.04 [+0.29] TEST: Invalid metric (fails metric_convert) [ OK ] # 153.74 [+2.70] # 153.74 [+0.00] IPv4 route add / append tests # 162.48 [+8.74] TEST: Single path route with mtu metric [ OK ] # 162.80 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 163.22 [+0.43] TEST: Using route with mtu metric [ OK ] # 163.50 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 166.16 [+2.67] # 166.16 [+0.00] IPv4 route with IPv6 gateway tests # 176.73 [+10.57] TEST: Single path route with IPv6 gateway [ OK ] # 177.15 [+0.42] TEST: Single path route with IPv6 gateway - ping [ OK ] # 177.33 [+0.18] TEST: Single path route delete [ OK ] # 177.64 [+0.31] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 177.95 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 178.12 [+0.17] TEST: Multipath route delete exact match [ OK ] # 178.29 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 178.63 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 178.81 [+0.19] TEST: Multipath route delete exact match [ OK ] # 181.46 [+2.64] # 181.46 [+0.00] IPv4 rp_filter tests # 192.86 [+11.40] TEST: rp_filter passes local packets [ OK ] # 193.13 [+0.27] TEST: rp_filter passes loopback packets [ OK ] # 194.43 [+1.29] # 194.43 [+0.00] IPv4 delete address route tests # 199.52 [+5.09] Regular FIB info # 199.79 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 199.92 [+0.13] TEST: Route in default VRF not removed [ OK ] # 200.49 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 200.62 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 200.62 [+0.00] Identical FIB info with different table ID # 200.89 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 201.02 [+0.13] TEST: Route in default VRF not removed [ OK ] # 201.61 [+0.59] TEST: Route removed in default VRF when source address deleted [ OK ] # 201.74 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 201.75 [+0.00] Table ID 0 # 202.02 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 203.61 [+1.59] # 203.61 [+0.00] IPv6 delete address route tests # 212.23 [+8.62] Single device using src address # 212.51 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 212.52 [+0.00] Two devices with the same source address # 212.80 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 213.07 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 213.08 [+0.00] VRF with single device using src address # 213.35 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 213.35 [+0.00] VRF with two devices using src address # 213.63 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 213.91 [+0.28] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 213.91 [+0.00] src address and nexthop dev in same VRF # 214.19 [+0.28] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 214.31 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 214.91 [+0.60] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 215.06 [+0.15] TEST: Prefsrc in default VRF removed [ OK ] # 215.06 [+0.00] src address and nexthop device in different VRF # 215.35 [+0.28] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 215.47 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 215.90 [+0.43] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 216.04 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 216.04 [+0.00] Table ID 0 # 216.32 [+0.28] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 216.32 [+0.00] Link local source route # 216.60 [+0.28] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 216.87 [+0.27] TEST: Prefsrc removed when delete ll addr [ OK ] # 217.01 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 217.46 [+0.44] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 220.05 [+2.60] # 220.05 [+0.00] IPv4 mangling tests # 232.03 [+11.97] TEST: Connection with correct parameters [ OK ] # 232.34 [+0.31] TEST: Connection with incorrect parameters [ OK ] # 233.61 [+1.28] TEST: Connection with correct parameters - mangling [ OK ] # 234.75 [+1.14] TEST: Connection with correct parameters - no mangling [ OK ] # 234.88 [+0.12] TEST: Connection check - server side [ OK ] # 238.09 [+3.21] # 238.09 [+0.00] IPv6 mangling tests # 249.71 [+11.62] TEST: Connection with correct parameters [ OK ] # 250.10 [+0.40] TEST: Connection with incorrect parameters [ OK ] # 251.22 [+1.12] TEST: Connection with correct parameters - mangling [ OK ] # 252.37 [+1.15] TEST: Connection with correct parameters - no mangling [ OK ] # 252.49 [+0.11] TEST: Connection check - server side [ OK ] # 255.69 [+3.20] # 255.69 [+0.00] IPv4 broadcast neighbour tests # 259.56 [+3.88] TEST: Resolved neighbour for broadcast address [ OK ] # 259.73 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 259.89 [+0.15] TEST: Unresolved neighbour for broadcast address [ OK ] # 260.03 [+0.14] TEST: Unresolved neighbour for network broadcast address [ OK ] # 263.35 [+3.32] # 263.35 [+0.00] Fib6 garbage collection test # 277.56 [+14.22] TEST: ipv6 route garbage collection [ OK ] # 292.11 [+14.55] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 307.03 [+14.92] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 322.01 [+14.98] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 337.21 [+15.20] TEST: ipv6 route garbage collection (RA message) [ OK ] # 338.49 [+1.27] # 338.49 [+0.00] IPv4 multipath list receive tests # 361.80 [+23.31] TEST: Multipath route hit ratio (1.00) [ OK ] # 364.80 [+2.99] # 364.80 [+0.00] IPv6 multipath list receive tests # 386.92 [+22.12] TEST: Multipath route hit ratio (1.00) [ OK ] # 389.83 [+2.91] # 389.83 [+0.00] Tests passed: 229 # 389.83 [+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__->