[static route] Extend config reload wait time for static route tests#3749
[static route] Extend config reload wait time for static route tests#3749prsunny merged 1 commit intosonic-net:masterfrom
Conversation
|
I think there is still a issue need to be addressed. If you check the accuracy ARP/NDP that the DUT learned, you can see all three IP neighbors will have the same MAC address. So it will always send to the port which has this MAC, the other two ports can't even receive any packets. It should not the ECMP's purpose. |
Thanks for this comment. Will look into this behavior and circle back. |
The changes in this PR #3791 should address the issue for APR learned in ipv4 tests. For ipv6 tests, the neighbors seem to be right. |
*The arp_update script updates unresolved neighbors every 300 seconds. As the default config reload wait time is 120 seconds, the arp_update script may not finish the neighbor resolution before the config reload wait time and cause the static route test to fail. This PR aims to fix the timing issue for static route tests. *Fix: Extend config reload wait time for static route tests
…atically (sonic-net#21613) #### Why I did it src/sonic-utilities ``` * bbe29aee - (HEAD -> 202411, origin/202411) [show][interface] Add changes for show interface errors command (sonic-net#3749) (4 hours ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog
Description of PR
Summary: Extend config reload wait time for static route tests
Fixes sonic-net/sonic-buildimage#7968
Type of change
Back port request
Approach
What is the motivation for this PR?
The arp_update script updates unresolved neighbors every 300 seconds. As the default config reload wait time is 120 seconds, the arp_update script may not finish the neighbor resolution before the config reload wait time and cause the static route test to fail. This PR aims to fix the timing issue for static route tests.
The test case
test_static_route_ecmp_ipv6may be affected by sonic-net/sonic-buildimage#4930, so the test case may still fail in some scenariosNote:
How did you do it?
Extend config reload wait time for static route tests to 350 seconds.
How did you verify/test it?
Confirm that test_static_route_ecmp test case could pass with neighbors not resolved right after config reload.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation