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.13 [+1.13] # 1.13 [+0.00] Basic functional tests # 1.13 [+0.00] ---------------------- # 1.15 [+0.01] TEST: List with nothing defined [ OK ] # 1.16 [+0.02] TEST: Nexthop get on non-existent id [ OK ] # 1.18 [+0.02] TEST: Nexthop del with non-existent id [ OK ] # 1.20 [+0.02] TEST: Nexthop del with non-existent id and extra attributes [ OK ] # 1.22 [+0.02] TEST: Nexthop with no device or gateway [ OK ] # 1.25 [+0.03] TEST: Nexthop with down device [ OK ] # 1.29 [+0.04] TEST: Nexthop with device that is linkdown [ OK ] # 1.32 [+0.03] TEST: Nexthop with device only [ OK ] # 1.34 [+0.02] TEST: Nexthop with duplicate id [ OK ] # 1.36 [+0.02] TEST: Blackhole nexthop [ OK ] # 1.37 [+0.02] TEST: Blackhole nexthop with other attributes [ OK ] # 1.40 [+0.03] TEST: Blackhole nexthop with loopback device down [ OK ] # 1.46 [+0.05] TEST: Maximum nexthop ID dump [ OK ] # 1.47 [+0.01] TEST: Create group [ OK ] # 1.49 [+0.02] TEST: Create group with blackhole nexthop [ OK ] # 1.50 [+0.02] TEST: Create multipath group where 1 path is a blackhole [ OK ] # 1.55 [+0.04] TEST: Multipath group can not have a member replaced by blackhole [ OK ] # 1.56 [+0.01] TEST: Create group with non-existent nexthop [ OK ] # 1.58 [+0.01] TEST: Create group with same nexthop multiple times [ OK ] # 1.59 [+0.01] TEST: Replace nexthop with nexthop group [ OK ] # 1.61 [+0.01] TEST: Replace nexthop group with nexthop [ OK ] # 1.62 [+0.01] TEST: Nexthop group and device [ OK ] # 1.76 [+0.14] TEST: Test proto flush [ OK ] # 1.78 [+0.01] TEST: Nexthop group and blackhole [ OK ] # 3.73 [+1.95] TEST: Large scale nexthop flushing [ OK ] # 4.97 [+1.24] # 4.97 [+0.00] Basic resilient nexthop group functional tests # 4.98 [+0.00] ---------------------------------------------- # 5.02 [+0.04] TEST: Add a nexthop group with default parameters [ OK ] # 5.05 [+0.03] TEST: Get a nexthop group with default parameters [ OK ] # 5.09 [+0.04] TEST: Get a nexthop group with non-default parameters [ OK ] # 5.11 [+0.02] TEST: Add a nexthop group with 0 buckets [ OK ] # 5.12 [+0.01] TEST: Replace nexthop group parameters [ OK ] # 5.14 [+0.02] TEST: Get a nexthop group after replacing parameters [ OK ] # 5.16 [+0.02] TEST: Replace idle timer [ OK ] # 5.18 [+0.02] TEST: Get a nexthop group after replacing idle timer [ OK ] # 5.19 [+0.02] TEST: Replace unbalanced timer [ OK ] # 5.21 [+0.02] TEST: Get a nexthop group after replacing unbalanced timer [ OK ] # 5.23 [+0.02] TEST: Replace with no parameters [ OK ] # 5.25 [+0.02] TEST: Get a nexthop group after replacing no parameters [ OK ] # 5.26 [+0.02] TEST: Replace nexthop group type - implicit [ OK ] # 5.28 [+0.02] TEST: Replace nexthop group type - explicit [ OK ] # 5.30 [+0.02] TEST: Replace number of nexthop buckets [ OK ] # 5.32 [+0.02] TEST: Get a nexthop group after replacing with invalid parameters [ OK ] # 5.40 [+0.08] TEST: Dump all nexthop buckets [ OK ] # 5.41 [+0.01] TEST: Dump all nexthop buckets in a group [ OK ] # 5.55 [+0.13] TEST: All nexthop buckets report a positive near-zero idle time [ OK ] # 5.56 [+0.01] TEST: Dump all nexthop buckets with a specific nexthop device [ OK ] # 5.57 [+0.01] TEST: Dump all nexthop buckets with a specific nexthop identifier [ OK ] # 5.59 [+0.02] TEST: Dump all nexthop buckets in a non-existent group [ OK ] # 5.60 [+0.02] TEST: Dump all nexthop buckets in a non-resilient group [ OK ] # 5.65 [+0.04] TEST: Dump all nexthop buckets using a non-existent device [ OK ] # 5.66 [+0.02] TEST: Dump all nexthop buckets with invalid 'groups' keyword [ OK ] # 5.68 [+0.02] TEST: Dump all nexthop buckets with invalid 'fdb' keyword [ OK ] # 5.72 [+0.04] TEST: Maximum nexthop ID dump [ OK ] # 5.74 [+0.02] TEST: Get a valid nexthop bucket [ OK ] # 5.75 [+0.01] TEST: Get a nexthop bucket with valid group, but invalid index [ OK ] # 5.77 [+0.02] TEST: Get a nexthop bucket from a non-resilient group [ OK ] # 5.78 [+0.01] TEST: Get a nexthop bucket from a non-existent group [ OK ] # 5.86 [+0.08] TEST: Initial bucket allocation [ OK ] # 5.89 [+0.04] TEST: Bucket allocation after replace [ OK ] # 5.94 [+0.05] TEST: Buckets migrated after idle timer change [ OK ] # 7.25 [+1.31] # 7.25 [+0.00] IPv4 functional # 7.25 [+0.00] ---------------------- # 7.27 [+0.02] TEST: Create nexthop with id, gw, dev [ OK ] # 7.29 [+0.02] TEST: Get nexthop by id [ OK ] # 7.32 [+0.04] TEST: Delete nexthop by id [ OK ] # 7.35 [+0.03] TEST: Create nexthop - gw only [ OK ] # 7.37 [+0.02] TEST: Create nexthop - invalid gw+dev combination [ OK ] # 7.39 [+0.02] TEST: Create nexthop - gw+dev and onlink [ OK ] # 7.46 [+0.07] TEST: Nexthops removed on admin down [ OK ] # 7.55 [+0.08] TEST: Delete nexthop route warning [ OK ] # 7.62 [+0.07] TEST: Delete multipath route with only nh id based entry [ OK ] # 7.67 [+0.05] TEST: Delete route when specifying only nexthop device [ OK ] # 7.68 [+0.02] TEST: Delete route when specifying only gateway [ OK ] # 7.70 [+0.02] TEST: Delete route when not specifying nexthop attributes [ OK ] # 9.05 [+1.35] # 9.05 [+0.00] IPv4 groups functional # 9.05 [+0.00] ---------------------- # 9.08 [+0.03] TEST: Create nexthop group with single nexthop [ OK ] # 9.10 [+0.02] TEST: Get nexthop group by id [ OK ] # 9.14 [+0.04] TEST: Delete nexthop group by id [ OK ] # 9.24 [+0.10] TEST: Nexthop group with multiple nexthops [ OK ] # 9.30 [+0.05] TEST: Nexthop group updated when entry is deleted [ OK ] # 9.33 [+0.04] TEST: Nexthop group with weighted nexthops [ OK ] # 9.38 [+0.05] TEST: Weighted nexthop group updated when entry is deleted [ OK ] # 9.41 [+0.03] TEST: Nexthops in groups removed on admin down [ OK ] # 9.61 [+0.20] TEST: Multiple groups with same nexthop [ OK ] # 9.67 [+0.06] TEST: Nexthops in group removed on admin down - mixed group [ OK ] # 9.68 [+0.01] TEST: Nexthop group can not have a group as an entry [ OK ] # 9.71 [+0.03] TEST: Nexthop group with a blackhole entry [ OK ] # 9.72 [+0.01] TEST: Nexthop group can not have a blackhole and another nexthop [ OK ] # 11.01 [+1.29] # 11.01 [+0.00] IPv4 resilient groups functional # 11.01 [+0.00] -------------------------------- # 11.10 [+0.09] TEST: Nexthop group updated when entry is deleted [ OK ] # 11.12 [+0.01] TEST: Nexthop buckets updated when entry is deleted [ OK ] # 11.16 [+0.04] TEST: Nexthop group updated after replace [ OK ] # 11.17 [+0.01] TEST: Nexthop buckets updated after replace [ OK ] # 11.26 [+0.08] TEST: Nexthop group updated when entry is deleted - nECMP [ OK ] # 11.27 [+0.01] TEST: Nexthop buckets updated when entry is deleted - nECMP [ OK ] # 11.31 [+0.04] TEST: Nexthop group updated after replace - nECMP [ OK ] # 11.32 [+0.01] TEST: Nexthop buckets updated after replace - nECMP [ OK ] # 12.62 [+1.30] TEST: IPv6 nexthop with IPv4 route [ OK ] # 12.68 [+0.06] TEST: IPv6 nexthop with IPv4 route [ OK ] # 12.71 [+0.03] TEST: IPv4 route with IPv6 gateway [ OK ] # 12.74 [+0.03] TEST: IPv4 route with invalid IPv6 gateway [ OK ] # 14.08 [+1.34] # 14.08 [+0.00] IPv4 functional runtime # 14.08 [+0.00] ----------------------- # 14.11 [+0.03] TEST: Route add [ OK ] # 14.15 [+0.03] TEST: Route delete [ OK ] # 14.18 [+0.03] TEST: Route add - scope conflict with nexthop [ OK ] # 14.23 [+0.04] TEST: Nexthop replace with invalid scope for existing route [ OK ] # 14.25 [+0.03] TEST: IPv4 route with invalid metric [ OK ] # 14.32 [+0.06] TEST: Basic ping [ OK ] # 14.40 [+0.08] TEST: Ping - multipath [ OK ] # 14.49 [+0.09] TEST: Ping - multiple default routes, nh first [ OK ] # 14.60 [+0.11] TEST: Ping - multiple default routes, nh second [ OK ] # 14.69 [+0.09] TEST: Ping - blackhole [ OK ] # 14.74 [+0.05] TEST: Ping - blackhole replaced with gateway [ OK ] # 14.79 [+0.05] TEST: Ping - gateway replaced by blackhole [ OK ] # 14.88 [+0.09] TEST: Ping - group with blackhole [ OK ] # 14.92 [+0.04] TEST: Ping - group blackhole replaced with gateways [ OK ] # 14.96 [+0.04] TEST: IPv4 route with device only nexthop [ OK ] # 15.01 [+0.05] TEST: IPv4 multipath route with nexthop mix - dev only + gw [ OK ] # 15.11 [+0.10] TEST: IPv6 nexthop with IPv4 route [ OK ] # 15.19 [+0.08] TEST: IPv4 route with mixed v4-v6 multipath route [ OK ] # 15.23 [+0.05] TEST: IPv6 nexthop with IPv4 route [ OK ] # 15.28 [+0.05] TEST: IPv4 route with IPv6 gateway [ OK ] # 15.37 [+0.08] TEST: IPv4 default route with IPv6 gateway [ OK ] # 15.41 [+0.04] TEST: IPv4 route with MPLS encap [ OK ] # 15.43 [+0.02] TEST: IPv4 route with MPLS encap - check [ OK ] # 15.45 [+0.02] TEST: IPv4 route with MPLS encap and v6 gateway [ OK ] # 15.46 [+0.02] TEST: IPv4 route with MPLS encap, v6 gw - check [ OK ] # 16.90 [+1.44] # 16.90 [+0.00] IPv4 large groups (x32) # 16.90 [+0.00] --------------------- # 21.24 [+4.34] TEST: Dump large (x32) ecmp groups [ OK ] # 23.03 [+1.79] # 23.03 [+0.00] IPv4 large resilient group (128k buckets) # 23.03 [+0.00] ----------------------------------------- # 23.11 [+0.07] TEST: Dump large (x131072) nexthop buckets [ OK ] # 24.68 [+1.57] # 24.68 [+0.00] IPv4 nexthop api compat mode # 24.68 [+0.00] ---------------------------- # 24.73 [+0.05] TEST: IPv4 default nexthop compat mode check [ OK ] # 25.04 [+0.31] TEST: IPv4 compat mode on - route add notification [ OK ] # 25.06 [+0.02] TEST: IPv4 compat mode on - route dump [ OK ] # 25.34 [+0.28] TEST: IPv4 compat mode on - nexthop change [ OK ] # 25.37 [+0.03] TEST: IPv4 set compat mode - 0 [ OK ] # 25.65 [+0.28] TEST: IPv4 compat mode off - route add notification [ OK ] # 25.66 [+0.02] TEST: IPv4 compat mode off - route dump [ OK ] # 25.92 [+0.26] TEST: IPv4 compat mode off - nexthop change [ OK ] # 26.18 [+0.26] TEST: IPv4 compat mode off - nexthop delete [ OK ] # 26.21 [+0.03] TEST: IPv4 set compat mode - 1 [ OK ] # 27.51 [+1.30] # 27.51 [+0.00] IPv4 fdb groups functional # 27.51 [+0.00] -------------------------- # 27.58 [+0.07] TEST: Fdb Nexthop group with multiple nexthops [ OK ] # 27.61 [+0.03] TEST: Get Fdb nexthop group by id [ OK ] # 27.65 [+0.04] TEST: Fdb Nexthop group with non-fdb nexthops [ OK ] # 27.70 [+0.05] TEST: Non-Fdb Nexthop group with fdb nexthops [ OK ] # 27.72 [+0.02] TEST: Fdb Nexthop with blackhole [ OK ] # 27.73 [+0.02] TEST: Fdb Nexthop with oif [ OK ] # 27.75 [+0.02] TEST: Fdb Nexthop with onlink [ OK ] # 27.76 [+0.02] TEST: Fdb Nexthop with encap [ OK ] WAIT TIMEOUT stdout Ctrl-C stdout Ctrl-C stdout ^C WAIT TIMEOUT stdout