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

Test case 1 of PFC watchdog against warm-reboot: happy path #825

Merged
merged 8 commits into from
Oct 4, 2019

Conversation

wendani
Copy link
Contributor

@wendani wendani commented Mar 9, 2019

Introduce warm-reboot test path to current PFC watchdog test harness.

sudo ansible-playbook test_sonic.yml -i str --limit str-dx010-acs-1 --vault-password-file ../ansible_passwd -e testcase_name=pfc_wd -e testbed_name=vms3-t0-dx010-1 -e warm_reboot_test=true -vvv

Add test case 1:
PFC storm detected and restored before warm-reboot
no on-going storm before warm-reboot emission
PFC storm detect and restore functional after warm-reboot

Infrastructure change:
Fine control PFC storm stop at fanout to allow per-queue per-port granularity

Tested on regular pfc watchdog without break.

Signed-off-by: Wenda Ni [email protected]

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Approach

How did you do it?

How did you verify/test it?

Any platform specific information?

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

Documentation

@wendani wendani changed the title First test case of PFC watchdog against warm-reboot Test case 1 of PFC watchdog against warm-reboot Mar 14, 2019
@wendani wendani changed the title Test case 1 of PFC watchdog against warm-reboot Test case 1 of PFC watchdog against warm-reboot: happy path Mar 22, 2019
@stepanblyschak
Copy link
Contributor

@wendani One additional small change requested.
Verified on Mellanox platform - passes. PR to change pfc storm start/stop for Mellanox fanout will come after internal review

@wendani wendani requested a review from stepanblyschak October 2, 2019 17:45
@wendani
Copy link
Contributor Author

wendani commented Oct 2, 2019

Thx for prompt action. Let's move on to test case 2 once this one is set. #825 (comment)

@wendani wendani merged commit 4bf0bdf into sonic-net:master Oct 4, 2019
yxieca pushed a commit that referenced this pull request Oct 7, 2019
* First test case of PFC watchdog against warm-reboot

Signed-off-by: Wenda Ni <[email protected]>

* Add more comments for code readability

Signed-off-by: Wenda Ni <[email protected]>

* Use boolean variable to determine the test run type: regular pfc wd test
or pfcwd warm-reboot test

Signed-off-by: Wenda Ni <[email protected]>

* Feed reboot type to reboot_sonic.yml in warm-reboot happy path test

Signed-off-by: Wenda Ni <[email protected]>
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