[pfcwd] Disable fake storm on Mellanox platforms#2991
Merged
neethajohn merged 1 commit intosonic-net:masterfrom Feb 17, 2021
Merged
[pfcwd] Disable fake storm on Mellanox platforms#2991neethajohn merged 1 commit intosonic-net:masterfrom
neethajohn merged 1 commit intosonic-net:masterfrom
Conversation
Signed-off-by: Neetha John <[email protected]>
yxieca
approved these changes
Feb 16, 2021
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
…atically (sonic-net#17018) #### Why I did it src/sonic-utilities ``` * 569beb19 - (HEAD -> 202305, origin/202305) Revert "Remove syslog service validator in GCU (sonic-net#2991)" (sonic-net#3015) (16 hours ago) [jingwenxie] * ab7f03ea - [db_migrator] Fix the broken version chain (sonic-net#3014) (16 hours ago) [Vivek] * 0f17b8d5 - [fwutil] Fix python SyntaxWarning for 'is' with literals (sonic-net#3013) (16 hours ago) [Kebo Liu] ``` #### How I did it #### How to verify it #### Description for the changelog
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.
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
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