[action] [PR:15314] Stabilize pfcwd warm-reboot test on Mellanox platform #15398
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.
Description of PR
Summary:
test_pfcwd_wb
is flaky on Mellanox platform because PFCWD is not triggered as expected. The error is as below.The failure is because the
pfc_gen.py
script running on leaf-fanout can't generate continuous PFC pause to trigger PFCWD on DUT.For each lossless queue, a separated
pfc_gen.py
will be running on leaf-fanout. Iftwo_queues
is true, then there will be two processes running for each port in test. Due to job schedule, it's not guaranteed that all processes can generate continuous PFC pause to trigger PFCWD.To workaround the issue, the PR set
two_queues
toFalse
for Mellanox platform if leaf-fanout is runningEOS
.Type of change
Back port request
Approach
What is the motivation for this PR?
This PR is to stabilize
test_pfcwd_wb
by limiting queue number to 1 on Mellanox platform if leaf-fanout is runningEOS
.How did you do it?
Update fixture
two_queues
.How did you verify/test it?
The change is verified on a Mellanox-SN2700 testbed. Test can pass after the change.
Any platform specific information?
Mellanox platform specific.
Supported testbed topology if it's a new test case?
Not a new test.
Documentation