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

[pfcwd] Disable fake storm on Mellanox platforms #2991

Merged
merged 1 commit into from
Feb 17, 2021

Conversation

neethajohn
Copy link
Contributor

Signed-off-by: Neetha John [email protected]

Description of PR

Fake storm option was added to reduce the flakiness of test runs seen on some platforms due to actual pfc storm not large enough to trigger pfcwd. This is causing some failures on Mellanox platforms after warm reboot.

Type of change

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

How did you do it?

Created a module scoped 'fake_storm' fixture and set its status to False for Mellanox platforms

How did you verify/test it?

Ran both the tests (test_pfcwd_function.py and test_pfcwd_warm_reboot.py) on Mellanox and non Mellanox platforms and they passed
Verified in the logs that pfc storm was always generated by the fanout for Mellanox platforms and for non Mellanox platforms only the 1st port had the storm generated by the fanout. Rest of the ports were using the fake storm

@neethajohn neethajohn requested a review from a team February 16, 2021 23:46
@neethajohn neethajohn merged commit dbbad57 into sonic-net:master Feb 17, 2021
@neethajohn neethajohn deleted the pfcwd_no_fake_mlnx branch February 17, 2021 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants