Fix ExaBGP v4 hang during announce routes stress tests#16744
Merged
yejianquan merged 2 commits intosonic-net:masterfrom Feb 1, 2025
Merged
Fix ExaBGP v4 hang during announce routes stress tests#16744yejianquan merged 2 commits intosonic-net:masterfrom
yejianquan merged 2 commits intosonic-net:masterfrom
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azp run |
|
Commenter does not have sufficient privileges for PR 16744 in repo sonic-net/sonic-mgmt |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
nnelluri-cisco
pushed a commit
to nnelluri-cisco/sonic-mgmt
that referenced
this pull request
Mar 15, 2025
Description of PR The docker-ptf PY3 only image uses ExaBGP v4. The ExaBGP v4+ requires process API to acknowledge messages from ExaBGP else the server blocks after a while and hangs. This causes BGP timeouts in our stress tests. This PR fixes the issue. Summary: Fixes # (issue) Not applicable to backport since it only applies to docker-ptf PY3 only image. Approach What is the motivation for this PR? The docker-ptf PY3 only image uses ExaBGP v4. The ExaBGP v4+ requires process API to acknowledge messages from ExaBGP else the server blocks after a while and hangs. This causes BGP timeouts in our stress tests. This PR fixes the issue. How did you do it? Set exabgp.api.ack to false. How did you verify/test it? Ran tests/stress/test_stress_routes.py on 7050cx3 to confirm. Any platform specific information? No co-authorized by: jianquanye@microsoft.com
bingwang-ms
added a commit
to Azure/sonic-mgmt.msft
that referenced
this pull request
Dec 10, 2025
This PR is to backport exabgp changes from master branch to 202503. PR list - sonic-net/sonic-mgmt#16744 - sonic-net/sonic-mgmt#17427 - sonic-net/sonic-mgmt#16834 - sonic-net/sonic-mgmt#18181 - sonic-net/sonic-mgmt#18476 These changes are required for running test `bgp/test_traffic_shift.py`
auspham
pushed a commit
to auspham/sonic-mgmt
that referenced
this pull request
Feb 3, 2026
Description of PR The docker-ptf PY3 only image uses ExaBGP v4. The ExaBGP v4+ requires process API to acknowledge messages from ExaBGP else the server blocks after a while and hangs. This causes BGP timeouts in our stress tests. This PR fixes the issue. Summary: Fixes # (issue) Not applicable to backport since it only applies to docker-ptf PY3 only image. Approach What is the motivation for this PR? The docker-ptf PY3 only image uses ExaBGP v4. The ExaBGP v4+ requires process API to acknowledge messages from ExaBGP else the server blocks after a while and hangs. This causes BGP timeouts in our stress tests. This PR fixes the issue. How did you do it? Set exabgp.api.ack to false. How did you verify/test it? Ran tests/stress/test_stress_routes.py on 7050cx3 to confirm. Any platform specific information? No co-authorized by: jianquanye@microsoft.com
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
The docker-ptf PY3 only image uses ExaBGP v4. The ExaBGP v4+ requires process API to acknowledge messages from ExaBGP else the server blocks after a while and hangs. This causes BGP timeouts in our stress tests. This PR fixes the issue.
Summary:
Fixes # (issue)
Type of change
Back port request
Not applicable to backport since it only applies to docker-ptf PY3 only image.
Approach
What is the motivation for this PR?
The docker-ptf PY3 only image uses ExaBGP v4. The ExaBGP v4+ requires process API to acknowledge messages from ExaBGP else the server blocks after a while and hangs. This causes BGP timeouts in our stress tests. This PR fixes the issue.
How did you do it?
Set exabgp.api.ack to false.
How did you verify/test it?
Ran tests/stress/test_stress_routes.py on 7050cx3 to confirm.
Any platform specific information?
No
Supported testbed topology if it's a new test case?
NA
Documentation
NA