make -C tools/testing/selftests TARGETS="net" TEST_PROGS=fib_nexthops.sh TTEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 3600 # selftests: net: fib_nexthops.sh # 1.17 [+1.17] # 1.17 [+0.00] Basic functional tests # 1.18 [+0.00] ---------------------- # 1.19 [+0.02] TEST: List with nothing defined [ OK ] # 1.21 [+0.02] TEST: Nexthop get on non-existent id [ OK ] # 1.23 [+0.02] TEST: Nexthop del with non-existent id [ OK ] # 1.25 [+0.02] TEST: Nexthop del with non-existent id and extra attributes [ OK ] # 1.27 [+0.02] TEST: Nexthop with no device or gateway [ OK ] # 1.30 [+0.04] TEST: Nexthop with down device [ OK ] # 1.36 [+0.05] TEST: Nexthop with device that is linkdown [ OK ] # 1.39 [+0.03] TEST: Nexthop with device only [ OK ] # 1.41 [+0.02] TEST: Nexthop with duplicate id [ OK ] # 1.42 [+0.02] TEST: Blackhole nexthop [ OK ] # 1.44 [+0.02] TEST: Blackhole nexthop with other attributes [ OK ] # 1.48 [+0.04] TEST: Blackhole nexthop with loopback device down [ OK ] # 1.54 [+0.06] TEST: Maximum nexthop ID dump [ OK ] # 1.56 [+0.02] TEST: Create group [ OK ] # 1.57 [+0.02] TEST: Create group with blackhole nexthop [ OK ] # 1.60 [+0.02] TEST: Create multipath group where 1 path is a blackhole [ OK ] # 1.64 [+0.05] TEST: Multipath group can not have a member replaced by blackhole [ OK ] # 1.66 [+0.02] TEST: Create group with non-existent nexthop [ OK ] # 1.68 [+0.02] TEST: Create group with same nexthop multiple times [ OK ] # 1.70 [+0.02] TEST: Replace nexthop with nexthop group [ OK ] # 1.72 [+0.02] TEST: Replace nexthop group with nexthop [ OK ] # 1.74 [+0.02] TEST: Nexthop group and device [ OK ] # 1.91 [+0.17] TEST: Test proto flush [ OK ] # 1.93 [+0.02] TEST: Nexthop group and blackhole [ OK ] # 3.76 [+1.83] TEST: Large scale nexthop flushing [ OK ] # 5.00 [+1.25] # 5.00 [+0.00] Basic resilient nexthop group functional tests # 5.01 [+0.00] ---------------------------------------------- # 5.04 [+0.04] TEST: Add a nexthop group with default parameters [ OK ] # 5.07 [+0.03] TEST: Get a nexthop group with default parameters [ OK ] # 5.11 [+0.04] TEST: Get a nexthop group with non-default parameters [ OK ] # 5.13 [+0.02] TEST: Add a nexthop group with 0 buckets [ OK ] # 5.14 [+0.02] TEST: Replace nexthop group parameters [ OK ] # 5.16 [+0.02] TEST: Get a nexthop group after replacing parameters [ OK ] # 5.18 [+0.02] TEST: Replace idle timer [ OK ] # 5.19 [+0.02] TEST: Get a nexthop group after replacing idle timer [ OK ] # 5.21 [+0.01] TEST: Replace unbalanced timer [ OK ] # 5.22 [+0.02] TEST: Get a nexthop group after replacing unbalanced timer [ OK ] # 5.24 [+0.02] TEST: Replace with no parameters [ OK ] # 5.26 [+0.02] TEST: Get a nexthop group after replacing no parameters [ OK ] # 5.27 [+0.02] TEST: Replace nexthop group type - implicit [ OK ] # 5.29 [+0.02] TEST: Replace nexthop group type - explicit [ OK ] # 5.31 [+0.02] TEST: Replace number of nexthop buckets [ OK ] # 5.33 [+0.02] TEST: Get a nexthop group after replacing with invalid parameters [ OK ] # 5.42 [+0.09] TEST: Dump all nexthop buckets [ OK ] # 5.44 [+0.02] TEST: Dump all nexthop buckets in a group [ OK ] # 5.57 [+0.13] TEST: All nexthop buckets report a positive near-zero idle time [ OK ] # 5.59 [+0.02] TEST: Dump all nexthop buckets with a specific nexthop device [ OK ] # 5.60 [+0.02] TEST: Dump all nexthop buckets with a specific nexthop identifier [ OK ] # 5.62 [+0.02] TEST: Dump all nexthop buckets in a non-existent group [ OK ] # 5.64 [+0.02] TEST: Dump all nexthop buckets in a non-resilient group [ OK ] # 5.68 [+0.04] TEST: Dump all nexthop buckets using a non-existent device [ OK ] # 5.70 [+0.02] TEST: Dump all nexthop buckets with invalid 'groups' keyword [ OK ] # 5.71 [+0.02] TEST: Dump all nexthop buckets with invalid 'fdb' keyword [ OK ] # 5.76 [+0.04] TEST: Maximum nexthop ID dump [ OK ] # 5.77 [+0.01] TEST: Get a valid nexthop bucket [ OK ] # 5.79 [+0.02] TEST: Get a nexthop bucket with valid group, but invalid index [ OK ] # 5.81 [+0.02] TEST: Get a nexthop bucket from a non-resilient group [ OK ] # 5.82 [+0.02] TEST: Get a nexthop bucket from a non-existent group [ OK ] # 5.90 [+0.08] TEST: Initial bucket allocation [ OK ] # 5.94 [+0.04] TEST: Bucket allocation after replace [ OK ] # 6.00 [+0.06] TEST: Buckets migrated after idle timer change [ OK ] # 7.28 [+1.29] # 7.28 [+0.00] IPv4 functional # 7.28 [+0.00] ---------------------- # 7.30 [+0.02] TEST: Create nexthop with id, gw, dev [ OK ] # 7.32 [+0.02] TEST: Get nexthop by id [ OK ] # 7.35 [+0.03] TEST: Delete nexthop by id [ OK ] # 7.38 [+0.03] TEST: Create nexthop - gw only [ OK ] # 7.40 [+0.02] TEST: Create nexthop - invalid gw+dev combination [ OK ] # 7.41 [+0.02] TEST: Create nexthop - gw+dev and onlink [ OK ] # 7.49 [+0.07] TEST: Nexthops removed on admin down [ OK ] # 7.56 [+0.08] TEST: Delete nexthop route warning [ OK ] # 7.63 [+0.07] TEST: Delete multipath route with only nh id based entry [ OK ] # 7.67 [+0.04] TEST: Delete route when specifying only nexthop device [ OK ] # 7.69 [+0.02] TEST: Delete route when specifying only gateway [ OK ] # 7.70 [+0.01] TEST: Delete route when not specifying nexthop attributes [ OK ] # 8.88 [+1.18] # 8.88 [+0.00] IPv4 groups functional # 8.88 [+0.00] ---------------------- # 8.91 [+0.03] TEST: Create nexthop group with single nexthop [ OK ] # 8.93 [+0.02] TEST: Get nexthop group by id [ OK ] # 8.96 [+0.03] TEST: Delete nexthop group by id [ OK ] # 9.07 [+0.10] TEST: Nexthop group with multiple nexthops [ OK ] # 9.11 [+0.05] TEST: Nexthop group updated when entry is deleted [ OK ] # 9.14 [+0.03] TEST: Nexthop group with weighted nexthops [ OK ] # 9.19 [+0.05] TEST: Weighted nexthop group updated when entry is deleted [ OK ] # 9.22 [+0.03] TEST: Nexthops in groups removed on admin down [ OK ] # 9.41 [+0.20] TEST: Multiple groups with same nexthop [ OK ] # 9.47 [+0.06] TEST: Nexthops in group removed on admin down - mixed group [ OK ] # 9.48 [+0.02] TEST: Nexthop group can not have a group as an entry [ OK ] # 9.51 [+0.03] TEST: Nexthop group with a blackhole entry [ OK ] # 9.53 [+0.01] TEST: Nexthop group can not have a blackhole and another nexthop [ OK ] # 10.86 [+1.33] # 10.86 [+0.00] IPv4 resilient groups functional # 10.86 [+0.00] -------------------------------- # 10.94 [+0.08] TEST: Nexthop group updated when entry is deleted [ OK ] # 10.96 [+0.02] TEST: Nexthop buckets updated when entry is deleted [ OK ] # 11.01 [+0.05] TEST: Nexthop group updated after replace [ OK ] # 11.03 [+0.02] TEST: Nexthop buckets updated after replace [ OK ] # 11.12 [+0.09] TEST: Nexthop group updated when entry is deleted - nECMP [ OK ] # 11.13 [+0.01] TEST: Nexthop buckets updated when entry is deleted - nECMP [ OK ] # 11.18 [+0.05] TEST: Nexthop group updated after replace - nECMP [ OK ] # 11.20 [+0.02] TEST: Nexthop buckets updated after replace - nECMP [ OK ] # 12.69 [+1.48] TEST: IPv6 nexthop with IPv4 route [ OK ] # 12.75 [+0.07] TEST: IPv6 nexthop with IPv4 route [ OK ] # 12.79 [+0.03] TEST: IPv4 route with IPv6 gateway [ OK ] # 12.82 [+0.03] TEST: IPv4 route with invalid IPv6 gateway [ OK ] # 14.25 [+1.44] # 14.25 [+0.00] IPv4 functional runtime # 14.26 [+0.00] ----------------------- # 14.29 [+0.03] TEST: Route add [ OK ] # 14.32 [+0.03] TEST: Route delete [ OK ] # 14.35 [+0.04] TEST: Route add - scope conflict with nexthop [ OK ] # 14.41 [+0.06] TEST: Nexthop replace with invalid scope for existing route [ OK ] # 14.44 [+0.03] TEST: IPv4 route with invalid metric [ OK ] # 14.51 [+0.07] TEST: Basic ping [ OK ] # 14.59 [+0.08] TEST: Ping - multipath [ OK ] # 14.68 [+0.10] TEST: Ping - multiple default routes, nh first [ OK ] # 14.79 [+0.11] TEST: Ping - multiple default routes, nh second [ OK ] # 14.88 [+0.09] TEST: Ping - blackhole [ OK ] # 14.92 [+0.05] TEST: Ping - blackhole replaced with gateway [ OK ] # 14.97 [+0.04] TEST: Ping - gateway replaced by blackhole [ OK ] # 15.05 [+0.09] TEST: Ping - group with blackhole [ OK ] # 15.09 [+0.04] TEST: Ping - group blackhole replaced with gateways [ OK ] # 15.13 [+0.04] TEST: IPv4 route with device only nexthop [ OK ] # 15.18 [+0.05] TEST: IPv4 multipath route with nexthop mix - dev only + gw [ OK ] # 15.27 [+0.09] TEST: IPv6 nexthop with IPv4 route [ OK ] # 15.35 [+0.07] TEST: IPv4 route with mixed v4-v6 multipath route [ OK ] # 15.39 [+0.04] TEST: IPv6 nexthop with IPv4 route [ OK ] # 15.44 [+0.05] TEST: IPv4 route with IPv6 gateway [ OK ] # 15.53 [+0.09] TEST: IPv4 default route with IPv6 gateway [ OK ] # 15.57 [+0.04] TEST: IPv4 route with MPLS encap [ OK ] # 15.59 [+0.02] TEST: IPv4 route with MPLS encap - check [ OK ] # 15.61 [+0.02] TEST: IPv4 route with MPLS encap and v6 gateway [ OK ] # 15.63 [+0.02] TEST: IPv4 route with MPLS encap, v6 gw - check [ OK ] # 16.98 [+1.36] # 16.98 [+0.00] IPv4 large groups (x32) # 16.98 [+0.00] --------------------- # 21.35 [+4.37] TEST: Dump large (x32) ecmp groups [ OK ] # 22.71 [+1.35] # 22.71 [+0.00] IPv4 large resilient group (128k buckets) # 22.71 [+0.00] ----------------------------------------- # 22.76 [+0.05] TEST: Dump large (x131072) nexthop buckets [ OK ] # 24.15 [+1.39] # 24.15 [+0.00] IPv4 nexthop api compat mode # 24.15 [+0.00] ---------------------------- # 24.20 [+0.05] TEST: IPv4 default nexthop compat mode check [ OK ] # 24.51 [+0.31] TEST: IPv4 compat mode on - route add notification [ OK ] # 24.53 [+0.02] TEST: IPv4 compat mode on - route dump [ OK ] # 24.80 [+0.27] TEST: IPv4 compat mode on - nexthop change [ OK ] # 24.82 [+0.03] TEST: IPv4 set compat mode - 0 [ OK ] # 25.10 [+0.28] TEST: IPv4 compat mode off - route add notification [ OK ] # 25.12 [+0.02] TEST: IPv4 compat mode off - route dump [ OK ] # 25.37 [+0.26] TEST: IPv4 compat mode off - nexthop change [ OK ] # 25.63 [+0.26] TEST: IPv4 compat mode off - nexthop delete [ OK ] # 25.66 [+0.03] TEST: IPv4 set compat mode - 1 [ OK ] # 27.00 [+1.35] # 27.00 [+0.00] IPv4 fdb groups functional # 27.00 [+0.00] -------------------------- # 27.08 [+0.07] TEST: Fdb Nexthop group with multiple nexthops [ OK ] # 27.11 [+0.03] TEST: Get Fdb nexthop group by id [ OK ] # 27.16 [+0.05] TEST: Fdb Nexthop group with non-fdb nexthops [ OK ] # 27.21 [+0.05] TEST: Non-Fdb Nexthop group with fdb nexthops [ OK ] # 27.23 [+0.02] TEST: Fdb Nexthop with blackhole [ OK ] # 27.24 [+0.02] TEST: Fdb Nexthop with oif [ OK ] # 27.26 [+0.02] TEST: Fdb Nexthop with onlink [ OK ] # 27.28 [+0.02] TEST: Fdb Nexthop with encap [ OK ] WAIT TIMEOUT stdout Ctrl-C stdout Ctrl-C stdout ^C WAIT TIMEOUT stdout