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 # 0.96 [+0.96] # 0.96 [+0.00] Basic functional tests # 0.96 [+0.00] ---------------------- # 0.97 [+0.01] TEST: List with nothing defined [ OK ] # 0.99 [+0.01] TEST: Nexthop get on non-existent id [ OK ] # 1.00 [+0.01] TEST: Nexthop del with non-existent id [ OK ] # 1.01 [+0.01] TEST: Nexthop del with non-existent id and extra attributes [ OK ] # 1.03 [+0.01] TEST: Nexthop with no device or gateway [ OK ] # 1.05 [+0.02] TEST: Nexthop with down device [ OK ] # 1.09 [+0.03] TEST: Nexthop with device that is linkdown [ OK ] # 1.11 [+0.03] TEST: Nexthop with device only [ OK ] # 1.12 [+0.01] TEST: Nexthop with duplicate id [ OK ] # 1.14 [+0.01] TEST: Blackhole nexthop [ OK ] # 1.15 [+0.01] TEST: Blackhole nexthop with other attributes [ OK ] # 1.18 [+0.03] TEST: Blackhole nexthop with loopback device down [ OK ] # 1.22 [+0.05] TEST: Maximum nexthop ID dump [ OK ] # 1.23 [+0.01] TEST: Create group [ OK ] # 1.25 [+0.01] TEST: Create group with blackhole nexthop [ OK ] # 1.26 [+0.01] TEST: Create multipath group where 1 path is a blackhole [ OK ] # 1.30 [+0.04] TEST: Multipath group can not have a member replaced by blackhole [ OK ] # 1.31 [+0.01] TEST: Create group with non-existent nexthop [ OK ] # 1.33 [+0.01] TEST: Create group with same nexthop multiple times [ OK ] # 1.34 [+0.01] TEST: Replace nexthop with nexthop group [ OK ] # 1.35 [+0.01] TEST: Replace nexthop group with nexthop [ OK ] # 1.36 [+0.01] TEST: Nexthop group and device [ OK ] # 1.49 [+0.13] TEST: Test proto flush [ OK ] # 1.50 [+0.01] TEST: Nexthop group and blackhole [ OK ] # 3.08 [+1.57] TEST: Large scale nexthop flushing [ OK ] # 4.20 [+1.12] # 4.20 [+0.00] Basic resilient nexthop group functional tests # 4.20 [+0.00] ---------------------------------------------- # 4.24 [+0.04] TEST: Add a nexthop group with default parameters [ OK ] # 4.26 [+0.03] TEST: Get a nexthop group with default parameters [ OK ] # 4.30 [+0.04] TEST: Get a nexthop group with non-default parameters [ OK ] # 4.32 [+0.01] TEST: Add a nexthop group with 0 buckets [ OK ] # 4.33 [+0.01] TEST: Replace nexthop group parameters [ OK ] # 4.35 [+0.01] TEST: Get a nexthop group after replacing parameters [ OK ] # 4.36 [+0.01] TEST: Replace idle timer [ OK ] # 4.37 [+0.01] TEST: Get a nexthop group after replacing idle timer [ OK ] # 4.39 [+0.01] TEST: Replace unbalanced timer [ OK ] # 4.40 [+0.02] TEST: Get a nexthop group after replacing unbalanced timer [ OK ] # 4.42 [+0.01] TEST: Replace with no parameters [ OK ] # 4.43 [+0.01] TEST: Get a nexthop group after replacing no parameters [ OK ] # 4.44 [+0.01] TEST: Replace nexthop group type - implicit [ OK ] # 4.46 [+0.01] TEST: Replace nexthop group type - explicit [ OK ] # 4.47 [+0.01] TEST: Replace number of nexthop buckets [ OK ] # 4.48 [+0.01] TEST: Get a nexthop group after replacing with invalid parameters [ OK ] # 4.55 [+0.07] TEST: Dump all nexthop buckets [ OK ] # 4.56 [+0.01] TEST: Dump all nexthop buckets in a group [ OK ] # 4.68 [+0.12] TEST: All nexthop buckets report a positive near-zero idle time [ OK ] # 4.70 [+0.01] TEST: Dump all nexthop buckets with a specific nexthop device [ OK ] # 4.71 [+0.01] TEST: Dump all nexthop buckets with a specific nexthop identifier [ OK ] # 4.72 [+0.01] TEST: Dump all nexthop buckets in a non-existent group [ OK ] # 4.73 [+0.01] TEST: Dump all nexthop buckets in a non-resilient group [ OK ] # 4.76 [+0.03] TEST: Dump all nexthop buckets using a non-existent device [ OK ] # 4.78 [+0.01] TEST: Dump all nexthop buckets with invalid 'groups' keyword [ OK ] # 4.79 [+0.01] TEST: Dump all nexthop buckets with invalid 'fdb' keyword [ OK ] # 4.82 [+0.03] TEST: Maximum nexthop ID dump [ OK ] # 4.83 [+0.01] TEST: Get a valid nexthop bucket [ OK ] # 4.84 [+0.01] TEST: Get a nexthop bucket with valid group, but invalid index [ OK ] # 4.85 [+0.01] TEST: Get a nexthop bucket from a non-resilient group [ OK ] # 4.87 [+0.01] TEST: Get a nexthop bucket from a non-existent group [ OK ] # 4.93 [+0.06] TEST: Initial bucket allocation [ OK ] # 4.96 [+0.03] TEST: Bucket allocation after replace [ OK ] # 5.00 [+0.04] TEST: Buckets migrated after idle timer change [ OK ] # 6.11 [+1.11] # 6.11 [+0.00] IPv4 functional # 6.11 [+0.00] ---------------------- # 6.12 [+0.01] TEST: Create nexthop with id, gw, dev [ OK ] # 6.13 [+0.01] TEST: Get nexthop by id [ OK ] # 6.16 [+0.02] TEST: Delete nexthop by id [ OK ] # 6.18 [+0.02] TEST: Create nexthop - gw only [ OK ] # 6.20 [+0.01] TEST: Create nexthop - invalid gw+dev combination [ OK ] # 6.21 [+0.01] TEST: Create nexthop - gw+dev and onlink [ OK ] # 6.27 [+0.06] TEST: Nexthops removed on admin down [ OK ] # 6.33 [+0.07] TEST: Delete nexthop route warning [ OK ] # 6.39 [+0.06] TEST: Delete multipath route with only nh id based entry [ OK ] # 6.43 [+0.04] TEST: Delete route when specifying only nexthop device [ OK ] # 6.44 [+0.01] TEST: Delete route when specifying only gateway [ OK ] # 6.45 [+0.01] TEST: Delete route when not specifying nexthop attributes [ OK ] # 7.46 [+1.00] # 7.46 [+0.00] IPv4 groups functional # 7.46 [+0.00] ---------------------- # 7.48 [+0.02] TEST: Create nexthop group with single nexthop [ OK ] # 7.50 [+0.01] TEST: Get nexthop group by id [ OK ] # 7.52 [+0.03] TEST: Delete nexthop group by id [ OK ] # 7.61 [+0.08] TEST: Nexthop group with multiple nexthops [ OK ] # 7.65 [+0.04] TEST: Nexthop group updated when entry is deleted [ OK ] # 7.67 [+0.03] TEST: Nexthop group with weighted nexthops [ OK ] # 7.71 [+0.04] TEST: Weighted nexthop group updated when entry is deleted [ OK ] # 7.74 [+0.03] TEST: Nexthops in groups removed on admin down [ OK ] # 7.90 [+0.17] TEST: Multiple groups with same nexthop [ OK ] # 7.95 [+0.05] TEST: Nexthops in group removed on admin down - mixed group [ OK ] # 7.97 [+0.01] TEST: Nexthop group can not have a group as an entry [ OK ] # 7.99 [+0.02] TEST: Nexthop group with a blackhole entry [ OK ] # 8.00 [+0.01] TEST: Nexthop group can not have a blackhole and another nexthop [ OK ] # 9.01 [+1.01] # 9.01 [+0.00] IPv4 resilient groups functional # 9.01 [+0.00] -------------------------------- # 9.08 [+0.07] TEST: Nexthop group updated when entry is deleted [ OK ] # 9.09 [+0.01] TEST: Nexthop buckets updated when entry is deleted [ OK ] # 9.13 [+0.04] TEST: Nexthop group updated after replace [ OK ] # 9.14 [+0.01] TEST: Nexthop buckets updated after replace [ OK ] # 9.21 [+0.07] TEST: Nexthop group updated when entry is deleted - nECMP [ OK ] # 9.23 [+0.01] TEST: Nexthop buckets updated when entry is deleted - nECMP [ OK ] # 9.27 [+0.04] TEST: Nexthop group updated after replace - nECMP [ OK ] # 9.28 [+0.01] TEST: Nexthop buckets updated after replace - nECMP [ OK ] # 10.30 [+1.02] TEST: IPv6 nexthop with IPv4 route [ OK ] # 10.34 [+0.05] TEST: IPv6 nexthop with IPv4 route [ OK ] # 10.37 [+0.03] TEST: IPv4 route with IPv6 gateway [ OK ] # 10.40 [+0.03] TEST: IPv4 route with invalid IPv6 gateway [ OK ] # 11.42 [+1.03] # 11.42 [+0.00] IPv4 functional runtime # 11.42 [+0.00] ----------------------- # 11.45 [+0.02] TEST: Route add [ OK ] # 11.47 [+0.02] TEST: Route delete [ OK ] # 11.49 [+0.02] TEST: Route add - scope conflict with nexthop [ OK ] # 11.53 [+0.04] TEST: Nexthop replace with invalid scope for existing route [ OK ] # 11.55 [+0.02] TEST: IPv4 route with invalid metric [ OK ] # 11.59 [+0.04] TEST: Basic ping [ OK ] # 11.65 [+0.05] TEST: Ping - multipath [ OK ] # 11.71 [+0.06] TEST: Ping - multiple default routes, nh first [ OK ] # 11.79 [+0.08] TEST: Ping - multiple default routes, nh second [ OK ] # 11.85 [+0.07] TEST: Ping - blackhole [ OK ] # 11.89 [+0.03] TEST: Ping - blackhole replaced with gateway [ OK ] # 11.92 [+0.03] TEST: Ping - gateway replaced by blackhole [ OK ] # 11.98 [+0.06] TEST: Ping - group with blackhole [ OK ] # 12.01 [+0.03] TEST: Ping - group blackhole replaced with gateways [ OK ] # 12.04 [+0.02] TEST: IPv4 route with device only nexthop [ OK ] # 12.07 [+0.04] TEST: IPv4 multipath route with nexthop mix - dev only + gw [ OK ] # 12.14 [+0.07] TEST: IPv6 nexthop with IPv4 route [ OK ] # 12.19 [+0.05] TEST: IPv4 route with mixed v4-v6 multipath route [ OK ] # 12.23 [+0.03] TEST: IPv6 nexthop with IPv4 route [ OK ] # 12.26 [+0.03] TEST: IPv4 route with IPv6 gateway [ OK ] # 12.32 [+0.06] TEST: IPv4 default route with IPv6 gateway [ OK ] # 12.35 [+0.03] TEST: IPv4 route with MPLS encap [ OK ] # 12.36 [+0.01] TEST: IPv4 route with MPLS encap - check [ OK ] # 12.37 [+0.01] TEST: IPv4 route with MPLS encap and v6 gateway [ OK ] # 12.38 [+0.01] TEST: IPv4 route with MPLS encap, v6 gw - check [ OK ] # 13.33 [+0.94] # 13.33 [+0.00] IPv4 large groups (x32) # 13.33 [+0.00] --------------------- # 16.41 [+3.08] TEST: Dump large (x32) ecmp groups [ OK ] # 17.46 [+1.05] # 17.46 [+0.00] IPv4 large resilient group (128k buckets) # 17.46 [+0.00] ----------------------------------------- # 17.50 [+0.04] TEST: Dump large (x131072) nexthop buckets [ OK ] # 18.51 [+1.01] # 18.51 [+0.00] IPv4 nexthop api compat mode # 18.51 [+0.00] ---------------------------- # 18.54 [+0.03] TEST: IPv4 default nexthop compat mode check [ OK ] # 18.81 [+0.27] TEST: IPv4 compat mode on - route add notification [ OK ] # 18.83 [+0.01] TEST: IPv4 compat mode on - route dump [ OK ] # 19.07 [+0.25] TEST: IPv4 compat mode on - nexthop change [ OK ] # 19.09 [+0.02] TEST: IPv4 set compat mode - 0 [ OK ] # 19.35 [+0.25] TEST: IPv4 compat mode off - route add notification [ OK ] # 19.36 [+0.01] TEST: IPv4 compat mode off - route dump [ OK ] # 19.60 [+0.24] TEST: IPv4 compat mode off - nexthop change [ OK ] # 19.84 [+0.24] TEST: IPv4 compat mode off - nexthop delete [ OK ] # 19.85 [+0.02] TEST: IPv4 set compat mode - 1 [ OK ] # 20.80 [+0.95] # 20.80 [+0.00] IPv4 fdb groups functional # 20.81 [+0.00] -------------------------- # 20.86 [+0.05] TEST: Fdb Nexthop group with multiple nexthops [ OK ] # 20.88 [+0.02] TEST: Get Fdb nexthop group by id [ OK ] # 20.92 [+0.03] TEST: Fdb Nexthop group with non-fdb nexthops [ OK ] # 20.95 [+0.03] TEST: Non-Fdb Nexthop group with fdb nexthops [ OK ] # 20.96 [+0.01] TEST: Fdb Nexthop with blackhole [ OK ] # 20.98 [+0.01] TEST: Fdb Nexthop with oif [ OK ] # 20.99 [+0.01] TEST: Fdb Nexthop with onlink [ OK ] # 21.00 [+0.01] TEST: Fdb Nexthop with encap [ OK ] WAIT TIMEOUT stdout Ctrl-C stdout Ctrl-C stdout ^C WAIT TIMEOUT stdout