[202405] Fixed two issues causing test failures in test_vxlan_bfd_tsa.py#17666
Merged
bingwang-ms merged 1 commit intosonic-net:202405from Mar 24, 2025
Merged
Conversation
…nic-net#17511) * Fixed two issues causing test failures in 'test_vxlan_bfd_tsa.py' Signed-off-by: Mahdi Ramezani <[email protected]> * Added 'wait_for_bgp=True' Signed-off-by: Mahdi Ramezani <[email protected]> --------- Signed-off-by: Mahdi Ramezani <[email protected]>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
prabhataravind
approved these changes
Mar 24, 2025
bingwang-ms
approved these changes
Mar 24, 2025
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
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
This PR fixes test failures in
test_vxlan_bfd_tsa.py::Test_VxLAN_BFD_TSA. These failures were observed on some platforms such as Mellanox msn4600c and Cisco 8102.Summary:
Fixes #15728
Microsoft ADO ID: 31220198
PR for the master branch: #17511
The following two fixed were applied for
test_tsa_case4,test_tsa_case5, andtest_tsa_case6:sudo config reload -ywith a call toconfig_reloadso that all interfaces and ports are up before configuring a VXLAN on the switch.Type of change
Back port request
Approach
What is the motivation for this PR?
test_tsa_case4,test_tsa_case5, andtest_tsa_case6failed on some platforms such as Mellanox msn4600c and Cisco 8102.How did you do it?
By using
config_reloadinstead of executingsudo config reload -ydirectly and making sure that VNET routes are applied to the ASIC DB before running PTF tests.How did you verify/test it?
Ran the tests on a Mellanox msn4600c switch.
Note: In order for the tests to pass, the image running on the switch must have the following fix from sonic-utilities:
revert YANG check in db_migrator
Any platform specific information?
N/A
Supported testbed topology if it's a new test case?
N/A