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.07 [+13.07] # 13.07 [+0.00] Basic functional tests # 13.07 [+0.00] ---------------------- # 13.24 [+0.16] TEST: List with nothing defined [ OK ] # 13.44 [+0.21] TEST: Nexthop get on non-existent id [ OK ] # 13.64 [+0.19] TEST: Nexthop del with non-existent id [ OK ] # 13.80 [+0.16] TEST: Nexthop del with non-existent id and extra attributes [ OK ] # 13.96 [+0.16] TEST: Nexthop with no device or gateway [ OK ] # 14.30 [+0.34] TEST: Nexthop with down device [ OK ] # 14.79 [+0.49] TEST: Nexthop with device that is linkdown [ OK ] # 15.16 [+0.37] TEST: Nexthop with device only [ OK ] # 15.34 [+0.17] TEST: Nexthop with duplicate id [ OK ] # 15.51 [+0.17] TEST: Blackhole nexthop [ OK ] # 15.69 [+0.18] TEST: Blackhole nexthop with other attributes [ OK ] # 16.08 [+0.39] TEST: Blackhole nexthop with loopback device down [ OK ] # 16.76 [+0.68] TEST: Maximum nexthop ID dump [ OK ] # 16.92 [+0.16] TEST: Create group [ OK ] # 17.10 [+0.18] TEST: Create group with blackhole nexthop [ OK ] # 17.26 [+0.16] TEST: Create multipath group where 1 path is a blackhole [ OK ] # 17.79 [+0.53] TEST: Multipath group can not have a member replaced by blackhole [ OK ] # 17.97 [+0.17] TEST: Create group with non-existent nexthop [ OK ] # 18.14 [+0.17] TEST: Create group with same nexthop multiple times [ OK ] # 18.32 [+0.18] TEST: Replace nexthop with nexthop group [ OK ] # 18.50 [+0.18] TEST: Replace nexthop group with nexthop [ OK ] # 18.73 [+0.23] TEST: Nexthop group and device [ OK ] # 20.45 [+1.73] TEST: Test proto flush [ OK ] # 20.62 [+0.17] TEST: Nexthop group and blackhole [ OK ] # 72.08 [+51.46] TEST: Large scale nexthop flushing [ OK ] # 87.34 [+15.26] # 87.34 [+0.00] Basic resilient nexthop group functional tests # 87.34 [+0.00] ---------------------------------------------- # 87.88 [+0.53] TEST: Add a nexthop group with default parameters [ OK ] # 88.23 [+0.35] TEST: Get a nexthop group with default parameters [ OK ] # 88.75 [+0.53] TEST: Get a nexthop group with non-default parameters [ OK ] # 88.92 [+0.17] TEST: Add a nexthop group with 0 buckets [ OK ] # 89.08 [+0.16] TEST: Replace nexthop group parameters [ OK ] # 89.26 [+0.18] TEST: Get a nexthop group after replacing parameters [ OK ] # 89.42 [+0.16] TEST: Replace idle timer [ OK ] # 89.59 [+0.17] TEST: Get a nexthop group after replacing idle timer [ OK ] # 89.76 [+0.17] TEST: Replace unbalanced timer [ OK ] # 89.93 [+0.17] TEST: Get a nexthop group after replacing unbalanced timer [ OK ] # 90.10 [+0.17] TEST: Replace with no parameters [ OK ] # 90.27 [+0.17] TEST: Get a nexthop group after replacing no parameters [ OK ] # 90.45 [+0.18] TEST: Replace nexthop group type - implicit [ OK ] # 90.62 [+0.17] TEST: Replace nexthop group type - explicit [ OK ] # 90.79 [+0.17] TEST: Replace number of nexthop buckets [ OK ] # 90.97 [+0.18] TEST: Get a nexthop group after replacing with invalid parameters [ OK ] # 91.94 [+0.97] TEST: Dump all nexthop buckets [ OK ] # 92.13 [+0.19] TEST: Dump all nexthop buckets in a group [ OK ] # 92.57 [+0.43] TEST: All nexthop buckets report a positive near-zero idle time [ OK ] # 92.73 [+0.17] TEST: Dump all nexthop buckets with a specific nexthop device [ OK ] # 92.86 [+0.13] TEST: Dump all nexthop buckets with a specific nexthop identifier [ OK ] # 93.02 [+0.16] TEST: Dump all nexthop buckets in a non-existent group [ OK ] # 93.22 [+0.19] TEST: Dump all nexthop buckets in a non-resilient group [ OK ] # 93.65 [+0.43] TEST: Dump all nexthop buckets using a non-existent device [ OK ] # 93.81 [+0.17] TEST: Dump all nexthop buckets with invalid 'groups' keyword [ OK ] # 93.99 [+0.18] TEST: Dump all nexthop buckets with invalid 'fdb' keyword [ OK ] # 94.43 [+0.44] TEST: Maximum nexthop ID dump [ OK ] # 94.58 [+0.15] TEST: Get a valid nexthop bucket [ OK ] # 94.76 [+0.18] TEST: Get a nexthop bucket with valid group, but invalid index [ OK ] # 94.93 [+0.17] TEST: Get a nexthop bucket from a non-resilient group [ OK ] # 95.09 [+0.16] TEST: Get a nexthop bucket from a non-existent group [ OK ] # 96.04 [+0.96] TEST: Initial bucket allocation [ OK ] # 96.52 [+0.48] TEST: Bucket allocation after replace [ OK ] # 97.12 [+0.60] TEST: Buckets migrated after idle timer change [ OK ] # 111.58 [+14.46] # 111.58 [+0.00] IPv4 functional # 111.58 [+0.00] ---------------------- # 111.74 [+0.16] TEST: Create nexthop with id, gw, dev [ OK ] # 111.90 [+0.16] TEST: Get nexthop by id [ OK ] # 112.24 [+0.34] TEST: Delete nexthop by id [ OK ] # 112.59 [+0.35] TEST: Create nexthop - gw only [ OK ] # 112.76 [+0.17] TEST: Create nexthop - invalid gw+dev combination [ OK ] # 112.91 [+0.16] TEST: Create nexthop - gw+dev and onlink [ OK ] # 113.76 [+0.84] TEST: Nexthops removed on admin down [ OK ] # 114.65 [+0.89] TEST: Delete nexthop route warning [ OK ] # 115.48 [+0.83] TEST: Delete multipath route with only nh id based entry [ OK ] # 115.98 [+0.50] TEST: Delete route when specifying only nexthop device [ OK ] # 116.15 [+0.17] TEST: Delete route when specifying only gateway [ OK ] # 116.33 [+0.18] TEST: Delete route when not specifying nexthop attributes [ OK ] # 131.08 [+14.75] # 131.08 [+0.00] IPv4 groups functional # 131.08 [+0.00] ---------------------- # 131.46 [+0.38] TEST: Create nexthop group with single nexthop [ OK ] # 131.63 [+0.17] TEST: Get nexthop group by id [ OK ] # 132.01 [+0.38] TEST: Delete nexthop group by id [ OK ] # 133.27 [+1.25] TEST: Nexthop group with multiple nexthops [ OK ] # 133.80 [+0.53] TEST: Nexthop group updated when entry is deleted [ OK ] # 134.14 [+0.34] TEST: Nexthop group with weighted nexthops [ OK ] # 134.66 [+0.52] TEST: Weighted nexthop group updated when entry is deleted [ OK ] # 135.01 [+0.35] TEST: Nexthops in groups removed on admin down [ OK ] # 137.46 [+2.45] TEST: Multiple groups with same nexthop [ OK ] # 138.14 [+0.68] TEST: Nexthops in group removed on admin down - mixed group [ OK ] # 138.31 [+0.17] TEST: Nexthop group can not have a group as an entry [ OK ] # 138.65 [+0.34] TEST: Nexthop group with a blackhole entry [ OK ] # 138.81 [+0.16] TEST: Nexthop group can not have a blackhole and another nexthop [ OK ] # 153.66 [+14.86] # 153.66 [+0.00] IPv4 resilient groups functional # 153.67 [+0.00] -------------------------------- # 154.67 [+1.01] TEST: Nexthop group updated when entry is deleted [ OK ] # 154.81 [+0.14] TEST: Nexthop buckets updated when entry is deleted [ OK ] # 155.34 [+0.53] TEST: Nexthop group updated after replace [ OK ] # 155.51 [+0.16] TEST: Nexthop buckets updated after replace [ OK ] # 156.54 [+1.03] TEST: Nexthop group updated when entry is deleted - nECMP [ OK ] # 156.70 [+0.17] TEST: Nexthop buckets updated when entry is deleted - nECMP [ OK ] # 157.23 [+0.53] TEST: Nexthop group updated after replace - nECMP [ OK ] # 157.38 [+0.15] TEST: Nexthop buckets updated after replace - nECMP [ OK ] # 172.79 [+15.41] TEST: IPv6 nexthop with IPv4 route [ OK ] # 173.48 [+0.69] TEST: IPv6 nexthop with IPv4 route [ OK ] # 173.83 [+0.35] TEST: IPv4 route with IPv6 gateway [ OK ] # 174.17 [+0.34] TEST: IPv4 route with invalid IPv6 gateway [ OK ] # 188.98 [+14.81] # 188.98 [+0.00] IPv4 functional runtime # 188.98 [+0.00] ----------------------- # 189.32 [+0.34] TEST: Route add [ OK ] # 189.65 [+0.33] TEST: Route delete [ OK ] # 190.03 [+0.37] TEST: Route add - scope conflict with nexthop [ OK ] # 190.55 [+0.53] TEST: Nexthop replace with invalid scope for existing route [ OK ] # 190.83 [+0.27] TEST: IPv4 route with invalid metric [ OK ] # 191.48 [+0.66] TEST: Basic ping [ OK ] # 192.33 [+0.85] TEST: Ping - multipath [ OK ] # 193.30 [+0.97] TEST: Ping - multiple default routes, nh first [ OK ] # 194.44 [+1.14] TEST: Ping - multiple default routes, nh second [ OK ] # 195.42 [+0.98] TEST: Ping - blackhole [ OK ] # 195.89 [+0.47] TEST: Ping - blackhole replaced with gateway [ OK ] # 196.36 [+0.47] TEST: Ping - gateway replaced by blackhole [ OK ] # 197.27 [+0.91] TEST: Ping - group with blackhole [ OK ] # 197.72 [+0.45] TEST: Ping - group blackhole replaced with gateways [ OK ] # 198.08 [+0.36] TEST: IPv4 route with device only nexthop [ OK ] # 198.58 [+0.50] TEST: IPv4 multipath route with nexthop mix - dev only + gw [ OK ] # 199.56 [+0.98] TEST: IPv6 nexthop with IPv4 route [ OK ] # 200.32 [+0.76] TEST: IPv4 route with mixed v4-v6 multipath route [ OK ] # 200.81 [+0.49] TEST: IPv6 nexthop with IPv4 route [ OK ] # 201.29 [+0.49] TEST: IPv4 route with IPv6 gateway [ OK ] # 202.23 [+0.94] TEST: IPv4 default route with IPv6 gateway [ OK ] # 202.62 [+0.39] TEST: IPv4 route with MPLS encap [ OK ] # 202.80 [+0.18] TEST: IPv4 route with MPLS encap - check [ OK ] # 202.98 [+0.18] TEST: IPv4 route with MPLS encap and v6 gateway [ OK ] # 203.16 [+0.19] TEST: IPv4 route with MPLS encap, v6 gw - check [ OK ] # 218.48 [+15.32] # 218.48 [+0.00] IPv4 large groups (x32) # 218.48 [+0.00] --------------------- # 266.57 [+48.09] TEST: Dump large (x32) ecmp groups [ OK ] # 281.49 [+14.92] # 281.49 [+0.00] IPv4 large resilient group (128k buckets) # 281.49 [+0.00] ----------------------------------------- # 282.16 [+0.66] TEST: Dump large (x131072) nexthop buckets [ OK ] # 296.87 [+14.71] # 296.87 [+0.00] IPv4 nexthop api compat mode # 296.87 [+0.00] ---------------------------- # 297.39 [+0.52] TEST: IPv4 default nexthop compat mode check [ OK ] # 298.76 [+1.37] TEST: IPv4 compat mode on - route add notification [ OK ] # 298.94 [+0.18] TEST: IPv4 compat mode on - route dump [ OK ] # 299.96 [+1.02] TEST: IPv4 compat mode on - nexthop change [ OK ] # 300.22 [+0.26] TEST: IPv4 set compat mode - 0 [ OK ] # 301.23 [+1.01] TEST: IPv4 compat mode off - route add notification [ OK ] # 301.41 [+0.18] TEST: IPv4 compat mode off - route dump [ OK ] # 302.26 [+0.84] TEST: IPv4 compat mode off - nexthop change [ OK ] # 303.11 [+0.85] TEST: IPv4 compat mode off - nexthop delete [ OK ] # 303.36 [+0.25] TEST: IPv4 set compat mode - 1 [ OK ] # 318.28 [+14.92] # 318.28 [+0.00] IPv4 fdb groups functional # 318.28 [+0.00] -------------------------- # 319.13 [+0.84] TEST: Fdb Nexthop group with multiple nexthops [ OK ] # 319.46 [+0.34] TEST: Get Fdb nexthop group by id [ OK ] # 319.97 [+0.50] TEST: Fdb Nexthop group with non-fdb nexthops [ OK ] # 320.48 [+0.52] TEST: Non-Fdb Nexthop group with fdb nexthops [ OK ] # 320.65 [+0.17] TEST: Fdb Nexthop with blackhole [ OK ] # 320.82 [+0.17] TEST: Fdb Nexthop with oif [ OK ] # 320.99 [+0.16] TEST: Fdb Nexthop with onlink [ OK ] # 321.16 [+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