Skip to content

Fix test_advanced_reboot: re-add missing import; do not run garp/icmp-responder on single TOR#7188

Merged
vaibhavhd merged 2 commits intosonic-net:masterfrom
vaibhavhd:fix-single-tor-adv-reboot
Jan 6, 2023
Merged

Fix test_advanced_reboot: re-add missing import; do not run garp/icmp-responder on single TOR#7188
vaibhavhd merged 2 commits intosonic-net:masterfrom
vaibhavhd:fix-single-tor-adv-reboot

Conversation

@vaibhavhd
Copy link
Copy Markdown
Contributor

Description of PR

Summary: Fix recently introduced issues in test_advanced_reboot

Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

This PR fixes two recently introduced issues:

  1. Fix advanced reboot tests fail on non-dualtor testbeds #7146 caused by [advanced-reboot] IO path verification fixes for dualtor #6968
  2. After merge of PR Fix pre-commit check errors in platform_tests/conftest.py #7049 , all testcases using get_advanced_reboot fixture are failing due to fixture 'get_advanced_reboot' not found

How did you do it?

To fix 7146, do not run GARP service and ICMP responder for non-dualtor advanced-reboot cases. I have not added a more simple skip for non-dualtor as these services are still needed for MOCK dualtor cases which run on single TOR testbeds.

To fix 2, added a new import in the test scripts directly.

How did you verify/test it?

Tested on single TOR and dual TOR devices, and failures are not seen anymore.

Any platform specific information?

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

Documentation

@vaibhavhd vaibhavhd requested a review from kellyyeh January 5, 2023 19:12
@vaibhavhd vaibhavhd requested a review from sujinmkang as a code owner January 5, 2023 19:12
@vaibhavhd vaibhavhd requested a review from yxieca January 6, 2023 18:27
@yxieca
Copy link
Copy Markdown
Collaborator

yxieca commented Jan 6, 2023

How did these recent changes went in without triggering PR test failure?

@vaibhavhd
Copy link
Copy Markdown
Contributor Author

How did these recent changes went in without triggering PR test failure?

I am investigating. The logs from these PRs are unavailable, so a local repro will help further.

I have raised an issue for this: #7201

I or @kellyyeh will work on this.

@vaibhavhd vaibhavhd merged commit e3857c2 into sonic-net:master Jan 6, 2023
@vaibhavhd vaibhavhd deleted the fix-single-tor-adv-reboot branch January 6, 2023 19:46
wangxin pushed a commit that referenced this pull request Apr 20, 2023
…-responder on single TOR (#7188)

This PR fixes two recently introduced issues:

Fix advanced reboot tests fail on non-dualtor testbeds #7146 caused by [advanced-reboot] IO path verification fixes for dualtor #6968
After merge of PR Fix pre-commit check errors in platform_tests/conftest.py #7049 , all testcases using get_advanced_reboot fixture are failing due to fixture 'get_advanced_reboot' not found
How did you do it?
To fix 7146, do not run GARP service and ICMP responder for non-dualtor advanced-reboot cases. I have not added a more simple skip for non-dualtor as these services are still needed for MOCK dualtor cases which run on single TOR testbeds.

To fix 2, added a new import in the test scripts directly.
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.

advanced reboot tests fail on non-dualtor testbeds

4 participants