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.52 [+0.52] # 0.52 [+0.00] Single path route test # 1.59 [+1.07] Start point # 1.71 [+0.12] TEST: IPv4 fibmatch [ OK ] # 1.81 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.95 [+0.14] Nexthop device deleted # 2.09 [+0.13] TEST: IPv4 fibmatch - no route [ OK ] # 2.19 [+0.11] TEST: IPv6 fibmatch - no route [ OK ] # 2.83 [+0.64] # 2.83 [+0.00] Multipath route test # 4.96 [+2.13] Start point # 5.06 [+0.10] TEST: IPv4 fibmatch [ OK ] # 5.15 [+0.10] TEST: IPv6 fibmatch [ OK ] # 5.30 [+0.15] One nexthop device deleted # 5.41 [+0.10] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.50 [+0.10] TEST: IPv6 - multipath down to single path [ OK ] # 5.66 [+0.16] Second nexthop device deleted # 5.79 [+0.13] TEST: IPv6 - no route [ OK ] # 6.41 [+0.61] # 6.41 [+0.00] Single path, admin down # 7.92 [+1.51] Start point # 8.04 [+0.12] TEST: IPv4 fibmatch [ OK ] # 8.16 [+0.12] TEST: IPv6 fibmatch [ OK ] # 8.29 [+0.13] Route deleted on down # 8.39 [+0.10] TEST: IPv4 fibmatch [ OK ] # 8.49 [+0.10] TEST: IPv6 fibmatch [ OK ] # 9.04 [+0.55] # 9.04 [+0.00] Admin down multipath # 11.22 [+2.18] Verify start point # 11.32 [+0.10] TEST: IPv4 fibmatch [ OK ] # 11.44 [+0.13] TEST: IPv6 fibmatch [ OK ] # 11.57 [+0.12] One device down, one up # 11.67 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 11.76 [+0.09] TEST: IPv6 fibmatch on down device [ OK ] # 11.85 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 11.96 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.08 [+0.12] TEST: IPv4 flags on down device [ OK ] # 12.18 [+0.10] TEST: IPv6 flags on down device [ OK ] # 12.30 [+0.12] TEST: IPv4 flags on up device [ OK ] # 12.39 [+0.09] TEST: IPv6 flags on up device [ OK ] # 12.59 [+0.19] Other device down and up # 12.69 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 12.80 [+0.12] TEST: IPv6 fibmatch on down device [ OK ] # 12.89 [+0.09] TEST: IPv4 fibmatch on up device [ OK ] # 13.02 [+0.12] TEST: IPv6 fibmatch on up device [ OK ] # 13.13 [+0.11] TEST: IPv4 flags on down device [ OK ] # 13.23 [+0.10] TEST: IPv6 flags on down device [ OK ] # 13.34 [+0.12] TEST: IPv4 flags on up device [ OK ] # 13.44 [+0.10] TEST: IPv6 flags on up device [ OK ] # 13.55 [+0.11] Both devices down # 13.64 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.74 [+0.10] TEST: IPv6 fibmatch [ OK ] # 14.38 [+0.64] # 14.38 [+0.00] Local carrier tests - single path # 15.83 [+1.45] Start point # 15.93 [+0.10] TEST: IPv4 fibmatch [ OK ] # 16.02 [+0.09] TEST: IPv6 fibmatch [ OK ] # 16.14 [+0.12] TEST: IPv4 - no linkdown flag [ OK ] # 16.26 [+0.12] TEST: IPv6 - no linkdown flag [ OK ] # 17.42 [+1.16] Carrier off on nexthop # 17.54 [+0.12] TEST: IPv4 fibmatch [ OK ] # 17.67 [+0.13] TEST: IPv6 fibmatch [ OK ] # 17.79 [+0.12] TEST: IPv4 - linkdown flag set [ OK ] # 17.88 [+0.09] TEST: IPv6 - linkdown flag set [ OK ] # 18.06 [+0.18] Route to local address with carrier down # 18.17 [+0.11] TEST: IPv4 fibmatch [ OK ] # 18.31 [+0.14] TEST: IPv6 fibmatch [ OK ] # 18.39 [+0.08] TEST: IPv4 linkdown flag set [ OK ] # 18.51 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 19.03 [+0.52] # 19.03 [+0.00] Single path route carrier test # 20.60 [+1.57] Start point # 20.73 [+0.13] TEST: IPv4 fibmatch [ OK ] # 20.84 [+0.11] TEST: IPv6 fibmatch [ OK ] # 20.95 [+0.11] TEST: IPv4 no linkdown flag [ OK ] # 21.05 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 22.22 [+1.17] Carrier down # 22.36 [+0.15] TEST: IPv4 fibmatch [ OK ] # 22.46 [+0.10] TEST: IPv6 fibmatch [ OK ] # 22.56 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 22.67 [+0.12] TEST: IPv6 linkdown flag set [ OK ] # 22.88 [+0.21] Second address added with carrier down # 22.98 [+0.10] TEST: IPv4 fibmatch [ OK ] # 23.08 [+0.10] TEST: IPv6 fibmatch [ OK ] # 23.18 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 23.29 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 28.33 [+5.04] # 28.33 [+0.00] IPv4 nexthop tests # 28.33 [+0.00] <<< write me >>> # 28.64 [+0.31] # 28.64 [+0.00] IPv6 nexthop tests # 28.74 [+0.10] TEST: Directly connected nexthop, unicast address [ OK ] # 28.84 [+0.10] TEST: Directly connected nexthop, unicast address with device [ OK ] # 28.94 [+0.10] TEST: Gateway is linklocal address [ OK ] # 29.06 [+0.12] TEST: Gateway is linklocal address, no device [ OK ] # 29.17 [+0.11] TEST: Gateway can not be local unicast address [ OK ] # 29.28 [+0.12] TEST: Gateway can not be local unicast address, with device [ OK ] # 29.40 [+0.12] TEST: Gateway can not be a local linklocal address [ OK ] # 29.54 [+0.14] TEST: Gateway can be local address in a VRF [ OK ] # 29.65 [+0.11] TEST: Gateway can be local address in a VRF, with device [ OK ] # 29.77 [+0.12] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 29.89 [+0.12] TEST: Redirect to VRF lookup [ OK ] # 30.01 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 30.14 [+0.13] TEST: VRF route, gateway can not be a local address [ OK ] # 30.25 [+0.11] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 31.40 [+1.15] # 31.40 [+0.00] FIB rule with suppress_prefixlength # 33.54 [+2.13] TEST: FIB rule suppress test [ OK ] # 35.47 [+1.93] # 35.47 [+0.00] Fib6 info length calculation in route notify test # 39.88 [+4.41] TEST: ipv6 route add notify [ OK ] # 42.02 [+2.14] # 42.02 [+0.00] Fib4 info length calculation in route notify test # 46.49 [+4.47] TEST: ipv4 route add notify [ OK ] # 52.06 [+5.58] # 52.06 [+0.00] IPv6 route add / append tests # 52.49 [+0.43] TEST: Attempt to add duplicate route - gw [ OK ] # 52.97 [+0.48] TEST: Attempt to add duplicate route - dev only [ OK ] # 53.44 [+0.47] TEST: Attempt to add duplicate route - reject route [ OK ] # 54.06 [+0.62] TEST: Append nexthop to existing route - gw [ OK ] # 54.57 [+0.52] TEST: Add multipath route [ OK ] # 55.07 [+0.50] TEST: Attempt to add duplicate multipath route [ OK ] # 55.61 [+0.54] TEST: Route add with different metrics [ OK ] # 55.85 [+0.24] TEST: Route delete with metric [ OK ] # 55.85 [+0.00] # 55.85 [+0.00] IPv6 route replace tests # 56.41 [+0.56] TEST: Single path with single path [ OK ] # 57.07 [+0.66] TEST: Single path with multipath [ OK ] # 57.69 [+0.62] TEST: Single path with single path via multipath attribute [ OK ] # 58.27 [+0.58] TEST: Invalid nexthop [ OK ] # 58.82 [+0.55] TEST: Single path - replace of non-existent route [ OK ] # 59.46 [+0.64] TEST: Multipath with multipath [ OK ] # 60.06 [+0.60] TEST: Multipath with single path [ OK ] # 60.63 [+0.57] TEST: Multipath with single path via multipath attribute [ OK ] # 61.22 [+0.58] TEST: Multipath with dev-only [ OK ] # 61.84 [+0.63] TEST: Multipath - invalid first nexthop [ OK ] # 62.41 [+0.57] TEST: Multipath - invalid second nexthop [ OK ] # 62.80 [+0.39] TEST: Multipath - replace of non-existent route [ OK ] # 62.80 [+0.00] # 62.80 [+0.00] IPv6 route with dsfield tests # 63.03 [+0.23] TEST: Reject route with dsfield [ OK ] # 70.60 [+7.57] # 70.61 [+0.00] IPv4 route add / append tests # 71.15 [+0.54] TEST: Attempt to add duplicate route - gw [ OK ] # 71.61 [+0.47] TEST: Attempt to add duplicate route - dev only [ OK ] # 72.06 [+0.44] TEST: Attempt to add duplicate route - reject route [ OK ] # 72.63 [+0.57] TEST: Add new nexthop for existing prefix [ OK ] # 73.18 [+0.55] TEST: Append nexthop to existing route - gw [ OK ] # 73.71 [+0.53] TEST: Append nexthop to existing route - dev only [ OK ] # 74.29 [+0.58] TEST: Append nexthop to existing route - reject route [ OK ] # 74.76 [+0.47] TEST: Append nexthop to existing reject route - gw [ OK ] # 75.19 [+0.43] TEST: Append nexthop to existing reject route - dev only [ OK ] # 75.60 [+0.41] TEST: add multipath route [ OK ] # 76.08 [+0.48] TEST: Attempt to add duplicate multipath route [ OK ] # 76.60 [+0.51] TEST: Route add with different metrics [ OK ] # 76.90 [+0.31] TEST: Route delete with metric [ OK ] # 76.91 [+0.00] # 76.91 [+0.00] IPv4 route replace tests # 77.57 [+0.67] TEST: Single path with single path [ OK ] # 78.16 [+0.58] TEST: Single path with multipath [ OK ] # 78.74 [+0.58] TEST: Single path with reject route [ OK ] # 79.32 [+0.57] TEST: Single path with single path via multipath attribute [ OK ] # 79.88 [+0.56] TEST: Invalid nexthop [ OK ] # 80.33 [+0.45] TEST: Single path - replace of non-existent route [ OK ] # 80.95 [+0.63] TEST: Multipath with multipath [ OK ] # 81.54 [+0.58] TEST: Multipath with single path [ OK ] # 82.12 [+0.59] TEST: Multipath with single path via multipath attribute [ OK ] # 82.67 [+0.55] TEST: Multipath with reject route [ OK ] # 83.24 [+0.56] TEST: Multipath - invalid first nexthop [ OK ] # 83.85 [+0.62] TEST: Multipath - invalid second nexthop [ OK ] # 84.27 [+0.42] TEST: Multipath - replace of non-existent route [ OK ] # 86.12 [+1.85] TEST: Cached route removed from VRF port device [ OK ] # 86.12 [+0.00] # 86.12 [+0.00] IPv4 route with dsfield tests # 86.35 [+0.23] TEST: Reject route with dsfield 0x01 [ OK ] # 86.47 [+0.12] TEST: Reject route with dsfield 0x02 [ OK ] # 86.58 [+0.11] TEST: Reject route with dsfield 0x03 [ OK ] # 86.91 [+0.33] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 87.04 [+0.13] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 87.15 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 87.24 [+0.10] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 87.37 [+0.12] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 87.48 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 87.58 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 87.67 [+0.09] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 87.79 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 87.89 [+0.10] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 88.01 [+0.12] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 88.12 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 90.30 [+2.18] # 90.30 [+0.00] IPv6 prefix route tests # 92.60 [+2.30] TEST: Default metric [ OK ] # 92.97 [+0.37] TEST: User specified metric on first device [ OK ] # 93.30 [+0.33] TEST: User specified metric on second device [ OK ] # 93.56 [+0.26] TEST: Delete of address on first device [ OK ] # 93.80 [+0.24] TEST: Modify metric of address [ OK ] # 94.24 [+0.45] TEST: Prefix route removed on link down [ OK ] # 94.47 [+0.22] TEST: Prefix route with metric on link up [ OK ] # 94.86 [+0.40] TEST: Set metric with peer route on local side [ OK ] # 94.99 [+0.12] TEST: Set metric with peer route on peer side [ OK ] # 95.21 [+0.22] TEST: Modify metric and peer address on local side [ OK ] # 95.35 [+0.15] TEST: Modify metric and peer address on peer side [ OK ] # 96.49 [+1.14] # 96.49 [+0.00] IPv4 prefix route tests # 98.76 [+2.27] TEST: Default metric [ OK ] # 99.10 [+0.33] TEST: User specified metric on first device [ OK ] # 99.44 [+0.34] TEST: User specified metric on second device [ OK ] # 99.67 [+0.23] TEST: Delete of address on first device [ OK ] # 99.88 [+0.21] TEST: Modify metric of address [ OK ] # 100.10 [+0.22] TEST: Prefix route removed on link down [ OK ] # 100.31 [+0.21] TEST: Prefix route with metric on link up [ OK ] # 100.83 [+0.52] TEST: Modify metric of .0/24 address [ OK ] # 101.16 [+0.33] TEST: Set metric of address with peer route [ OK ] # 101.37 [+0.21] TEST: Modify metric and peer address for peer route [ OK ] # 102.52 [+1.15] # 102.52 [+0.00] IPv6 routes with metrics # 108.28 [+5.75] TEST: Single path route with mtu metric [ OK ] # 108.63 [+0.35] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 109.03 [+0.40] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 109.29 [+0.27] TEST: MTU of second leg [ OK ] # 109.54 [+0.24] TEST: Multipath route with mtu metric [ OK ] # 109.82 [+0.28] TEST: Using route with mtu metric [ OK ] # 110.02 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 112.00 [+1.98] # 112.00 [+0.00] IPv4 route add / append tests # 117.72 [+5.71] TEST: Single path route with mtu metric [ OK ] # 117.97 [+0.26] TEST: Multipath route with mtu metric [ OK ] # 118.25 [+0.28] TEST: Using route with mtu metric [ OK ] # 118.44 [+0.19] TEST: Invalid metric (fails metric_convert) [ OK ] # 120.51 [+2.07] # 120.51 [+0.00] IPv4 route with IPv6 gateway tests # 128.00 [+7.49] TEST: Single path route with IPv6 gateway [ OK ] # 128.27 [+0.27] TEST: Single path route with IPv6 gateway - ping [ OK ] # 128.37 [+0.10] TEST: Single path route delete [ OK ] # 128.56 [+0.19] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 128.77 [+0.22] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 128.89 [+0.11] TEST: Multipath route delete exact match [ OK ] # 128.99 [+0.11] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 129.20 [+0.21] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 129.30 [+0.10] TEST: Multipath route delete exact match [ OK ] # 131.32 [+2.02] # 131.32 [+0.00] IPv4 rp_filter tests # 138.49 [+7.17] TEST: rp_filter passes local packets [ OK ] # 138.66 [+0.16] TEST: rp_filter passes loopback packets [ OK ] # 139.58 [+0.92] # 139.58 [+0.00] IPv4 delete address route tests # 143.01 [+3.43] Regular FIB info # 143.23 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 143.36 [+0.13] TEST: Route in default VRF not removed [ OK ] # 143.75 [+0.39] TEST: Route removed in default VRF when source address deleted [ OK ] # 143.85 [+0.11] TEST: Route in VRF is not removed by address delete [ OK ] # 143.86 [+0.00] Identical FIB info with different table ID # 144.07 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 144.17 [+0.10] TEST: Route in default VRF not removed [ OK ] # 144.56 [+0.39] TEST: Route removed in default VRF when source address deleted [ OK ] # 144.64 [+0.09] TEST: Route in VRF is not removed by address delete [ OK ] # 144.65 [+0.00] Table ID 0 # 144.88 [+0.23] TEST: Route removed in default VRF when source address deleted [ OK ] # 146.15 [+1.27] # 146.15 [+0.00] IPv6 delete address route tests # 152.13 [+5.98] Single device using src address # 152.34 [+0.20] TEST: Prefsrc removed when src address removed on other device [ OK ] # 152.34 [+0.00] Two devices with the same source address # 152.54 [+0.20] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 152.76 [+0.22] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 152.76 [+0.00] VRF with single device using src address # 152.94 [+0.18] TEST: Prefsrc removed when src address removed on other device [ OK ] # 152.95 [+0.00] VRF with two devices using src address # 153.15 [+0.20] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 153.34 [+0.20] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 153.35 [+0.01] src address and nexthop dev in same VRF # 153.58 [+0.23] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 153.70 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 154.12 [+0.42] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 154.23 [+0.11] TEST: Prefsrc in default VRF removed [ OK ] # 154.23 [+0.00] src address and nexthop device in different VRF # 154.43 [+0.20] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 154.53 [+0.10] TEST: Prefsrc not removed in default VRF [ OK ] # 154.81 [+0.28] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 154.93 [+0.12] TEST: Prefsrc removed in default VRF [ OK ] # 154.93 [+0.00] Table ID 0 # 155.14 [+0.21] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 155.14 [+0.00] Link local source route # 155.34 [+0.20] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 155.54 [+0.20] TEST: Prefsrc removed when delete ll addr [ OK ] # 155.68 [+0.14] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 155.99 [+0.31] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 157.82 [+1.83] # 157.82 [+0.00] IPv4 mangling tests # 166.72 [+8.90] TEST: Connection with correct parameters [ OK ] # 166.97 [+0.25] TEST: Connection with incorrect parameters [ OK ] # 168.09 [+1.12] TEST: Connection with correct parameters - mangling [ OK ] # 168.97 [+0.88] TEST: Connection with correct parameters - no mangling [ OK ] # 169.05 [+0.08] TEST: Connection check - server side [ OK ] # 171.27 [+2.22] # 171.27 [+0.00] IPv6 mangling tests # 179.88 [+8.61] TEST: Connection with correct parameters [ OK ] # 180.11 [+0.23] TEST: Connection with incorrect parameters [ OK ] # 181.02 [+0.91] TEST: Connection with correct parameters - mangling [ OK ] # 182.04 [+1.02] TEST: Connection with correct parameters - no mangling [ OK ] # 182.12 [+0.08] TEST: Connection check - server side [ OK ] # 184.46 [+2.34] # 184.46 [+0.00] IPv4 broadcast neighbour tests # 187.42 [+2.97] TEST: Resolved neighbour for broadcast address [ OK ] # 187.54 [+0.12] TEST: Resolved neighbour for network broadcast address [ OK ] # 187.64 [+0.10] TEST: Unresolved neighbour for broadcast address [ OK ] # 187.75 [+0.10] TEST: Unresolved neighbour for network broadcast address [ OK ] # 190.11 [+2.37] # 190.11 [+0.00] Fib6 garbage collection test # 203.59 [+13.47] TEST: ipv6 route garbage collection [ OK ] # 217.37 [+13.79] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 231.26 [+13.88] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 245.13 [+13.87] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 259.63 [+14.51] TEST: ipv6 route garbage collection (RA message) [ OK ] # 260.54 [+0.90] # 260.54 [+0.00] IPv4 multipath list receive tests # 279.60 [+19.06] TEST: Multipath route hit ratio (1.00) [ OK ] # 281.62 [+2.02] # 281.62 [+0.00] IPv6 multipath list receive tests # 300.32 [+18.70] TEST: Multipath route hit ratio (1.00) [ OK ] # 302.44 [+2.12] # 302.44 [+0.00] Tests passed: 229 # 302.44 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->