Update all port pfcwd storm test to make it more stable#15870
Update all port pfcwd storm test to make it more stable#15870bingwang-ms merged 1 commit intosonic-net:masterfrom
Conversation
|
@yxieca @bingwang-ms could you please review or suggest someone to review? |
|
@kperumalbfn Can you help review if you get a chance? |
|
@lipxu please help review. |
091eb73 to
ec9237d
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
https://elastictest.org/scheduler/testplan/67643e9eb7a7fea3d1f4ede2?leftSideViewMode=detail
Passed internal tests on Broadcom devices.
ec9237d to
eefaf76
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
eefaf76 to
304bb7c
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
304bb7c to
7e4a958
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Hi @bingwang-ms , the 2 checker failure were due to testbed related issue, I had retriggered them many times, but still could not pass them. Do you know from whom could I get help? 1. DUTHOST_UNREACHABLE 2. UPGRADE_IMAGE_FAILED |
The background traffic should be received within a detect interval, it does not need to be received at the same time when PFC pause receiving. 500 packets is a proper background traffic that it could make sure all the ports could receive the background traffic(due to the background traffic was send from ptf port one by one). If set a big value, such as 100000, the send duration would be longer than 500 packets, it may lead to some ports could not detect the background traffic within a detect interval. That's what we met before, and then update the number from 100000 to 500. |
|
Hi @bingwang-ms, could you please help check this PR? |
|
Cherry-pick PR to 202411: #19088 |
|
Cherry-pick PR to 202505: #19113 |
1. Optimize background traffic 2. Optimize pfcwd polling interval 3. Fix arp resolve issue 4. Remove ptf leftovers added in pfcwd test Change-Id: I84ee67f56b4c65c682a175515737d3a9125cfdc7
|
Hi @bingwang-ms we also need this in 202411, could you please help cherry-pick? |
1. Optimize background traffic 2. Optimize pfcwd polling interval 3. Fix arp resolve issue 4. Remove ptf leftovers added in pfcwd test Change-Id: I84ee67f56b4c65c682a175515737d3a9125cfdc7
Description of PR
Update all port pfcwd storm test to make it more stable
Summary:
Fixes # (issue)
All port pfcwd storm test not stable enough.
Type of change
Back port request
Approach
What is the motivation for this PR?
Update all port pfcwd storm test is not stable engough.
How did you do it?
Optimize background traffic and arp resolvation.
How did you verify/test it?
Run it in internal regression.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation