Skip to content

Update the pfcwd test cases according to the new implement of the pfcwd.#12733

Merged
liat-grozovik merged 1 commit intosonic-net:masterfrom
nhe-NV:pfc_wd_update
May 16, 2024
Merged

Update the pfcwd test cases according to the new implement of the pfcwd.#12733
liat-grozovik merged 1 commit intosonic-net:masterfrom
nhe-NV:pfc_wd_update

Conversation

@nhe-NV
Copy link
Copy Markdown
Contributor

@nhe-NV nhe-NV commented May 6, 2024

Update the pfcwd test cases according to the new implement of the pfcwd
After the feature is completed, it criteria to trigger the pfcwd is much more strict than previous on Nvidia platform, So adjust the test case to properly trigger the pfcwd. The solution is to send background traffic during the pfc frame is sent from the fanout.

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305
  • 202311

Approach

What is the motivation for this PR?

To make the pfcwd test case could pass after the new implement of the pfcwd.

How did you do it?

Add the logic of sending the background traffic to make the test case could pass after the new implement of the pfcwd

How did you verify/test it?

All pfcwd test case could pass

Any platform specific information?

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

Documentation

@liat-grozovik
Copy link
Copy Markdown
Collaborator

@nhe-NV please handle the conflicts.
please let me know if we should merge it after the feature is changed, if so lets create dependency.

After the feature is completed, it criteria to trigger the pfcwd is much more strict than previous on Nvidia platform, So adjust the test case to properly trigger the pfcwd. The solution is to send background traffic during the pfc frame is sent from the fanout.
@nhe-NV
Copy link
Copy Markdown
Contributor Author

nhe-NV commented May 9, 2024

/azpw run

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@nhe-NV
Copy link
Copy Markdown
Contributor Author

nhe-NV commented May 9, 2024

@nhe-NV please handle the conflicts. please let me know if we should merge it after the feature is changed, if so lets create dependency.

HI @liat-grozovik conflict fixed, and tested

@nhe-NV
Copy link
Copy Markdown
Contributor Author

nhe-NV commented May 10, 2024

/azpw run

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@nhe-NV
Copy link
Copy Markdown
Contributor Author

nhe-NV commented May 13, 2024

/azpw run

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@stephenxs
Copy link
Copy Markdown
Contributor

@neethajohn @bingwang-ms would you please review this PR? it is the corresponding test of PFC WD enhancement. thanks.

@liat-grozovik liat-grozovik merged commit b90bae3 into sonic-net:master May 16, 2024
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jul 23, 2024
…wd. (sonic-net#12733)

Update the pfcwd test cases according to the new implement of the pfcwd
After the feature is completed, it criteria to trigger the pfcwd is much more strict than previous on Nvidia platform, So adjust the test case to properly trigger the pfcwd. The solution is to send background traffic during the pfc frame is sent from the fanout.
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202311: #13778

mssonicbld pushed a commit that referenced this pull request Jul 23, 2024
…wd. (#12733)

Update the pfcwd test cases according to the new implement of the pfcwd
After the feature is completed, it criteria to trigger the pfcwd is much more strict than previous on Nvidia platform, So adjust the test case to properly trigger the pfcwd. The solution is to send background traffic during the pfc frame is sent from the fanout.
StormLiangMS pushed a commit that referenced this pull request Aug 1, 2024
What is the motivation for this PR?
The test case failed in nightly build.
Should be related to the PR #12733, which decrease the detect sleep time for test_pfcwd_timer_accuracy

How did you do it?
Enlarge the detect sleep time

How did you verify/test it?
Run original case
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Aug 1, 2024
What is the motivation for this PR?
The test case failed in nightly build.
Should be related to the PR sonic-net#12733, which decrease the detect sleep time for test_pfcwd_timer_accuracy

How did you do it?
Enlarge the detect sleep time

How did you verify/test it?
Run original case
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Aug 1, 2024
What is the motivation for this PR?
The test case failed in nightly build.
Should be related to the PR sonic-net#12733, which decrease the detect sleep time for test_pfcwd_timer_accuracy

How did you do it?
Enlarge the detect sleep time

How did you verify/test it?
Run original case
mssonicbld pushed a commit that referenced this pull request Aug 1, 2024
What is the motivation for this PR?
The test case failed in nightly build.
Should be related to the PR #12733, which decrease the detect sleep time for test_pfcwd_timer_accuracy

How did you do it?
Enlarge the detect sleep time

How did you verify/test it?
Run original case
mssonicbld pushed a commit that referenced this pull request Aug 1, 2024
What is the motivation for this PR?
The test case failed in nightly build.
Should be related to the PR #12733, which decrease the detect sleep time for test_pfcwd_timer_accuracy

How did you do it?
Enlarge the detect sleep time

How did you verify/test it?
Run original case
arista-hpandya pushed a commit to arista-hpandya/sonic-mgmt that referenced this pull request Oct 2, 2024
What is the motivation for this PR?
The test case failed in nightly build.
Should be related to the PR sonic-net#12733, which decrease the detect sleep time for test_pfcwd_timer_accuracy

How did you do it?
Enlarge the detect sleep time

How did you verify/test it?
Run original case
vikshaw-Nokia pushed a commit to vikshaw-Nokia/sonic-mgmt that referenced this pull request Oct 23, 2024
What is the motivation for this PR?
The test case failed in nightly build.
Should be related to the PR sonic-net#12733, which decrease the detect sleep time for test_pfcwd_timer_accuracy

How did you do it?
Enlarge the detect sleep time

How did you verify/test it?
Run original case
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.

6 participants