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.07 [+1.07] # 1.07 [+0.00] Basic functional tests # 1.07 [+0.00] ---------------------- # 1.08 [+0.01] TEST: List with nothing defined [ OK ] # 1.10 [+0.02] TEST: Nexthop get on non-existent id [ OK ] # 1.11 [+0.01] TEST: Nexthop del with non-existent id [ OK ] # 1.13 [+0.02] TEST: Nexthop del with non-existent id and extra attributes [ OK ] # 1.14 [+0.02] TEST: Nexthop with no device or gateway [ OK ] # 1.17 [+0.03] TEST: Nexthop with down device [ OK ] # 1.21 [+0.04] TEST: Nexthop with device that is linkdown [ OK ] # 1.24 [+0.03] TEST: Nexthop with device only [ OK ] # 1.26 [+0.02] TEST: Nexthop with duplicate id [ OK ] # 1.28 [+0.02] TEST: Blackhole nexthop [ OK ] # 1.29 [+0.02] TEST: Blackhole nexthop with other attributes [ OK ] # 1.32 [+0.03] TEST: Blackhole nexthop with loopback device down [ OK ] # 1.37 [+0.05] TEST: Maximum nexthop ID dump [ OK ] # 1.39 [+0.01] TEST: Create group [ OK ] # 1.40 [+0.02] TEST: Create group with blackhole nexthop [ OK ] # 1.42 [+0.02] TEST: Create multipath group where 1 path is a blackhole [ OK ] # 1.47 [+0.05] TEST: Multipath group can not have a member replaced by blackhole [ OK ] # 1.48 [+0.02] TEST: Create group with non-existent nexthop [ OK ] # 1.50 [+0.02] TEST: Create group with same nexthop multiple times [ OK ] # 1.51 [+0.01] TEST: Replace nexthop with nexthop group [ OK ] # 1.53 [+0.01] TEST: Replace nexthop group with nexthop [ OK ] # 1.54 [+0.02] TEST: Nexthop group and device [ OK ] # 1.69 [+0.15] TEST: Test proto flush [ OK ] # 1.71 [+0.02] TEST: Nexthop group and blackhole [ OK ] # 3.57 [+1.86] TEST: Large scale nexthop flushing [ OK ] # 4.97 [+1.41] # 4.97 [+0.00] Basic resilient nexthop group functional tests # 4.97 [+0.00] ---------------------------------------------- # 5.02 [+0.05] TEST: Add a nexthop group with default parameters [ OK ] # 5.05 [+0.03] TEST: Get a nexthop group with default parameters [ OK ] # 5.10 [+0.05] TEST: Get a nexthop group with non-default parameters [ OK ] # 5.12 [+0.01] TEST: Add a nexthop group with 0 buckets [ OK ] # 5.13 [+0.02] TEST: Replace nexthop group parameters [ OK ] # 5.15 [+0.02] TEST: Get a nexthop group after replacing parameters [ OK ] # 5.16 [+0.01] TEST: Replace idle timer [ OK ] # 5.18 [+0.01] TEST: Get a nexthop group after replacing idle timer [ OK ] # 5.19 [+0.01] 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.24 [+0.02] TEST: Get a nexthop group after replacing no parameters [ OK ] # 5.26 [+0.01] TEST: Replace nexthop group type - implicit [ OK ] # 5.27 [+0.01] TEST: Replace nexthop group type - explicit [ OK ] # 5.29 [+0.02] TEST: Replace number of nexthop buckets [ OK ] # 5.30 [+0.01] TEST: Get a nexthop group after replacing with invalid parameters [ OK ] # 5.39 [+0.09] TEST: Dump all nexthop buckets [ OK ] # 5.40 [+0.01] TEST: Dump all nexthop buckets in a group [ OK ] # 5.53 [+0.13] TEST: All nexthop buckets report a positive near-zero idle time [ OK ] # 5.55 [+0.01] TEST: Dump all nexthop buckets with a specific nexthop device [ OK ] # 5.56 [+0.01] TEST: Dump all nexthop buckets with a specific nexthop identifier [ OK ] # 5.57 [+0.01] TEST: Dump all nexthop buckets in a non-existent group [ OK ] # 5.59 [+0.02] TEST: Dump all nexthop buckets in a non-resilient group [ OK ] # 5.63 [+0.04] TEST: Dump all nexthop buckets using a non-existent device [ OK ] # 5.65 [+0.02] TEST: Dump all nexthop buckets with invalid 'groups' keyword [ OK ] # 5.66 [+0.02] TEST: Dump all nexthop buckets with invalid 'fdb' keyword [ OK ] # 5.70 [+0.04] TEST: Maximum nexthop ID dump [ OK ] # 5.72 [+0.01] TEST: Get a valid nexthop bucket [ OK ] # 5.73 [+0.02] TEST: Get a nexthop bucket with valid group, but invalid index [ OK ] # 5.75 [+0.02] TEST: Get a nexthop bucket from a non-resilient group [ OK ] # 5.76 [+0.01] TEST: Get a nexthop bucket from a non-existent group [ OK ] # 5.84 [+0.08] TEST: Initial bucket allocation [ OK ] # 5.88 [+0.04] TEST: Bucket allocation after replace [ OK ] # 5.93 [+0.06] TEST: Buckets migrated after idle timer change [ OK ] # 7.28 [+1.35] # 7.29 [+0.00] IPv4 functional # 7.29 [+0.00] ---------------------- # 7.30 [+0.01] TEST: Create nexthop with id, gw, dev [ OK ] # 7.31 [+0.01] TEST: Get nexthop by id [ OK ] # 7.34 [+0.03] TEST: Delete nexthop by id [ OK ] # 7.37 [+0.03] TEST: Create nexthop - gw only [ OK ] # 7.39 [+0.02] TEST: Create nexthop - invalid gw+dev combination [ OK ] # 7.40 [+0.02] TEST: Create nexthop - gw+dev and onlink [ OK ] # 7.47 [+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.66 [+0.04] 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.00 [+1.30] # 9.00 [+0.00] IPv4 groups functional # 9.00 [+0.00] ---------------------- # 9.03 [+0.03] TEST: Create nexthop group with single nexthop [ OK ] # 9.05 [+0.01] TEST: Get nexthop group by id [ OK ] # 9.08 [+0.03] TEST: Delete nexthop group by id [ OK ] # 9.19 [+0.10] TEST: Nexthop group with multiple nexthops [ OK ] # 9.23 [+0.05] TEST: Nexthop group updated when entry is deleted [ OK ] # 9.26 [+0.03] TEST: Nexthop group with weighted nexthops [ OK ] # 9.31 [+0.05] TEST: Weighted nexthop group updated when entry is deleted [ OK ] # 9.35 [+0.04] TEST: Nexthops in groups removed on admin down [ OK ] # 9.58 [+0.23] TEST: Multiple groups with same nexthop [ OK ] # 9.64 [+0.06] TEST: Nexthops in group removed on admin down - mixed group [ OK ] # 9.66 [+0.02] TEST: Nexthop group can not have a group as an entry [ OK ] # 9.69 [+0.03] TEST: Nexthop group with a blackhole entry [ OK ] # 9.70 [+0.01] TEST: Nexthop group can not have a blackhole and another nexthop [ OK ] # 11.12 [+1.42] # 11.12 [+0.00] IPv4 resilient groups functional # 11.12 [+0.00] -------------------------------- # 11.21 [+0.09] TEST: Nexthop group updated when entry is deleted [ OK ] # 11.22 [+0.01] TEST: Nexthop buckets updated when entry is deleted [ OK ] # 11.27 [+0.04] TEST: Nexthop group updated after replace [ OK ] # 11.28 [+0.01] TEST: Nexthop buckets updated after replace [ OK ] # 11.38 [+0.10] TEST: Nexthop group updated when entry is deleted - nECMP [ OK ] # 11.39 [+0.02] TEST: Nexthop buckets updated when entry is deleted - nECMP [ OK ] # 11.45 [+0.05] TEST: Nexthop group updated after replace - nECMP [ OK ] # 11.46 [+0.01] TEST: Nexthop buckets updated after replace - nECMP [ OK ] # 12.91 [+1.45] TEST: IPv6 nexthop with IPv4 route [ OK ] # 12.98 [+0.07] TEST: IPv6 nexthop with IPv4 route [ OK ] # 13.02 [+0.03] TEST: IPv4 route with IPv6 gateway [ OK ] # 13.05 [+0.03] TEST: IPv4 route with invalid IPv6 gateway [ OK ] # 14.42 [+1.37] # 14.42 [+0.00] IPv4 functional runtime # 14.42 [+0.00] ----------------------- # 14.45 [+0.03] TEST: Route add [ OK ] # 14.48 [+0.03] TEST: Route delete [ OK ] # 14.52 [+0.03] TEST: Route add - scope conflict with nexthop [ OK ] # 14.56 [+0.05] TEST: Nexthop replace with invalid scope for existing route [ OK ] # 14.59 [+0.03] TEST: IPv4 route with invalid metric [ OK ] # 14.65 [+0.06] TEST: Basic ping [ OK ] # 14.73 [+0.07] TEST: Ping - multipath [ OK ] # 14.82 [+0.09] TEST: Ping - multiple default routes, nh first [ OK ] # 14.92 [+0.11] TEST: Ping - multiple default routes, nh second [ OK ] # 15.02 [+0.09] TEST: Ping - blackhole [ OK ] # 15.06 [+0.04] TEST: Ping - blackhole replaced with gateway [ OK ] # 15.10 [+0.04] TEST: Ping - gateway replaced by blackhole [ OK ] # 15.19 [+0.09] TEST: Ping - group with blackhole [ OK ] # 15.23 [+0.04] TEST: Ping - group blackhole replaced with gateways [ OK ] # 15.26 [+0.03] TEST: IPv4 route with device only nexthop [ OK ] # 15.31 [+0.04] TEST: IPv4 multipath route with nexthop mix - dev only + gw [ OK ] # 15.39 [+0.08] TEST: IPv6 nexthop with IPv4 route [ OK ] # 15.45 [+0.06] TEST: IPv4 route with mixed v4-v6 multipath route [ OK ] # 15.49 [+0.04] TEST: IPv6 nexthop with IPv4 route [ OK ] # 15.53 [+0.04] TEST: IPv4 route with IPv6 gateway [ OK ] # 15.60 [+0.07] TEST: IPv4 default route with IPv6 gateway [ OK ] # 15.64 [+0.04] TEST: IPv4 route with MPLS encap [ OK ] # 15.65 [+0.02] TEST: IPv4 route with MPLS encap - check [ OK ] # 15.67 [+0.02] TEST: IPv4 route with MPLS encap and v6 gateway [ OK ] # 15.68 [+0.01] TEST: IPv4 route with MPLS encap, v6 gw - check [ OK ] # 16.97 [+1.29] # 16.97 [+0.00] IPv4 large groups (x32) # 16.97 [+0.00] --------------------- # 21.22 [+4.25] TEST: Dump large (x32) ecmp groups [ OK ] # 22.46 [+1.24] # 22.46 [+0.00] IPv4 large resilient group (128k buckets) # 22.46 [+0.00] ----------------------------------------- # 22.52 [+0.06] TEST: Dump large (x131072) nexthop buckets [ OK ] # 23.79 [+1.27] # 23.79 [+0.00] IPv4 nexthop api compat mode # 23.80 [+0.00] ---------------------------- # 23.84 [+0.05] TEST: IPv4 default nexthop compat mode check [ OK ] # 24.14 [+0.30] TEST: IPv4 compat mode on - route add notification [ OK ] # 24.15 [+0.01] TEST: IPv4 compat mode on - route dump [ OK ] # 24.42 [+0.26] TEST: IPv4 compat mode on - nexthop change [ OK ] # 24.44 [+0.02] TEST: IPv4 set compat mode - 0 [ OK ] # 24.71 [+0.26] TEST: IPv4 compat mode off - route add notification [ OK ] # 24.72 [+0.02] TEST: IPv4 compat mode off - route dump [ OK ] # 24.97 [+0.25] TEST: IPv4 compat mode off - nexthop change [ OK ] # 25.23 [+0.25] TEST: IPv4 compat mode off - nexthop delete [ OK ] # 25.25 [+0.02] TEST: IPv4 set compat mode - 1 [ OK ] # 26.54 [+1.30] # 26.54 [+0.00] IPv4 fdb groups functional # 26.54 [+0.00] -------------------------- # 26.61 [+0.07] TEST: Fdb Nexthop group with multiple nexthops [ OK ] # 26.64 [+0.03] TEST: Get Fdb nexthop group by id [ OK ] # 26.69 [+0.04] TEST: Fdb Nexthop group with non-fdb nexthops [ OK ] # 26.73 [+0.05] TEST: Non-Fdb Nexthop group with fdb nexthops [ OK ] # 26.75 [+0.02] TEST: Fdb Nexthop with blackhole [ OK ] # 26.76 [+0.01] TEST: Fdb Nexthop with oif [ OK ] # 26.78 [+0.02] TEST: Fdb Nexthop with onlink [ OK ] # 26.80 [+0.02] TEST: Fdb Nexthop with encap [ OK ] WAIT TIMEOUT stdout Ctrl-C stdout Ctrl-C stdout ^C WAIT TIMEOUT stdout