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.73 [+0.73] # 0.73 [+0.00] Single path route test # 2.47 [+1.74] Start point # 2.62 [+0.15] TEST: IPv4 fibmatch [ OK ] # 2.76 [+0.14] TEST: IPv6 fibmatch [ OK ] # 2.95 [+0.19] Nexthop device deleted # 3.09 [+0.14] TEST: IPv4 fibmatch - no route [ OK ] # 3.25 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 4.17 [+0.93] # 4.17 [+0.00] Multipath route test # 7.34 [+3.17] Start point # 7.52 [+0.18] TEST: IPv4 fibmatch [ OK ] # 7.66 [+0.14] TEST: IPv6 fibmatch [ OK ] # 7.83 [+0.17] One nexthop device deleted # 7.98 [+0.15] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.12 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 8.34 [+0.22] Second nexthop device deleted # 8.49 [+0.14] TEST: IPv6 - no route [ OK ] # 9.47 [+0.98] # 9.47 [+0.00] Single path, admin down # 11.62 [+2.15] Start point # 11.77 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.93 [+0.15] TEST: IPv6 fibmatch [ OK ] # 12.07 [+0.15] Route deleted on down # 12.22 [+0.15] TEST: IPv4 fibmatch [ OK ] # 12.37 [+0.15] TEST: IPv6 fibmatch [ OK ] # 13.09 [+0.72] # 13.09 [+0.00] Admin down multipath # 16.13 [+3.04] Verify start point # 16.28 [+0.15] TEST: IPv4 fibmatch [ OK ] # 16.42 [+0.14] TEST: IPv6 fibmatch [ OK ] # 16.57 [+0.14] One device down, one up # 16.72 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 16.87 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 17.02 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 17.17 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 17.28 [+0.11] TEST: IPv4 flags on down device [ OK ] # 17.41 [+0.12] TEST: IPv6 flags on down device [ OK ] # 17.55 [+0.14] TEST: IPv4 flags on up device [ OK ] # 17.66 [+0.11] TEST: IPv6 flags on up device [ OK ] # 17.96 [+0.30] Other device down and up # 18.10 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 18.24 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 18.40 [+0.15] TEST: IPv4 fibmatch on up device [ OK ] # 18.55 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 18.68 [+0.13] TEST: IPv4 flags on down device [ OK ] # 18.79 [+0.11] TEST: IPv6 flags on down device [ OK ] # 18.92 [+0.13] TEST: IPv4 flags on up device [ OK ] # 19.04 [+0.12] TEST: IPv6 flags on up device [ OK ] # 19.19 [+0.15] Both devices down # 19.34 [+0.15] TEST: IPv4 fibmatch [ OK ] # 19.48 [+0.14] TEST: IPv6 fibmatch [ OK ] # 20.45 [+0.97] # 20.45 [+0.00] Local carrier tests - single path # 22.75 [+2.30] Start point # 22.90 [+0.15] TEST: IPv4 fibmatch [ OK ] # 23.07 [+0.16] TEST: IPv6 fibmatch [ OK ] # 23.20 [+0.14] TEST: IPv4 - no linkdown flag [ OK ] # 23.37 [+0.16] TEST: IPv6 - no linkdown flag [ OK ] # 24.62 [+1.25] Carrier off on nexthop # 24.77 [+0.15] TEST: IPv4 fibmatch [ OK ] # 24.92 [+0.15] TEST: IPv6 fibmatch [ OK ] # 25.05 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 25.20 [+0.14] TEST: IPv6 - linkdown flag set [ OK ] # 25.49 [+0.29] Route to local address with carrier down # 25.64 [+0.15] TEST: IPv4 fibmatch [ OK ] # 25.80 [+0.16] TEST: IPv6 fibmatch [ OK ] # 25.93 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 26.09 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 26.82 [+0.73] # 26.82 [+0.00] Single path route carrier test # 29.11 [+2.29] Start point # 29.25 [+0.15] TEST: IPv4 fibmatch [ OK ] # 29.40 [+0.15] TEST: IPv6 fibmatch [ OK ] # 29.52 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 29.65 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 30.90 [+1.25] Carrier down # 31.05 [+0.14] TEST: IPv4 fibmatch [ OK ] # 31.20 [+0.15] TEST: IPv6 fibmatch [ OK ] # 31.32 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 31.44 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 31.74 [+0.30] Second address added with carrier down # 31.88 [+0.14] TEST: IPv4 fibmatch [ OK ] # 32.03 [+0.15] TEST: IPv6 fibmatch [ OK ] # 32.18 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 32.30 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 39.14 [+6.83] # 39.14 [+0.00] IPv4 nexthop tests # 39.14 [+0.00] <<< write me >>> # 39.46 [+0.32] # 39.46 [+0.00] IPv6 nexthop tests # 39.64 [+0.18] TEST: Directly connected nexthop, unicast address [ OK ] # 39.79 [+0.15] TEST: Directly connected nexthop, unicast address with device [ OK ] # 39.95 [+0.16] TEST: Gateway is linklocal address [ OK ] # 40.11 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 40.27 [+0.16] TEST: Gateway can not be local unicast address [ OK ] # 40.43 [+0.15] TEST: Gateway can not be local unicast address, with device [ OK ] # 40.58 [+0.15] TEST: Gateway can not be a local linklocal address [ OK ] # 40.74 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 40.90 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 41.07 [+0.17] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 41.23 [+0.16] TEST: Redirect to VRF lookup [ OK ] # 41.38 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 41.54 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 41.69 [+0.15] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 43.15 [+1.46] # 43.15 [+0.00] FIB rule with suppress_prefixlength # 46.33 [+3.19] TEST: FIB rule suppress test [ OK ] # 49.25 [+2.92] # 49.25 [+0.00] Fib6 info length calculation in route notify test # 54.76 [+5.51] TEST: ipv6 route add notify [ OK ] # 57.56 [+2.80] # 57.56 [+0.00] Fib4 info length calculation in route notify test # 62.97 [+5.40] TEST: ipv4 route add notify [ OK ] # 70.98 [+8.01] # 70.98 [+0.00] IPv6 route add / append tests # 71.62 [+0.64] TEST: Attempt to add duplicate route - gw [ OK ] # 72.21 [+0.59] TEST: Attempt to add duplicate route - dev only [ OK ] # 72.83 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 73.61 [+0.77] TEST: Append nexthop to existing route - gw [ OK ] # 74.20 [+0.59] TEST: Add multipath route [ OK ] # 74.80 [+0.61] TEST: Attempt to add duplicate multipath route [ OK ] # 75.57 [+0.77] TEST: Route add with different metrics [ OK ] # 75.88 [+0.32] TEST: Route delete with metric [ OK ] # 75.89 [+0.00] # 75.89 [+0.00] IPv6 route replace tests # 76.63 [+0.74] TEST: Single path with single path [ OK ] # 77.39 [+0.76] TEST: Single path with multipath [ OK ] # 78.13 [+0.74] TEST: Single path with single path via multipath attribute [ OK ] # 78.89 [+0.76] TEST: Invalid nexthop [ OK ] # 79.50 [+0.61] TEST: Single path - replace of non-existent route [ OK ] # 80.26 [+0.76] TEST: Multipath with multipath [ OK ] # 81.03 [+0.76] TEST: Multipath with single path [ OK ] # 81.77 [+0.75] TEST: Multipath with single path via multipath attribute [ OK ] # 82.50 [+0.73] TEST: Multipath with dev-only [ OK ] # 83.26 [+0.76] TEST: Multipath - invalid first nexthop [ OK ] # 84.02 [+0.76] TEST: Multipath - invalid second nexthop [ OK ] # 84.63 [+0.61] TEST: Multipath - replace of non-existent route [ OK ] # 84.63 [+0.00] # 84.63 [+0.00] IPv6 route with dsfield tests # 84.94 [+0.31] TEST: Reject route with dsfield [ OK ] # 95.52 [+10.58] # 95.52 [+0.00] IPv4 route add / append tests # 96.14 [+0.62] TEST: Attempt to add duplicate route - gw [ OK ] # 96.75 [+0.61] TEST: Attempt to add duplicate route - dev only [ OK ] # 97.37 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 98.16 [+0.79] TEST: Add new nexthop for existing prefix [ OK ] # 98.93 [+0.78] TEST: Append nexthop to existing route - gw [ OK ] # 99.75 [+0.82] TEST: Append nexthop to existing route - dev only [ OK ] # 100.54 [+0.79] TEST: Append nexthop to existing route - reject route [ OK ] # 101.18 [+0.64] TEST: Append nexthop to existing reject route - gw [ OK ] # 101.80 [+0.62] TEST: Append nexthop to existing reject route - dev only [ OK ] # 102.42 [+0.62] TEST: add multipath route [ OK ] # 103.03 [+0.61] TEST: Attempt to add duplicate multipath route [ OK ] # 103.80 [+0.77] TEST: Route add with different metrics [ OK ] # 104.11 [+0.31] TEST: Route delete with metric [ OK ] # 104.11 [+0.00] # 104.11 [+0.00] IPv4 route replace tests # 104.89 [+0.78] TEST: Single path with single path [ OK ] # 105.67 [+0.78] TEST: Single path with multipath [ OK ] # 106.45 [+0.78] TEST: Single path with reject route [ OK ] # 107.22 [+0.77] TEST: Single path with single path via multipath attribute [ OK ] # 107.98 [+0.76] TEST: Invalid nexthop [ OK ] # 108.62 [+0.64] TEST: Single path - replace of non-existent route [ OK ] # 109.39 [+0.78] TEST: Multipath with multipath [ OK ] # 110.15 [+0.75] TEST: Multipath with single path [ OK ] # 110.91 [+0.76] TEST: Multipath with single path via multipath attribute [ OK ] # 111.67 [+0.76] TEST: Multipath with reject route [ OK ] # 112.42 [+0.76] TEST: Multipath - invalid first nexthop [ OK ] # 113.20 [+0.78] TEST: Multipath - invalid second nexthop [ OK ] # 113.81 [+0.61] TEST: Multipath - replace of non-existent route [ OK ] # 116.12 [+2.31] TEST: Cached route removed from VRF port device [ OK ] # 116.12 [+0.00] # 116.12 [+0.00] IPv4 route with dsfield tests # 116.43 [+0.31] TEST: Reject route with dsfield 0x01 [ OK ] # 116.59 [+0.16] TEST: Reject route with dsfield 0x02 [ OK ] # 116.75 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 117.21 [+0.46] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 117.37 [+0.15] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 117.48 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 117.60 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 117.73 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 117.84 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 117.98 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 118.10 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 118.24 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 118.39 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 118.54 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 118.65 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 121.35 [+2.70] # 121.35 [+0.00] IPv6 prefix route tests # 124.65 [+3.30] TEST: Default metric [ OK ] # 125.11 [+0.46] TEST: User specified metric on first device [ OK ] # 125.55 [+0.44] TEST: User specified metric on second device [ OK ] # 125.85 [+0.29] TEST: Delete of address on first device [ OK ] # 126.16 [+0.31] TEST: Modify metric of address [ OK ] # 126.71 [+0.55] TEST: Prefix route removed on link down [ OK ] # 127.02 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 127.46 [+0.44] TEST: Set metric with peer route on local side [ OK ] # 127.61 [+0.15] TEST: Set metric with peer route on peer side [ OK ] # 127.90 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 128.04 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 129.66 [+1.62] # 129.66 [+0.00] IPv4 prefix route tests # 132.98 [+3.32] TEST: Default metric [ OK ] # 133.54 [+0.56] TEST: User specified metric on first device [ OK ] # 134.02 [+0.48] TEST: User specified metric on second device [ OK ] # 134.33 [+0.31] TEST: Delete of address on first device [ OK ] # 134.65 [+0.31] TEST: Modify metric of address [ OK ] # 134.96 [+0.31] TEST: Prefix route removed on link down [ OK ] # 135.26 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 135.88 [+0.62] TEST: Modify metric of .0/24 address [ OK ] # 136.36 [+0.48] TEST: Set metric of address with peer route [ OK ] # 136.68 [+0.31] TEST: Modify metric and peer address for peer route [ OK ] # 138.31 [+1.64] # 138.31 [+0.00] IPv6 routes with metrics # 146.75 [+8.44] TEST: Single path route with mtu metric [ OK ] # 147.24 [+0.49] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 147.69 [+0.45] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 147.99 [+0.30] TEST: MTU of second leg [ OK ] # 148.30 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 148.73 [+0.43] TEST: Using route with mtu metric [ OK ] # 149.00 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 151.68 [+2.69] # 151.68 [+0.00] IPv4 route add / append tests # 159.96 [+8.28] TEST: Single path route with mtu metric [ OK ] # 160.27 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 160.67 [+0.40] TEST: Using route with mtu metric [ OK ] # 160.94 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 163.58 [+2.64] # 163.58 [+0.00] IPv4 route with IPv6 gateway tests # 173.88 [+10.30] TEST: Single path route with IPv6 gateway [ OK ] # 174.33 [+0.45] TEST: Single path route with IPv6 gateway - ping [ OK ] # 174.50 [+0.16] TEST: Single path route delete [ OK ] # 174.80 [+0.31] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 175.12 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 175.27 [+0.15] TEST: Multipath route delete exact match [ OK ] # 175.44 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 175.75 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 175.91 [+0.16] TEST: Multipath route delete exact match [ OK ] # 178.49 [+2.59] # 178.49 [+0.00] IPv4 rp_filter tests # 189.43 [+10.94] TEST: rp_filter passes local packets [ OK ] # 189.70 [+0.27] TEST: rp_filter passes loopback packets [ OK ] # 190.99 [+1.30] # 190.99 [+0.00] IPv4 delete address route tests # 196.34 [+5.34] Regular FIB info # 196.61 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 196.74 [+0.13] TEST: Route in default VRF not removed [ OK ] # 197.32 [+0.58] TEST: Route removed in default VRF when source address deleted [ OK ] # 197.44 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 197.45 [+0.00] Identical FIB info with different table ID # 197.71 [+0.26] TEST: Route removed from VRF when source address deleted [ OK ] # 197.84 [+0.13] TEST: Route in default VRF not removed [ OK ] # 198.41 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 198.53 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 198.53 [+0.00] Table ID 0 # 198.83 [+0.30] TEST: Route removed in default VRF when source address deleted [ OK ] # 200.57 [+1.74] # 200.57 [+0.00] IPv6 delete address route tests # 209.14 [+8.57] Single device using src address # 209.43 [+0.29] TEST: Prefsrc removed when src address removed on other device [ OK ] # 209.44 [+0.00] Two devices with the same source address # 209.71 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 209.98 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 209.98 [+0.00] VRF with single device using src address # 210.23 [+0.25] TEST: Prefsrc removed when src address removed on other device [ OK ] # 210.23 [+0.00] VRF with two devices using src address # 210.52 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 210.78 [+0.26] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 210.78 [+0.00] src address and nexthop dev in same VRF # 211.05 [+0.27] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 211.19 [+0.14] TEST: Prefsrc in default VRF not removed [ OK ] # 211.74 [+0.56] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 211.88 [+0.14] TEST: Prefsrc in default VRF removed [ OK ] # 211.88 [+0.00] src address and nexthop device in different VRF # 212.16 [+0.27] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 212.28 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 212.71 [+0.43] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 212.84 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 212.84 [+0.00] Table ID 0 # 213.12 [+0.27] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 213.12 [+0.00] Link local source route # 213.38 [+0.26] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 213.67 [+0.28] TEST: Prefsrc removed when delete ll addr [ OK ] # 213.79 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 214.20 [+0.41] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 216.67 [+2.47] # 216.67 [+0.00] IPv4 mangling tests # 228.28 [+11.60] TEST: Connection with correct parameters [ OK ] # 228.58 [+0.30] TEST: Connection with incorrect parameters [ OK ] # 229.84 [+1.26] TEST: Connection with correct parameters - mangling [ OK ] # 230.98 [+1.14] TEST: Connection with correct parameters - no mangling [ OK ] # 231.08 [+0.10] TEST: Connection check - server side [ OK ] # 234.40 [+3.33] # 234.40 [+0.00] IPv6 mangling tests # 246.23 [+11.83] TEST: Connection with correct parameters [ OK ] # 246.58 [+0.35] TEST: Connection with incorrect parameters [ OK ] # 247.73 [+1.16] TEST: Connection with correct parameters - mangling [ OK ] # 248.92 [+1.18] TEST: Connection with correct parameters - no mangling [ OK ] # 249.04 [+0.12] TEST: Connection check - server side [ OK ] # 252.26 [+3.22] # 252.26 [+0.00] IPv4 broadcast neighbour tests # 256.29 [+4.03] TEST: Resolved neighbour for broadcast address [ OK ] # 256.45 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 256.61 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 256.77 [+0.16] TEST: Unresolved neighbour for network broadcast address [ OK ] # 260.21 [+3.44] # 260.21 [+0.00] Fib6 garbage collection test # 274.54 [+14.32] TEST: ipv6 route garbage collection [ OK ] # 289.12 [+14.58] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 303.74 [+14.63] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 318.50 [+14.75] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 333.72 [+15.22] TEST: ipv6 route garbage collection (RA message) [ OK ] # 335.02 [+1.30] # 335.02 [+0.00] IPv4 multipath list receive tests # 358.08 [+23.06] TEST: Multipath route hit ratio (1.00) [ OK ] # 360.97 [+2.89] # 360.97 [+0.00] IPv6 multipath list receive tests # 382.70 [+21.73] TEST: Multipath route hit ratio (1.00) [ OK ] # 385.54 [+2.84] # 385.54 [+0.00] Tests passed: 229 # 385.54 [+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__->