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.19 [+1.19] # 1.19 [+0.00] Single path route test # 3.20 [+2.00] Start point # 3.37 [+0.18] TEST: IPv4 fibmatch [ OK ] # 3.54 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.75 [+0.21] Nexthop device deleted # 3.92 [+0.17] TEST: IPv4 fibmatch - no route [ OK ] # 4.08 [+0.16] TEST: IPv6 fibmatch - no route [ OK ] # 5.11 [+1.03] # 5.11 [+0.00] Multipath route test # 8.65 [+3.54] Start point # 8.82 [+0.17] TEST: IPv4 fibmatch [ OK ] # 8.99 [+0.17] TEST: IPv6 fibmatch [ OK ] # 9.21 [+0.22] One nexthop device deleted # 9.38 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.55 [+0.17] TEST: IPv6 - multipath down to single path [ OK ] # 9.78 [+0.23] Second nexthop device deleted # 9.94 [+0.16] TEST: IPv6 - no route [ OK ] # 11.02 [+1.08] # 11.02 [+0.00] Single path, admin down # 13.41 [+2.40] Start point # 13.57 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.75 [+0.18] TEST: IPv6 fibmatch [ OK ] # 13.91 [+0.16] Route deleted on down # 14.08 [+0.16] TEST: IPv4 fibmatch [ OK ] # 14.24 [+0.17] TEST: IPv6 fibmatch [ OK ] # 15.07 [+0.83] # 15.07 [+0.00] Admin down multipath # 18.60 [+3.53] Verify start point # 18.76 [+0.16] TEST: IPv4 fibmatch [ OK ] # 18.93 [+0.17] TEST: IPv6 fibmatch [ OK ] # 19.11 [+0.18] One device down, one up # 19.27 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 19.42 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 19.59 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 19.76 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 19.90 [+0.15] TEST: IPv4 flags on down device [ OK ] # 20.04 [+0.14] TEST: IPv6 flags on down device [ OK ] # 20.17 [+0.13] TEST: IPv4 flags on up device [ OK ] # 20.30 [+0.13] TEST: IPv6 flags on up device [ OK ] # 20.63 [+0.33] Other device down and up # 20.80 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 20.97 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 21.14 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 21.29 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 21.45 [+0.16] TEST: IPv4 flags on down device [ OK ] # 21.59 [+0.13] TEST: IPv6 flags on down device [ OK ] # 21.72 [+0.13] TEST: IPv4 flags on up device [ OK ] # 21.87 [+0.15] TEST: IPv6 flags on up device [ OK ] # 22.03 [+0.16] Both devices down # 22.20 [+0.16] TEST: IPv4 fibmatch [ OK ] # 22.36 [+0.16] TEST: IPv6 fibmatch [ OK ] # 23.39 [+1.03] # 23.39 [+0.00] Local carrier tests - single path # 26.00 [+2.62] Start point # 26.16 [+0.16] TEST: IPv4 fibmatch [ OK ] # 26.34 [+0.18] TEST: IPv6 fibmatch [ OK ] # 26.49 [+0.15] TEST: IPv4 - no linkdown flag [ OK ] # 26.63 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 27.92 [+1.29] Carrier off on nexthop # 28.09 [+0.16] TEST: IPv4 fibmatch [ OK ] # 28.27 [+0.18] TEST: IPv6 fibmatch [ OK ] # 28.42 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 28.55 [+0.13] TEST: IPv6 - linkdown flag set [ OK ] # 28.88 [+0.33] Route to local address with carrier down # 29.04 [+0.16] TEST: IPv4 fibmatch [ OK ] # 29.21 [+0.17] TEST: IPv6 fibmatch [ OK ] # 29.35 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 29.50 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 30.29 [+0.79] # 30.29 [+0.00] Single path route carrier test # 33.24 [+2.95] Start point # 33.41 [+0.17] TEST: IPv4 fibmatch [ OK ] # 33.57 [+0.16] TEST: IPv6 fibmatch [ OK ] # 33.71 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 33.87 [+0.15] TEST: IPv6 no linkdown flag [ OK ] # 35.13 [+1.27] Carrier down # 35.35 [+0.21] TEST: IPv4 fibmatch [ OK ] # 35.58 [+0.24] TEST: IPv6 fibmatch [ OK ] # 35.75 [+0.17] TEST: IPv4 linkdown flag set [ OK ] # 35.93 [+0.18] TEST: IPv6 linkdown flag set [ OK ] # 36.26 [+0.32] Second address added with carrier down # 36.43 [+0.17] TEST: IPv4 fibmatch [ OK ] # 36.59 [+0.16] TEST: IPv6 fibmatch [ OK ] # 36.75 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 36.89 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 44.84 [+7.94] # 44.84 [+0.00] IPv4 nexthop tests # 44.84 [+0.00] <<< write me >>> # 45.24 [+0.40] # 45.24 [+0.00] IPv6 nexthop tests # 45.44 [+0.20] TEST: Directly connected nexthop, unicast address [ OK ] # 45.64 [+0.20] TEST: Directly connected nexthop, unicast address with device [ OK ] # 45.83 [+0.20] TEST: Gateway is linklocal address [ OK ] # 46.04 [+0.21] TEST: Gateway is linklocal address, no device [ OK ] # 46.25 [+0.21] TEST: Gateway can not be local unicast address [ OK ] # 46.46 [+0.21] TEST: Gateway can not be local unicast address, with device [ OK ] # 46.66 [+0.20] TEST: Gateway can not be a local linklocal address [ OK ] # 46.86 [+0.19] TEST: Gateway can be local address in a VRF [ OK ] # 47.08 [+0.22] TEST: Gateway can be local address in a VRF, with device [ OK ] # 47.30 [+0.22] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 47.49 [+0.19] TEST: Redirect to VRF lookup [ OK ] # 47.69 [+0.20] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 47.88 [+0.19] TEST: VRF route, gateway can not be a local address [ OK ] # 48.07 [+0.19] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 49.74 [+1.67] # 49.74 [+0.00] FIB rule with suppress_prefixlength # 53.65 [+3.90] TEST: FIB rule suppress test [ OK ] # 57.05 [+3.40] # 57.05 [+0.00] Fib6 info length calculation in route notify test # 63.17 [+6.12] TEST: ipv6 route add notify [ OK ] # 66.67 [+3.50] # 66.67 [+0.00] Fib4 info length calculation in route notify test # 72.64 [+5.97] TEST: ipv4 route add notify [ OK ] # 81.88 [+9.25] # 81.88 [+0.00] IPv6 route add / append tests # 82.58 [+0.69] TEST: Attempt to add duplicate route - gw [ OK ] # 83.25 [+0.68] TEST: Attempt to add duplicate route - dev only [ OK ] # 83.94 [+0.69] TEST: Attempt to add duplicate route - reject route [ OK ] # 84.80 [+0.86] TEST: Append nexthop to existing route - gw [ OK ] # 85.48 [+0.68] TEST: Add multipath route [ OK ] # 86.17 [+0.69] TEST: Attempt to add duplicate multipath route [ OK ] # 87.01 [+0.84] TEST: Route add with different metrics [ OK ] # 87.36 [+0.35] TEST: Route delete with metric [ OK ] # 87.36 [+0.00] # 87.36 [+0.00] IPv6 route replace tests # 88.23 [+0.87] TEST: Single path with single path [ OK ] # 89.07 [+0.84] TEST: Single path with multipath [ OK ] # 89.93 [+0.86] TEST: Single path with single path via multipath attribute [ OK ] # 90.74 [+0.81] TEST: Invalid nexthop [ OK ] # 91.42 [+0.67] TEST: Single path - replace of non-existent route [ OK ] # 92.27 [+0.85] TEST: Multipath with multipath [ OK ] # 93.11 [+0.84] TEST: Multipath with single path [ OK ] # 93.94 [+0.83] TEST: Multipath with single path via multipath attribute [ OK ] # 94.78 [+0.84] TEST: Multipath with dev-only [ OK ] # 95.62 [+0.85] TEST: Multipath - invalid first nexthop [ OK ] # 96.48 [+0.85] TEST: Multipath - invalid second nexthop [ OK ] # 97.21 [+0.73] TEST: Multipath - replace of non-existent route [ OK ] # 97.21 [+0.00] # 97.21 [+0.00] IPv6 route with dsfield tests # 97.59 [+0.38] TEST: Reject route with dsfield [ OK ] # 109.83 [+12.24] # 109.83 [+0.00] IPv4 route add / append tests # 110.53 [+0.69] TEST: Attempt to add duplicate route - gw [ OK ] # 111.22 [+0.69] TEST: Attempt to add duplicate route - dev only [ OK ] # 111.89 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 112.76 [+0.86] TEST: Add new nexthop for existing prefix [ OK ] # 113.71 [+0.95] TEST: Append nexthop to existing route - gw [ OK ] # 114.72 [+1.01] TEST: Append nexthop to existing route - dev only [ OK ] # 115.66 [+0.94] TEST: Append nexthop to existing route - reject route [ OK ] # 116.41 [+0.75] TEST: Append nexthop to existing reject route - gw [ OK ] # 117.11 [+0.69] TEST: Append nexthop to existing reject route - dev only [ OK ] # 117.82 [+0.71] TEST: add multipath route [ OK ] # 118.49 [+0.68] TEST: Attempt to add duplicate multipath route [ OK ] # 119.36 [+0.87] TEST: Route add with different metrics [ OK ] # 119.70 [+0.34] TEST: Route delete with metric [ OK ] # 119.70 [+0.00] # 119.70 [+0.00] IPv4 route replace tests # 120.54 [+0.84] TEST: Single path with single path [ OK ] # 121.38 [+0.84] TEST: Single path with multipath [ OK ] # 122.23 [+0.85] TEST: Single path with reject route [ OK ] # 123.07 [+0.84] TEST: Single path with single path via multipath attribute [ OK ] # 123.92 [+0.86] TEST: Invalid nexthop [ OK ] # 124.59 [+0.67] TEST: Single path - replace of non-existent route [ OK ] # 125.54 [+0.95] TEST: Multipath with multipath [ OK ] # 126.50 [+0.96] TEST: Multipath with single path [ OK ] # 127.35 [+0.86] TEST: Multipath with single path via multipath attribute [ OK ] # 128.21 [+0.86] TEST: Multipath with reject route [ OK ] # 129.14 [+0.93] TEST: Multipath - invalid first nexthop [ OK ] # 130.14 [+0.99] TEST: Multipath - invalid second nexthop [ OK ] # 130.81 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 133.41 [+2.60] TEST: Cached route removed from VRF port device [ OK ] # 133.41 [+0.00] # 133.41 [+0.00] IPv4 route with dsfield tests # 133.78 [+0.37] TEST: Reject route with dsfield 0x01 [ OK ] # 133.99 [+0.21] TEST: Reject route with dsfield 0x02 [ OK ] # 134.23 [+0.24] TEST: Reject route with dsfield 0x03 [ OK ] # 134.89 [+0.66] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 135.07 [+0.18] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 135.22 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 135.39 [+0.17] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 135.51 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 135.63 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 135.79 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 135.93 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 136.08 [+0.15] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 136.22 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 136.38 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 136.53 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 139.45 [+2.92] # 139.45 [+0.00] IPv6 prefix route tests # 143.51 [+4.05] TEST: Default metric [ OK ] # 144.04 [+0.53] TEST: User specified metric on first device [ OK ] # 144.57 [+0.52] TEST: User specified metric on second device [ OK ] # 144.94 [+0.37] TEST: Delete of address on first device [ OK ] # 145.30 [+0.36] TEST: Modify metric of address [ OK ] # 146.03 [+0.73] TEST: Prefix route removed on link down [ OK ] # 146.40 [+0.37] TEST: Prefix route with metric on link up [ OK ] # 146.91 [+0.50] TEST: Set metric with peer route on local side [ OK ] # 147.08 [+0.17] TEST: Set metric with peer route on peer side [ OK ] # 147.40 [+0.32] TEST: Modify metric and peer address on local side [ OK ] # 147.57 [+0.18] TEST: Modify metric and peer address on peer side [ OK ] # 149.48 [+1.91] # 149.48 [+0.00] IPv4 prefix route tests # 153.40 [+3.92] TEST: Default metric [ OK ] # 153.99 [+0.59] TEST: User specified metric on first device [ OK ] # 154.63 [+0.64] TEST: User specified metric on second device [ OK ] # 155.00 [+0.37] TEST: Delete of address on first device [ OK ] # 155.36 [+0.36] TEST: Modify metric of address [ OK ] # 155.71 [+0.35] TEST: Prefix route removed on link down [ OK ] # 156.07 [+0.36] TEST: Prefix route with metric on link up [ OK ] # 156.81 [+0.74] TEST: Modify metric of .0/24 address [ OK ] # 157.43 [+0.63] TEST: Set metric of address with peer route [ OK ] # 157.89 [+0.46] TEST: Modify metric and peer address for peer route [ OK ] # 159.87 [+1.98] # 159.87 [+0.00] IPv6 routes with metrics # 170.00 [+10.12] TEST: Single path route with mtu metric [ OK ] # 170.52 [+0.52] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 171.08 [+0.56] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 171.45 [+0.37] TEST: MTU of second leg [ OK ] # 171.80 [+0.35] TEST: Multipath route with mtu metric [ OK ] # 172.28 [+0.49] TEST: Using route with mtu metric [ OK ] # 172.61 [+0.32] TEST: Invalid metric (fails metric_convert) [ OK ] # 175.78 [+3.18] # 175.78 [+0.00] IPv4 route add / append tests # 185.28 [+9.50] TEST: Single path route with mtu metric [ OK ] # 185.66 [+0.37] TEST: Multipath route with mtu metric [ OK ] # 186.17 [+0.52] TEST: Using route with mtu metric [ OK ] # 186.53 [+0.35] TEST: Invalid metric (fails metric_convert) [ OK ] # 189.98 [+3.45] # 189.98 [+0.00] IPv4 route with IPv6 gateway tests # 201.63 [+11.65] TEST: Single path route with IPv6 gateway [ OK ] # 202.14 [+0.52] TEST: Single path route with IPv6 gateway - ping [ OK ] # 202.34 [+0.20] TEST: Single path route delete [ OK ] # 202.72 [+0.38] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 203.09 [+0.37] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 203.28 [+0.19] TEST: Multipath route delete exact match [ OK ] # 203.47 [+0.19] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 203.88 [+0.41] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 204.07 [+0.19] TEST: Multipath route delete exact match [ OK ] # 207.17 [+3.10] # 207.17 [+0.00] IPv4 rp_filter tests # 219.44 [+12.27] TEST: rp_filter passes local packets [ OK ] # 219.79 [+0.34] TEST: rp_filter passes loopback packets [ OK ] # 221.25 [+1.47] # 221.25 [+0.00] IPv4 delete address route tests # 227.25 [+5.99] Regular FIB info # 227.58 [+0.33] TEST: Route removed from VRF when source address deleted [ OK ] # 227.77 [+0.19] TEST: Route in default VRF not removed [ OK ] # 228.53 [+0.76] TEST: Route removed in default VRF when source address deleted [ OK ] # 228.69 [+0.16] TEST: Route in VRF is not removed by address delete [ OK ] # 228.70 [+0.00] Identical FIB info with different table ID # 229.06 [+0.37] TEST: Route removed from VRF when source address deleted [ OK ] # 229.29 [+0.22] TEST: Route in default VRF not removed [ OK ] # 230.06 [+0.78] TEST: Route removed in default VRF when source address deleted [ OK ] # 230.26 [+0.19] TEST: Route in VRF is not removed by address delete [ OK ] # 230.26 [+0.00] Table ID 0 # 230.62 [+0.36] TEST: Route removed in default VRF when source address deleted [ OK ] # 232.65 [+2.03] # 232.65 [+0.00] IPv6 delete address route tests # 242.53 [+9.88] Single device using src address # 242.84 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 242.84 [+0.00] Two devices with the same source address # 243.17 [+0.33] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 243.52 [+0.35] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 243.52 [+0.00] VRF with single device using src address # 243.84 [+0.32] TEST: Prefsrc removed when src address removed on other device [ OK ] # 243.84 [+0.00] VRF with two devices using src address # 244.16 [+0.32] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 244.52 [+0.36] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 244.53 [+0.00] src address and nexthop dev in same VRF # 244.88 [+0.35] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 245.04 [+0.16] TEST: Prefsrc in default VRF not removed [ OK ] # 245.78 [+0.74] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 245.91 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 245.92 [+0.00] src address and nexthop device in different VRF # 246.24 [+0.32] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 246.40 [+0.16] TEST: Prefsrc not removed in default VRF [ OK ] # 246.92 [+0.52] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 247.09 [+0.17] TEST: Prefsrc removed in default VRF [ OK ] # 247.09 [+0.00] Table ID 0 # 247.39 [+0.30] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 247.39 [+0.00] Link local source route # 247.74 [+0.34] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 248.08 [+0.34] TEST: Prefsrc removed when delete ll addr [ OK ] # 248.23 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 248.76 [+0.53] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 251.71 [+2.94] # 251.71 [+0.00] IPv4 mangling tests # 265.09 [+13.39] TEST: Connection with correct parameters [ OK ] # 265.43 [+0.34] TEST: Connection with incorrect parameters [ OK ] # 266.79 [+1.35] TEST: Connection with correct parameters - mangling [ OK ] # 268.06 [+1.27] TEST: Connection with correct parameters - no mangling [ OK ] # 268.16 [+0.11] TEST: Connection check - server side [ OK ] # 271.64 [+3.48] # 271.64 [+0.00] IPv6 mangling tests # 284.37 [+12.73] TEST: Connection with correct parameters [ OK ] # 284.74 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 285.90 [+1.17] TEST: Connection with correct parameters - mangling [ OK ] # 287.11 [+1.20] TEST: Connection with correct parameters - no mangling [ OK ] # 287.21 [+0.10] TEST: Connection check - server side [ OK ] # 290.84 [+3.63] # 290.84 [+0.00] IPv4 broadcast neighbour tests # 295.30 [+4.46] TEST: Resolved neighbour for broadcast address [ OK ] # 295.48 [+0.18] TEST: Resolved neighbour for network broadcast address [ OK ] # 295.67 [+0.19] TEST: Unresolved neighbour for broadcast address [ OK ] # 295.84 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 299.58 [+3.75] # 299.58 [+0.00] Fib6 garbage collection test # 314.05 [+14.46] TEST: ipv6 route garbage collection [ OK ] # 328.86 [+14.81] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 343.77 [+14.91] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 358.94 [+15.17] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 374.30 [+15.36] TEST: ipv6 route garbage collection (RA message) [ OK ] # 375.66 [+1.36] # 375.66 [+0.00] IPv4 multipath list receive tests # 399.91 [+24.25] TEST: Multipath route hit ratio (1.00) [ OK ] # 402.90 [+2.99] # 402.90 [+0.00] IPv6 multipath list receive tests # 425.80 [+22.90] TEST: Multipath route hit ratio (1.00) [ OK ] # 428.89 [+3.09] # 428.89 [+0.00] Tests passed: 229 # 428.89 [+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__->