Fix test_warm_reboot issues blocking PR merge#2309
Merged
bingwang-ms merged 3 commits intosonic-net:masterfrom Jun 8, 2022
Merged
Fix test_warm_reboot issues blocking PR merge#2309bingwang-ms merged 3 commits intosonic-net:masterfrom
bingwang-ms merged 3 commits intosonic-net:masterfrom
Conversation
Collaborator
|
Hi @vaibhavhd |
Contributor
Author
The previous workaround was added just to confirm if without warmboot the test suite passes or not. It did pass. |
bingwang-ms
approved these changes
Jun 8, 2022
Collaborator
|
@vaibhavhd , thanks for fixing. |
Contributor
liushilongbuaa
pushed a commit
to liushilongbuaa/sonic-swss
that referenced
this pull request
Jun 9, 2022
* Two fixes: sleep after stop and check values in routes
prsunny
pushed a commit
that referenced
this pull request
Jun 9, 2022
dgsudharsan
pushed a commit
to dgsudharsan/sonic-swss
that referenced
this pull request
Jun 13, 2022
* Two fixes: sleep after stop and check values in routes
judyjoseph
pushed a commit
that referenced
this pull request
Jun 14, 2022
* Two fixes: sleep after stop and check values in routes
qiluo-msft
pushed a commit
that referenced
this pull request
Jun 14, 2022
* Two fixes: sleep after stop and check values in routes
preetham-singh
pushed a commit
to preetham-singh/sonic-swss
that referenced
this pull request
Aug 6, 2022
* Two fixes: sleep after stop and check values in routes
Janetxxx
pushed a commit
to Janetxxx/sonic-swss
that referenced
this pull request
Nov 10, 2025
* Two fixes: sleep after stop and check values in routes
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.
What I did
Added fixes to
test_warm_rebootwhich is consistently failing on master branch.This PR should unblock the pending PR merges on sonic-swss due to PR test issues.
Why I did it
There are multiple issues that I think should be fixed in the test_warm_reboot.
Changes added in this PR:
restore_countduring warm-restart of different services. The cause is that sometimes when service is stopped and immediately started back again, the start command is being missed/ignored/denied by supervisord. This is fixed by addingsleep(1)after service stop and before start.test_routing_WarmRestart: the errors (below snippet) are supposedly coming due to some change that addedweightattribute to return value of routes. Due to this if exact match of dict is done, it would fail as the device has more attributes than what are being expected.Future fixes:
How I verified it
Tested locally and on pipeline.
Details if related