make -C tools/testing/selftests TARGETS="net" TEST_PROGS=fib_nexthops.sh TTEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: fib_nexthops.sh # 13.90 [+13.90] # 13.90 [+0.00] Basic functional tests # 13.90 [+0.00] ---------------------- # 14.06 [+0.16] TEST: List with nothing defined [ OK ] # 14.23 [+0.17] TEST: Nexthop get on non-existent id [ OK ] # 14.41 [+0.17] TEST: Nexthop del with non-existent id [ OK ] # 14.59 [+0.18] TEST: Nexthop del with non-existent id and extra attributes [ OK ] # 14.76 [+0.17] TEST: Nexthop with no device or gateway [ OK ] # 15.10 [+0.34] TEST: Nexthop with down device [ OK ] # 15.66 [+0.56] TEST: Nexthop with device that is linkdown [ OK ] # 16.01 [+0.35] TEST: Nexthop with device only [ OK ] # 16.22 [+0.21] TEST: Nexthop with duplicate id [ OK ] # 16.41 [+0.20] TEST: Blackhole nexthop [ OK ] # 16.58 [+0.16] TEST: Blackhole nexthop with other attributes [ OK ] # 16.97 [+0.39] TEST: Blackhole nexthop with loopback device down [ OK ] # 17.60 [+0.63] TEST: Maximum nexthop ID dump [ OK ] # 17.80 [+0.20] TEST: Create group [ OK ] # 18.00 [+0.20] TEST: Create group with blackhole nexthop [ OK ] # 18.18 [+0.19] TEST: Create multipath group where 1 path is a blackhole [ OK ] # 18.69 [+0.51] TEST: Multipath group can not have a member replaced by blackhole [ OK ] # 18.86 [+0.17] TEST: Create group with non-existent nexthop [ OK ] # 19.03 [+0.17] TEST: Create group with same nexthop multiple times [ OK ] # 19.21 [+0.18] TEST: Replace nexthop with nexthop group [ OK ] # 19.37 [+0.17] TEST: Replace nexthop group with nexthop [ OK ] # 19.53 [+0.16] TEST: Nexthop group and device [ OK ] # 21.28 [+1.75] TEST: Test proto flush [ OK ] # 21.45 [+0.17] TEST: Nexthop group and blackhole [ OK ] # 74.81 [+53.36] TEST: Large scale nexthop flushing [ OK ] # 90.79 [+15.98] # 90.79 [+0.00] Basic resilient nexthop group functional tests # 90.79 [+0.00] ---------------------------------------------- # 91.32 [+0.52] TEST: Add a nexthop group with default parameters [ OK ] # 91.66 [+0.34] TEST: Get a nexthop group with default parameters [ OK ] # 92.19 [+0.53] TEST: Get a nexthop group with non-default parameters [ OK ] # 92.36 [+0.17] TEST: Add a nexthop group with 0 buckets [ OK ] # 92.54 [+0.18] TEST: Replace nexthop group parameters [ OK ] # 92.74 [+0.20] TEST: Get a nexthop group after replacing parameters [ OK ] # 92.91 [+0.17] TEST: Replace idle timer [ OK ] # 93.10 [+0.19] TEST: Get a nexthop group after replacing idle timer [ OK ] # 93.27 [+0.17] TEST: Replace unbalanced timer [ OK ] # 93.45 [+0.18] TEST: Get a nexthop group after replacing unbalanced timer [ OK ] # 93.62 [+0.17] TEST: Replace with no parameters [ OK ] # 93.82 [+0.19] TEST: Get a nexthop group after replacing no parameters [ OK ] # 93.99 [+0.18] TEST: Replace nexthop group type - implicit [ OK ] # 94.19 [+0.20] TEST: Replace nexthop group type - explicit [ OK ] # 94.36 [+0.17] TEST: Replace number of nexthop buckets [ OK ] # 94.54 [+0.18] TEST: Get a nexthop group after replacing with invalid parameters [ OK ] # 95.57 [+1.02] TEST: Dump all nexthop buckets [ OK ] # 95.72 [+0.16] TEST: Dump all nexthop buckets in a group [ OK ] # 96.16 [+0.44] TEST: All nexthop buckets report a positive near-zero idle time [ OK ] # 96.33 [+0.17] TEST: Dump all nexthop buckets with a specific nexthop device [ OK ] # 96.51 [+0.18] TEST: Dump all nexthop buckets with a specific nexthop identifier [ OK ] # 96.70 [+0.20] TEST: Dump all nexthop buckets in a non-existent group [ OK ] # 96.87 [+0.17] TEST: Dump all nexthop buckets in a non-resilient group [ OK ] # 97.36 [+0.49] TEST: Dump all nexthop buckets using a non-existent device [ OK ] # 97.54 [+0.18] TEST: Dump all nexthop buckets with invalid 'groups' keyword [ OK ] # 97.71 [+0.17] TEST: Dump all nexthop buckets with invalid 'fdb' keyword [ OK ] # 98.16 [+0.45] TEST: Maximum nexthop ID dump [ OK ] # 98.32 [+0.17] TEST: Get a valid nexthop bucket [ OK ] # 98.49 [+0.17] TEST: Get a nexthop bucket with valid group, but invalid index [ OK ] # 98.65 [+0.16] TEST: Get a nexthop bucket from a non-resilient group [ OK ] # 98.82 [+0.17] TEST: Get a nexthop bucket from a non-existent group [ OK ] # 99.82 [+1.00] TEST: Initial bucket allocation [ OK ] # 100.30 [+0.49] TEST: Bucket allocation after replace [ OK ] # 100.94 [+0.63] TEST: Buckets migrated after idle timer change [ OK ] # 115.87 [+14.93] # 115.87 [+0.00] IPv4 functional # 115.87 [+0.00] ---------------------- # 116.04 [+0.17] TEST: Create nexthop with id, gw, dev [ OK ] # 116.21 [+0.16] TEST: Get nexthop by id [ OK ] # 116.56 [+0.36] TEST: Delete nexthop by id [ OK ] # 116.90 [+0.34] TEST: Create nexthop - gw only [ OK ] # 117.07 [+0.16] TEST: Create nexthop - invalid gw+dev combination [ OK ] # 117.24 [+0.17] TEST: Create nexthop - gw+dev and onlink [ OK ] # 118.10 [+0.86] TEST: Nexthops removed on admin down [ OK ] # 119.03 [+0.93] TEST: Delete nexthop route warning [ OK ] # 119.88 [+0.85] TEST: Delete multipath route with only nh id based entry [ OK ] # 120.39 [+0.51] TEST: Delete route when specifying only nexthop device [ OK ] # 120.60 [+0.21] TEST: Delete route when specifying only gateway [ OK ] # 120.76 [+0.16] TEST: Delete route when not specifying nexthop attributes [ OK ] # 135.35 [+14.59] # 135.35 [+0.00] IPv4 groups functional # 135.36 [+0.00] ---------------------- # 135.68 [+0.32] TEST: Create nexthop group with single nexthop [ OK ] # 135.86 [+0.18] TEST: Get nexthop group by id [ OK ] # 136.20 [+0.34] TEST: Delete nexthop group by id [ OK ] # 137.36 [+1.16] TEST: Nexthop group with multiple nexthops [ OK ] # 137.88 [+0.51] TEST: Nexthop group updated when entry is deleted [ OK ] # 138.22 [+0.34] TEST: Nexthop group with weighted nexthops [ OK ] # 138.72 [+0.51] TEST: Weighted nexthop group updated when entry is deleted [ OK ] # 139.07 [+0.35] TEST: Nexthops in groups removed on admin down [ OK ] # 141.44 [+2.36] TEST: Multiple groups with same nexthop [ OK ] # 142.12 [+0.68] TEST: Nexthops in group removed on admin down - mixed group [ OK ] # 142.29 [+0.17] TEST: Nexthop group can not have a group as an entry [ OK ] # 142.63 [+0.34] TEST: Nexthop group with a blackhole entry [ OK ] # 142.79 [+0.16] TEST: Nexthop group can not have a blackhole and another nexthop [ OK ] # 157.33 [+14.54] # 157.33 [+0.00] IPv4 resilient groups functional # 157.33 [+0.00] -------------------------------- # 158.36 [+1.03] TEST: Nexthop group updated when entry is deleted [ OK ] # 158.54 [+0.17] TEST: Nexthop buckets updated when entry is deleted [ OK ] # 159.06 [+0.52] TEST: Nexthop group updated after replace [ OK ] # 159.23 [+0.17] TEST: Nexthop buckets updated after replace [ OK ] # 160.22 [+1.00] TEST: Nexthop group updated when entry is deleted - nECMP [ OK ] # 160.37 [+0.15] TEST: Nexthop buckets updated when entry is deleted - nECMP [ OK ] # 160.90 [+0.52] TEST: Nexthop group updated after replace - nECMP [ OK ] # 161.04 [+0.14] TEST: Nexthop buckets updated after replace - nECMP [ OK ] # 176.43 [+15.39] TEST: IPv6 nexthop with IPv4 route [ OK ] # 177.15 [+0.73] TEST: IPv6 nexthop with IPv4 route [ OK ] # 177.50 [+0.35] TEST: IPv4 route with IPv6 gateway [ OK ] # 177.86 [+0.36] TEST: IPv4 route with invalid IPv6 gateway [ OK ] # 193.29 [+15.43] # 193.29 [+0.00] IPv4 functional runtime # 193.29 [+0.00] ----------------------- # 193.64 [+0.35] TEST: Route add [ OK ] # 193.98 [+0.34] TEST: Route delete [ OK ] # 194.32 [+0.34] TEST: Route add - scope conflict with nexthop [ OK ] # 194.82 [+0.50] TEST: Nexthop replace with invalid scope for existing route [ OK ] # 195.10 [+0.28] TEST: IPv4 route with invalid metric [ OK ] # 195.76 [+0.66] TEST: Basic ping [ OK ] # 196.55 [+0.79] TEST: Ping - multipath [ OK ] # 197.55 [+0.99] TEST: Ping - multiple default routes, nh first [ OK ] # 198.68 [+1.13] TEST: Ping - multiple default routes, nh second [ OK ] # 199.66 [+0.98] TEST: Ping - blackhole [ OK ] # 200.12 [+0.46] TEST: Ping - blackhole replaced with gateway [ OK ] # 200.60 [+0.48] TEST: Ping - gateway replaced by blackhole [ OK ] # 201.51 [+0.91] TEST: Ping - group with blackhole [ OK ] # 201.96 [+0.45] TEST: Ping - group blackhole replaced with gateways [ OK ] # 202.29 [+0.33] TEST: IPv4 route with device only nexthop [ OK ] # 202.81 [+0.52] TEST: IPv4 multipath route with nexthop mix - dev only + gw [ OK ] # 203.78 [+0.97] TEST: IPv6 nexthop with IPv4 route [ OK ] # 204.57 [+0.79] TEST: IPv4 route with mixed v4-v6 multipath route [ OK ] # 205.04 [+0.47] TEST: IPv6 nexthop with IPv4 route [ OK ] # 205.50 [+0.46] TEST: IPv4 route with IPv6 gateway [ OK ] # 206.42 [+0.92] TEST: IPv4 default route with IPv6 gateway [ OK ] # 206.84 [+0.42] TEST: IPv4 route with MPLS encap [ OK ] # 207.04 [+0.20] TEST: IPv4 route with MPLS encap - check [ OK ] # 207.23 [+0.18] TEST: IPv4 route with MPLS encap and v6 gateway [ OK ] # 207.41 [+0.18] TEST: IPv4 route with MPLS encap, v6 gw - check [ OK ] # 222.51 [+15.10] # 222.51 [+0.00] IPv4 large groups (x32) # 222.51 [+0.00] --------------------- # 269.53 [+47.02] TEST: Dump large (x32) ecmp groups [ OK ] # 284.45 [+14.92] # 284.45 [+0.00] IPv4 large resilient group (128k buckets) # 284.45 [+0.00] ----------------------------------------- # 285.14 [+0.69] TEST: Dump large (x131072) nexthop buckets [ OK ] # 299.91 [+14.77] # 299.91 [+0.00] IPv4 nexthop api compat mode # 299.91 [+0.00] ---------------------------- # 300.47 [+0.55] TEST: IPv4 default nexthop compat mode check [ OK ] # 301.78 [+1.31] TEST: IPv4 compat mode on - route add notification [ OK ] # 301.96 [+0.18] TEST: IPv4 compat mode on - route dump [ OK ] # 302.99 [+1.03] TEST: IPv4 compat mode on - nexthop change [ OK ] # 303.30 [+0.30] TEST: IPv4 set compat mode - 0 [ OK ] # 304.28 [+0.98] TEST: IPv4 compat mode off - route add notification [ OK ] # 304.47 [+0.19] TEST: IPv4 compat mode off - route dump [ OK ] # 305.27 [+0.80] TEST: IPv4 compat mode off - nexthop change [ OK ] # 306.08 [+0.80] TEST: IPv4 compat mode off - nexthop delete [ OK ] # 306.35 [+0.27] TEST: IPv4 set compat mode - 1 [ OK ] # 321.03 [+14.68] # 321.03 [+0.00] IPv4 fdb groups functional # 321.03 [+0.00] -------------------------- # 321.83 [+0.80] TEST: Fdb Nexthop group with multiple nexthops [ OK ] # 322.17 [+0.34] TEST: Get Fdb nexthop group by id [ OK ] # 322.68 [+0.51] TEST: Fdb Nexthop group with non-fdb nexthops [ OK ] # 323.22 [+0.54] TEST: Non-Fdb Nexthop group with fdb nexthops [ OK ] # 323.40 [+0.19] TEST: Fdb Nexthop with blackhole [ OK ] # 323.58 [+0.18] TEST: Fdb Nexthop with oif [ OK ] # 323.75 [+0.17] TEST: Fdb Nexthop with onlink [ OK ] # 323.92 [+0.17] TEST: Fdb Nexthop with encap [ OK ] DETECTED CRASH, lowering timeout WAIT TIMEOUT stdout Ctrl-C stdout Ctrl-C stdout ^C WAIT TIMEOUT stdout