[manual] [PR:21614] fix: enhance routeCheck toggle logic#21673
Merged
wangxin merged 2 commits intosonic-net:202411from Dec 22, 2025
Merged
[manual] [PR:21614] fix: enhance routeCheck toggle logic#21673wangxin merged 2 commits intosonic-net:202411from
wangxin merged 2 commits intosonic-net:202411from
Conversation
Signed-off-by: Chenyang Wang <[email protected]>
Signed-off-by: Chenyang Wang <[email protected]>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
Original PR: #21614 |
12 tasks
ZhaohuiS
approved these changes
Dec 21, 2025
wangxin
approved these changes
Dec 22, 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
Further enhance the routeCheck monitor disable-and-enable logic:
wait_until()timeout to verify the routeCheck status is as expected before proceeding to the next stepSummary:
Fixes # (issue) Microsoft ADO 36101536
Type of change
Back port request
Approach
What is the motivation for this PR?
This is a follow-up PR of #21582. Not all platforms need the "temporarily disable roureCheck monitor" feature, and the routeCheck monitor will take some time to startup after running
sudo monit start routeCheckon some platforms. Therefore, we want to allow the users to choose which topologies they want to apply the disable-and-enable routeCheck behavior (Now only T2, LT2 & UT2 are allowed). Besides, we added await_until()timeout to verify the routeCheck status is as expected before proceeding to the next step.How did you do it?
How did you verify/test it?
I verified it on a T0 platform and I can confirm this logic will be skipped: https://elastictest.org/scheduler/testplan/69389f2d392767e9bf67ef1a
I also verified on a T2 platform and I can confirm this logic is applied there: https://elastictest.org/scheduler/testplan/69389e7794f9e10e4c224c66
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation