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.63 [+0.63] # 0.63 [+0.00] Single path route test # 2.28 [+1.65] Start point # 2.43 [+0.15] TEST: IPv4 fibmatch [ OK ] # 2.56 [+0.14] TEST: IPv6 fibmatch [ OK ] # 2.75 [+0.19] Nexthop device deleted # 2.89 [+0.13] TEST: IPv4 fibmatch - no route [ OK ] # 3.03 [+0.15] TEST: IPv6 fibmatch - no route [ OK ] # 3.91 [+0.88] # 3.91 [+0.00] Multipath route test # 6.83 [+2.92] Start point # 6.98 [+0.15] TEST: IPv4 fibmatch [ OK ] # 7.12 [+0.14] TEST: IPv6 fibmatch [ OK ] # 7.29 [+0.18] One nexthop device deleted # 7.44 [+0.15] TEST: IPv4 - multipath route removed on delete [ OK ] # 7.58 [+0.14] TEST: IPv6 - multipath down to single path [ OK ] # 7.79 [+0.21] Second nexthop device deleted # 7.92 [+0.13] TEST: IPv6 - no route [ OK ] # 8.80 [+0.88] # 8.80 [+0.00] Single path, admin down # 10.88 [+2.08] Start point # 11.02 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.16 [+0.14] TEST: IPv6 fibmatch [ OK ] # 11.30 [+0.14] Route deleted on down # 11.44 [+0.15] TEST: IPv4 fibmatch [ OK ] # 11.60 [+0.16] TEST: IPv6 fibmatch [ OK ] # 12.30 [+0.71] # 12.30 [+0.00] Admin down multipath # 15.24 [+2.93] Verify start point # 15.37 [+0.14] TEST: IPv4 fibmatch [ OK ] # 15.51 [+0.14] TEST: IPv6 fibmatch [ OK ] # 15.66 [+0.15] One device down, one up # 15.81 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 15.95 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 16.09 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 16.23 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 16.37 [+0.14] TEST: IPv4 flags on down device [ OK ] # 16.49 [+0.12] TEST: IPv6 flags on down device [ OK ] # 16.61 [+0.12] TEST: IPv4 flags on up device [ OK ] # 16.76 [+0.15] TEST: IPv6 flags on up device [ OK ] # 17.04 [+0.28] Other device down and up # 17.18 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 17.32 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 17.47 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 17.61 [+0.15] TEST: IPv6 fibmatch on up device [ OK ] # 17.74 [+0.13] TEST: IPv4 flags on down device [ OK ] # 17.89 [+0.15] TEST: IPv6 flags on down device [ OK ] # 18.03 [+0.14] TEST: IPv4 flags on up device [ OK ] # 18.16 [+0.13] TEST: IPv6 flags on up device [ OK ] # 18.32 [+0.16] Both devices down # 18.46 [+0.14] TEST: IPv4 fibmatch [ OK ] # 18.60 [+0.14] TEST: IPv6 fibmatch [ OK ] # 19.52 [+0.92] # 19.52 [+0.00] Local carrier tests - single path # 21.76 [+2.24] Start point # 21.90 [+0.15] TEST: IPv4 fibmatch [ OK ] # 22.05 [+0.15] TEST: IPv6 fibmatch [ OK ] # 22.17 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 22.32 [+0.14] TEST: IPv6 - no linkdown flag [ OK ] # 23.56 [+1.24] Carrier off on nexthop # 23.71 [+0.15] TEST: IPv4 fibmatch [ OK ] # 23.86 [+0.15] TEST: IPv6 fibmatch [ OK ] # 23.99 [+0.13] TEST: IPv4 - linkdown flag set [ OK ] # 24.11 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 24.40 [+0.30] Route to local address with carrier down # 24.55 [+0.15] TEST: IPv4 fibmatch [ OK ] # 24.70 [+0.15] TEST: IPv6 fibmatch [ OK ] # 24.82 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 24.95 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 25.69 [+0.74] # 25.69 [+0.00] Single path route carrier test # 27.93 [+2.24] Start point # 28.07 [+0.14] TEST: IPv4 fibmatch [ OK ] # 28.21 [+0.14] TEST: IPv6 fibmatch [ OK ] # 28.33 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 28.44 [+0.11] TEST: IPv6 no linkdown flag [ OK ] # 29.67 [+1.24] Carrier down # 29.81 [+0.14] TEST: IPv4 fibmatch [ OK ] # 29.96 [+0.15] TEST: IPv6 fibmatch [ OK ] # 30.08 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 30.20 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 30.50 [+0.29] Second address added with carrier down # 30.64 [+0.15] TEST: IPv4 fibmatch [ OK ] # 30.78 [+0.14] TEST: IPv6 fibmatch [ OK ] # 30.90 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 31.02 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 37.61 [+6.60] # 37.61 [+0.00] IPv4 nexthop tests # 37.61 [+0.00] <<< write me >>> # 37.92 [+0.31] # 37.92 [+0.00] IPv6 nexthop tests # 38.08 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 38.23 [+0.15] TEST: Directly connected nexthop, unicast address with device [ OK ] # 38.38 [+0.15] TEST: Gateway is linklocal address [ OK ] # 38.54 [+0.16] TEST: Gateway is linklocal address, no device [ OK ] # 38.71 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 38.89 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 39.06 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 39.23 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 39.40 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 39.56 [+0.16] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 39.71 [+0.15] TEST: Redirect to VRF lookup [ OK ] # 39.86 [+0.15] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 40.01 [+0.15] TEST: VRF route, gateway can not be a local address [ OK ] # 40.17 [+0.15] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 41.61 [+1.45] # 41.61 [+0.00] FIB rule with suppress_prefixlength # 44.78 [+3.16] TEST: FIB rule suppress test [ OK ] # 47.57 [+2.80] # 47.57 [+0.00] Fib6 info length calculation in route notify test # 52.95 [+5.37] TEST: ipv6 route add notify [ OK ] # 55.76 [+2.82] # 55.76 [+0.00] Fib4 info length calculation in route notify test # 61.12 [+5.36] TEST: ipv4 route add notify [ OK ] # 68.89 [+7.77] # 68.89 [+0.00] IPv6 route add / append tests # 69.49 [+0.60] TEST: Attempt to add duplicate route - gw [ OK ] # 70.08 [+0.59] TEST: Attempt to add duplicate route - dev only [ OK ] # 70.69 [+0.60] TEST: Attempt to add duplicate route - reject route [ OK ] # 71.41 [+0.72] TEST: Append nexthop to existing route - gw [ OK ] # 72.00 [+0.59] TEST: Add multipath route [ OK ] # 72.59 [+0.59] TEST: Attempt to add duplicate multipath route [ OK ] # 73.35 [+0.76] TEST: Route add with different metrics [ OK ] # 73.64 [+0.29] TEST: Route delete with metric [ OK ] # 73.64 [+0.00] # 73.64 [+0.00] IPv6 route replace tests # 74.40 [+0.75] TEST: Single path with single path [ OK ] # 75.14 [+0.75] TEST: Single path with multipath [ OK ] # 75.86 [+0.72] TEST: Single path with single path via multipath attribute [ OK ] # 76.57 [+0.71] TEST: Invalid nexthop [ OK ] # 77.16 [+0.59] TEST: Single path - replace of non-existent route [ OK ] # 77.89 [+0.73] TEST: Multipath with multipath [ OK ] # 78.60 [+0.71] TEST: Multipath with single path [ OK ] # 79.34 [+0.74] TEST: Multipath with single path via multipath attribute [ OK ] # 80.08 [+0.74] TEST: Multipath with dev-only [ OK ] # 80.81 [+0.73] TEST: Multipath - invalid first nexthop [ OK ] # 81.55 [+0.74] TEST: Multipath - invalid second nexthop [ OK ] # 82.14 [+0.59] TEST: Multipath - replace of non-existent route [ OK ] # 82.14 [+0.00] # 82.14 [+0.00] IPv6 route with dsfield tests # 82.45 [+0.30] TEST: Reject route with dsfield [ OK ] # 92.63 [+10.19] # 92.63 [+0.00] IPv4 route add / append tests # 93.23 [+0.59] TEST: Attempt to add duplicate route - gw [ OK ] # 93.82 [+0.59] TEST: Attempt to add duplicate route - dev only [ OK ] # 94.41 [+0.59] TEST: Attempt to add duplicate route - reject route [ OK ] # 95.14 [+0.73] TEST: Add new nexthop for existing prefix [ OK ] # 95.89 [+0.75] TEST: Append nexthop to existing route - gw [ OK ] # 96.63 [+0.74] TEST: Append nexthop to existing route - dev only [ OK ] # 97.37 [+0.74] TEST: Append nexthop to existing route - reject route [ OK ] # 97.99 [+0.62] TEST: Append nexthop to existing reject route - gw [ OK ] # 98.60 [+0.61] TEST: Append nexthop to existing reject route - dev only [ OK ] # 99.22 [+0.63] TEST: add multipath route [ OK ] # 99.82 [+0.60] TEST: Attempt to add duplicate multipath route [ OK ] # 100.56 [+0.74] TEST: Route add with different metrics [ OK ] # 100.86 [+0.30] TEST: Route delete with metric [ OK ] # 100.86 [+0.00] # 100.87 [+0.00] IPv4 route replace tests # 101.61 [+0.75] TEST: Single path with single path [ OK ] # 102.35 [+0.74] TEST: Single path with multipath [ OK ] # 103.12 [+0.76] TEST: Single path with reject route [ OK ] # 103.87 [+0.76] TEST: Single path with single path via multipath attribute [ OK ] # 104.63 [+0.75] TEST: Invalid nexthop [ OK ] # 105.24 [+0.61] TEST: Single path - replace of non-existent route [ OK ] # 105.97 [+0.73] TEST: Multipath with multipath [ OK ] # 106.72 [+0.75] TEST: Multipath with single path [ OK ] # 107.45 [+0.74] TEST: Multipath with single path via multipath attribute [ OK ] # 108.19 [+0.73] TEST: Multipath with reject route [ OK ] # 108.91 [+0.72] TEST: Multipath - invalid first nexthop [ OK ] # 109.65 [+0.74] TEST: Multipath - invalid second nexthop [ OK ] # 110.24 [+0.59] TEST: Multipath - replace of non-existent route [ OK ] # 112.40 [+2.15] TEST: Cached route removed from VRF port device [ OK ] # 112.40 [+0.00] # 112.40 [+0.00] IPv4 route with dsfield tests # 112.71 [+0.30] TEST: Reject route with dsfield 0x01 [ OK ] # 112.86 [+0.16] TEST: Reject route with dsfield 0x02 [ OK ] # 113.02 [+0.16] TEST: Reject route with dsfield 0x03 [ OK ] # 113.45 [+0.43] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 113.56 [+0.11] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 113.66 [+0.09] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 113.78 [+0.12] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 113.91 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 114.05 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 114.18 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 114.30 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 114.44 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 114.56 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 114.68 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 114.79 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 117.38 [+2.59] # 117.38 [+0.00] IPv6 prefix route tests # 120.60 [+3.21] TEST: Default metric [ OK ] # 121.05 [+0.45] TEST: User specified metric on first device [ OK ] # 121.49 [+0.44] TEST: User specified metric on second device [ OK ] # 121.76 [+0.28] TEST: Delete of address on first device [ OK ] # 122.06 [+0.29] TEST: Modify metric of address [ OK ] # 122.59 [+0.54] TEST: Prefix route removed on link down [ OK ] # 122.88 [+0.29] TEST: Prefix route with metric on link up [ OK ] # 123.32 [+0.43] TEST: Set metric with peer route on local side [ OK ] # 123.46 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 123.74 [+0.29] TEST: Modify metric and peer address on local side [ OK ] # 123.88 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 125.46 [+1.58] # 125.46 [+0.00] IPv4 prefix route tests # 128.68 [+3.22] TEST: Default metric [ OK ] # 129.15 [+0.47] TEST: User specified metric on first device [ OK ] # 129.61 [+0.46] TEST: User specified metric on second device [ OK ] # 129.91 [+0.30] TEST: Delete of address on first device [ OK ] # 130.21 [+0.30] TEST: Modify metric of address [ OK ] # 130.52 [+0.30] TEST: Prefix route removed on link down [ OK ] # 130.82 [+0.31] TEST: Prefix route with metric on link up [ OK ] # 131.43 [+0.61] TEST: Modify metric of .0/24 address [ OK ] # 131.88 [+0.45] TEST: Set metric of address with peer route [ OK ] # 132.18 [+0.29] TEST: Modify metric and peer address for peer route [ OK ] # 133.81 [+1.64] # 133.81 [+0.00] IPv6 routes with metrics # 141.83 [+8.02] TEST: Single path route with mtu metric [ OK ] # 142.29 [+0.47] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 142.76 [+0.46] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 143.03 [+0.27] TEST: MTU of second leg [ OK ] # 143.32 [+0.29] TEST: Multipath route with mtu metric [ OK ] # 143.73 [+0.41] TEST: Using route with mtu metric [ OK ] # 143.99 [+0.27] TEST: Invalid metric (fails metric_convert) [ OK ] # 146.58 [+2.58] # 146.58 [+0.00] IPv4 route add / append tests # 154.58 [+8.00] TEST: Single path route with mtu metric [ OK ] # 154.89 [+0.31] TEST: Multipath route with mtu metric [ OK ] # 155.30 [+0.41] TEST: Using route with mtu metric [ OK ] # 155.56 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 158.07 [+2.51] # 158.07 [+0.00] IPv4 route with IPv6 gateway tests # 168.03 [+9.96] TEST: Single path route with IPv6 gateway [ OK ] # 168.44 [+0.41] TEST: Single path route with IPv6 gateway - ping [ OK ] # 168.60 [+0.15] TEST: Single path route delete [ OK ] # 168.90 [+0.30] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 169.19 [+0.30] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 169.34 [+0.15] TEST: Multipath route delete exact match [ OK ] # 169.49 [+0.15] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 169.80 [+0.31] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 169.95 [+0.15] TEST: Multipath route delete exact match [ OK ] # 172.51 [+2.55] # 172.51 [+0.00] IPv4 rp_filter tests # 183.25 [+10.74] TEST: rp_filter passes local packets [ OK ] # 183.53 [+0.28] TEST: rp_filter passes loopback packets [ OK ] # 184.77 [+1.24] # 184.77 [+0.00] IPv4 delete address route tests # 189.74 [+4.97] Regular FIB info # 189.99 [+0.25] TEST: Route removed from VRF when source address deleted [ OK ] # 190.11 [+0.11] TEST: Route in default VRF not removed [ OK ] # 190.65 [+0.55] TEST: Route removed in default VRF when source address deleted [ OK ] # 190.78 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 190.79 [+0.00] Identical FIB info with different table ID # 191.06 [+0.27] TEST: Route removed from VRF when source address deleted [ OK ] # 191.18 [+0.13] TEST: Route in default VRF not removed [ OK ] # 191.73 [+0.55] TEST: Route removed in default VRF when source address deleted [ OK ] # 191.85 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 191.85 [+0.00] Table ID 0 # 192.12 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 193.70 [+1.59] # 193.70 [+0.00] IPv6 delete address route tests # 202.02 [+8.32] Single device using src address # 202.30 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 202.30 [+0.00] Two devices with the same source address # 202.58 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 202.84 [+0.26] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 202.84 [+0.00] VRF with single device using src address # 203.10 [+0.26] TEST: Prefsrc removed when src address removed on other device [ OK ] # 203.10 [+0.00] VRF with two devices using src address # 203.37 [+0.27] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 203.64 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 203.64 [+0.00] src address and nexthop dev in same VRF # 203.94 [+0.30] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 204.06 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 204.60 [+0.55] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 204.71 [+0.11] TEST: Prefsrc in default VRF removed [ OK ] # 204.72 [+0.00] src address and nexthop device in different VRF # 204.97 [+0.26] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 205.09 [+0.11] TEST: Prefsrc not removed in default VRF [ OK ] # 205.49 [+0.40] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 205.61 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 205.62 [+0.00] Table ID 0 # 205.87 [+0.25] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 205.87 [+0.00] Link local source route # 206.13 [+0.26] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 206.39 [+0.26] TEST: Prefsrc removed when delete ll addr [ OK ] # 206.50 [+0.11] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 206.89 [+0.39] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 209.27 [+2.39] # 209.27 [+0.00] IPv4 mangling tests # 220.71 [+11.43] TEST: Connection with correct parameters [ OK ] # 221.01 [+0.30] TEST: Connection with incorrect parameters [ OK ] # 222.23 [+1.22] TEST: Connection with correct parameters - mangling [ OK ] # 223.32 [+1.09] TEST: Connection with correct parameters - no mangling [ OK ] # 223.40 [+0.08] TEST: Connection check - server side [ OK ] # 226.48 [+3.08] # 226.48 [+0.00] IPv6 mangling tests # 237.73 [+11.25] TEST: Connection with correct parameters [ OK ] # 238.06 [+0.33] TEST: Connection with incorrect parameters [ OK ] # 239.17 [+1.11] TEST: Connection with correct parameters - mangling [ OK ] # 240.30 [+1.13] TEST: Connection with correct parameters - no mangling [ OK ] # 240.41 [+0.11] TEST: Connection check - server side [ OK ] # 243.50 [+3.09] # 243.50 [+0.00] IPv4 broadcast neighbour tests # 247.56 [+4.06] TEST: Resolved neighbour for broadcast address [ OK ] # 247.72 [+0.15] TEST: Resolved neighbour for network broadcast address [ OK ] # 247.88 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 248.02 [+0.14] TEST: Unresolved neighbour for network broadcast address [ OK ] # 251.28 [+3.26] # 251.28 [+0.00] Fib6 garbage collection test # 265.45 [+14.17] TEST: ipv6 route garbage collection [ OK ] # 280.05 [+14.59] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 294.56 [+14.51] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 309.24 [+14.68] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 324.41 [+15.17] TEST: ipv6 route garbage collection (RA message) [ OK ] # 325.70 [+1.29] # 325.70 [+0.00] IPv4 multipath list receive tests # 348.89 [+23.19] TEST: Multipath route hit ratio (1.00) [ OK ] # 351.94 [+3.05] # 351.94 [+0.00] IPv6 multipath list receive tests # 373.86 [+21.92] TEST: Multipath route hit ratio (1.00) [ OK ] # 376.75 [+2.89] # 376.75 [+0.00] Tests passed: 229 # 376.75 [+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__->