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.74 [+0.74] # 0.74 [+0.00] Single path route test # 2.59 [+1.85] Start point # 2.73 [+0.14] TEST: IPv4 fibmatch [ OK ] # 2.88 [+0.15] TEST: IPv6 fibmatch [ OK ] # 3.06 [+0.18] Nexthop device deleted # 3.22 [+0.16] TEST: IPv4 fibmatch - no route [ OK ] # 3.39 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 4.36 [+0.97] # 4.36 [+0.00] Multipath route test # 7.63 [+3.27] Start point # 7.80 [+0.17] TEST: IPv4 fibmatch [ OK ] # 7.96 [+0.16] TEST: IPv6 fibmatch [ OK ] # 8.15 [+0.20] One nexthop device deleted # 8.31 [+0.15] TEST: IPv4 - multipath route removed on delete [ OK ] # 8.47 [+0.17] TEST: IPv6 - multipath down to single path [ OK ] # 8.68 [+0.21] Second nexthop device deleted # 8.83 [+0.15] TEST: IPv6 - no route [ OK ] # 9.79 [+0.96] # 9.79 [+0.00] Single path, admin down # 12.06 [+2.27] Start point # 12.22 [+0.16] TEST: IPv4 fibmatch [ OK ] # 12.38 [+0.16] TEST: IPv6 fibmatch [ OK ] # 12.55 [+0.17] Route deleted on down # 12.70 [+0.15] TEST: IPv4 fibmatch [ OK ] # 12.88 [+0.18] TEST: IPv6 fibmatch [ OK ] # 13.63 [+0.75] # 13.63 [+0.00] Admin down multipath # 16.88 [+3.25] Verify start point # 17.05 [+0.17] TEST: IPv4 fibmatch [ OK ] # 17.21 [+0.16] TEST: IPv6 fibmatch [ OK ] # 17.36 [+0.15] One device down, one up # 17.52 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 17.69 [+0.17] TEST: IPv6 fibmatch on down device [ OK ] # 17.85 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 18.01 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 18.14 [+0.13] TEST: IPv4 flags on down device [ OK ] # 18.25 [+0.11] TEST: IPv6 flags on down device [ OK ] # 18.38 [+0.13] TEST: IPv4 flags on up device [ OK ] # 18.51 [+0.13] TEST: IPv6 flags on up device [ OK ] # 18.82 [+0.31] Other device down and up # 18.99 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 19.15 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 19.31 [+0.16] TEST: IPv4 fibmatch on up device [ OK ] # 19.47 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 19.60 [+0.13] TEST: IPv4 flags on down device [ OK ] # 19.71 [+0.11] TEST: IPv6 flags on down device [ OK ] # 19.83 [+0.12] TEST: IPv4 flags on up device [ OK ] # 19.95 [+0.12] TEST: IPv6 flags on up device [ OK ] # 20.12 [+0.16] Both devices down # 20.27 [+0.15] TEST: IPv4 fibmatch [ OK ] # 20.43 [+0.16] TEST: IPv6 fibmatch [ OK ] # 21.33 [+0.90] # 21.33 [+0.00] Local carrier tests - single path # 23.81 [+2.47] Start point # 23.96 [+0.15] TEST: IPv4 fibmatch [ OK ] # 24.15 [+0.19] TEST: IPv6 fibmatch [ OK ] # 24.28 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 24.44 [+0.16] TEST: IPv6 - no linkdown flag [ OK ] # 25.73 [+1.29] Carrier off on nexthop # 25.90 [+0.17] TEST: IPv4 fibmatch [ OK ] # 26.05 [+0.16] TEST: IPv6 fibmatch [ OK ] # 26.19 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 26.36 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 26.65 [+0.30] Route to local address with carrier down # 26.82 [+0.17] TEST: IPv4 fibmatch [ OK ] # 26.99 [+0.17] TEST: IPv6 fibmatch [ OK ] # 27.14 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 27.27 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 28.01 [+0.74] # 28.01 [+0.00] Single path route carrier test # 30.45 [+2.43] Start point # 30.60 [+0.16] TEST: IPv4 fibmatch [ OK ] # 30.75 [+0.15] TEST: IPv6 fibmatch [ OK ] # 30.88 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 31.01 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 32.28 [+1.27] Carrier down # 32.42 [+0.14] TEST: IPv4 fibmatch [ OK ] # 32.59 [+0.17] TEST: IPv6 fibmatch [ OK ] # 32.71 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 32.85 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 33.18 [+0.32] Second address added with carrier down # 33.34 [+0.16] TEST: IPv4 fibmatch [ OK ] # 33.48 [+0.15] TEST: IPv6 fibmatch [ OK ] # 33.60 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 33.72 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 40.74 [+7.03] # 40.74 [+0.00] IPv4 nexthop tests # 40.74 [+0.00] <<< write me >>> # 41.03 [+0.29] # 41.03 [+0.00] IPv6 nexthop tests # 41.20 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 41.37 [+0.17] TEST: Directly connected nexthop, unicast address with device [ OK ] # 41.54 [+0.17] TEST: Gateway is linklocal address [ OK ] # 41.70 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 41.87 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 42.04 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 42.21 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 42.38 [+0.17] TEST: Gateway can be local address in a VRF [ OK ] # 42.54 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 42.69 [+0.15] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 42.86 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 43.02 [+0.16] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 43.17 [+0.15] TEST: VRF route, gateway can not be a local address [ OK ] # 43.33 [+0.16] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 44.80 [+1.47] # 44.80 [+0.00] FIB rule with suppress_prefixlength # 48.03 [+3.22] TEST: FIB rule suppress test [ OK ] # 50.94 [+2.91] # 50.94 [+0.00] Fib6 info length calculation in route notify test # 56.53 [+5.59] TEST: ipv6 route add notify [ OK ] # 59.44 [+2.91] # 59.44 [+0.00] Fib4 info length calculation in route notify test # 64.92 [+5.48] TEST: ipv4 route add notify [ OK ] # 72.91 [+7.99] # 72.91 [+0.00] IPv6 route add / append tests # 73.52 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 74.14 [+0.62] TEST: Attempt to add duplicate route - dev only [ OK ] # 74.79 [+0.64] TEST: Attempt to add duplicate route - reject route [ OK ] # 75.53 [+0.75] TEST: Append nexthop to existing route - gw [ OK ] # 76.14 [+0.61] TEST: Add multipath route [ OK ] # 76.78 [+0.63] TEST: Attempt to add duplicate multipath route [ OK ] # 77.56 [+0.79] TEST: Route add with different metrics [ OK ] # 77.86 [+0.30] TEST: Route delete with metric [ OK ] # 77.86 [+0.00] # 77.87 [+0.00] IPv6 route replace tests # 78.65 [+0.79] TEST: Single path with single path [ OK ] # 79.41 [+0.76] TEST: Single path with multipath [ OK ] # 80.18 [+0.77] TEST: Single path with single path via multipath attribute [ OK ] # 80.94 [+0.76] TEST: Invalid nexthop [ OK ] # 81.56 [+0.62] TEST: Single path - replace of non-existent route [ OK ] # 82.31 [+0.75] TEST: Multipath with multipath [ OK ] # 83.06 [+0.75] TEST: Multipath with single path [ OK ] # 83.81 [+0.75] TEST: Multipath with single path via multipath attribute [ OK ] # 84.56 [+0.75] TEST: Multipath with dev-only [ OK ] # 85.36 [+0.79] TEST: Multipath - invalid first nexthop [ OK ] # 86.13 [+0.78] TEST: Multipath - invalid second nexthop [ OK ] # 86.74 [+0.61] TEST: Multipath - replace of non-existent route [ OK ] # 86.75 [+0.00] # 86.75 [+0.00] IPv6 route with dsfield tests # 87.06 [+0.31] TEST: Reject route with dsfield [ OK ] # 97.73 [+10.67] # 97.73 [+0.00] IPv4 route add / append tests # 98.35 [+0.62] TEST: Attempt to add duplicate route - gw [ OK ] # 99.00 [+0.65] TEST: Attempt to add duplicate route - dev only [ OK ] # 99.62 [+0.62] TEST: Attempt to add duplicate route - reject route [ OK ] # 100.40 [+0.78] TEST: Add new nexthop for existing prefix [ OK ] # 101.19 [+0.79] TEST: Append nexthop to existing route - gw [ OK ] # 101.97 [+0.78] TEST: Append nexthop to existing route - dev only [ OK ] # 102.75 [+0.78] TEST: Append nexthop to existing route - reject route [ OK ] # 103.37 [+0.63] TEST: Append nexthop to existing reject route - gw [ OK ] # 104.00 [+0.62] TEST: Append nexthop to existing reject route - dev only [ OK ] # 104.61 [+0.62] TEST: add multipath route [ OK ] # 105.23 [+0.61] TEST: Attempt to add duplicate multipath route [ OK ] # 106.00 [+0.77] TEST: Route add with different metrics [ OK ] # 106.32 [+0.32] TEST: Route delete with metric [ OK ] # 106.32 [+0.00] # 106.32 [+0.00] IPv4 route replace tests # 107.10 [+0.78] TEST: Single path with single path [ OK ] # 107.89 [+0.79] TEST: Single path with multipath [ OK ] # 108.66 [+0.77] TEST: Single path with reject route [ OK ] # 109.45 [+0.79] TEST: Single path with single path via multipath attribute [ OK ] # 110.23 [+0.78] TEST: Invalid nexthop [ OK ] # 110.84 [+0.61] TEST: Single path - replace of non-existent route [ OK ] # 111.63 [+0.79] TEST: Multipath with multipath [ OK ] # 112.39 [+0.76] TEST: Multipath with single path [ OK ] # 113.15 [+0.75] TEST: Multipath with single path via multipath attribute [ OK ] # 113.90 [+0.75] TEST: Multipath with reject route [ OK ] # 114.67 [+0.77] TEST: Multipath - invalid first nexthop [ OK ] # 115.43 [+0.77] TEST: Multipath - invalid second nexthop [ OK ] # 116.03 [+0.60] TEST: Multipath - replace of non-existent route [ OK ] # 118.24 [+2.21] TEST: Cached route removed from VRF port device [ OK ] # 118.25 [+0.00] # 118.25 [+0.00] IPv4 route with dsfield tests # 118.56 [+0.31] TEST: Reject route with dsfield 0x01 [ OK ] # 118.72 [+0.17] TEST: Reject route with dsfield 0x02 [ OK ] # 118.89 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 119.32 [+0.43] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 119.43 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 119.55 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 119.68 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 119.80 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 119.94 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 120.07 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 120.19 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 120.31 [+0.12] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 120.46 [+0.14] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 120.59 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 120.71 [+0.12] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 123.37 [+2.66] # 123.37 [+0.00] IPv6 prefix route tests # 126.63 [+3.26] TEST: Default metric [ OK ] # 127.10 [+0.47] TEST: User specified metric on first device [ OK ] # 127.56 [+0.46] TEST: User specified metric on second device [ OK ] # 127.85 [+0.29] TEST: Delete of address on first device [ OK ] # 128.13 [+0.28] TEST: Modify metric of address [ OK ] # 128.71 [+0.57] TEST: Prefix route removed on link down [ OK ] # 129.00 [+0.29] TEST: Prefix route with metric on link up [ OK ] # 129.44 [+0.44] TEST: Set metric with peer route on local side [ OK ] # 129.59 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 129.87 [+0.28] TEST: Modify metric and peer address on local side [ OK ] # 130.01 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 131.66 [+1.66] # 131.67 [+0.00] IPv4 prefix route tests # 134.95 [+3.29] TEST: Default metric [ OK ] # 135.44 [+0.48] TEST: User specified metric on first device [ OK ] # 135.92 [+0.48] TEST: User specified metric on second device [ OK ] # 136.23 [+0.31] TEST: Delete of address on first device [ OK ] # 136.55 [+0.32] TEST: Modify metric of address [ OK ] # 136.84 [+0.29] TEST: Prefix route removed on link down [ OK ] # 137.15 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 137.78 [+0.63] TEST: Modify metric of .0/24 address [ OK ] # 138.26 [+0.47] TEST: Set metric of address with peer route [ OK ] # 138.58 [+0.32] TEST: Modify metric and peer address for peer route [ OK ] # 140.22 [+1.63] # 140.22 [+0.00] IPv6 routes with metrics # 148.42 [+8.20] TEST: Single path route with mtu metric [ OK ] # 148.88 [+0.45] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 149.33 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 149.63 [+0.29] TEST: MTU of second leg [ OK ] # 149.93 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 150.35 [+0.42] TEST: Using route with mtu metric [ OK ] # 150.62 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 153.26 [+2.64] # 153.26 [+0.00] IPv4 route add / append tests # 161.44 [+8.19] TEST: Single path route with mtu metric [ OK ] # 161.75 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 162.17 [+0.42] TEST: Using route with mtu metric [ OK ] # 162.42 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 165.02 [+2.59] # 165.02 [+0.00] IPv4 route with IPv6 gateway tests # 175.15 [+10.13] TEST: Single path route with IPv6 gateway [ OK ] # 175.59 [+0.44] TEST: Single path route with IPv6 gateway - ping [ OK ] # 175.74 [+0.15] TEST: Single path route delete [ OK ] # 176.05 [+0.31] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 176.37 [+0.32] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 176.53 [+0.16] TEST: Multipath route delete exact match [ OK ] # 176.69 [+0.16] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 177.01 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 177.17 [+0.17] TEST: Multipath route delete exact match [ OK ] # 179.78 [+2.61] # 179.78 [+0.00] IPv4 rp_filter tests # 190.81 [+11.04] TEST: rp_filter passes local packets [ OK ] # 191.08 [+0.27] TEST: rp_filter passes loopback packets [ OK ] # 192.37 [+1.29] # 192.37 [+0.00] IPv4 delete address route tests # 197.51 [+5.14] Regular FIB info # 197.81 [+0.30] TEST: Route removed from VRF when source address deleted [ OK ] # 197.93 [+0.12] TEST: Route in default VRF not removed [ OK ] # 198.53 [+0.60] TEST: Route removed in default VRF when source address deleted [ OK ] # 198.66 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 198.67 [+0.00] Identical FIB info with different table ID # 198.96 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 199.08 [+0.12] TEST: Route in default VRF not removed [ OK ] # 199.66 [+0.58] TEST: Route removed in default VRF when source address deleted [ OK ] # 199.81 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 199.81 [+0.00] Table ID 0 # 200.06 [+0.25] TEST: Route removed in default VRF when source address deleted [ OK ] # 201.74 [+1.68] # 201.74 [+0.00] IPv6 delete address route tests # 210.28 [+8.55] Single device using src address # 210.56 [+0.27] TEST: Prefsrc removed when src address removed on other device [ OK ] # 210.56 [+0.00] Two devices with the same source address # 210.84 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 211.11 [+0.28] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 211.11 [+0.00] VRF with single device using src address # 211.39 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 211.39 [+0.00] VRF with two devices using src address # 211.68 [+0.29] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 211.97 [+0.29] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 211.97 [+0.00] src address and nexthop dev in same VRF # 212.24 [+0.27] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 212.36 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 212.94 [+0.58] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 213.08 [+0.13] TEST: Prefsrc in default VRF removed [ OK ] # 213.08 [+0.00] src address and nexthop device in different VRF # 213.36 [+0.27] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 213.48 [+0.12] TEST: Prefsrc not removed in default VRF [ OK ] # 213.90 [+0.42] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 214.01 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 214.02 [+0.00] Table ID 0 # 214.29 [+0.27] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 214.29 [+0.00] Link local source route # 214.56 [+0.27] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 214.83 [+0.27] TEST: Prefsrc removed when delete ll addr [ OK ] # 214.96 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 215.39 [+0.43] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 217.92 [+2.53] # 217.92 [+0.00] IPv4 mangling tests # 229.52 [+11.60] TEST: Connection with correct parameters [ OK ] # 229.82 [+0.30] TEST: Connection with incorrect parameters [ OK ] # 231.09 [+1.27] TEST: Connection with correct parameters - mangling [ OK ] # 232.21 [+1.13] TEST: Connection with correct parameters - no mangling [ OK ] # 232.31 [+0.09] TEST: Connection check - server side [ OK ] # 235.49 [+3.19] # 235.49 [+0.00] IPv6 mangling tests # 247.33 [+11.83] TEST: Connection with correct parameters [ OK ] # 247.67 [+0.35] TEST: Connection with incorrect parameters [ OK ] # 248.83 [+1.15] TEST: Connection with correct parameters - mangling [ OK ] # 250.04 [+1.21] TEST: Connection with correct parameters - no mangling [ OK ] # 250.15 [+0.12] TEST: Connection check - server side [ OK ] # 253.44 [+3.29] # 253.44 [+0.00] IPv4 broadcast neighbour tests # 257.60 [+4.16] TEST: Resolved neighbour for broadcast address [ OK ] # 257.77 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 257.94 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 258.12 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 261.71 [+3.59] # 261.71 [+0.00] Fib6 garbage collection test # 276.01 [+14.30] TEST: ipv6 route garbage collection [ OK ] # 290.80 [+14.79] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 305.47 [+14.67] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 320.25 [+14.78] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 335.49 [+15.24] TEST: ipv6 route garbage collection (RA message) [ OK ] # 336.78 [+1.29] # 336.78 [+0.00] IPv4 multipath list receive tests # 359.90 [+23.12] TEST: Multipath route hit ratio (1.00) [ OK ] # 362.69 [+2.79] # 362.69 [+0.00] IPv6 multipath list receive tests # 383.97 [+21.29] TEST: Multipath route hit ratio (1.00) [ OK ] # 386.74 [+2.76] # 386.74 [+0.00] Tests passed: 229 # 386.74 [+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__->