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.41 [+0.41] # 0.41 [+0.00] Single path route test # 1.56 [+1.15] Start point # 1.66 [+0.10] TEST: IPv4 fibmatch [ OK ] # 1.75 [+0.10] TEST: IPv6 fibmatch [ OK ] # 1.91 [+0.16] Nexthop device deleted # 2.02 [+0.11] TEST: IPv4 fibmatch - no route [ OK ] # 2.13 [+0.11] TEST: IPv6 fibmatch - no route [ OK ] # 2.80 [+0.67] # 2.80 [+0.00] Multipath route test # 4.83 [+2.03] Start point # 4.93 [+0.10] TEST: IPv4 fibmatch [ OK ] # 5.05 [+0.12] TEST: IPv6 fibmatch [ OK ] # 5.20 [+0.15] One nexthop device deleted # 5.29 [+0.09] TEST: IPv4 - multipath route removed on delete [ OK ] # 5.40 [+0.11] TEST: IPv6 - multipath down to single path [ OK ] # 5.54 [+0.15] Second nexthop device deleted # 5.65 [+0.11] TEST: IPv6 - no route [ OK ] # 6.32 [+0.67] # 6.32 [+0.00] Single path, admin down # 7.77 [+1.45] Start point # 7.87 [+0.10] TEST: IPv4 fibmatch [ OK ] # 7.98 [+0.11] TEST: IPv6 fibmatch [ OK ] # 8.09 [+0.11] Route deleted on down # 8.18 [+0.09] TEST: IPv4 fibmatch [ OK ] # 8.30 [+0.12] TEST: IPv6 fibmatch [ OK ] # 8.85 [+0.55] # 8.85 [+0.00] Admin down multipath # 10.87 [+2.02] Verify start point # 10.98 [+0.11] TEST: IPv4 fibmatch [ OK ] # 11.08 [+0.10] TEST: IPv6 fibmatch [ OK ] # 11.19 [+0.12] One device down, one up # 11.29 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 11.40 [+0.11] TEST: IPv6 fibmatch on down device [ OK ] # 11.51 [+0.11] TEST: IPv4 fibmatch on up device [ OK ] # 11.62 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 11.72 [+0.10] TEST: IPv4 flags on down device [ OK ] # 11.85 [+0.13] TEST: IPv6 flags on down device [ OK ] # 11.97 [+0.12] TEST: IPv4 flags on up device [ OK ] # 12.09 [+0.12] TEST: IPv6 flags on up device [ OK ] # 12.31 [+0.22] Other device down and up # 12.42 [+0.10] TEST: IPv4 fibmatch on down device [ OK ] # 12.51 [+0.10] TEST: IPv6 fibmatch on down device [ OK ] # 12.61 [+0.10] TEST: IPv4 fibmatch on up device [ OK ] # 12.72 [+0.11] TEST: IPv6 fibmatch on up device [ OK ] # 12.82 [+0.10] TEST: IPv4 flags on down device [ OK ] # 12.94 [+0.12] TEST: IPv6 flags on down device [ OK ] # 13.05 [+0.11] TEST: IPv4 flags on up device [ OK ] # 13.16 [+0.11] TEST: IPv6 flags on up device [ OK ] # 13.28 [+0.13] Both devices down # 13.37 [+0.09] TEST: IPv4 fibmatch [ OK ] # 13.48 [+0.11] TEST: IPv6 fibmatch [ OK ] # 14.12 [+0.64] # 14.12 [+0.00] Local carrier tests - single path # 15.65 [+1.53] Start point # 15.75 [+0.10] TEST: IPv4 fibmatch [ OK ] # 15.86 [+0.11] TEST: IPv6 fibmatch [ OK ] # 15.95 [+0.10] TEST: IPv4 - no linkdown flag [ OK ] # 16.05 [+0.10] TEST: IPv6 - no linkdown flag [ OK ] # 17.21 [+1.16] Carrier off on nexthop # 17.31 [+0.10] TEST: IPv4 fibmatch [ OK ] # 17.41 [+0.11] TEST: IPv6 fibmatch [ OK ] # 17.51 [+0.10] TEST: IPv4 - linkdown flag set [ OK ] # 17.63 [+0.12] TEST: IPv6 - linkdown flag set [ OK ] # 17.83 [+0.21] Route to local address with carrier down # 17.94 [+0.11] TEST: IPv4 fibmatch [ OK ] # 18.03 [+0.09] TEST: IPv6 fibmatch [ OK ] # 18.15 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 18.24 [+0.10] TEST: IPv6 linkdown flag set [ OK ] # 18.81 [+0.56] # 18.81 [+0.00] Single path route carrier test # 20.29 [+1.49] Start point # 20.41 [+0.12] TEST: IPv4 fibmatch [ OK ] # 20.52 [+0.10] TEST: IPv6 fibmatch [ OK ] # 20.61 [+0.10] TEST: IPv4 no linkdown flag [ OK ] # 20.72 [+0.10] TEST: IPv6 no linkdown flag [ OK ] # 21.88 [+1.16] Carrier down # 21.99 [+0.11] TEST: IPv4 fibmatch [ OK ] # 22.10 [+0.11] TEST: IPv6 fibmatch [ OK ] # 22.21 [+0.11] TEST: IPv4 linkdown flag set [ OK ] # 22.32 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 22.52 [+0.20] Second address added with carrier down # 22.62 [+0.09] TEST: IPv4 fibmatch [ OK ] # 22.73 [+0.11] TEST: IPv6 fibmatch [ OK ] # 22.82 [+0.10] TEST: IPv4 linkdown flag set [ OK ] # 22.94 [+0.11] TEST: IPv6 linkdown flag set [ OK ] # 27.93 [+4.99] # 27.93 [+0.00] IPv4 nexthop tests # 27.93 [+0.00] <<< write me >>> # 28.21 [+0.29] # 28.21 [+0.00] IPv6 nexthop tests # 28.34 [+0.12] TEST: Directly connected nexthop, unicast address [ OK ] # 28.46 [+0.12] TEST: Directly connected nexthop, unicast address with device [ OK ] # 28.57 [+0.11] TEST: Gateway is linklocal address [ OK ] # 28.69 [+0.12] TEST: Gateway is linklocal address, no device [ OK ] # 28.79 [+0.11] TEST: Gateway can not be local unicast address [ OK ] # 28.91 [+0.12] TEST: Gateway can not be local unicast address, with device [ OK ] # 29.03 [+0.12] TEST: Gateway can not be a local linklocal address [ OK ] # 29.14 [+0.11] TEST: Gateway can be local address in a VRF [ OK ] # 29.27 [+0.13] TEST: Gateway can be local address in a VRF, with device [ OK ] # 29.38 [+0.11] TEST: Gateway can be local linklocal address in a VRF [ OK ] # 29.49 [+0.11] TEST: Redirect to VRF lookup [ OK ] # 29.61 [+0.12] TEST: VRF route, gateway can be local address in default VRF [ OK ] # 29.71 [+0.11] TEST: VRF route, gateway can not be a local address [ OK ] # 29.83 [+0.12] TEST: VRF route, gateway can not be a local addr with device [ OK ] # 31.00 [+1.18] # 31.00 [+0.00] FIB rule with suppress_prefixlength # 33.21 [+2.21] TEST: FIB rule suppress test [ OK ] # 35.14 [+1.92] # 35.14 [+0.00] Fib6 info length calculation in route notify test # 39.57 [+4.44] TEST: ipv6 route add notify [ OK ] # 41.55 [+1.98] # 41.55 [+0.00] Fib4 info length calculation in route notify test # 45.99 [+4.43] TEST: ipv4 route add notify [ OK ] # 51.57 [+5.59] # 51.57 [+0.00] IPv6 route add / append tests # 52.03 [+0.46] TEST: Attempt to add duplicate route - gw [ OK ] # 52.48 [+0.45] TEST: Attempt to add duplicate route - dev only [ OK ] # 52.94 [+0.46] TEST: Attempt to add duplicate route - reject route [ OK ] # 53.52 [+0.58] TEST: Append nexthop to existing route - gw [ OK ] # 53.99 [+0.47] TEST: Add multipath route [ OK ] # 54.47 [+0.48] TEST: Attempt to add duplicate multipath route [ OK ] # 55.02 [+0.56] TEST: Route add with different metrics [ OK ] # 55.26 [+0.24] TEST: Route delete with metric [ OK ] # 55.27 [+0.00] # 55.27 [+0.00] IPv6 route replace tests # 55.84 [+0.57] TEST: Single path with single path [ OK ] # 56.43 [+0.59] TEST: Single path with multipath [ OK ] # 57.00 [+0.57] TEST: Single path with single path via multipath attribute [ OK ] # 57.59 [+0.59] TEST: Invalid nexthop [ OK ] # 58.01 [+0.42] TEST: Single path - replace of non-existent route [ OK ] # 58.58 [+0.56] TEST: Multipath with multipath [ OK ] # 59.14 [+0.56] TEST: Multipath with single path [ OK ] # 59.71 [+0.58] TEST: Multipath with single path via multipath attribute [ OK ] # 60.33 [+0.61] TEST: Multipath with dev-only [ OK ] # 60.90 [+0.57] TEST: Multipath - invalid first nexthop [ OK ] # 61.49 [+0.59] TEST: Multipath - invalid second nexthop [ OK ] # 61.93 [+0.44] TEST: Multipath - replace of non-existent route [ OK ] # 61.94 [+0.00] # 61.94 [+0.00] IPv6 route with dsfield tests # 62.17 [+0.24] TEST: Reject route with dsfield [ OK ] # 69.79 [+7.62] # 69.79 [+0.00] IPv4 route add / append tests # 70.24 [+0.44] TEST: Attempt to add duplicate route - gw [ OK ] # 70.68 [+0.45] TEST: Attempt to add duplicate route - dev only [ OK ] # 71.11 [+0.43] TEST: Attempt to add duplicate route - reject route [ OK ] # 71.70 [+0.59] TEST: Add new nexthop for existing prefix [ OK ] # 72.24 [+0.55] TEST: Append nexthop to existing route - gw [ OK ] # 72.81 [+0.57] TEST: Append nexthop to existing route - dev only [ OK ] # 73.39 [+0.58] TEST: Append nexthop to existing route - reject route [ OK ] # 73.85 [+0.46] TEST: Append nexthop to existing reject route - gw [ OK ] # 74.32 [+0.47] TEST: Append nexthop to existing reject route - dev only [ OK ] # 74.77 [+0.45] TEST: add multipath route [ OK ] # 75.21 [+0.44] TEST: Attempt to add duplicate multipath route [ OK ] # 75.78 [+0.56] TEST: Route add with different metrics [ OK ] # 76.02 [+0.24] TEST: Route delete with metric [ OK ] # 76.02 [+0.00] # 76.02 [+0.00] IPv4 route replace tests # 76.57 [+0.55] TEST: Single path with single path [ OK ] # 77.14 [+0.57] TEST: Single path with multipath [ OK ] # 77.70 [+0.56] TEST: Single path with reject route [ OK ] # 78.26 [+0.56] TEST: Single path with single path via multipath attribute [ OK ] # 78.84 [+0.58] TEST: Invalid nexthop [ OK ] # 79.29 [+0.45] TEST: Single path - replace of non-existent route [ OK ] # 79.85 [+0.56] TEST: Multipath with multipath [ OK ] # 80.41 [+0.57] TEST: Multipath with single path [ OK ] # 80.96 [+0.55] TEST: Multipath with single path via multipath attribute [ OK ] # 81.52 [+0.56] TEST: Multipath with reject route [ OK ] # 82.07 [+0.55] TEST: Multipath - invalid first nexthop [ OK ] # 82.64 [+0.58] TEST: Multipath - invalid second nexthop [ OK ] # 83.08 [+0.44] TEST: Multipath - replace of non-existent route [ OK ] # 84.90 [+1.82] TEST: Cached route removed from VRF port device [ OK ] # 84.91 [+0.00] # 84.91 [+0.00] IPv4 route with dsfield tests # 85.13 [+0.22] TEST: Reject route with dsfield 0x01 [ OK ] # 85.24 [+0.11] TEST: Reject route with dsfield 0x02 [ OK ] # 85.34 [+0.11] TEST: Reject route with dsfield 0x03 [ OK ] # 85.67 [+0.33] TEST: IPv4 route with DSCP and ECN:Not-ECT [ OK ] # 85.78 [+0.10] TEST: IPv4 route with DSCP and ECN:ECT(1) [ OK ] # 85.89 [+0.12] TEST: IPv4 route with DSCP and ECN:ECT(0) [ OK ] # 85.99 [+0.10] TEST: IPv4 route with DSCP and ECN:CE [ OK ] # 86.09 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:Not-ECT [ OK ] # 86.20 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(1) [ OK ] # 86.31 [+0.11] TEST: IPv4 route with unknown DSCP and ECN:ECT(0) [ OK ] # 86.40 [+0.10] TEST: IPv4 route with unknown DSCP and ECN:CE [ OK ] # 86.52 [+0.11] TEST: IPv4 route with no DSCP and ECN:Not-ECT [ OK ] # 86.65 [+0.13] TEST: IPv4 route with no DSCP and ECN:ECT(1) [ OK ] # 86.76 [+0.11] TEST: IPv4 route with no DSCP and ECN:ECT(0) [ OK ] # 86.87 [+0.11] TEST: IPv4 route with no DSCP and ECN:CE [ OK ] # 88.95 [+2.08] # 88.95 [+0.00] IPv6 prefix route tests # 91.26 [+2.31] TEST: Default metric [ OK ] # 91.61 [+0.35] TEST: User specified metric on first device [ OK ] # 91.95 [+0.34] TEST: User specified metric on second device [ OK ] # 92.18 [+0.23] TEST: Delete of address on first device [ OK ] # 92.42 [+0.24] TEST: Modify metric of address [ OK ] # 92.81 [+0.39] TEST: Prefix route removed on link down [ OK ] # 93.05 [+0.24] TEST: Prefix route with metric on link up [ OK ] # 93.41 [+0.36] TEST: Set metric with peer route on local side [ OK ] # 93.52 [+0.11] TEST: Set metric with peer route on peer side [ OK ] # 93.75 [+0.23] TEST: Modify metric and peer address on local side [ OK ] # 93.88 [+0.12] TEST: Modify metric and peer address on peer side [ OK ] # 95.00 [+1.12] # 95.00 [+0.00] IPv4 prefix route tests # 97.29 [+2.29] TEST: Default metric [ OK ] # 97.65 [+0.36] TEST: User specified metric on first device [ OK ] # 98.02 [+0.37] TEST: User specified metric on second device [ OK ] # 98.24 [+0.22] TEST: Delete of address on first device [ OK ] # 98.48 [+0.23] TEST: Modify metric of address [ OK ] # 98.69 [+0.22] TEST: Prefix route removed on link down [ OK ] # 98.94 [+0.24] TEST: Prefix route with metric on link up [ OK ] # 99.42 [+0.48] TEST: Modify metric of .0/24 address [ OK ] # 99.78 [+0.36] TEST: Set metric of address with peer route [ OK ] # 100.01 [+0.23] TEST: Modify metric and peer address for peer route [ OK ] # 101.20 [+1.18] # 101.20 [+0.00] IPv6 routes with metrics # 106.93 [+5.73] TEST: Single path route with mtu metric [ OK ] # 107.30 [+0.37] TEST: Multipath route via 2 single routes with mtu metric on first [ OK ] # 107.65 [+0.36] TEST: Multipath route via 2 single routes with mtu metric on 2nd [ OK ] # 107.89 [+0.24] TEST: MTU of second leg [ OK ] # 108.15 [+0.26] TEST: Multipath route with mtu metric [ OK ] # 108.42 [+0.27] TEST: Using route with mtu metric [ OK ] # 108.63 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 110.72 [+2.09] # 110.72 [+0.00] IPv4 route add / append tests # 116.46 [+5.73] TEST: Single path route with mtu metric [ OK ] # 116.70 [+0.24] TEST: Multipath route with mtu metric [ OK ] # 116.98 [+0.29] TEST: Using route with mtu metric [ OK ] # 117.19 [+0.21] TEST: Invalid metric (fails metric_convert) [ OK ] # 119.26 [+2.06] # 119.26 [+0.00] IPv4 route with IPv6 gateway tests # 126.98 [+7.72] TEST: Single path route with IPv6 gateway [ OK ] # 127.26 [+0.28] TEST: Single path route with IPv6 gateway - ping [ OK ] # 127.37 [+0.11] TEST: Single path route delete [ OK ] # 127.59 [+0.22] TEST: Multipath route add - v6 nexthop then v4 [ OK ] # 127.83 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 127.94 [+0.11] TEST: Multipath route delete exact match [ OK ] # 128.06 [+0.12] TEST: Multipath route add - v4 nexthop then v6 [ OK ] # 128.30 [+0.24] TEST: Multipath route delete - nexthops in wrong order [ OK ] # 128.42 [+0.11] TEST: Multipath route delete exact match [ OK ] # 130.51 [+2.09] # 130.51 [+0.00] IPv4 rp_filter tests # 138.35 [+7.84] TEST: rp_filter passes local packets [ OK ] # 138.53 [+0.18] TEST: rp_filter passes loopback packets [ OK ] # 139.51 [+0.98] # 139.51 [+0.00] IPv4 delete address route tests # 143.15 [+3.64] Regular FIB info # 143.37 [+0.22] TEST: Route removed from VRF when source address deleted [ OK ] # 143.47 [+0.10] TEST: Route in default VRF not removed [ OK ] # 143.91 [+0.44] TEST: Route removed in default VRF when source address deleted [ OK ] # 144.03 [+0.12] TEST: Route in VRF is not removed by address delete [ OK ] # 144.04 [+0.00] Identical FIB info with different table ID # 144.24 [+0.20] TEST: Route removed from VRF when source address deleted [ OK ] # 144.37 [+0.13] TEST: Route in default VRF not removed [ OK ] # 144.79 [+0.42] TEST: Route removed in default VRF when source address deleted [ OK ] # 144.93 [+0.14] TEST: Route in VRF is not removed by address delete [ OK ] # 144.93 [+0.00] Table ID 0 # 145.14 [+0.21] TEST: Route removed in default VRF when source address deleted [ OK ] # 146.33 [+1.19] # 146.33 [+0.00] IPv6 delete address route tests # 152.47 [+6.14] Single device using src address # 152.69 [+0.22] TEST: Prefsrc removed when src address removed on other device [ OK ] # 152.69 [+0.00] Two devices with the same source address # 152.90 [+0.21] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 153.09 [+0.20] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 153.10 [+0.01] VRF with single device using src address # 153.32 [+0.22] TEST: Prefsrc removed when src address removed on other device [ OK ] # 153.32 [+0.00] VRF with two devices using src address # 153.54 [+0.21] TEST: Prefsrc not removed when src address exist on other device [ OK ] # 153.78 [+0.24] TEST: Prefsrc removed when src address removed on all devices [ OK ] # 153.78 [+0.00] src address and nexthop dev in same VRF # 154.02 [+0.25] TEST: Prefsrc removed from VRF when source address deleted [ OK ] # 154.14 [+0.12] TEST: Prefsrc in default VRF not removed [ OK ] # 154.62 [+0.47] TEST: Prefsrc not removed from VRF when source address exist [ OK ] # 154.71 [+0.09] TEST: Prefsrc in default VRF removed [ OK ] # 154.71 [+0.00] src address and nexthop device in different VRF # 154.96 [+0.25] TEST: Prefsrc not removed from VRF when nexthop dev in diff VRF [ OK ] # 155.07 [+0.11] TEST: Prefsrc not removed in default VRF [ OK ] # 155.41 [+0.34] TEST: Prefsrc removed from VRF when nexthop dev in diff VRF [ OK ] # 155.52 [+0.11] TEST: Prefsrc removed in default VRF [ OK ] # 155.52 [+0.00] Table ID 0 # 155.75 [+0.22] TEST: Prefsrc removed from default VRF when source address deleted [ OK ] # 155.75 [+0.00] Link local source route # 155.97 [+0.22] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 156.18 [+0.21] TEST: Prefsrc removed when delete ll addr [ OK ] # 156.33 [+0.15] TEST: Prefsrc not removed when delete ll addr from other dev [ OK ] # 156.66 [+0.33] TEST: Prefsrc removed even ll addr still exist on other dev [ OK ] # 158.55 [+1.89] # 158.55 [+0.00] IPv4 mangling tests # 167.91 [+9.36] TEST: Connection with correct parameters [ OK ] # 168.14 [+0.23] TEST: Connection with incorrect parameters [ OK ] # 169.28 [+1.14] TEST: Connection with correct parameters - mangling [ OK ] # 170.25 [+0.97] TEST: Connection with correct parameters - no mangling [ OK ] # 170.34 [+0.09] TEST: Connection check - server side [ OK ] # 172.91 [+2.57] # 172.91 [+0.00] IPv6 mangling tests # 182.07 [+9.16] TEST: Connection with correct parameters [ OK ] # 182.35 [+0.29] TEST: Connection with incorrect parameters [ OK ] # 183.30 [+0.94] TEST: Connection with correct parameters - mangling [ OK ] # 184.28 [+0.98] TEST: Connection with correct parameters - no mangling [ OK ] # 184.35 [+0.07] TEST: Connection check - server side [ OK ] # 186.88 [+2.53] # 186.88 [+0.00] IPv4 broadcast neighbour tests # 189.79 [+2.91] TEST: Resolved neighbour for broadcast address [ OK ] # 189.90 [+0.12] TEST: Resolved neighbour for network broadcast address [ OK ] # 190.03 [+0.13] TEST: Unresolved neighbour for broadcast address [ OK ] # 190.15 [+0.13] TEST: Unresolved neighbour for network broadcast address [ OK ] # 192.58 [+2.42] # 192.58 [+0.00] Fib6 garbage collection test # 206.20 [+13.62] TEST: ipv6 route garbage collection [ OK ] # 220.10 [+13.90] TEST: ipv6 route garbage collection (with permanent routes) [ OK ] # 234.02 [+13.93] TEST: ipv6 route garbage collection (replace with expires) [ OK ] # 248.14 [+14.11] TEST: ipv6 route garbage collection (replace with permanent) [ OK ] # 262.83 [+14.69] TEST: ipv6 route garbage collection (RA message) [ OK ] # 263.84 [+1.02] # 263.84 [+0.00] IPv4 multipath list receive tests # 283.50 [+19.66] TEST: Multipath route hit ratio (1.00) [ OK ] # 285.82 [+2.32] # 285.82 [+0.00] IPv6 multipath list receive tests # 304.82 [+19.01] TEST: Multipath route hit ratio (1.00) [ OK ] # 307.13 [+2.30] # 307.13 [+0.00] Tests passed: 229 # 307.13 [+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__->