Skip to content

[dualtor] Improve sanity check#10555

Merged
yxieca merged 1 commit intosonic-net:masterfrom
lolyu:fix_sanity
Nov 1, 2023
Merged

[dualtor] Improve sanity check#10555
yxieca merged 1 commit intosonic-net:masterfrom
lolyu:fix_sanity

Conversation

@lolyu
Copy link
Copy Markdown
Collaborator

@lolyu lolyu commented Nov 1, 2023

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205
  • 202305

Approach

What is the motivation for this PR?

Sanity check observed during dualtor nightly in 202305:

  1. monit check failure.
  2. mux config is observed in manual mode.

How did you do it?

  1. Enable verbose mode when check monit status
  2. Config save after confg mux auto in mux toggle fixture

How did you verify/test it?

run test_hash on dualtor testbed.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

Add two changes related to sanity check:
1. Enable verbose mode when check monit status
2. Config save after confg mux auto in mux toggle fixture

Signed-off-by: Longxiang Lyu <[email protected]>
@lolyu lolyu requested review from wangxin and yxieca November 1, 2023 09:23
Copy link
Copy Markdown
Contributor

@xwjiang-ms xwjiang-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yxieca yxieca merged commit 673137e into sonic-net:master Nov 1, 2023
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Nov 1, 2023
Add two changes related to sanity check:
1. Enable verbose mode when check monit status
2. Config save after confg mux auto in mux toggle fixture

Signed-off-by: Longxiang Lyu <[email protected]>
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202205: #10561

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Nov 1, 2023
Add two changes related to sanity check:
1. Enable verbose mode when check monit status
2. Config save after confg mux auto in mux toggle fixture

Signed-off-by: Longxiang Lyu <[email protected]>
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202305: #10562

mssonicbld pushed a commit that referenced this pull request Nov 1, 2023
Add two changes related to sanity check:
1. Enable verbose mode when check monit status
2. Config save after confg mux auto in mux toggle fixture

Signed-off-by: Longxiang Lyu <[email protected]>
mssonicbld pushed a commit that referenced this pull request Nov 4, 2023
Add two changes related to sanity check:
1. Enable verbose mode when check monit status
2. Config save after confg mux auto in mux toggle fixture

Signed-off-by: Longxiang Lyu <[email protected]>
lolyu added a commit that referenced this pull request Dec 2, 2023
Approach
What is the motivation for this PR?
Same purpose as PR: #10555.
This is to ensure mux auto to save to config_db.json to avoid any unwanted modification.

How did you do it?
Do a config save in teardown.

How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Dec 2, 2023
Approach
What is the motivation for this PR?
Same purpose as PR: sonic-net#10555.
This is to ensure mux auto to save to config_db.json to avoid any unwanted modification.

How did you do it?
Do a config save in teardown.

How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Dec 2, 2023
Approach
What is the motivation for this PR?
Same purpose as PR: sonic-net#10555.
This is to ensure mux auto to save to config_db.json to avoid any unwanted modification.

How did you do it?
Do a config save in teardown.

How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
mssonicbld pushed a commit that referenced this pull request Dec 2, 2023
Approach
What is the motivation for this PR?
Same purpose as PR: #10555.
This is to ensure mux auto to save to config_db.json to avoid any unwanted modification.

How did you do it?
Do a config save in teardown.

How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
mssonicbld pushed a commit that referenced this pull request Dec 2, 2023
Approach
What is the motivation for this PR?
Same purpose as PR: #10555.
This is to ensure mux auto to save to config_db.json to avoid any unwanted modification.

How did you do it?
Do a config save in teardown.

How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants