Skip to content
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

Issue #138: Fix instability in test_vxlan_ecmp sonic-mgmt test #139

Merged
merged 3 commits into from
Dec 8, 2024

Conversation

yue-fred-gao
Copy link
Contributor

@yue-fred-gao yue-fred-gao commented Nov 15, 2024

why

Addressing issue #138:
test_vxlan_ecmp sonic-mgmt test failed occasionally. This is because vl_api_bfd_udp_session_event_t_handler calls set_reply_status. The callback is for unsolicited event (bfd state update). set_reply_status should not be called for unsolicited event and it can mess up other requests. In our case, it is vxlan tunnel create request.

In the long run, we should make request/response more robust by setting request_message_id in the context of request to match its response.

What this PR does

remove set_reply_status from vl_api_bfd_udp_session_event_t_handler
Also fixed bridge domain ID resource leak. BD ID is not put back to the resource pool when vxlan decap is deleted.

@yue-fred-gao yue-fred-gao merged commit e43dd37 into sonic-net:main Dec 8, 2024
1 check passed
@kcudnik
Copy link

kcudnik commented Dec 16, 2024

Hey, we have PR sonic-net/sonic-sairedis#1473 that have move src from sonic-platform-vpp to virtual switch in sairedis but its not compiling yet, since we dont have pipeline setup in this repo to produce deb packages and i alreayd saw taht you are adding new changes here which get out of sync + @lguohan

this change is not synced to my PR, and i thought we agreed that new features will be added on sairedis repo ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants