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 # 1.17 [+1.17] # 1.17 [+0.00] Single path route test # 3.05 [+1.87] Start point # 3.21 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.39 [+0.17] TEST: IPv6 fibmatch [ OK ] # 3.60 [+0.22] Nexthop device deleted # 3.77 [+0.17] TEST: IPv4 fibmatch - no route [ OK ] # 3.97 [+0.20] TEST: IPv6 fibmatch - no route [ OK ] # 5.04 [+1.07] # 5.04 [+0.00] Multipath route test # 8.61 [+3.57] Start point # 8.78 [+0.17] TEST: IPv4 fibmatch [ OK ] # 8.94 [+0.17] TEST: IPv6 fibmatch [ OK ] # 9.15 [+0.21] One nexthop device deleted # 9.32 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.48 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.69 [+0.21] Second nexthop device deleted # 9.85 [+0.16] TEST: IPv6 - no route [ OK ] # 10.84 [+0.99] # 10.84 [+0.00] Single path, admin down # 13.41 [+2.57] Start point # 13.56 [+0.15] TEST: IPv4 fibmatch [ OK ] # 13.72 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.89 [+0.17] Route deleted on down # 14.05 [+0.16] TEST: IPv4 fibmatch [ OK ] # 14.21 [+0.15] TEST: IPv6 fibmatch [ OK ] # 15.34 [+1.14] # 15.35 [+0.00] Admin down multipath # 19.04 [+3.69] Verify start point # 19.21 [+0.17] TEST: IPv4 fibmatch [ OK ] # 19.37 [+0.17] TEST: IPv6 fibmatch [ OK ] # 19.54 [+0.17] One device down, one up # 19.70 [+0.16] TEST: IPv4 fibmatch on down device [ OK ] # 19.86 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 20.06 [+0.20] TEST: IPv4 fibmatch on up device [ OK ] # 20.22 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.37 [+0.14] TEST: IPv4 flags on down device [ OK ] # 20.48 [+0.12] TEST: IPv6 flags on down device [ OK ] # 20.61 [+0.13] TEST: IPv4 flags on up device [ OK ] # 20.75 [+0.14] TEST: IPv6 flags on up device [ OK ] # 21.20 [+0.44] Other device down and up # 21.42 [+0.22] TEST: IPv4 fibmatch on down device [ OK ] # 21.64 [+0.22] TEST: IPv6 fibmatch on down device [ OK ] # 21.86 [+0.22] TEST: IPv4 fibmatch on up device [ OK ] # 22.02 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 22.19 [+0.16] TEST: IPv4 flags on down device [ OK ] # 22.33 [+0.14] TEST: IPv6 flags on down device [ OK ] # 22.46 [+0.13] TEST: IPv4 flags on up device [ OK ] # 22.59 [+0.13] TEST: IPv6 flags on up device [ OK ] # 22.81 [+0.22] Both devices down # 22.97 [+0.16] TEST: IPv4 fibmatch [ OK ] # 23.13 [+0.16] TEST: IPv6 fibmatch [ OK ] # 24.35 [+1.22] # 24.35 [+0.00] Local carrier tests - single path # 27.48 [+3.13] Start point # 27.66 [+0.18] TEST: IPv4 fibmatch [ OK ] # 27.84 [+0.18] TEST: IPv6 fibmatch [ OK ] # 27.96 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 28.12 [+0.16] TEST: IPv6 - no linkdown flag [ OK ] # 29.40 [+1.29] Carrier off on nexthop # 29.57 [+0.17] TEST: IPv4 fibmatch [ OK ] # 29.74 [+0.17] TEST: IPv6 fibmatch [ OK ] # 29.88 [+0.14] TEST: IPv4 - linkdown flag set [ OK ] # 30.04 [+0.16] TEST: IPv6 - linkdown flag set [ OK ] # 30.37 [+0.32] Route to local address with carrier down # 30.52 [+0.15] TEST: IPv4 fibmatch [ OK ] # 30.69 [+0.17] TEST: IPv6 fibmatch [ OK ] # 30.82 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 30.96 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 31.81 [+0.85] # 31.81 [+0.00] Single path route carrier test # 34.42 [+2.61] Start point # 34.58 [+0.15] TEST: IPv4 fibmatch [ OK ] # 34.73 [+0.16] TEST: IPv6 fibmatch [ OK ] # 34.87 [+0.13] TEST: IPv4 no linkdown flag [ OK ] # 35.02 [+0.15] TEST: IPv6 no linkdown flag [ OK ] # 36.29 [+1.27] Carrier down # 36.44 [+0.15] TEST: IPv4 fibmatch [ OK ] # 36.60 [+0.17] TEST: IPv6 fibmatch [ OK ] # 36.74 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 36.88 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 37.22 [+0.34] Second address added with carrier down # 37.38 [+0.16] TEST: IPv4 fibmatch [ OK ] # 37.55 [+0.17] TEST: IPv6 fibmatch [ OK ] # 37.69 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 37.84 [+0.15] TEST: IPv6 linkdown flag set [ OK ] # 45.58 [+7.74] # 45.58 [+0.00] IPv4 nexthop tests # 45.58 [+0.00] <<< write me >>> # 45.90 [+0.32] # 45.91 [+0.00] IPv6 nexthop tests # 46.08 [+0.17] TEST: Directly connected nexthop, unicast address [ OK ] # 46.26 [+0.18] TEST: Directly connected nexthop, unicast address with device [ OK ] # 46.44 [+0.18] TEST: Gateway is linklocal address [ OK ] # 46.61 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 46.79 [+0.18] TEST: Gateway can not be local unicast address [ OK ] # 46.96 [+0.17] TEST: Gateway can not be local unicast address, with device [ OK ] # 47.13 [+0.17] TEST: Gateway can not be a local linklocal address [ OK ] # 47.31 [+0.18] TEST: Gateway can be local address in a VRF [ OK ] # 47.49 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 47.66 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 47.84 [+0.17] TEST: Redirect to VRF lookup [ OK ] # 48.01 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 48.19 [+0.18] TEST: VRF route, gateway can not be a local address [ OK ] # 48.36 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 49.91 [+1.55] # 49.91 [+0.00] FIB rule with suppress_prefixlength # 53.37 [+3.46] TEST: FIB rule suppress test [ OK ] # 56.48 [+3.10] # 56.48 [+0.00] Fib6 info length calculation in route notify test # 62.28 [+5.81] TEST: ipv6 route add notify [ OK ] # 65.50 [+3.22] # 65.50 [+0.00] Fib4 info length calculation in route notify test # 71.29 [+5.78] TEST: ipv4 route add notify [ OK ] # 79.93 [+8.64] # 79.93 [+0.00] IPv6 route add / append tests # 80.63 [+0.70] TEST: Attempt to add duplicate route - gw [ OK ] # 81.29 [+0.66] TEST: Attempt to add duplicate route - dev only [ OK ] # 81.98 [+0.69] TEST: Attempt to add duplicate route - reject route [ OK ] # 82.83 [+0.85] TEST: Append nexthop to existing route - gw [ OK ] # 83.51 [+0.68] TEST: Add multipath route [ OK ] # 84.19 [+0.68] TEST: Attempt to add duplicate multipath route [ OK ] # 85.03 [+0.84] TEST: Route add with different metrics [ OK ] # 85.37 [+0.34] TEST: Route delete with metric [ OK ] # 85.37 [+0.00] # 85.37 [+0.00] IPv6 route replace tests # 86.20 [+0.83] TEST: Single path with single path [ OK ] # 87.05 [+0.85] TEST: Single path with multipath [ OK ] # 87.90 [+0.86] TEST: Single path with single path via multipath attribute [ OK ] # 88.73 [+0.83] TEST: Invalid nexthop [ OK ] # 89.41 [+0.68] TEST: Single path - replace of non-existent route [ OK ] # 90.27 [+0.86] TEST: Multipath with multipath [ OK ] # 91.08 [+0.81] TEST: Multipath with single path [ OK ] # 91.91 [+0.83] TEST: Multipath with single path via multipath attribute [ OK ] # 92.79 [+0.88] TEST: Multipath with dev-only [ OK ] # 93.61 [+0.82] TEST: Multipath - invalid first nexthop [ OK ] # 94.45 [+0.84] TEST: Multipath - invalid second nexthop [ OK ] # 95.11 [+0.66] TEST: Multipath - replace of non-existent route [ OK ] # 95.12 [+0.00] # 95.12 [+0.00] IPv6 route with dsfield tests # 95.47 [+0.35] TEST: Reject route with dsfield [ OK ] # 107.60 [+12.14] # 107.60 [+0.00] IPv4 route add / append tests # 108.33 [+0.72] TEST: Attempt to add duplicate route - gw [ OK ] # 109.02 [+0.69] TEST: Attempt to add duplicate route - dev only [ OK ] # 109.70 [+0.69] TEST: Attempt to add duplicate route - reject route [ OK ] # 110.58 [+0.88] TEST: Add new nexthop for existing prefix [ OK ] # 111.44 [+0.86] TEST: Append nexthop to existing route - gw [ OK ] # 112.30 [+0.86] TEST: Append nexthop to existing route - dev only [ OK ] # 113.17 [+0.87] TEST: Append nexthop to existing route - reject route [ OK ] # 113.85 [+0.67] TEST: Append nexthop to existing reject route - gw [ OK ] # 114.53 [+0.68] TEST: Append nexthop to existing reject route - dev only [ OK ] # 115.20 [+0.68] TEST: add multipath route [ OK ] # 115.87 [+0.67] TEST: Attempt to add duplicate multipath route [ OK ] # 116.71 [+0.84] TEST: Route add with different metrics [ OK ] # 117.04 [+0.33] TEST: Route delete with metric [ OK ] # 117.05 [+0.00] # 117.05 [+0.00] IPv4 route replace tests # 117.89 [+0.84] TEST: Single path with single path [ OK ] # 118.73 [+0.84] TEST: Single path with multipath [ OK ] # 119.56 [+0.83] TEST: Single path with reject route [ OK ] # 120.39 [+0.83] TEST: Single path with single path via multipath attribute [ OK ] # 121.24 [+0.85] TEST: Invalid nexthop [ OK ] # 121.91 [+0.67] TEST: Single path - replace of non-existent route [ OK ] # 122.76 [+0.85] TEST: Multipath with multipath [ OK ] # 123.61 [+0.85] TEST: Multipath with single path [ OK ] # 124.45 [+0.84] TEST: Multipath with single path via multipath attribute [ OK ] # 125.27 [+0.83] TEST: Multipath with reject route [ OK ] # 126.12 [+0.84] TEST: Multipath - invalid first nexthop [ OK ] # 126.95 [+0.84] TEST: Multipath - invalid second nexthop [ OK ] # 127.62 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 130.08 [+2.46] TEST: Cached route removed from VRF port device [ OK ] # 130.09 [+0.00] # 130.09 [+0.00] IPv4 route with dsfield tests # 130.43 [+0.34] TEST: Reject route with dsfield 0x01 [ OK ] # 130.60 [+0.18] TEST: Reject route with dsfield 0x02 [ OK ] # 130.78 [+0.17] TEST: Reject route with dsfield 0x03 [ OK ] # 131.27 [+0.49] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 131.40 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 131.54 [+0.14] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 131.67 [+0.13] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 131.84 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 131.98 [+0.14] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 132.13 [+0.15] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 132.29 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 132.46 [+0.17] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 132.62 [+0.16] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 132.77 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 132.93 [+0.15] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 135.76 [+2.83] # 135.76 [+0.00] IPv6 prefix route tests # 139.32 [+3.56] TEST: Default metric [ OK ] # 139.81 [+0.50] TEST: User specified metric on first device [ OK ] # 140.31 [+0.50] TEST: User specified metric on second device [ OK ] # 140.63 [+0.33] TEST: Delete of address on first device [ OK ] # 140.95 [+0.31] TEST: Modify metric of address [ OK ] # 141.56 [+0.61] TEST: Prefix route removed on link down [ OK ] # 141.88 [+0.32] TEST: Prefix route with metric on link up [ OK ] # 142.36 [+0.48] TEST: Set metric with peer route on local side [ OK ] # 142.51 [+0.15] TEST: Set metric with peer route on peer side [ OK ] # 142.84 [+0.33] TEST: Modify metric and peer address on local side [ OK ] # 143.02 [+0.18] TEST: Modify metric and peer address on peer side [ OK ] # 144.80 [+1.78] # 144.80 [+0.00] IPv4 prefix route tests # 148.40 [+3.60] TEST: Default metric [ OK ] # 148.92 [+0.51] TEST: User specified metric on first device [ OK ] # 149.43 [+0.51] TEST: User specified metric on second device [ OK ] # 149.77 [+0.34] TEST: Delete of address on first device [ OK ] # 150.11 [+0.34] TEST: Modify metric of address [ OK ] # 150.45 [+0.34] TEST: Prefix route removed on link down [ OK ] # 150.80 [+0.35] TEST: Prefix route with metric on link up [ OK ] # 151.53 [+0.72] TEST: Modify metric of .0/24 address [ OK ] # 152.04 [+0.52] TEST: Set metric of address with peer route [ OK ] # 152.38 [+0.34] TEST: Modify metric and peer address for peer route [ OK ] # 154.12 [+1.73] # 154.12 [+0.00] IPv6 routes with metrics # 163.22 [+9.11] TEST: Single path route with mtu metric [ OK ] # 163.73 [+0.50] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 164.30 [+0.57] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 164.67 [+0.37] TEST: MTU of second leg [ OK ] # 165.04 [+0.37] TEST: Multipath route with mtu metric [ OK ] # 165.51 [+0.46] TEST: Using route with mtu metric [ OK ] # 165.84 [+0.33] TEST: Invalid metric (fails metric_convert) [ OK ] # 168.78 [+2.95] # 168.78 [+0.00] IPv4 route add / append tests # 178.10 [+9.31] TEST: Single path route with mtu metric [ OK ] # 178.42 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 178.89 [+0.46] TEST: Using route with mtu metric [ OK ] # 179.18 [+0.30] TEST: Invalid metric (fails metric_convert) [ OK ] # 182.01 [+2.83] # 182.01 [+0.00] IPv4 route with IPv6 gateway tests # 193.05 [+11.04] TEST: Single path route with IPv6 gateway [ OK ] # 193.52 [+0.47] TEST: Single path route with IPv6 gateway - ping [ OK ] # 193.68 [+0.16] TEST: Single path route delete [ OK ] # 194.02 [+0.33] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 194.37 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 194.53 [+0.16] TEST: Multipath route delete exact match [ OK ] # 194.70 [+0.17] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 195.04 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 195.21 [+0.16] TEST: Multipath route delete exact match [ OK ] # 198.07 [+2.86] # 198.07 [+0.00] IPv4 rp_filter tests # 210.22 [+12.15] TEST: rp_filter passes local packets [ OK ] # 210.51 [+0.29] TEST: rp_filter passes loopback packets [ OK ] # 211.93 [+1.43] # 211.93 [+0.00] IPv4 delete address route tests # 217.69 [+5.76] Regular FIB info # 217.97 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 218.11 [+0.14] TEST: Route in default VRF not removed [ OK ] # 218.76 [+0.65] TEST: Route removed in default VRF when source address deleted [ OK ] # 218.89 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 218.90 [+0.00] Identical FIB info with different table ID # 219.19 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 219.32 [+0.14] TEST: Route in default VRF not removed [ OK ] # 219.98 [+0.65] TEST: Route removed in default VRF when source address deleted [ OK ] # 220.12 [+0.15] TEST: Route in VRF is not removed by address delete [ OK ] # 220.13 [+0.00] Table ID 0 # 220.45 [+0.33] TEST: Route removed in default VRF when source address deleted [ OK ] # 222.27 [+1.82] # 222.27 [+0.00] IPv6 delete address route tests # 233.57 [+11.30] Single device using src address # 234.01 [+0.43] TEST: Prefsrc removed when src address removed on other device [ OK ] # 234.01 [+0.00] Two devices with the same source address # 234.44 [+0.43] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 234.86 [+0.42] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 234.86 [+0.00] VRF with single device using src address # 235.25 [+0.39] TEST: Prefsrc removed when src address removed on other device [ OK ] # 235.25 [+0.00] VRF with two devices using src address # 235.61 [+0.36] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 235.98 [+0.36] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 235.98 [+0.00] src address and nexthop dev in same VRF # 236.38 [+0.40] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 236.56 [+0.19] TEST: Prefsrc in default VRF not removed [ OK ] # 237.41 [+0.85] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 237.56 [+0.15] TEST: Prefsrc in default VRF removed [ OK ] # 237.56 [+0.00] src address and nexthop device in different VRF # 237.96 [+0.40] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 238.11 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 238.71 [+0.59] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 238.83 [+0.13] TEST: Prefsrc removed in default VRF [ OK ] # 238.84 [+0.00] Table ID 0 # 239.15 [+0.31] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 239.15 [+0.00] Link local source route # 239.45 [+0.30] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 239.75 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 239.90 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 240.40 [+0.50] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 243.21 [+2.81] # 243.21 [+0.00] IPv4 mangling tests # 255.57 [+12.36] TEST: Connection with correct parameters [ OK ] # 255.89 [+0.32] TEST: Connection with incorrect parameters [ OK ] # 257.17 [+1.28] TEST: Connection with correct parameters - mangling [ OK ] # 258.34 [+1.17] TEST: Connection with correct parameters - no mangling [ OK ] # 258.46 [+0.11] TEST: Connection check - server side [ OK ] # 261.97 [+3.52] # 261.98 [+0.00] IPv6 mangling tests # 274.66 [+12.69] TEST: Connection with correct parameters [ OK ] # 275.03 [+0.37] TEST: Connection with incorrect parameters [ OK ] # 276.23 [+1.20] TEST: Connection with correct parameters - mangling [ OK ] # 277.43 [+1.20] TEST: Connection with correct parameters - no mangling [ OK ] # 277.56 [+0.13] TEST: Connection check - server side [ OK ] # 280.86 [+3.30] # 280.86 [+0.00] IPv4 broadcast neighbour tests # 285.22 [+4.36] TEST: Resolved neighbour for broadcast address [ OK ] # 285.38 [+0.17] TEST: Resolved neighbour for network broadcast address [ OK ] # 285.55 [+0.17] TEST: Unresolved neighbour for broadcast address [ OK ] # 285.73 [+0.18] TEST: Unresolved neighbour for network broadcast address [ OK ] # 289.55 [+3.82] # 289.55 [+0.00] Fib6 garbage collection test # 304.07 [+14.53] TEST: ipv6 route garbage collection [ OK ] # 319.06 [+14.99] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 333.92 [+14.86] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 349.00 [+15.08] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 364.36 [+15.36] TEST: ipv6 route garbage collection (RA message) [ OK ] # 365.75 [+1.39] # 365.75 [+0.00] IPv4 multipath list receive tests # 391.10 [+25.35] TEST: Multipath route hit ratio (1.00) [ OK ] # 394.31 [+3.21] # 394.31 [+0.00] IPv6 multipath list receive tests # 417.61 [+23.30] TEST: Multipath route hit ratio (1.00) [ OK ] # 420.73 [+3.12] # 420.73 [+0.00] Tests passed: 229 # 420.73 [+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__->