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.40 [+1.66] Start point # 2.54 [+0.14] TEST: IPv4 fibmatch [ OK ] # 2.68 [+0.15] TEST: IPv6 fibmatch [ OK ] # 2.87 [+0.19] Nexthop device deleted # 3.02 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.16 [+0.14] TEST: IPv6 fibmatch - no route [ OK ] # 4.05 [+0.89] # 4.05 [+0.00] Multipath route test # 6.94 [+2.89] Start point # 7.08 [+0.14] TEST: IPv4 fibmatch [ OK ] # 7.22 [+0.14] TEST: IPv6 fibmatch [ OK ] # 7.42 [+0.20] One nexthop device deleted # 7.56 [+0.14] TEST: IPv4 - multipath route removed on delete [ OK ] # 7.71 [+0.15] TEST: IPv6 - multipath down to single path [ OK ] # 7.90 [+0.19] Second nexthop device deleted # 8.04 [+0.14] TEST: IPv6 - no route [ OK ] # 8.91 [+0.87] # 8.91 [+0.00] Single path, admin down # 10.97 [+2.06] Start point # 11.11 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.25 [+0.14] TEST: IPv6 fibmatch [ OK ] # 11.39 [+0.14] Route deleted on down # 11.53 [+0.14] TEST: IPv4 fibmatch [ OK ] # 11.67 [+0.14] TEST: IPv6 fibmatch [ OK ] # 12.37 [+0.71] # 12.38 [+0.00] Admin down multipath # 15.28 [+2.90] Verify start point # 15.42 [+0.14] TEST: IPv4 fibmatch [ OK ] # 15.56 [+0.14] TEST: IPv6 fibmatch [ OK ] # 15.70 [+0.14] One device down, one up # 15.84 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 15.98 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 16.13 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 16.26 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 16.37 [+0.10] TEST: IPv4 flags on down device [ OK ] # 16.51 [+0.14] TEST: IPv6 flags on down device [ OK ] # 16.62 [+0.11] TEST: IPv4 flags on up device [ OK ] # 16.76 [+0.14] TEST: IPv6 flags on up device [ OK ] # 17.05 [+0.28] Other device down and up # 17.19 [+0.14] TEST: IPv4 fibmatch on down device [ OK ] # 17.33 [+0.14] TEST: IPv6 fibmatch on down device [ OK ] # 17.47 [+0.14] TEST: IPv4 fibmatch on up device [ OK ] # 17.62 [+0.14] TEST: IPv6 fibmatch on up device [ OK ] # 17.73 [+0.12] TEST: IPv4 flags on down device [ OK ] # 17.86 [+0.12] TEST: IPv6 flags on down device [ OK ] # 17.99 [+0.13] TEST: IPv4 flags on up device [ OK ] # 18.11 [+0.12] TEST: IPv6 flags on up device [ OK ] # 18.26 [+0.15] Both devices down # 18.42 [+0.15] TEST: IPv4 fibmatch [ OK ] # 18.56 [+0.14] TEST: IPv6 fibmatch [ OK ] # 19.45 [+0.89] # 19.45 [+0.00] Local carrier tests - single path # 21.66 [+2.22] Start point # 21.80 [+0.14] TEST: IPv4 fibmatch [ OK ] # 21.96 [+0.16] TEST: IPv6 fibmatch [ OK ] # 22.07 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 22.21 [+0.13] TEST: IPv6 - no linkdown flag [ OK ] # 23.48 [+1.27] Carrier off on nexthop # 23.62 [+0.15] TEST: IPv4 fibmatch [ OK ] # 23.78 [+0.15] TEST: IPv6 fibmatch [ OK ] # 23.92 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 24.06 [+0.15] TEST: IPv6 - linkdown flag set [ OK ] # 24.35 [+0.28] Route to local address with carrier down # 24.48 [+0.14] TEST: IPv4 fibmatch [ OK ] # 24.63 [+0.15] TEST: IPv6 fibmatch [ OK ] # 24.78 [+0.15] TEST: IPv4 linkdown flag set [ OK ] # 24.91 [+0.13] TEST: IPv6 linkdown flag set [ OK ] # 25.60 [+0.69] # 25.60 [+0.00] Single path route carrier test # 27.78 [+2.18] Start point # 27.92 [+0.14] TEST: IPv4 fibmatch [ OK ] # 28.06 [+0.14] TEST: IPv6 fibmatch [ OK ] # 28.18 [+0.12] TEST: IPv4 no linkdown flag [ OK ] # 28.32 [+0.13] TEST: IPv6 no linkdown flag [ OK ] # 29.55 [+1.24] Carrier down # 29.69 [+0.13] TEST: IPv4 fibmatch [ OK ] # 29.82 [+0.14] TEST: IPv6 fibmatch [ OK ] # 29.95 [+0.13] TEST: IPv4 linkdown flag set [ OK ] # 30.06 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 30.34 [+0.27] Second address added with carrier down # 30.48 [+0.14] TEST: IPv4 fibmatch [ OK ] # 30.62 [+0.14] TEST: IPv6 fibmatch [ OK ] # 30.73 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 30.84 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 37.43 [+6.59] # 37.43 [+0.00] IPv4 nexthop tests # 37.43 [+0.00] <<< write me >>> # 37.76 [+0.33] # 37.76 [+0.00] IPv6 nexthop tests # 37.92 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 38.09 [+0.16] TEST: Directly connected nexthop, unicast address with device [ OK ] # 38.25 [+0.16] TEST: Gateway is linklocal address [ OK ] # 38.40 [+0.15] TEST: Gateway is linklocal address, no device [ OK ] # 38.55 [+0.15] TEST: Gateway can not be local unicast address [ OK ] # 38.71 [+0.16] TEST: Gateway can not be local unicast address, with device [ OK ] # 38.89 [+0.18] TEST: Gateway can not be a local linklocal address [ OK ] # 39.05 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 39.21 [+0.16] TEST: Gateway can be local address in a VRF, with device [ OK ] # 39.39 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 39.57 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 39.74 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 39.90 [+0.17] TEST: VRF route, gateway can not be a local address [ OK ] # 40.07 [+0.16] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 41.52 [+1.45] # 41.52 [+0.00] FIB rule with suppress_prefixlength # 44.69 [+3.17] TEST: FIB rule suppress test [ OK ] # 47.55 [+2.86] # 47.55 [+0.00] Fib6 info length calculation in route notify test # 52.98 [+5.43] TEST: ipv6 route add notify [ OK ] # 55.88 [+2.90] # 55.88 [+0.00] Fib4 info length calculation in route notify test # 61.27 [+5.39] TEST: ipv4 route add notify [ OK ] # 68.94 [+7.67] # 68.94 [+0.00] IPv6 route add / append tests # 69.55 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 70.17 [+0.62] TEST: Attempt to add duplicate route - dev only [ OK ] # 70.77 [+0.60] TEST: Attempt to add duplicate route - reject route [ OK ] # 71.50 [+0.73] TEST: Append nexthop to existing route - gw [ OK ] # 72.07 [+0.57] TEST: Add multipath route [ OK ] # 72.67 [+0.59] TEST: Attempt to add duplicate multipath route [ OK ] # 73.40 [+0.74] TEST: Route add with different metrics [ OK ] # 73.70 [+0.30] TEST: Route delete with metric [ OK ] # 73.70 [+0.00] # 73.70 [+0.00] IPv6 route replace tests # 74.42 [+0.71] TEST: Single path with single path [ OK ] # 75.16 [+0.74] TEST: Single path with multipath [ OK ] # 75.88 [+0.72] TEST: Single path with single path via multipath attribute [ OK ] # 76.61 [+0.73] TEST: Invalid nexthop [ OK ] # 77.21 [+0.60] TEST: Single path - replace of non-existent route [ OK ] # 77.95 [+0.75] TEST: Multipath with multipath [ OK ] # 78.70 [+0.75] TEST: Multipath with single path [ OK ] # 79.44 [+0.74] TEST: Multipath with single path via multipath attribute [ OK ] # 80.16 [+0.72] TEST: Multipath with dev-only [ OK ] # 80.89 [+0.73] TEST: Multipath - invalid first nexthop [ OK ] # 81.60 [+0.72] TEST: Multipath - invalid second nexthop [ OK ] # 82.21 [+0.61] TEST: Multipath - replace of non-existent route [ OK ] # 82.21 [+0.00] # 82.21 [+0.00] IPv6 route with dsfield tests # 82.52 [+0.30] TEST: Reject route with dsfield [ OK ] # 92.71 [+10.20] # 92.71 [+0.00] IPv4 route add / append tests # 93.32 [+0.61] TEST: Attempt to add duplicate route - gw [ OK ] # 93.91 [+0.59] TEST: Attempt to add duplicate route - dev only [ OK ] # 94.51 [+0.60] TEST: Attempt to add duplicate route - reject route [ OK ] # 95.25 [+0.75] TEST: Add new nexthop for existing prefix [ OK ] # 96.00 [+0.75] TEST: Append nexthop to existing route - gw [ OK ] # 96.76 [+0.76] TEST: Append nexthop to existing route - dev only [ OK ] # 97.51 [+0.75] TEST: Append nexthop to existing route - reject route [ OK ] # 98.10 [+0.59] TEST: Append nexthop to existing reject route - gw [ OK ] # 98.71 [+0.61] TEST: Append nexthop to existing reject route - dev only [ OK ] # 99.31 [+0.61] TEST: add multipath route [ OK ] # 99.90 [+0.59] TEST: Attempt to add duplicate multipath route [ OK ] # 100.64 [+0.74] TEST: Route add with different metrics [ OK ] # 100.94 [+0.30] TEST: Route delete with metric [ OK ] # 100.94 [+0.00] # 100.94 [+0.00] IPv4 route replace tests # 101.69 [+0.75] TEST: Single path with single path [ OK ] # 102.43 [+0.75] TEST: Single path with multipath [ OK ] # 103.18 [+0.75] TEST: Single path with reject route [ OK ] # 103.93 [+0.75] TEST: Single path with single path via multipath attribute [ OK ] # 104.68 [+0.75] TEST: Invalid nexthop [ OK ] # 105.27 [+0.59] TEST: Single path - replace of non-existent route [ OK ] # 106.02 [+0.75] TEST: Multipath with multipath [ OK ] # 106.77 [+0.75] TEST: Multipath with single path [ OK ] # 107.53 [+0.75] TEST: Multipath with single path via multipath attribute [ OK ] # 108.26 [+0.73] TEST: Multipath with reject route [ OK ] # 109.02 [+0.76] TEST: Multipath - invalid first nexthop [ OK ] # 109.77 [+0.75] TEST: Multipath - invalid second nexthop [ OK ] # 110.37 [+0.59] TEST: Multipath - replace of non-existent route [ OK ] # 112.56 [+2.19] TEST: Cached route removed from VRF port device [ OK ] # 112.56 [+0.00] # 112.56 [+0.00] IPv4 route with dsfield tests # 112.87 [+0.31] TEST: Reject route with dsfield 0x01 [ OK ] # 113.03 [+0.16] TEST: Reject route with dsfield 0x02 [ OK ] # 113.18 [+0.15] TEST: Reject route with dsfield 0x03 [ OK ] # 113.63 [+0.44] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 113.75 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 113.89 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 114.02 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 114.15 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 114.26 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 114.38 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 114.52 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 114.65 [+0.13] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 114.76 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 114.87 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 114.98 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 117.57 [+2.59] # 117.57 [+0.00] IPv6 prefix route tests # 120.83 [+3.26] TEST: Default metric [ OK ] # 121.27 [+0.44] TEST: User specified metric on first device [ OK ] # 121.70 [+0.43] TEST: User specified metric on second device [ OK ] # 122.00 [+0.30] TEST: Delete of address on first device [ OK ] # 122.27 [+0.28] TEST: Modify metric of address [ OK ] # 122.82 [+0.54] TEST: Prefix route removed on link down [ OK ] # 123.10 [+0.28] TEST: Prefix route with metric on link up [ OK ] # 123.55 [+0.45] TEST: Set metric with peer route on local side [ OK ] # 123.69 [+0.14] TEST: Set metric with peer route on peer side [ OK ] # 123.97 [+0.28] TEST: Modify metric and peer address on local side [ OK ] # 124.10 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 125.69 [+1.59] # 125.69 [+0.00] IPv4 prefix route tests # 128.89 [+3.20] TEST: Default metric [ OK ] # 129.34 [+0.45] TEST: User specified metric on first device [ OK ] # 129.79 [+0.45] TEST: User specified metric on second device [ OK ] # 130.09 [+0.30] TEST: Delete of address on first device [ OK ] # 130.39 [+0.29] TEST: Modify metric of address [ OK ] # 130.68 [+0.30] TEST: Prefix route removed on link down [ OK ] # 130.98 [+0.30] TEST: Prefix route with metric on link up [ OK ] # 131.59 [+0.60] TEST: Modify metric of .0/24 address [ OK ] # 132.05 [+0.46] TEST: Set metric of address with peer route [ OK ] # 132.34 [+0.29] TEST: Modify metric and peer address for peer route [ OK ] # 133.93 [+1.59] # 133.93 [+0.00] IPv6 routes with metrics # 141.88 [+7.95] TEST: Single path route with mtu metric [ OK ] # 142.32 [+0.44] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 142.79 [+0.47] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 143.08 [+0.29] TEST: MTU of second leg [ OK ] # 143.38 [+0.30] TEST: Multipath route with mtu metric [ OK ] # 143.79 [+0.41] TEST: Using route with mtu metric [ OK ] # 144.04 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 146.61 [+2.56] # 146.61 [+0.00] IPv4 route add / append tests # 154.92 [+8.31] TEST: Single path route with mtu metric [ OK ] # 155.25 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 155.66 [+0.41] TEST: Using route with mtu metric [ OK ] # 155.92 [+0.26] TEST: Invalid metric (fails metric_convert) [ OK ] # 158.52 [+2.60] # 158.52 [+0.00] IPv4 route with IPv6 gateway tests # 168.53 [+10.01] TEST: Single path route with IPv6 gateway [ OK ] # 168.94 [+0.41] TEST: Single path route with IPv6 gateway - ping [ OK ] # 169.09 [+0.15] TEST: Single path route delete [ OK ] # 169.40 [+0.30] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 169.70 [+0.30] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 169.85 [+0.15] TEST: Multipath route delete exact match [ OK ] # 170.00 [+0.14] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 170.30 [+0.30] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 170.45 [+0.15] TEST: Multipath route delete exact match [ OK ] # 172.99 [+2.54] # 172.99 [+0.00] IPv4 rp_filter tests # 183.54 [+10.56] TEST: rp_filter passes local packets [ OK ] # 183.80 [+0.25] TEST: rp_filter passes loopback packets [ OK ] # 185.04 [+1.24] # 185.04 [+0.00] IPv4 delete address route tests # 189.96 [+4.92] Regular FIB info # 190.22 [+0.26] TEST: Route removed from VRF when source address deleted [ OK ] # 190.34 [+0.12] TEST: Route in default VRF not removed [ OK ] # 190.88 [+0.53] TEST: Route removed in default VRF when source address deleted [ OK ] # 191.00 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 191.00 [+0.00] Identical FIB info with different table ID # 191.26 [+0.26] TEST: Route removed from VRF when source address deleted [ OK ] # 191.39 [+0.13] TEST: Route in default VRF not removed [ OK ] # 191.93 [+0.54] TEST: Route removed in default VRF when source address deleted [ OK ] # 192.06 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 192.06 [+0.00] Table ID 0 # 192.33 [+0.27] TEST: Route removed in default VRF when source address deleted [ OK ] # 193.90 [+1.57] # 193.90 [+0.00] IPv6 delete address route tests # 202.09 [+8.19] Single device using src address # 202.37 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 202.38 [+0.00] Two devices with the same source address # 202.63 [+0.26] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 202.90 [+0.27] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 202.91 [+0.00] VRF with single device using src address # 203.16 [+0.25] TEST: Prefsrc removed when src address removed on other device [ OK ] # 203.16 [+0.00] VRF with two devices using src address # 203.43 [+0.27] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 203.73 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 203.73 [+0.00] src address and nexthop dev in same VRF # 204.00 [+0.28] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 204.13 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 204.70 [+0.57] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 204.85 [+0.16] TEST: Prefsrc in default VRF removed [ OK ] # 204.85 [+0.00] src address and nexthop device in different VRF # 205.14 [+0.28] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 205.27 [+0.13] TEST: Prefsrc not removed in default VRF [ OK ] # 205.69 [+0.43] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 205.85 [+0.15] TEST: Prefsrc removed in default VRF [ OK ] # 205.85 [+0.00] Table ID 0 # 206.15 [+0.29] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 206.15 [+0.00] Link local source route # 206.42 [+0.27] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 206.68 [+0.26] TEST: Prefsrc removed when delete ll addr [ OK ] # 206.79 [+0.12] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 207.18 [+0.38] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 209.61 [+2.44] # 209.61 [+0.00] IPv4 mangling tests # 220.83 [+11.22] TEST: Connection with correct parameters [ OK ] # 221.11 [+0.28] TEST: Connection with incorrect parameters [ OK ] # 222.33 [+1.22] TEST: Connection with correct parameters - mangling [ OK ] # 223.42 [+1.09] TEST: Connection with correct parameters - no mangling [ OK ] # 223.54 [+0.12] TEST: Connection check - server side [ OK ] # 226.63 [+3.09] # 226.63 [+0.00] IPv6 mangling tests # 238.21 [+11.58] TEST: Connection with correct parameters [ OK ] # 238.53 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 239.65 [+1.12] TEST: Connection with correct parameters - mangling [ OK ] # 240.78 [+1.13] TEST: Connection with correct parameters - no mangling [ OK ] # 240.89 [+0.10] TEST: Connection check - server side [ OK ] # 244.10 [+3.21] # 244.10 [+0.00] IPv4 broadcast neighbour tests # 247.99 [+3.89] TEST: Resolved neighbour for broadcast address [ OK ] # 248.15 [+0.16] TEST: Resolved neighbour for network broadcast address [ OK ] # 248.30 [+0.15] TEST: Unresolved neighbour for broadcast address [ OK ] # 248.46 [+0.15] TEST: Unresolved neighbour for network broadcast address [ OK ] # 251.78 [+3.32] # 251.78 [+0.00] Fib6 garbage collection test # 266.01 [+14.23] TEST: ipv6 route garbage collection [ OK ] # 280.53 [+14.52] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 295.16 [+14.63] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 309.95 [+14.80] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 325.19 [+15.23] TEST: ipv6 route garbage collection (RA message) [ OK ] # 326.50 [+1.31] # 326.50 [+0.00] IPv4 multipath list receive tests # 349.83 [+23.33] TEST: Multipath route hit ratio (1.00) [ OK ] # 352.64 [+2.81] # 352.65 [+0.00] IPv6 multipath list receive tests # 374.55 [+21.91] TEST: Multipath route hit ratio (1.00) [ OK ] # 377.43 [+2.88] # 377.43 [+0.00] Tests passed: 229 # 377.43 [+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__->