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

Disable pfcwd for pfc_lossless. #15887

Merged

Conversation

rraghav-cisco
Copy link
Contributor

Description of PR

The pfc lossless test assume pfcwd is disabled. But this test: test_pfc_pause_multi_lossless_prio is not provided the fixture: "disable_pfcwd" which is used by all other tests in the same script. This causes this test to fail since the pfcwd is triggered and packets are dropped.

Type of change

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

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

this test is failing with this error:
Failed: Total TX bytes 841563217920 should be smaller than DUT buffer size 67108864

How did you do it?

Disable pfcwd during the test using the fixture, that is already used by other tests in the same script.

How did you verify/test it?

Ran it on my TB:

@sdszhang , @auspham : FYI.

@rraghav-cisco
Copy link
Contributor Author

@sdszhang , @auspham : Pls let me know what to do about the failure in the azp run. I don't understand what the error means. Thanks.

@auspham
Copy link
Contributor

auspham commented Dec 5, 2024

@sdszhang , @auspham : Pls let me know what to do about the failure in the azp run. I don't understand what the error means. Thanks.

retriggering for you

Copy link
Contributor

@sdszhang sdszhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yejianquan yejianquan merged commit b0e25a5 into sonic-net:master Dec 6, 2024
17 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Dec 6, 2024
Description of PR
The pfc lossless test assume pfcwd is disabled. But this test: test_pfc_pause_multi_lossless_prio is not provided the fixture: "disable_pfcwd" which is used by all other tests in the same script. This causes this test to fail since the pfcwd is triggered and packets are dropped.

Approach
What is the motivation for this PR?
this test is failing with this error:
Failed: Total TX bytes   841563217920 should be smaller than DUT buffer size 67108864

How did you do it?
Disable pfcwd during the test using the fixture, that is already used by other tests in the same script.

How did you verify/test it?
Ran it on my TB:

co-authorized by: jianquanye@microsoft.com
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #15928

mssonicbld pushed a commit that referenced this pull request Dec 6, 2024
Description of PR
The pfc lossless test assume pfcwd is disabled. But this test: test_pfc_pause_multi_lossless_prio is not provided the fixture: "disable_pfcwd" which is used by all other tests in the same script. This causes this test to fail since the pfcwd is triggered and packets are dropped.

Approach
What is the motivation for this PR?
this test is failing with this error:
Failed: Total TX bytes   841563217920 should be smaller than DUT buffer size 67108864

How did you do it?
Disable pfcwd during the test using the fixture, that is already used by other tests in the same script.

How did you verify/test it?
Ran it on my TB:

co-authorized by: jianquanye@microsoft.com
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.

5 participants