make -C tools/testing/selftests TARGETS=net TEST_PROGS=fib_nexthops.sh TESST_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 # # Basic functional tests # ---------------------- # TEST: List with nothing defined [ OK ] # TEST: Nexthop get on non-existent id [ OK ] # TEST: Nexthop del with non-existent id [ OK ] # TEST: Nexthop del with non-existent id and extra attributes [ OK ] # TEST: Nexthop with no device or gateway [ OK ] # TEST: Nexthop with down device [ OK ] # TEST: Nexthop with device that is linkdown [ OK ] # TEST: Nexthop with device only [ OK ] # TEST: Nexthop with duplicate id [ OK ] # TEST: Blackhole nexthop [ OK ] # TEST: Blackhole nexthop with other attributes [ OK ] # TEST: Blackhole nexthop with loopback device down [ OK ] # TEST: Maximum nexthop ID dump [ OK ] # TEST: Create group [ OK ] # TEST: Create group with blackhole nexthop [ OK ] # TEST: Create multipath group where 1 path is a blackhole [ OK ] # TEST: Multipath group can not have a member replaced by blackhole [ OK ] # TEST: Create group with non-existent nexthop [ OK ] # TEST: Create group with same nexthop multiple times [ OK ] # TEST: Replace nexthop with nexthop group [ OK ] # TEST: Replace nexthop group with nexthop [ OK ] # TEST: Nexthop group and device [ OK ] # TEST: Test proto flush [ OK ] # TEST: Nexthop group and blackhole [ OK ] # TEST: Large scale nexthop flushing [ OK ] # # Basic resilient nexthop group functional tests # ---------------------------------------------- # TEST: Add a nexthop group with default parameters [ OK ] # TEST: Get a nexthop group with default parameters [ OK ] # TEST: Get a nexthop group with non-default parameters [ OK ] # TEST: Add a nexthop group with 0 buckets [ OK ] # TEST: Replace nexthop group parameters [ OK ] # TEST: Get a nexthop group after replacing parameters [ OK ] # TEST: Replace idle timer [ OK ] # TEST: Get a nexthop group after replacing idle timer [ OK ] # TEST: Replace unbalanced timer [ OK ] # TEST: Get a nexthop group after replacing unbalanced timer [ OK ] # TEST: Replace with no parameters [ OK ] # TEST: Get a nexthop group after replacing no parameters [ OK ] # TEST: Replace nexthop group type - implicit [ OK ] # TEST: Replace nexthop group type - explicit [ OK ] # TEST: Replace number of nexthop buckets [ OK ] # TEST: Get a nexthop group after replacing with invalid parameters [ OK ] # TEST: Dump all nexthop buckets [ OK ] # TEST: Dump all nexthop buckets in a group [ OK ] # TEST: All nexthop buckets report a positive near-zero idle time [ OK ] # TEST: Dump all nexthop buckets with a specific nexthop device [ OK ] # TEST: Dump all nexthop buckets with a specific nexthop identifier [ OK ] # TEST: Dump all nexthop buckets in a non-existent group [ OK ] # TEST: Dump all nexthop buckets in a non-resilient group [ OK ] # TEST: Dump all nexthop buckets using a non-existent device [ OK ] # TEST: Dump all nexthop buckets with invalid 'groups' keyword [ OK ] # TEST: Dump all nexthop buckets with invalid 'fdb' keyword [ OK ] # TEST: Maximum nexthop ID dump [ OK ] # TEST: Get a valid nexthop bucket [ OK ] # TEST: Get a nexthop bucket with valid group, but invalid index [ OK ] # TEST: Get a nexthop bucket from a non-resilient group [ OK ] # TEST: Get a nexthop bucket from a non-existent group [ OK ] # TEST: Initial bucket allocation [ OK ] # TEST: Bucket allocation after replace [ OK ] # TEST: Buckets migrated after idle timer change [ OK ] # # IPv4 functional # ---------------------- # TEST: Create nexthop with id, gw, dev [ OK ] # TEST: Get nexthop by id [ OK ] # TEST: Delete nexthop by id [ OK ] # TEST: Create nexthop - gw only [ OK ] # TEST: Create nexthop - invalid gw+dev combination [ OK ] # TEST: Create nexthop - gw+dev and onlink [ OK ] # TEST: Nexthops removed on admin down [ OK ] # TEST: Delete nexthop route warning [ OK ] # TEST: Delete multipath route with only nh id based entry [ OK ] # TEST: Delete route when specifying only nexthop device [ OK ] # TEST: Delete route when specifying only gateway [ OK ] # TEST: Delete route when not specifying nexthop attributes [ OK ] # # IPv4 groups functional # ---------------------- # TEST: Create nexthop group with single nexthop [ OK ] # TEST: Get nexthop group by id [ OK ] # TEST: Delete nexthop group by id [ OK ] # TEST: Nexthop group with multiple nexthops [ OK ] # TEST: Nexthop group updated when entry is deleted [ OK ] # TEST: Nexthop group with weighted nexthops [ OK ] # TEST: Weighted nexthop group updated when entry is deleted [ OK ] # TEST: Nexthops in groups removed on admin down [ OK ] # TEST: Multiple groups with same nexthop [ OK ] # TEST: Nexthops in group removed on admin down - mixed group [ OK ] # TEST: Nexthop group can not have a group as an entry [ OK ] # TEST: Nexthop group with a blackhole entry [ OK ] # TEST: Nexthop group can not have a blackhole and another nexthop [ OK ] # # IPv4 resilient groups functional # -------------------------------- # TEST: Nexthop group updated when entry is deleted [ OK ] # TEST: Nexthop buckets updated when entry is deleted [ OK ] # TEST: Nexthop group updated after replace [ OK ] # TEST: Nexthop buckets updated after replace [ OK ] # TEST: Nexthop group updated when entry is deleted - nECMP [ OK ] # TEST: Nexthop buckets updated when entry is deleted - nECMP [ OK ] # TEST: Nexthop group updated after replace - nECMP [ OK ] # TEST: Nexthop buckets updated after replace - nECMP [ OK ] not ok 1 selftests: net: fib_nexthops.sh # exit=1 make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->