-
Notifications
You must be signed in to change notification settings - Fork 850
Add wait_until for ARP population on linkflap testcase in test_voq_nbr.py #19344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Javier-Tan
wants to merge
3
commits into
sonic-net:master
Choose a base branch
from
Javier-Tan:arp_pop_delay
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Use the same wait_until that is used in other testcases in the test module for ARP repopulation Signed-off-by: Javier Tan [email protected]
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
YatishSVC
approved these changes
Jul 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, Thanks @Javier-Tan :)
tjchadaga
approved these changes
Jul 2, 2025
Janetxxx
approved these changes
Jul 3, 2025
arlakshm
reviewed
Jul 3, 2025
…re pinged * Move neighbor in ARP check to after all neighbors are pinged Signed-off-by: Javier Tan [email protected]
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
* Fix logging typo in assert Signed-off-by: Javier Tan [email protected]
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
LinJin23
approved these changes
Jul 4, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of PR
Summary:
Fixes #19331
Type of change
Back port request
Approach
What is the motivation for this PR?
(From #19331) Fix testcase
voq/test_voq_nbr.py::TestNeighborLinkFlap::test_front_panel_linkflap_port
fails on conditiontable state delay is not reachable
. This is because the test expects the ARP table to update instantly fromSTALE
toREACHABLE
after a ping is sent, which is the case for non-portchannel interfaces, however there is a small 2-3s delay state for portchannel interfacesSTALE
->DELAY
(2-3s) ->REACHABLE
How did you do it?
Implement a
wait_until
for ARP repopulation after a linkflap, similar to other testcases in the same test moduleHow did you verify/test it?
Ran it 5 times to ensure it's not flaky. https://elastictest.org/scheduler/testplan/6865300c3d76d955497fbe94?leftSideViewMode=detail
3x pass on minor iteration: https://elastictest.org/scheduler/testplan/686635aa6bbbe4a384a7bfd6
Any platform specific information?
N/A
Supported testbed topology if it's a new test case?
N/A
Documentation
N/A