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 # 1.03 [+1.03] # 1.03 [+0.00] Single path route test # 2.97 [+1.94] Start point # 3.16 [+0.19] TEST: IPv4 fibmatch [ OK ] # 3.33 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.54 [+0.21] Nexthop device deleted # 3.71 [+0.17] TEST: IPv4 fibmatch - no route [ OK ] # 3.88 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 4.91 [+1.03] # 4.91 [+0.00] Multipath route test # 8.38 [+3.47] Start point # 8.60 [+0.22] TEST: IPv4 fibmatch [ OK ] # 8.77 [+0.17] TEST: IPv6 fibmatch [ OK ] # 8.97 [+0.20] One nexthop device deleted # 9.13 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.29 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.51 [+0.21] Second nexthop device deleted # 9.67 [+0.17] TEST: IPv6 - no route [ OK ] # 10.71 [+1.03] # 10.71 [+0.00] Single path, admin down # 13.02 [+2.31] Start point # 13.18 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.34 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.49 [+0.16] Route deleted on down # 13.65 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.82 [+0.17] TEST: IPv6 fibmatch [ OK ] # 14.63 [+0.81] # 14.63 [+0.00] Admin down multipath # 17.93 [+3.30] Verify start point # 18.09 [+0.16] TEST: IPv4 fibmatch [ OK ] # 18.26 [+0.17] TEST: IPv6 fibmatch [ OK ] # 18.42 [+0.15] One device down, one up # 18.58 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 18.73 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 18.88 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 19.05 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 19.18 [+0.13] TEST: IPv4 flags on down device [ OK ] # 19.30 [+0.12] TEST: IPv6 flags on down device [ OK ] # 19.45 [+0.14] TEST: IPv4 flags on up device [ OK ] # 19.58 [+0.13] TEST: IPv6 flags on up device [ OK ] # 19.89 [+0.32] Other device down and up # 20.06 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 20.23 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 20.39 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 20.54 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.68 [+0.14] TEST: IPv4 flags on down device [ OK ] # 20.85 [+0.16] TEST: IPv6 flags on down device [ OK ] # 21.00 [+0.15] TEST: IPv4 flags on up device [ OK ] # 21.14 [+0.15] TEST: IPv6 flags on up device [ OK ] # 21.31 [+0.16] Both devices down # 21.46 [+0.16] TEST: IPv4 fibmatch [ OK ] # 21.62 [+0.15] TEST: IPv6 fibmatch [ OK ] # 22.59 [+0.97] # 22.59 [+0.00] Local carrier tests - single path # 25.15 [+2.56] Start point # 25.30 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.51 [+0.21] TEST: IPv6 fibmatch [ OK ] # 25.66 [+0.15] TEST: IPv4 - no linkdown flag [ OK ] # 25.82 [+0.15] TEST: IPv6 - no linkdown flag [ OK ] # 27.12 [+1.30] Carrier off on nexthop # 27.28 [+0.16] TEST: IPv4 fibmatch [ OK ] # 27.44 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.59 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 27.72 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 28.03 [+0.30] Route to local address with carrier down # 28.20 [+0.17] TEST: IPv4 fibmatch [ OK ] # 28.37 [+0.17] TEST: IPv6 fibmatch [ OK ] # 28.51 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 28.64 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 29.46 [+0.82] # 29.46 [+0.00] Single path route carrier test # 32.02 [+2.55] Start point # 32.18 [+0.17] TEST: IPv4 fibmatch [ OK ] # 32.35 [+0.17] TEST: IPv6 fibmatch [ OK ] # 32.50 [+0.15] TEST: IPv4 no linkdown flag [ OK ] # 32.66 [+0.16] TEST: IPv6 no linkdown flag [ OK ] # 33.95 [+1.29] Carrier down # 34.14 [+0.19] TEST: IPv4 fibmatch [ OK ] # 34.29 [+0.15] TEST: IPv6 fibmatch [ OK ] # 34.43 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 34.56 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 34.91 [+0.35] Second address added with carrier down # 35.07 [+0.16] TEST: IPv4 fibmatch [ OK ] # 35.23 [+0.16] TEST: IPv6 fibmatch [ OK ] # 35.37 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 35.50 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 43.16 [+7.66] # 43.16 [+0.00] IPv4 nexthop tests # 43.16 [+0.00] <<< write me >>> # 43.53 [+0.37] # 43.53 [+0.00] IPv6 nexthop tests # 43.69 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 43.87 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.05 [+0.18] TEST: Gateway is linklocal address [ OK ] # 44.21 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 44.38 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 44.56 [+0.19] TEST: Gateway can not be local unicast address, with device [ OK ] # 44.73 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 44.91 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 45.08 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 45.26 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 45.44 [+0.18] TEST: Redirect to VRF lookup [ OK ] # 45.61 [+0.18] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 45.79 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 45.98 [+0.19] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 47.61 [+1.63] # 47.61 [+0.00] FIB rule with suppress_prefixlength # 51.15 [+3.54] TEST: FIB rule suppress test [ OK ] # 54.36 [+3.21] # 54.36 [+0.00] Fib6 info length calculation in route notify test # 60.24 [+5.87] TEST: ipv6 route add notify [ OK ] # 63.40 [+3.16] # 63.40 [+0.00] Fib4 info length calculation in route notify test # 69.28 [+5.89] TEST: ipv4 route add notify [ OK ] # 78.00 [+8.72] # 78.00 [+0.00] IPv6 route add / append tests # 78.66 [+0.66] TEST: Attempt to add duplicate route - gw [ OK ] # 79.33 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 80.01 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 80.83 [+0.82] TEST: Append nexthop to existing route - gw [ OK ] # 81.53 [+0.70] TEST: Add multipath route [ OK ] # 82.22 [+0.69] TEST: Attempt to add duplicate multipath route [ OK ] # 83.09 [+0.87] TEST: Route add with different metrics [ OK ] # 83.44 [+0.36] TEST: Route delete with metric [ OK ] # 83.45 [+0.00] # 83.45 [+0.00] IPv6 route replace tests # 84.30 [+0.85] TEST: Single path with single path [ OK ] # 85.13 [+0.84] TEST: Single path with multipath [ OK ] # 85.99 [+0.85] TEST: Single path with single path via multipath attribute [ OK ] # 86.86 [+0.87] TEST: Invalid nexthop [ OK ] # 87.56 [+0.70] TEST: Single path - replace of non-existent route [ OK ] # 88.39 [+0.82] TEST: Multipath with multipath [ OK ] # 89.24 [+0.85] TEST: Multipath with single path [ OK ] # 90.10 [+0.86] TEST: Multipath with single path via multipath attribute [ OK ] # 90.93 [+0.83] TEST: Multipath with dev-only [ OK ] # 91.74 [+0.81] TEST: Multipath - invalid first nexthop [ OK ] # 92.58 [+0.83] TEST: Multipath - invalid second nexthop [ OK ] # 93.24 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 93.24 [+0.00] # 93.24 [+0.00] IPv6 route with dsfield tests # 93.60 [+0.35] TEST: Reject route with dsfield [ OK ] # 104.95 [+11.35] # 104.95 [+0.00] IPv4 route add / append tests # 105.60 [+0.65] TEST: Attempt to add duplicate route - gw [ OK ] # 106.27 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 106.93 [+0.66] TEST: Attempt to add duplicate route - reject route [ OK ] # 107.75 [+0.82] TEST: Add new nexthop for existing prefix [ OK ] # 108.61 [+0.86] TEST: Append nexthop to existing route - gw [ OK ] # 109.51 [+0.90] TEST: Append nexthop to existing route - dev only [ OK ] # 110.35 [+0.84] TEST: Append nexthop to existing route - reject route [ OK ] # 111.05 [+0.70] TEST: Append nexthop to existing reject route - gw [ OK ] # 111.75 [+0.70] TEST: Append nexthop to existing reject route - dev only [ OK ] # 112.43 [+0.67] TEST: add multipath route [ OK ] # 113.08 [+0.66] TEST: Attempt to add duplicate multipath route [ OK ] # 113.93 [+0.84] TEST: Route add with different metrics [ OK ] # 114.26 [+0.34] TEST: Route delete with metric [ OK ] # 114.27 [+0.00] # 114.27 [+0.00] IPv4 route replace tests # 115.10 [+0.83] TEST: Single path with single path [ OK ] # 115.93 [+0.83] TEST: Single path with multipath [ OK ] # 116.76 [+0.83] TEST: Single path with reject route [ OK ] # 117.64 [+0.88] TEST: Single path with single path via multipath attribute [ OK ] # 118.49 [+0.84] TEST: Invalid nexthop [ OK ] # 119.17 [+0.69] TEST: Single path - replace of non-existent route [ OK ] # 120.04 [+0.86] TEST: Multipath with multipath [ OK ] # 120.88 [+0.85] TEST: Multipath with single path [ OK ] # 121.71 [+0.83] TEST: Multipath with single path via multipath attribute [ OK ] # 122.53 [+0.82] TEST: Multipath with reject route [ OK ] # 123.33 [+0.80] TEST: Multipath - invalid first nexthop [ OK ] # 124.16 [+0.83] TEST: Multipath - invalid second nexthop [ OK ] # 124.82 [+0.66] TEST: Multipath - replace of non-existent route [ OK ] # 127.32 [+2.50] TEST: Cached route removed from VRF port device [ OK ] # 127.32 [+0.00] # 127.32 [+0.00] IPv4 route with dsfield tests # 127.67 [+0.35] TEST: Reject route with dsfield 0x01 [ OK ] # 127.87 [+0.19] TEST: Reject route with dsfield 0x02 [ OK ] # 128.04 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 128.54 [+0.50] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 128.68 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 128.83 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 128.98 [+0.15] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 129.11 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 129.25 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 129.41 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 129.56 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 129.70 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 129.86 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 130.00 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 130.14 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 133.02 [+2.88] # 133.02 [+0.00] IPv6 prefix route tests # 136.69 [+3.68] TEST: Default metric [ OK ] # 137.21 [+0.51] TEST: User specified metric on first device [ OK ] # 137.72 [+0.52] TEST: User specified metric on second device [ OK ] # 138.08 [+0.36] TEST: Delete of address on first device [ OK ] # 138.42 [+0.35] TEST: Modify metric of address [ OK ] # 139.05 [+0.63] TEST: Prefix route removed on link down [ OK ] # 139.37 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 139.88 [+0.50] TEST: Set metric with peer route on local side [ OK ] # 140.03 [+0.16] TEST: Set metric with peer route on peer side [ OK ] # 140.35 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 140.50 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 142.25 [+1.74] # 142.25 [+0.00] IPv4 prefix route tests # 145.97 [+3.73] TEST: Default metric [ OK ] # 146.52 [+0.55] TEST: User specified metric on first device [ OK ] # 147.09 [+0.57] TEST: User specified metric on second device [ OK ] # 147.43 [+0.34] TEST: Delete of address on first device [ OK ] # 147.78 [+0.35] TEST: Modify metric of address [ OK ] # 148.11 [+0.32] TEST: Prefix route removed on link down [ OK ] # 148.47 [+0.37] TEST: Prefix route with metric on link up [ OK ] # 149.18 [+0.71] TEST: Modify metric of .0/24 address [ OK ] # 149.74 [+0.56] TEST: Set metric of address with peer route [ OK ] # 150.10 [+0.36] TEST: Modify metric and peer address for peer route [ OK ] # 151.99 [+1.89] # 151.99 [+0.00] IPv6 routes with metrics # 161.57 [+9.58] TEST: Single path route with mtu metric [ OK ] # 162.15 [+0.58] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 162.67 [+0.52] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 163.03 [+0.36] TEST: MTU of second leg [ OK ] # 163.37 [+0.34] TEST: Multipath route with mtu metric [ OK ] # 163.88 [+0.51] TEST: Using route with mtu metric [ OK ] # 164.16 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 167.00 [+2.84] # 167.00 [+0.00] IPv4 route add / append tests # 175.99 [+8.98] TEST: Single path route with mtu metric [ OK ] # 176.33 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 176.80 [+0.47] TEST: Using route with mtu metric [ OK ] # 177.11 [+0.31] TEST: Invalid metric (fails metric_convert) [ OK ] # 179.91 [+2.80] # 179.92 [+0.00] IPv4 route with IPv6 gateway tests # 191.35 [+11.44] TEST: Single path route with IPv6 gateway [ OK ] # 191.79 [+0.44] TEST: Single path route with IPv6 gateway - ping [ OK ] # 191.99 [+0.19] TEST: Single path route delete [ OK ] # 192.32 [+0.33] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 192.66 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 192.83 [+0.16] TEST: Multipath route delete exact match [ OK ] # 193.00 [+0.18] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 193.35 [+0.34] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 193.52 [+0.17] TEST: Multipath route delete exact match [ OK ] # 196.30 [+2.78] # 196.30 [+0.00] IPv4 rp_filter tests # 207.68 [+11.38] TEST: rp_filter passes local packets [ OK ] # 207.97 [+0.29] TEST: rp_filter passes loopback packets [ OK ] # 209.37 [+1.40] # 209.37 [+0.00] IPv4 delete address route tests # 215.12 [+5.75] Regular FIB info # 215.41 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 215.56 [+0.14] TEST: Route in default VRF not removed [ OK ] # 216.19 [+0.63] TEST: Route removed in default VRF when source address deleted [ OK ] # 216.32 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 216.32 [+0.00] Identical FIB info with different table ID # 216.63 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 216.76 [+0.13] TEST: Route in default VRF not removed [ OK ] # 217.39 [+0.63] TEST: Route removed in default VRF when source address deleted [ OK ] # 217.50 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 217.51 [+0.00] Table ID 0 # 217.83 [+0.32] TEST: Route removed in default VRF when source address deleted [ OK ] # 219.64 [+1.81] # 219.64 [+0.00] IPv6 delete address route tests # 229.00 [+9.36] Single device using src address # 229.31 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 229.31 [+0.00] Two devices with the same source address # 229.62 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 229.92 [+0.31] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 229.93 [+0.00] VRF with single device using src address # 230.24 [+0.32] TEST: Prefsrc removed when src address removed on other device [ OK ] # 230.25 [+0.00] VRF with two devices using src address # 230.52 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 230.82 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 230.82 [+0.00] src address and nexthop dev in same VRF # 231.12 [+0.30] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 231.25 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 231.88 [+0.63] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 232.03 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 232.03 [+0.00] src address and nexthop device in different VRF # 232.34 [+0.31] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 232.49 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 232.96 [+0.47] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 233.10 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 233.10 [+0.00] Table ID 0 # 233.42 [+0.32] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 233.42 [+0.00] Link local source route # 233.74 [+0.32] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 234.03 [+0.29] TEST: Prefsrc removed when delete ll addr [ OK ] # 234.19 [+0.16] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 234.65 [+0.46] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 237.30 [+2.65] # 237.30 [+0.00] IPv4 mangling tests # 250.09 [+12.79] TEST: Connection with correct parameters [ OK ] # 250.41 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 251.82 [+1.41] TEST: Connection with correct parameters - mangling [ OK ] # 253.00 [+1.18] TEST: Connection with correct parameters - no mangling [ OK ] # 253.11 [+0.10] TEST: Connection check - server side [ OK ] # 256.50 [+3.39] # 256.50 [+0.00] IPv6 mangling tests # 269.05 [+12.55] TEST: Connection with correct parameters [ OK ] # 269.42 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 270.63 [+1.21] TEST: Connection with correct parameters - mangling [ OK ] # 271.88 [+1.25] TEST: Connection with correct parameters - no mangling [ OK ] # 272.00 [+0.13] TEST: Connection check - server side [ OK ] # 275.50 [+3.50] # 275.50 [+0.00] IPv4 broadcast neighbour tests # 279.85 [+4.34] TEST: Resolved neighbour for broadcast address [ OK ] # 280.02 [+0.18] TEST: Resolved neighbour for network broadcast address [ OK ] # 280.18 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 280.35 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 284.14 [+3.79] # 284.14 [+0.00] Fib6 garbage collection test # 298.63 [+14.49] TEST: ipv6 route garbage collection [ OK ] # 313.43 [+14.80] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 328.19 [+14.76] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 343.12 [+14.93] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 358.60 [+15.48] TEST: ipv6 route garbage collection (RA message) [ OK ] # 359.98 [+1.38] # 359.98 [+0.00] IPv4 multipath list receive tests # 384.33 [+24.35] TEST: Multipath route hit ratio (1.00) [ OK ] # 387.39 [+3.06] # 387.39 [+0.00] IPv6 multipath list receive tests # 411.66 [+24.27] TEST: Multipath route hit ratio (1.00) [ OK ] # 414.70 [+3.04] # 414.70 [+0.00] Tests passed: 229 # 414.70 [+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__->