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 # 8.09 [+8.09] # 8.10 [+0.00] Basic functional tests # 8.10 [+0.00] ---------------------- # 8.20 [+0.11] TEST: List with nothing defined [ OK ] # 8.33 [+0.13] TEST: Nexthop get on non-existent id [ OK ] # 8.46 [+0.13] TEST: Nexthop del with non-existent id [ OK ] # 8.57 [+0.11] TEST: Nexthop del with non-existent id and extra attributes [ OK ] # 8.68 [+0.11] TEST: Nexthop with no device or gateway [ OK ] # 8.91 [+0.23] TEST: Nexthop with down device [ OK ] # 9.26 [+0.35] TEST: Nexthop with device that is linkdown [ OK ] # 9.49 [+0.23] TEST: Nexthop with device only [ OK ] # 9.61 [+0.12] TEST: Nexthop with duplicate id [ OK ] # 9.73 [+0.12] TEST: Blackhole nexthop [ OK ] # 9.86 [+0.13] TEST: Blackhole nexthop with other attributes [ OK ] # 10.11 [+0.25] TEST: Blackhole nexthop with loopback device down [ OK ] # 10.51 [+0.40] TEST: Maximum nexthop ID dump [ OK ] # 10.63 [+0.12] TEST: Create group [ OK ] # 10.76 [+0.14] TEST: Create group with blackhole nexthop [ OK ] # 10.88 [+0.12] TEST: Create multipath group where 1 path is a blackhole [ OK ] # 11.22 [+0.34] TEST: Multipath group can not have a member replaced by blackhole [ OK ] # 11.33 [+0.11] TEST: Create group with non-existent nexthop [ OK ] # 11.45 [+0.12] TEST: Create group with same nexthop multiple times [ OK ] # 11.57 [+0.12] TEST: Replace nexthop with nexthop group [ OK ] # 11.70 [+0.13] TEST: Replace nexthop group with nexthop [ OK ] # 11.81 [+0.12] TEST: Nexthop group and device [ OK ] # 13.00 [+1.19] TEST: Test proto flush [ OK ] # 13.12 [+0.12] TEST: Nexthop group and blackhole [ OK ] # 104.25 [+91.13] TEST: Large scale nexthop flushing [ OK ] # 114.16 [+9.90] # 114.16 [+0.00] Basic resilient nexthop group functional tests # 114.16 [+0.00] ---------------------------------------------- # 114.52 [+0.36] TEST: Add a nexthop group with default parameters [ OK ] # 114.77 [+0.26] TEST: Get a nexthop group with default parameters [ OK ] # 115.13 [+0.35] TEST: Get a nexthop group with non-default parameters [ OK ] # 115.25 [+0.13] TEST: Add a nexthop group with 0 buckets [ OK ] # 115.37 [+0.12] TEST: Replace nexthop group parameters [ OK ] # 115.50 [+0.13] TEST: Get a nexthop group after replacing parameters [ OK ] # 115.62 [+0.12] TEST: Replace idle timer [ OK ] # 115.77 [+0.15] TEST: Get a nexthop group after replacing idle timer [ OK ] # 115.90 [+0.13] TEST: Replace unbalanced timer [ OK ] # 116.04 [+0.14] TEST: Get a nexthop group after replacing unbalanced timer [ OK ] # 116.16 [+0.12] TEST: Replace with no parameters [ OK ] # 116.28 [+0.12] TEST: Get a nexthop group after replacing no parameters [ OK ] # 116.41 [+0.13] TEST: Replace nexthop group type - implicit [ OK ] # 116.52 [+0.12] TEST: Replace nexthop group type - explicit [ OK ] # 116.63 [+0.11] TEST: Replace number of nexthop buckets [ OK ] # 116.76 [+0.13] TEST: Get a nexthop group after replacing with invalid parameters [ OK ] # 117.58 [+0.83] TEST: Dump all nexthop buckets [ OK ] # 117.74 [+0.15] TEST: Dump all nexthop buckets in a group [ OK ] # 118.05 [+0.31] TEST: All nexthop buckets report a positive near-zero idle time [ OK ] # 118.21 [+0.16] TEST: Dump all nexthop buckets with a specific nexthop device [ OK ] # 118.36 [+0.15] TEST: Dump all nexthop buckets with a specific nexthop identifier [ OK ] # 118.51 [+0.15] TEST: Dump all nexthop buckets in a non-existent group [ OK ] # 118.62 [+0.11] TEST: Dump all nexthop buckets in a non-resilient group [ OK ] # 118.95 [+0.33] TEST: Dump all nexthop buckets using a non-existent device [ OK ] # 119.09 [+0.14] TEST: Dump all nexthop buckets with invalid 'groups' keyword [ OK ] # 119.20 [+0.11] TEST: Dump all nexthop buckets with invalid 'fdb' keyword [ OK ] # 119.49 [+0.29] TEST: Maximum nexthop ID dump [ OK ] # 119.63 [+0.14] TEST: Get a valid nexthop bucket [ OK ] # 119.74 [+0.12] TEST: Get a nexthop bucket with valid group, but invalid index [ OK ] # 119.87 [+0.12] TEST: Get a nexthop bucket from a non-resilient group [ OK ] # 120.00 [+0.13] TEST: Get a nexthop bucket from a non-existent group [ OK ] # 120.77 [+0.77] TEST: Initial bucket allocation [ OK ] # 121.14 [+0.37] TEST: Bucket allocation after replace [ OK ] # 121.63 [+0.49] TEST: Buckets migrated after idle timer change [ OK ] # 131.84 [+10.21] # 131.84 [+0.00] IPv4 functional # 131.84 [+0.00] ---------------------- # 131.96 [+0.12] TEST: Create nexthop with id, gw, dev [ OK ] # 132.07 [+0.11] TEST: Get nexthop by id [ OK ] # 132.33 [+0.26] TEST: Delete nexthop by id [ OK ] # 132.58 [+0.25] TEST: Create nexthop - gw only [ OK ] # 132.73 [+0.15] TEST: Create nexthop - invalid gw+dev combination [ OK ] # 132.86 [+0.13] TEST: Create nexthop - gw+dev and onlink [ OK ] # 133.49 [+0.62] TEST: Nexthops removed on admin down [ OK ] # 134.19 [+0.70] TEST: Delete nexthop route warning [ OK ] # 134.78 [+0.59] TEST: Delete multipath route with only nh id based entry [ OK ] # 135.15 [+0.37] TEST: Delete route when specifying only nexthop device [ OK ] # 135.27 [+0.11] TEST: Delete route when specifying only gateway [ OK ] # 135.39 [+0.12] TEST: Delete route when not specifying nexthop attributes [ OK ] # 145.24 [+9.85] # 145.24 [+0.00] IPv4 groups functional # 145.24 [+0.00] ---------------------- # 145.50 [+0.26] TEST: Create nexthop group with single nexthop [ OK ] # 145.64 [+0.14] TEST: Get nexthop group by id [ OK ] # 145.90 [+0.26] TEST: Delete nexthop group by id [ OK ] # 146.77 [+0.86] TEST: Nexthop group with multiple nexthops [ OK ] # 147.15 [+0.38] TEST: Nexthop group updated when entry is deleted [ OK ] # 147.39 [+0.24] TEST: Nexthop group with weighted nexthops [ OK ] # 147.80 [+0.41] TEST: Weighted nexthop group updated when entry is deleted [ OK ] # 148.11 [+0.31] TEST: Nexthops in groups removed on admin down [ OK ] # 149.85 [+1.74] TEST: Multiple groups with same nexthop [ OK ] # 150.39 [+0.54] TEST: Nexthops in group removed on admin down - mixed group [ OK ] # 150.51 [+0.12] TEST: Nexthop group can not have a group as an entry [ OK ] # 150.76 [+0.25] TEST: Nexthop group with a blackhole entry [ OK ] # 150.87 [+0.11] TEST: Nexthop group can not have a blackhole and another nexthop [ OK ] # 160.89 [+10.02] # 160.89 [+0.00] IPv4 resilient groups functional # 160.89 [+0.00] -------------------------------- # 161.68 [+0.79] TEST: Nexthop group updated when entry is deleted [ OK ] # 161.82 [+0.14] TEST: Nexthop buckets updated when entry is deleted [ OK ] # 162.19 [+0.37] TEST: Nexthop group updated after replace [ OK ] # 162.32 [+0.13] TEST: Nexthop buckets updated after replace [ OK ] # 163.06 [+0.74] TEST: Nexthop group updated when entry is deleted - nECMP [ OK ] # 163.21 [+0.15] TEST: Nexthop buckets updated when entry is deleted - nECMP [ OK ] # 163.58 [+0.37] TEST: Nexthop group updated after replace - nECMP [ OK ] # 163.72 [+0.14] TEST: Nexthop buckets updated after replace - nECMP [ OK ] # 174.21 [+10.49] TEST: IPv6 nexthop with IPv4 route [ OK ] # 174.74 [+0.53] TEST: IPv6 nexthop with IPv4 route [ OK ] # 175.00 [+0.26] TEST: IPv4 route with IPv6 gateway [ OK ] # 175.28 [+0.28] TEST: IPv4 route with invalid IPv6 gateway [ OK ] # 185.28 [+10.01] # 185.28 [+0.00] IPv4 functional runtime # 185.28 [+0.00] ----------------------- # 185.55 [+0.26] TEST: Route add [ OK ] # 185.80 [+0.25] TEST: Route delete [ OK ] # 186.05 [+0.25] TEST: Route add - scope conflict with nexthop [ OK ] # 186.42 [+0.36] TEST: Nexthop replace with invalid scope for existing route [ OK ] # 186.62 [+0.21] TEST: IPv4 route with invalid metric [ OK ] # 187.08 [+0.46] TEST: Basic ping [ OK ] # 187.69 [+0.61] TEST: Ping - multipath [ OK ] # 188.35 [+0.66] TEST: Ping - multiple default routes, nh first [ OK ] # 189.15 [+0.80] TEST: Ping - multiple default routes, nh second [ OK ] # 189.81 [+0.66] TEST: Ping - blackhole [ OK ] # 190.13 [+0.32] TEST: Ping - blackhole replaced with gateway [ OK ] # 190.45 [+0.31] TEST: Ping - gateway replaced by blackhole [ OK ] # 191.10 [+0.65] TEST: Ping - group with blackhole [ OK ] # 191.44 [+0.33] TEST: Ping - group blackhole replaced with gateways [ OK ] # 191.68 [+0.25] TEST: IPv4 route with device only nexthop [ OK ] # 192.08 [+0.40] TEST: IPv4 multipath route with nexthop mix - dev only + gw [ OK ] # 192.84 [+0.76] TEST: IPv6 nexthop with IPv4 route [ OK ] # 193.52 [+0.68] TEST: IPv4 route with mixed v4-v6 multipath route [ OK ] # 193.88 [+0.37] TEST: IPv6 nexthop with IPv4 route [ OK ] # 194.21 [+0.33] TEST: IPv4 route with IPv6 gateway [ OK ] # 194.90 [+0.68] TEST: IPv4 default route with IPv6 gateway [ OK ] # 195.02 [+0.12] TEST: IPv4 route with MPLS encap [ OK ] # 195.19 [+0.17] TEST: IPv4 route with MPLS encap - check [ OK ] # 195.31 [+0.12] TEST: IPv4 route with MPLS encap and v6 gateway [ OK ] # 195.47 [+0.16] TEST: IPv4 route with MPLS encap, v6 gw - check [ OK ] # 205.12 [+9.65] # 205.12 [+0.00] IPv4 large groups (x32) # 205.12 [+0.00] --------------------- # 240.76 [+35.63] TEST: Dump large (x32) ecmp groups [ OK ] # 250.84 [+10.08] # 250.84 [+0.00] IPv4 large resilient group (128k buckets) # 250.84 [+0.00] ----------------------------------------- # 251.33 [+0.49] TEST: Dump large (x131072) nexthop buckets [ OK ] # 261.80 [+10.47] # 261.80 [+0.00] IPv4 nexthop api compat mode # 261.80 [+0.00] ---------------------------- # 262.14 [+0.34] TEST: IPv4 default nexthop compat mode check [ OK ] # 263.18 [+1.04] TEST: IPv4 compat mode on - route add notification [ OK ] # 263.33 [+0.15] TEST: IPv4 compat mode on - route dump [ OK ] # 264.17 [+0.84] TEST: IPv4 compat mode on - nexthop change [ OK ] # 264.33 [+0.16] TEST: IPv4 set compat mode - 0 [ OK ] # 265.12 [+0.79] TEST: IPv4 compat mode off - route add notification [ OK ] # 265.26 [+0.14] TEST: IPv4 compat mode off - route dump [ OK ] # 265.88 [+0.62] TEST: IPv4 compat mode off - nexthop change [ OK ] # 266.53 [+0.65] TEST: IPv4 compat mode off - nexthop delete [ OK ] # 266.69 [+0.16] TEST: IPv4 set compat mode - 1 [ OK ] # 277.13 [+10.44] # 277.13 [+0.00] IPv4 fdb groups functional # 277.13 [+0.00] -------------------------- # 277.76 [+0.63] TEST: Fdb Nexthop group with multiple nexthops [ OK ] # 278.03 [+0.27] TEST: Get Fdb nexthop group by id [ OK ] # 278.42 [+0.39] TEST: Fdb Nexthop group with non-fdb nexthops [ OK ] # 278.82 [+0.40] TEST: Non-Fdb Nexthop group with fdb nexthops [ OK ] # 278.93 [+0.12] TEST: Fdb Nexthop with blackhole [ OK ] # 279.06 [+0.13] TEST: Fdb Nexthop with oif [ OK ] # 279.19 [+0.13] TEST: Fdb Nexthop with onlink [ OK ] # 279.33 [+0.14] TEST: Fdb Nexthop with encap [ OK ] # 279.57 [+0.24] TEST: Fdb mac add with nexthop group [ OK ] # 279.70 [+0.13] TEST: Fdb mac add with nexthop [ OK ] # 279.83 [+0.13] TEST: Route add with fdb nexthop [ OK ] # 279.96 [+0.13] TEST: Route add with fdb nexthop group [ OK ] # 280.19 [+0.23] TEST: Fdb entry after deleting a single nexthop [ OK ] # 280.32 [+0.13] TEST: Fdb nexthop delete [ OK ] # 280.44 [+0.12] TEST: Fdb entry after deleting a nexthop group [ OK ] # 290.45 [+10.01] # 290.45 [+0.00] IPv4 multipath selection # 290.45 [+0.00] ------------------------ # 292.23 [+1.79] TEST: Use valid neighbor during multipath selection [ OK ] # 292.63 [+0.40] TEST: Multipath selection with no valid neighbor [ OK ] # 302.12 [+9.49] # 302.12 [+0.00] IPv4 runtime torture # 302.12 [+0.00] -------------------- DETECTED CRASH, lowering timeout # 602.94 [+300.82] TEST: IPv4 torture test [ OK ] # 613.17 [+10.23] # 613.17 [+0.00] IPv4 runtime resilient nexthop group torture # 613.17 [+0.00] -------------------------------------------- # 914.04 [+300.87] TEST: IPv4 resilient nexthop group torture test [ OK ] # 924.43 [+10.39] # 924.43 [+0.00] IPv6 # 924.43 [+0.00] ---------------------- # 924.54 [+0.11] TEST: Create nexthop with id, gw, dev [ OK ] # 924.69 [+0.15] TEST: Get nexthop by id [ OK ] # 924.94 [+0.25] TEST: Delete nexthop by id [ OK ] # 925.22 [+0.28] TEST: Create nexthop - gw only [ OK ] # 925.36 [+0.13] TEST: Create nexthop - invalid gw+dev combination [ OK ] # 925.47 [+0.12] TEST: Create nexthop - gw+dev and onlink [ OK ] # 926.08 [+0.60] TEST: Nexthops removed on admin down [ OK ] # 935.83 [+9.75] # 935.83 [+0.00] IPv6 groups functional # 935.83 [+0.00] ---------------------- # 936.09 [+0.26] TEST: Create nexthop group with single nexthop [ OK ] # 936.26 [+0.17] TEST: Get nexthop group by id [ OK ] # 936.54 [+0.28] TEST: Delete nexthop group by id [ OK ] # 937.63 [+1.08] TEST: Nexthop group with multiple nexthops [ OK ] # 938.05 [+0.42] TEST: Nexthop group updated when entry is deleted [ OK ] # 938.33 [+0.28] TEST: Nexthop group with weighted nexthops [ OK ] # 938.70 [+0.37] TEST: Weighted nexthop group updated when entry is deleted [ OK ] # 938.95 [+0.25] TEST: Nexthops in groups removed on admin down [ OK ] # 940.78 [+1.83] TEST: Multiple groups with same nexthop [ OK ] # 941.33 [+0.55] TEST: Nexthops in group removed on admin down - mixed group [ OK ] # 941.48 [+0.15] TEST: Nexthop group can not have a group as an entry [ OK ] # 941.72 [+0.25] TEST: Nexthop group with a blackhole entry [ OK ] # 941.85 [+0.13] TEST: Nexthop group can not have a blackhole and another nexthop [ OK ] # 945.38 [+3.52] TEST: Nexthop group replace refcounts [ OK ] # 946.47 [+1.09] TEST: 16-bit weights [ OK ] # 956.73 [+10.26] # 956.73 [+0.00] IPv6 resilient groups functional # 956.73 [+0.00] -------------------------------- # 957.51 [+0.78] TEST: Nexthop group updated when entry is deleted [ OK ] # 957.65 [+0.14] TEST: Nexthop buckets updated when entry is deleted [ OK ] # 958.04 [+0.39] TEST: Nexthop group updated after replace [ OK ] # 958.18 [+0.14] TEST: Nexthop buckets updated after replace [ OK ] # 958.95 [+0.77] TEST: Nexthop group updated when entry is deleted - nECMP [ OK ] # 959.10 [+0.14] TEST: Nexthop buckets updated when entry is deleted - nECMP [ OK ] # 959.49 [+0.39] TEST: Nexthop group updated after replace - nECMP [ OK ] # 959.62 [+0.13] TEST: Nexthop buckets updated after replace - nECMP [ OK ] # 960.79 [+1.18] TEST: 16-bit weights [ OK ] # 970.96 [+10.17] # 970.96 [+0.00] IPv6 functional runtime # 970.96 [+0.00] ----------------------- # 971.22 [+0.26] TEST: Route add [ OK ] # 971.34 [+0.12] TEST: Route delete [ OK ] # 971.67 [+0.33] TEST: Ping with nexthop [ OK ] # 972.29 [+0.62] TEST: Ping - multipath [ OK ] # 972.72 [+0.43] TEST: Ping - blackhole [ OK ] # 973.07 [+0.35] TEST: Ping - blackhole replaced with gateway [ OK ] # 973.39 [+0.33] TEST: Ping - gateway replaced by blackhole [ OK ] # 974.00 [+0.61] TEST: Ping - group with blackhole [ OK ] # 974.31 [+0.31] TEST: Ping - group blackhole replaced with gateways [ OK ] # 974.55 [+0.24] TEST: IPv6 route with device only nexthop [ OK ] # 974.92 [+0.38] TEST: IPv6 multipath route with nexthop mix - dev only + gw [ OK ] # 975.44 [+0.51] TEST: IPv6 route can not have a v4 gateway [ OK ] # 975.69 [+0.25] TEST: Nexthop replace - v6 route, v4 nexthop [ OK ] # 975.93 [+0.24] TEST: Nexthop replace of group entry - v6 route, v4 nexthop [ OK ] # 976.54 [+0.61] TEST: IPv6 route can not have a group with v4 and v6 gateways [ OK ] # 976.78 [+0.24] TEST: IPv6 route can not have a group with v4 and v6 gateways [ OK ] # 977.02 [+0.24] TEST: IPv6 route using a group after removing v4 gateways [ OK ] # 977.70 [+0.68] TEST: IPv6 route can not have a group with v4 and v6 gateways [ OK ] # 977.96 [+0.27] TEST: IPv6 route can not have a group with v4 and v6 gateways [ OK ] # 978.25 [+0.29] TEST: IPv6 route using a group after replacing v4 gateways [ OK ] # 978.76 [+0.51] TEST: IPv6 route can not use src routing with external nexthop [ OK ] # 979.00 [+0.25] TEST: IPv6 route with invalid metric [ OK ] # 980.07 [+1.07] TEST: Nexthop with default route and rpfilter [ OK ] # 980.40 [+0.33] TEST: Nexthop with multipath default route and rpfilter [ OK ] # 990.61 [+10.21] # 990.62 [+0.00] IPv6 large groups (x32) # 990.62 [+0.00] --------------------- # 1025.96 [+35.34] TEST: Dump large (x32) ecmp groups [ OK ] # 1036.50 [+10.55] # 1036.51 [+0.00] IPv6 large resilient group (128k buckets) # 1036.51 [+0.00] ----------------------------------------- # 1036.95 [+0.45] TEST: Dump large (x131072) nexthop buckets [ OK ] # 1047.01 [+10.05] # 1047.01 [+0.00] IPv6 nexthop api compat mode test # 1047.01 [+0.00] -------------------------------- # 1047.39 [+0.38] TEST: IPv6 default nexthop compat mode check [ OK ] # 1048.42 [+1.03] TEST: IPv6 compat mode on - route add notification [ OK ] # 1048.56 [+0.14] TEST: IPv6 compat mode on - route dump [ OK ] # 1049.37 [+0.80] TEST: IPv6 compat mode on - nexthop change [ OK ] # 1049.52 [+0.15] TEST: IPv6 set compat mode - 0 [ OK ] # 1050.65 [+1.13] TEST: IPv6 compat mode off - route add notification [ OK ] # 1050.79 [+0.14] TEST: IPv6 compat mode off - route dump [ OK ] # 1051.56 [+0.77] TEST: IPv6 compat mode off - nexthop change [ OK ] # 1052.22 [+0.66] TEST: IPv6 compat mode off - nexthop delete [ OK ] # 1052.40 [+0.18] TEST: IPv6 set compat mode - 1 [ OK ] # 1062.58 [+10.19] # 1062.59 [+0.00] IPv6 fdb groups functional # 1062.59 [+0.00] -------------------------- # 1063.17 [+0.58] TEST: Fdb Nexthop group with multiple nexthops [ OK ] # 1063.42 [+0.25] TEST: Get Fdb nexthop group by id [ OK ] # 1063.78 [+0.36] TEST: Fdb Nexthop group with non-fdb nexthops [ OK ] # 1064.18 [+0.40] TEST: Non-Fdb Nexthop group with fdb nexthops [ OK ] # 1064.30 [+0.13] TEST: Fdb Nexthop with blackhole [ OK ] # 1064.43 [+0.12] TEST: Fdb Nexthop with oif [ OK ] # 1064.57 [+0.14] TEST: Fdb Nexthop with onlink [ OK ] # 1064.70 [+0.13] TEST: Fdb Nexthop with encap [ OK ] # 1064.97 [+0.27] TEST: Fdb mac add with nexthop group [ OK ] # 1065.09 [+0.12] TEST: Fdb mac add with nexthop [ OK ] # 1065.20 [+0.11] TEST: Route add with fdb nexthop [ OK ] # 1065.34 [+0.14] TEST: Route add with fdb nexthop group [ OK ] # 1065.57 [+0.23] TEST: Fdb entry after deleting a single nexthop [ OK ] # 1065.68 [+0.11] TEST: Fdb nexthop delete [ OK ] # 1065.80 [+0.12] TEST: Fdb entry after deleting a nexthop group [ OK ] # 1075.99 [+10.19] # 1075.99 [+0.00] IPv6 multipath selection # 1076.00 [+0.00] ------------------------ # 1078.02 [+2.03] TEST: Use valid neighbor during multipath selection [ OK ] # 1078.43 [+0.41] TEST: Multipath selection with no valid neighbor [ OK ] # 1088.71 [+10.28] # 1088.71 [+0.00] IPv6 runtime torture # 1088.71 [+0.00] -------------------- WAIT TIMEOUT stdout Ctrl-C stdout Ctrl-C stdout ^Cmake[1]: *** [../lib.mk:142: run_tests] Interrupt make: *** [Makefile:215: run_tests] Interrupt xx__->