[action] [PR:18267] Shutdown BGP for PCBB tests instead of stopping processes#19010
Merged
mssonicbld merged 1 commit intosonic-net:202505from Jun 16, 2025
Merged
Conversation
11 tasks
Collaborator
Author
|
Original PR: #18267 |
Collaborator
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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
Summary:
When running test_tunnel_qos_remap.py, the BGP bgpmon and bgpd service stop and start hacking does not correctly bring BGP back up on Cisco-8000 devices. Modify shutdown/startup to match QOS SAI's test fixtures, as revised by PR #15108.
Note that this only causes issues with BGP if the syncd swap is not performed (i.e. it's already loaded and --qos_swap_syncd is set to False). If the swap is performed, then the entire config is reloaded, which masks the fact that BGP didn't come back up correctly.
Type of change
Back port request
Approach
What is the motivation for this PR?
How did you do it?
How did you verify/test it?
Validated on dualtor-aa Cisco-8000 that BGP comes back up after running test_tunnel_qos_remap.py xoff test cases.
Ran without doing dynamic syncd container swap, per above note about this masking the BGP issue.
Output after test pass shown here as sessions are up for 39 seconds.
Any platform specific information?
Test on Cisco-8000, but affects code-path for all vendors. Now matches procedure in qos_sai_base.py.
Supported testbed topology if it's a new test case?
Documentation