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.70 [+0.70] # 0.70 [+0.00] Single path route test # 2.41 [+1.71] Start point # 2.55 [+0.14] TEST: IPv4 fibmatch [ OK ] # 2.72 [+0.16] TEST: IPv6 fibmatch [ OK ] # 2.94 [+0.23] Nexthop device deleted # 3.09 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.26 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 4.22 [+0.96] # 4.22 [+0.00] Multipath route test # 7.32 [+3.11] Start point # 7.47 [+0.14] TEST: IPv4 fibmatch [ OK ] # 7.61 [+0.15] TEST: IPv6 fibmatch [ OK ] # 7.82 [+0.20] One nexthop device deleted # 7.98 [+0.16] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.13 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 8.29 [+0.17] Second nexthop device deleted # 8.44 [+0.15] TEST: IPv6 - no route [ OK ] # 9.37 [+0.93] # 9.37 [+0.00] Single path, admin down # 11.59 [+2.22] Start point # 11.74 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.89 [+0.15] TEST: IPv6 fibmatch [ OK ] # 12.02 [+0.14] Route deleted on down # 12.18 [+0.16] TEST: IPv4 fibmatch [ OK ] # 12.33 [+0.15] TEST: IPv6 fibmatch [ OK ] # 13.03 [+0.70] # 13.03 [+0.00] Admin down multipath # 16.04 [+3.01] Verify start point # 16.18 [+0.14] TEST: IPv4 fibmatch [ OK ] # 16.35 [+0.18] TEST: IPv6 fibmatch [ OK ] # 16.49 [+0.14] One device down, one up # 16.66 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 16.80 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 16.97 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 17.11 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 17.23 [+0.12] TEST: IPv4 flags on down device [ OK ] # 17.36 [+0.13] TEST: IPv6 flags on down device [ OK ] # 17.49 [+0.12] TEST: IPv4 flags on up device [ OK ] # 17.61 [+0.12] TEST: IPv6 flags on up device [ OK ] # 17.91 [+0.31] Other device down and up # 18.06 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 18.22 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.37 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 18.51 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 18.66 [+0.15] TEST: IPv4 flags on down device [ OK ] # 18.79 [+0.13] TEST: IPv6 flags on down device [ OK ] # 18.91 [+0.12] TEST: IPv4 flags on up device [ OK ] # 19.03 [+0.12] TEST: IPv6 flags on up device [ OK ] # 19.18 [+0.16] Both devices down # 19.34 [+0.16] TEST: IPv4 fibmatch [ OK ] # 19.51 [+0.16] TEST: IPv6 fibmatch [ OK ] # 20.44 [+0.93] # 20.44 [+0.00] Local carrier tests - single path # 22.74 [+2.30] Start point # 22.89 [+0.16] TEST: IPv4 fibmatch [ OK ] # 23.07 [+0.18] TEST: IPv6 fibmatch [ OK ] # 23.18 [+0.11] TEST: IPv4 - no linkdown flag [ OK ] # 23.32 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 24.57 [+1.25] Carrier off on nexthop # 24.73 [+0.15] TEST: IPv4 fibmatch [ OK ] # 24.88 [+0.15] TEST: IPv6 fibmatch [ OK ] # 25.00 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 25.12 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 25.41 [+0.29] Route to local address with carrier down # 25.57 [+0.16] TEST: IPv4 fibmatch [ OK ] # 25.74 [+0.17] TEST: IPv6 fibmatch [ OK ] # 25.86 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 26.00 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 26.73 [+0.73] # 26.73 [+0.00] Single path route carrier test # 29.09 [+2.37] Start point # 29.24 [+0.15] TEST: IPv4 fibmatch [ OK ] # 29.39 [+0.15] TEST: IPv6 fibmatch [ OK ] # 29.53 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 29.64 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 30.88 [+1.24] Carrier down # 31.04 [+0.16] TEST: IPv4 fibmatch [ OK ] # 31.18 [+0.14] TEST: IPv6 fibmatch [ OK ] # 31.30 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 31.43 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 31.73 [+0.30] Second address added with carrier down # 31.86 [+0.14] TEST: IPv4 fibmatch [ OK ] # 32.00 [+0.14] TEST: IPv6 fibmatch [ OK ] # 32.15 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 32.29 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 39.18 [+6.90] # 39.18 [+0.00] IPv4 nexthop tests # 39.18 [+0.00] <<< write me >>> # 39.51 [+0.32] # 39.51 [+0.00] IPv6 nexthop tests # 39.67 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 39.84 [+0.16] TEST: Directly connected nexthop, unicast address with device [ OK ] # 40.00 [+0.17] TEST: Gateway is linklocal address [ OK ] # 40.16 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 40.34 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 40.50 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 40.66 [+0.16] TEST: Gateway can not be a local linklocal address [ OK ] # 40.83 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 41.00 [+0.17] TEST: Gateway can be local address in a VRF, with device [ OK ] # 41.17 [+0.16] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 41.33 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 41.49 [+0.16] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 41.65 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 41.82 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 43.28 [+1.46] # 43.28 [+0.00] FIB rule with suppress_prefixlength # 46.60 [+3.32] TEST: FIB rule suppress test [ OK ] # 49.61 [+3.01] # 49.61 [+0.00] Fib6 info length calculation in route notify test # 55.29 [+5.68] TEST: ipv6 route add notify [ OK ] # 58.19 [+2.90] # 58.19 [+0.00] Fib4 info length calculation in route notify test # 63.68 [+5.50] TEST: ipv4 route add notify [ OK ] # 71.57 [+7.89] # 71.57 [+0.00] IPv6 route add / append tests # 72.18 [+0.60] TEST: Attempt to add duplicate route - gw [ OK ] # 72.80 [+0.63] TEST: Attempt to add duplicate route - dev only [ OK ] # 73.44 [+0.64] TEST: Attempt to add duplicate route - reject route [ OK ] # 74.20 [+0.75] TEST: Append nexthop to existing route - gw [ OK ] # 74.85 [+0.65] TEST: Add multipath route [ OK ] # 75.46 [+0.62] TEST: Attempt to add duplicate multipath route [ OK ] # 76.22 [+0.76] TEST: Route add with different metrics [ OK ] # 76.53 [+0.30] TEST: Route delete with metric [ OK ] # 76.53 [+0.00] # 76.53 [+0.00] IPv6 route replace tests # 77.27 [+0.75] TEST: Single path with single path [ OK ] # 78.03 [+0.76] TEST: Single path with multipath [ OK ] # 78.80 [+0.76] TEST: Single path with single path via multipath attribute [ OK ] # 79.53 [+0.74] TEST: Invalid nexthop [ OK ] # 80.13 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 80.90 [+0.77] TEST: Multipath with multipath [ OK ] # 81.64 [+0.74] TEST: Multipath with single path [ OK ] # 82.39 [+0.74] TEST: Multipath with single path via multipath attribute [ OK ] # 83.12 [+0.73] TEST: Multipath with dev-only [ OK ] # 83.89 [+0.77] TEST: Multipath - invalid first nexthop [ OK ] # 84.66 [+0.77] TEST: Multipath - invalid second nexthop [ OK ] # 85.27 [+0.61] TEST: Multipath - replace of non-existent route [ OK ] # 85.27 [+0.00] # 85.27 [+0.00] IPv6 route with dsfield tests # 85.59 [+0.32] TEST: Reject route with dsfield [ OK ] # 96.16 [+10.57] # 96.16 [+0.00] IPv4 route add / append tests # 96.74 [+0.59] TEST: Attempt to add duplicate route - gw [ OK ] # 97.35 [+0.61] TEST: Attempt to add duplicate route - dev only [ OK ] # 97.99 [+0.63] TEST: Attempt to add duplicate route - reject route [ OK ] # 98.74 [+0.75] TEST: Add new nexthop for existing prefix [ OK ] # 99.50 [+0.76] TEST: Append nexthop to existing route - gw [ OK ] # 100.24 [+0.75] TEST: Append nexthop to existing route - dev only [ OK ] # 101.02 [+0.78] TEST: Append nexthop to existing route - reject route [ OK ] # 101.65 [+0.63] TEST: Append nexthop to existing reject route - gw [ OK ] # 102.29 [+0.64] TEST: Append nexthop to existing reject route - dev only [ OK ] # 102.92 [+0.63] TEST: add multipath route [ OK ] # 103.55 [+0.62] TEST: Attempt to add duplicate multipath route [ OK ] # 104.33 [+0.78] TEST: Route add with different metrics [ OK ] # 104.65 [+0.32] TEST: Route delete with metric [ OK ] # 104.65 [+0.00] # 104.65 [+0.00] IPv4 route replace tests # 105.47 [+0.81] TEST: Single path with single path [ OK ] # 106.27 [+0.81] TEST: Single path with multipath [ OK ] # 107.09 [+0.82] TEST: Single path with reject route [ OK ] # 107.86 [+0.77] TEST: Single path with single path via multipath attribute [ OK ] # 108.67 [+0.81] TEST: Invalid nexthop [ OK ] # 109.27 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 110.04 [+0.77] TEST: Multipath with multipath [ OK ] # 110.83 [+0.79] TEST: Multipath with single path [ OK ] # 111.59 [+0.76] TEST: Multipath with single path via multipath attribute [ OK ] # 112.38 [+0.78] TEST: Multipath with reject route [ OK ] # 113.18 [+0.80] TEST: Multipath - invalid first nexthop [ OK ] # 113.94 [+0.76] TEST: Multipath - invalid second nexthop [ OK ] # 114.57 [+0.63] TEST: Multipath - replace of non-existent route [ OK ] # 116.88 [+2.31] TEST: Cached route removed from VRF port device [ OK ] # 116.88 [+0.00] # 116.88 [+0.00] IPv4 route with dsfield tests # 117.18 [+0.30] TEST: Reject route with dsfield 0x01 [ OK ] # 117.35 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 117.50 [+0.15] TEST: Reject route with dsfield 0x03 [ OK ] # 117.95 [+0.44] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 118.09 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 118.21 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 118.35 [+0.14] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 118.49 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 118.61 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 118.74 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 118.86 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 118.99 [+0.12] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 119.12 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 119.24 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 119.38 [+0.14] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 122.03 [+2.65] # 122.03 [+0.00] IPv6 prefix route tests # 125.38 [+3.35] TEST: Default metric [ OK ] # 125.81 [+0.44] TEST: User specified metric on first device [ OK ] # 126.31 [+0.50] TEST: User specified metric on second device [ OK ] # 126.60 [+0.28] TEST: Delete of address on first device [ OK ] # 126.90 [+0.30] TEST: Modify metric of address [ OK ] # 127.45 [+0.55] TEST: Prefix route removed on link down [ OK ] # 127.75 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 128.21 [+0.46] TEST: Set metric with peer route on local side [ OK ] # 128.34 [+0.13] TEST: Set metric with peer route on peer side [ OK ] # 128.63 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 128.76 [+0.13] TEST: Modify metric and peer address on peer side [ OK ] # 130.39 [+1.62] # 130.39 [+0.00] IPv4 prefix route tests # 133.86 [+3.47] TEST: Default metric [ OK ] # 134.33 [+0.47] TEST: User specified metric on first device [ OK ] # 134.81 [+0.48] TEST: User specified metric on second device [ OK ] # 135.14 [+0.32] TEST: Delete of address on first device [ OK ] # 135.49 [+0.35] TEST: Modify metric of address [ OK ] # 135.83 [+0.34] TEST: Prefix route removed on link down [ OK ] # 136.15 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 136.82 [+0.67] TEST: Modify metric of .0/24 address [ OK ] # 137.33 [+0.51] TEST: Set metric of address with peer route [ OK ] # 137.65 [+0.33] TEST: Modify metric and peer address for peer route [ OK ] # 139.39 [+1.73] # 139.39 [+0.00] IPv6 routes with metrics # 147.98 [+8.59] TEST: Single path route with mtu metric [ OK ] # 148.44 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 148.90 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 149.19 [+0.29] TEST: MTU of second leg [ OK ] # 149.50 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 149.91 [+0.41] TEST: Using route with mtu metric [ OK ] # 150.18 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 152.86 [+2.69] # 152.86 [+0.00] IPv4 route add / append tests # 161.26 [+8.40] TEST: Single path route with mtu metric [ OK ] # 161.57 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 161.99 [+0.42] TEST: Using route with mtu metric [ OK ] # 162.26 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 164.91 [+2.65] # 164.91 [+0.00] IPv4 route with IPv6 gateway tests # 175.32 [+10.40] TEST: Single path route with IPv6 gateway [ OK ] # 175.74 [+0.42] TEST: Single path route with IPv6 gateway - ping [ OK ] # 175.90 [+0.16] TEST: Single path route delete [ OK ] # 176.21 [+0.31] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 176.52 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 176.68 [+0.16] TEST: Multipath route delete exact match [ OK ] # 176.83 [+0.15] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 177.15 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 177.30 [+0.15] TEST: Multipath route delete exact match [ OK ] # 179.95 [+2.66] # 179.95 [+0.00] IPv4 rp_filter tests # 190.82 [+10.87] TEST: rp_filter passes local packets [ OK ] # 191.10 [+0.28] TEST: rp_filter passes loopback packets [ OK ] # 192.36 [+1.26] # 192.36 [+0.00] IPv4 delete address route tests # 197.55 [+5.19] Regular FIB info # 197.83 [+0.28] TEST: Route removed from VRF when source address deleted [ OK ] # 197.95 [+0.12] TEST: Route in default VRF not removed [ OK ] # 198.52 [+0.57] TEST: Route removed in default VRF when source address deleted [ OK ] # 198.63 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 198.63 [+0.00] Identical FIB info with different table ID # 198.91 [+0.28] TEST: Route removed from VRF when source address deleted [ OK ] # 199.04 [+0.13] TEST: Route in default VRF not removed [ OK ] # 199.61 [+0.58] TEST: Route removed in default VRF when source address deleted [ OK ] # 199.76 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 199.76 [+0.00] Table ID 0 # 200.03 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 201.60 [+1.58] # 201.60 [+0.00] IPv6 delete address route tests # 210.04 [+8.43] Single device using src address # 210.31 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 210.31 [+0.00] Two devices with the same source address # 210.62 [+0.30] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 210.89 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 210.89 [+0.00] VRF with single device using src address # 211.18 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 211.18 [+0.00] VRF with two devices using src address # 211.46 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 211.74 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 211.74 [+0.00] src address and nexthop dev in same VRF # 212.02 [+0.28] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 212.15 [+0.13] TEST: Prefsrc in default VRF not removed [ OK ] # 212.70 [+0.55] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 212.83 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 212.84 [+0.00] src address and nexthop device in different VRF # 213.11 [+0.28] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 213.25 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 213.67 [+0.42] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 213.81 [+0.14] TEST: Prefsrc removed in default VRF [ OK ] # 213.81 [+0.00] Table ID 0 # 214.08 [+0.27] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 214.08 [+0.00] Link local source route # 214.35 [+0.27] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 214.62 [+0.27] TEST: Prefsrc removed when delete ll addr [ OK ] # 214.74 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 215.19 [+0.45] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 217.67 [+2.49] # 217.67 [+0.00] IPv4 mangling tests # 229.33 [+11.65] TEST: Connection with correct parameters [ OK ] # 229.63 [+0.30] TEST: Connection with incorrect parameters [ OK ] # 230.85 [+1.21] TEST: Connection with correct parameters - mangling [ OK ] # 231.96 [+1.11] TEST: Connection with correct parameters - no mangling [ OK ] # 232.05 [+0.09] TEST: Connection check - server side [ OK ] # 235.23 [+3.18] # 235.23 [+0.00] IPv6 mangling tests # 246.83 [+11.60] TEST: Connection with correct parameters [ OK ] # 247.19 [+0.35] TEST: Connection with incorrect parameters [ OK ] # 248.33 [+1.14] TEST: Connection with correct parameters - mangling [ OK ] # 249.48 [+1.15] TEST: Connection with correct parameters - no mangling [ OK ] # 249.59 [+0.11] TEST: Connection check - server side [ OK ] # 252.82 [+3.24] # 252.82 [+0.00] IPv4 broadcast neighbour tests # 256.83 [+4.01] TEST: Resolved neighbour for broadcast address [ OK ] # 256.99 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 257.16 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 257.33 [+0.16] TEST: Unresolved neighbour for network broadcast address [ OK ] # 260.69 [+3.36] # 260.69 [+0.00] Fib6 garbage collection test # 274.99 [+14.29] TEST: ipv6 route garbage collection [ OK ] # 289.53 [+14.55] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 304.08 [+14.54] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 318.80 [+14.72] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 334.07 [+15.27] TEST: ipv6 route garbage collection (RA message) [ OK ] # 335.36 [+1.30] # 335.36 [+0.00] IPv4 multipath list receive tests # 358.31 [+22.95] TEST: Multipath route hit ratio (1.00) [ OK ] # 361.09 [+2.77] # 361.09 [+0.00] IPv6 multipath list receive tests # 382.57 [+21.48] TEST: Multipath route hit ratio (1.00) [ OK ] # 385.28 [+2.71] # 385.28 [+0.00] Tests passed: 229 # 385.28 [+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__->