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.08 [+1.08] # 1.08 [+0.00] Single path route test # 3.09 [+2.02] Start point # 3.26 [+0.17] TEST: IPv4 fibmatch [ OK ] # 3.41 [+0.16] TEST: IPv6 fibmatch [ OK ] # 3.62 [+0.20] Nexthop device deleted # 3.77 [+0.15] TEST: IPv4 fibmatch - no route [ OK ] # 3.94 [+0.17] TEST: IPv6 fibmatch - no route [ OK ] # 4.93 [+0.99] # 4.93 [+0.00] Multipath route test # 8.28 [+3.35] Start point # 8.44 [+0.17] TEST: IPv4 fibmatch [ OK ] # 8.61 [+0.17] TEST: IPv6 fibmatch [ OK ] # 8.82 [+0.21] One nexthop device deleted # 8.99 [+0.17] TEST: IPv4 - multipath route removed on delete [ OK ] # 9.15 [+0.16] TEST: IPv6 - multipath down to single path [ OK ] # 9.37 [+0.22] Second nexthop device deleted # 9.53 [+0.16] TEST: IPv6 - no route [ OK ] # 10.57 [+1.04] # 10.57 [+0.00] Single path, admin down # 13.00 [+2.43] Start point # 13.16 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.32 [+0.16] TEST: IPv6 fibmatch [ OK ] # 13.49 [+0.18] Route deleted on down # 13.66 [+0.16] TEST: IPv4 fibmatch [ OK ] # 13.82 [+0.16] TEST: IPv6 fibmatch [ OK ] # 14.67 [+0.85] # 14.67 [+0.00] Admin down multipath # 17.90 [+3.23] Verify start point # 18.06 [+0.15] TEST: IPv4 fibmatch [ OK ] # 18.21 [+0.16] TEST: IPv6 fibmatch [ OK ] # 18.37 [+0.16] One device down, one up # 18.54 [+0.17] TEST: IPv4 fibmatch on down device [ OK ] # 18.70 [+0.16] TEST: IPv6 fibmatch on down device [ OK ] # 18.87 [+0.17] TEST: IPv4 fibmatch on up device [ OK ] # 19.04 [+0.17] TEST: IPv6 fibmatch on up device [ OK ] # 19.16 [+0.12] TEST: IPv4 flags on down device [ OK ] # 19.30 [+0.13] TEST: IPv6 flags on down device [ OK ] # 19.44 [+0.15] TEST: IPv4 flags on up device [ OK ] # 19.58 [+0.14] TEST: IPv6 flags on up device [ OK ] # 19.92 [+0.34] Other device down and up # 20.07 [+0.15] TEST: IPv4 fibmatch on down device [ OK ] # 20.22 [+0.15] TEST: IPv6 fibmatch on down device [ OK ] # 20.40 [+0.18] TEST: IPv4 fibmatch on up device [ OK ] # 20.55 [+0.16] TEST: IPv6 fibmatch on up device [ OK ] # 20.69 [+0.13] TEST: IPv4 flags on down device [ OK ] # 20.81 [+0.13] TEST: IPv6 flags on down device [ OK ] # 20.95 [+0.14] TEST: IPv4 flags on up device [ OK ] # 21.10 [+0.14] TEST: IPv6 flags on up device [ OK ] # 21.25 [+0.16] Both devices down # 21.40 [+0.15] TEST: IPv4 fibmatch [ OK ] # 21.58 [+0.17] TEST: IPv6 fibmatch [ OK ] # 22.53 [+0.96] # 22.53 [+0.00] Local carrier tests - single path # 25.14 [+2.60] Start point # 25.30 [+0.16] TEST: IPv4 fibmatch [ OK ] # 25.47 [+0.18] TEST: IPv6 fibmatch [ OK ] # 25.59 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 25.75 [+0.16] TEST: IPv6 - no linkdown flag [ OK ] # 27.03 [+1.28] Carrier off on nexthop # 27.25 [+0.21] TEST: IPv4 fibmatch [ OK ] # 27.42 [+0.18] TEST: IPv6 fibmatch [ OK ] # 27.60 [+0.18] TEST: IPv4 - linkdown flag set [ OK ] # 27.77 [+0.17] TEST: IPv6 - linkdown flag set [ OK ] # 28.08 [+0.31] Route to local address with carrier down # 28.25 [+0.17] TEST: IPv4 fibmatch [ OK ] # 28.43 [+0.18] TEST: IPv6 fibmatch [ OK ] # 28.56 [+0.12] TEST: IPv4 linkdown flag set [ OK ] # 28.70 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 29.52 [+0.81] # 29.52 [+0.00] Single path route carrier test # 32.04 [+2.52] Start point # 32.20 [+0.16] TEST: IPv4 fibmatch [ OK ] # 32.39 [+0.19] TEST: IPv6 fibmatch [ OK ] # 32.53 [+0.14] TEST: IPv4 no linkdown flag [ OK ] # 32.67 [+0.14] TEST: IPv6 no linkdown flag [ OK ] # 33.96 [+1.29] Carrier down # 34.15 [+0.19] TEST: IPv4 fibmatch [ OK ] # 34.35 [+0.20] TEST: IPv6 fibmatch [ OK ] # 34.49 [+0.14] TEST: IPv4 linkdown flag set [ OK ] # 34.65 [+0.16] TEST: IPv6 linkdown flag set [ OK ] # 35.03 [+0.37] Second address added with carrier down # 35.24 [+0.21] TEST: IPv4 fibmatch [ OK ] # 35.44 [+0.19] TEST: IPv6 fibmatch [ OK ] # 35.59 [+0.16] TEST: IPv4 linkdown flag set [ OK ] # 35.74 [+0.14] TEST: IPv6 linkdown flag set [ OK ] # 43.34 [+7.61] # 43.34 [+0.00] IPv4 nexthop tests # 43.34 [+0.00] <<< write me >>> # 43.67 [+0.33] # 43.67 [+0.00] IPv6 nexthop tests # 43.83 [+0.16] TEST: Directly connected nexthop, unicast address [ OK ] # 44.02 [+0.19] TEST: Directly connected nexthop, unicast address with device [ OK ] # 44.22 [+0.20] TEST: Gateway is linklocal address [ OK ] # 44.39 [+0.17] TEST: Gateway is linklocal address, no device [ OK ] # 44.57 [+0.17] TEST: Gateway can not be local unicast address [ OK ] # 44.74 [+0.18] TEST: Gateway can not be local unicast address, with device [ OK ] # 44.93 [+0.19] TEST: Gateway can not be a local linklocal address [ OK ] # 45.09 [+0.16] TEST: Gateway can be local address in a VRF [ OK ] # 45.27 [+0.18] TEST: Gateway can be local address in a VRF, with device [ OK ] # 45.45 [+0.18] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 45.65 [+0.20] TEST: Redirect to VRF lookup [ OK ] # 45.82 [+0.17] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 45.98 [+0.16] TEST: VRF route, gateway can not be a local address [ OK ] # 46.15 [+0.17] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 47.76 [+1.61] # 47.76 [+0.00] FIB rule with suppress_prefixlength # 51.22 [+3.46] TEST: FIB rule suppress test [ OK ] # 54.39 [+3.17] # 54.39 [+0.00] Fib6 info length calculation in route notify test # 60.26 [+5.87] TEST: ipv6 route add notify [ OK ] # 63.43 [+3.18] # 63.43 [+0.00] Fib4 info length calculation in route notify test # 69.33 [+5.89] TEST: ipv4 route add notify [ OK ] # 77.82 [+8.49] # 77.82 [+0.00] IPv6 route add / append tests # 78.45 [+0.64] TEST: Attempt to add duplicate route - gw [ OK ] # 79.12 [+0.67] TEST: Attempt to add duplicate route - dev only [ OK ] # 79.79 [+0.68] TEST: Attempt to add duplicate route - reject route [ OK ] # 80.62 [+0.82] TEST: Append nexthop to existing route - gw [ OK ] # 81.27 [+0.65] TEST: Add multipath route [ OK ] # 81.91 [+0.65] TEST: Attempt to add duplicate multipath route [ OK ] # 82.76 [+0.84] TEST: Route add with different metrics [ OK ] # 83.09 [+0.33] TEST: Route delete with metric [ OK ] # 83.09 [+0.00] # 83.09 [+0.00] IPv6 route replace tests # 83.89 [+0.80] TEST: Single path with single path [ OK ] # 84.70 [+0.81] TEST: Single path with multipath [ OK ] # 85.51 [+0.81] TEST: Single path with single path via multipath attribute [ OK ] # 86.31 [+0.80] TEST: Invalid nexthop [ OK ] # 86.97 [+0.66] TEST: Single path - replace of non-existent route [ OK ] # 87.77 [+0.81] TEST: Multipath with multipath [ OK ] # 88.60 [+0.82] TEST: Multipath with single path [ OK ] # 89.40 [+0.80] TEST: Multipath with single path via multipath attribute [ OK ] # 90.22 [+0.82] TEST: Multipath with dev-only [ OK ] # 91.02 [+0.80] TEST: Multipath - invalid first nexthop [ OK ] # 91.84 [+0.81] TEST: Multipath - invalid second nexthop [ OK ] # 92.49 [+0.66] TEST: Multipath - replace of non-existent route [ OK ] # 92.49 [+0.00] # 92.49 [+0.00] IPv6 route with dsfield tests # 92.83 [+0.33] TEST: Reject route with dsfield [ OK ] # 104.47 [+11.65] # 104.47 [+0.00] IPv4 route add / append tests # 105.28 [+0.81] TEST: Attempt to add duplicate route - gw [ OK ] # 106.01 [+0.73] TEST: Attempt to add duplicate route - dev only [ OK ] # 106.68 [+0.67] TEST: Attempt to add duplicate route - reject route [ OK ] # 107.51 [+0.83] TEST: Add new nexthop for existing prefix [ OK ] # 108.36 [+0.85] TEST: Append nexthop to existing route - gw [ OK ] # 109.19 [+0.83] TEST: Append nexthop to existing route - dev only [ OK ] # 110.07 [+0.88] TEST: Append nexthop to existing route - reject route [ OK ] # 110.77 [+0.70] TEST: Append nexthop to existing reject route - gw [ OK ] # 111.45 [+0.68] TEST: Append nexthop to existing reject route - dev only [ OK ] # 112.18 [+0.73] TEST: add multipath route [ OK ] # 112.90 [+0.72] TEST: Attempt to add duplicate multipath route [ OK ] # 113.71 [+0.82] TEST: Route add with different metrics [ OK ] # 114.04 [+0.33] TEST: Route delete with metric [ OK ] # 114.05 [+0.00] # 114.05 [+0.00] IPv4 route replace tests # 114.89 [+0.85] TEST: Single path with single path [ OK ] # 115.79 [+0.90] TEST: Single path with multipath [ OK ] # 116.73 [+0.93] TEST: Single path with reject route [ OK ] # 117.58 [+0.85] TEST: Single path with single path via multipath attribute [ OK ] # 118.41 [+0.84] TEST: Invalid nexthop [ OK ] # 119.09 [+0.68] TEST: Single path - replace of non-existent route [ OK ] # 119.94 [+0.84] TEST: Multipath with multipath [ OK ] # 120.85 [+0.91] TEST: Multipath with single path [ OK ] # 121.72 [+0.86] TEST: Multipath with single path via multipath attribute [ OK ] # 122.55 [+0.84] TEST: Multipath with reject route [ OK ] # 123.38 [+0.83] TEST: Multipath - invalid first nexthop [ OK ] # 124.21 [+0.83] TEST: Multipath - invalid second nexthop [ OK ] # 124.88 [+0.67] TEST: Multipath - replace of non-existent route [ OK ] # 127.39 [+2.51] TEST: Cached route removed from VRF port device [ OK ] # 127.39 [+0.00] # 127.40 [+0.00] IPv4 route with dsfield tests # 127.78 [+0.39] TEST: Reject route with dsfield 0x01 [ OK ] # 127.98 [+0.19] TEST: Reject route with dsfield 0x02 [ OK ] # 128.17 [+0.19] TEST: Reject route with dsfield 0x03 [ OK ] # 128.68 [+0.51] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 128.81 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 128.97 [+0.16] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 129.14 [+0.17] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 129.30 [+0.16] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 129.47 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 129.64 [+0.17] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 129.77 [+0.13] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 129.91 [+0.14] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 130.06 [+0.15] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 130.19 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 130.32 [+0.13] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 133.40 [+3.08] # 133.40 [+0.00] IPv6 prefix route tests # 137.14 [+3.74] TEST: Default metric [ OK ] # 137.66 [+0.52] TEST: User specified metric on first device [ OK ] # 138.18 [+0.52] TEST: User specified metric on second device [ OK ] # 138.53 [+0.35] TEST: Delete of address on first device [ OK ] # 138.86 [+0.34] TEST: Modify metric of address [ OK ] # 139.53 [+0.67] TEST: Prefix route removed on link down [ OK ] # 139.89 [+0.36] TEST: Prefix route with metric on link up [ OK ] # 140.40 [+0.51] TEST: Set metric with peer route on local side [ OK ] # 140.58 [+0.18] TEST: Set metric with peer route on peer side [ OK ] # 140.93 [+0.35] TEST: Modify metric and peer address on local side [ OK ] # 141.08 [+0.14] TEST: Modify metric and peer address on peer side [ OK ] # 142.93 [+1.86] # 142.93 [+0.00] IPv4 prefix route tests # 146.68 [+3.75] TEST: Default metric [ OK ] # 147.26 [+0.58] TEST: User specified metric on first device [ OK ] # 147.81 [+0.55] TEST: User specified metric on second device [ OK ] # 148.19 [+0.38] TEST: Delete of address on first device [ OK ] # 148.56 [+0.36] TEST: Modify metric of address [ OK ] # 148.93 [+0.37] TEST: Prefix route removed on link down [ OK ] # 149.26 [+0.33] TEST: Prefix route with metric on link up [ OK ] # 149.96 [+0.70] TEST: Modify metric of .0/24 address [ OK ] # 150.49 [+0.53] TEST: Set metric of address with peer route [ OK ] # 150.86 [+0.37] TEST: Modify metric and peer address for peer route [ OK ] # 152.72 [+1.85] # 152.72 [+0.00] IPv6 routes with metrics # 161.53 [+8.82] TEST: Single path route with mtu metric [ OK ] # 162.08 [+0.54] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 162.58 [+0.50] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 162.90 [+0.32] TEST: MTU of second leg [ OK ] # 163.26 [+0.36] TEST: Multipath route with mtu metric [ OK ] # 163.72 [+0.46] TEST: Using route with mtu metric [ OK ] # 164.00 [+0.28] TEST: Invalid metric (fails metric_convert) [ OK ] # 166.93 [+2.93] # 166.93 [+0.00] IPv4 route add / append tests # 176.12 [+9.19] TEST: Single path route with mtu metric [ OK ] # 176.45 [+0.33] TEST: Multipath route with mtu metric [ OK ] # 176.87 [+0.42] TEST: Using route with mtu metric [ OK ] # 177.17 [+0.30] TEST: Invalid metric (fails metric_convert) [ OK ] # 179.95 [+2.78] # 179.95 [+0.00] IPv4 route with IPv6 gateway tests # 190.86 [+10.91] TEST: Single path route with IPv6 gateway [ OK ] # 191.36 [+0.50] TEST: Single path route with IPv6 gateway - ping [ OK ] # 191.52 [+0.16] TEST: Single path route delete [ OK ] # 191.85 [+0.32] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 192.19 [+0.35] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 192.36 [+0.17] TEST: Multipath route delete exact match [ OK ] # 192.53 [+0.16] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 192.86 [+0.33] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 193.04 [+0.18] TEST: Multipath route delete exact match [ OK ] # 195.98 [+2.94] # 195.98 [+0.00] IPv4 rp_filter tests # 207.81 [+11.83] TEST: rp_filter passes local packets [ OK ] # 208.14 [+0.33] TEST: rp_filter passes loopback packets [ OK ] # 209.51 [+1.37] # 209.51 [+0.00] IPv4 delete address route tests # 215.12 [+5.61] Regular FIB info # 215.45 [+0.33] TEST: Route removed from VRF when source address deleted [ OK ] # 215.59 [+0.14] TEST: Route in default VRF not removed [ OK ] # 216.24 [+0.65] TEST: Route removed in default VRF when source address deleted [ OK ] # 216.37 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 216.37 [+0.00] Identical FIB info with different table ID # 216.66 [+0.29] TEST: Route removed from VRF when source address deleted [ OK ] # 216.79 [+0.13] TEST: Route in default VRF not removed [ OK ] # 217.39 [+0.60] TEST: Route removed in default VRF when source address deleted [ OK ] # 217.53 [+0.13] TEST: Route in VRF is not removed by address delete [ OK ] # 217.53 [+0.00] Table ID 0 # 217.82 [+0.29] TEST: Route removed in default VRF when source address deleted [ OK ] # 219.50 [+1.68] # 219.50 [+0.00] IPv6 delete address route tests # 229.04 [+9.54] Single device using src address # 229.35 [+0.31] TEST: Prefsrc removed when src address removed on other device [ OK ] # 229.35 [+0.00] Two devices with the same source address # 229.66 [+0.31] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 229.96 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 229.96 [+0.00] VRF with single device using src address # 230.25 [+0.28] TEST: Prefsrc removed when src address removed on other device [ OK ] # 230.25 [+0.00] VRF with two devices using src address # 230.53 [+0.28] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 230.83 [+0.30] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 230.84 [+0.00] src address and nexthop dev in same VRF # 231.16 [+0.32] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 231.32 [+0.16] TEST: Prefsrc in default VRF not removed [ OK ] # 232.00 [+0.68] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 232.16 [+0.16] TEST: Prefsrc in default VRF removed [ OK ] # 232.16 [+0.00] src address and nexthop device in different VRF # 232.46 [+0.30] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 232.61 [+0.15] TEST: Prefsrc not removed in default VRF [ OK ] # 233.10 [+0.49] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 233.27 [+0.17] TEST: Prefsrc removed in default VRF [ OK ] # 233.28 [+0.00] Table ID 0 # 233.59 [+0.31] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 233.59 [+0.00] Link local source route # 233.88 [+0.29] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 234.18 [+0.30] TEST: Prefsrc removed when delete ll addr [ OK ] # 234.31 [+0.13] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 234.75 [+0.44] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 237.45 [+2.70] # 237.45 [+0.00] IPv4 mangling tests # 250.12 [+12.67] TEST: Connection with correct parameters [ OK ] # 250.45 [+0.33] TEST: Connection with incorrect parameters [ OK ] # 251.75 [+1.30] TEST: Connection with correct parameters - mangling [ OK ] # 252.92 [+1.17] TEST: Connection with correct parameters - no mangling [ OK ] # 253.05 [+0.13] TEST: Connection check - server side [ OK ] # 256.58 [+3.53] # 256.58 [+0.00] IPv6 mangling tests # 269.34 [+12.76] TEST: Connection with correct parameters [ OK ] # 269.74 [+0.40] TEST: Connection with incorrect parameters [ OK ] # 271.06 [+1.32] TEST: Connection with correct parameters - mangling [ OK ] # 272.47 [+1.41] TEST: Connection with correct parameters - no mangling [ OK ] # 272.61 [+0.15] TEST: Connection check - server side [ OK ] # 276.42 [+3.81] # 276.42 [+0.00] IPv4 broadcast neighbour tests # 280.64 [+4.22] TEST: Resolved neighbour for broadcast address [ OK ] # 280.82 [+0.18] TEST: Resolved neighbour for network broadcast address [ OK ] # 280.98 [+0.16] TEST: Unresolved neighbour for broadcast address [ OK ] # 281.15 [+0.17] TEST: Unresolved neighbour for network broadcast address [ OK ] # 284.83 [+3.68] # 284.83 [+0.00] Fib6 garbage collection test # 299.25 [+14.43] TEST: ipv6 route garbage collection [ OK ] # 314.06 [+14.81] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 328.97 [+14.91] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 343.85 [+14.88] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 359.40 [+15.54] TEST: ipv6 route garbage collection (RA message) [ OK ] # 360.75 [+1.35] # 360.75 [+0.00] IPv4 multipath list receive tests # 384.74 [+23.99] TEST: Multipath route hit ratio (1.00) [ OK ] # 387.66 [+2.92] # 387.66 [+0.00] IPv6 multipath list receive tests # 410.46 [+22.79] TEST: Multipath route hit ratio (1.00) [ OK ] # 413.46 [+3.00] # 413.46 [+0.00] Tests passed: 229 # 413.46 [+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__->