[t0 t1 merge] Migrate multidut pfc to t2#16694
Merged
yejianquan merged 1 commit intosonic-net:masterfrom Feb 7, 2025
Merged
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
@sdszhang for review |
7b0dfd6 to
dca541f
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
|
@developfast @amitpawar12 @selldinesh @kamalsahu0001 @rraghav-cisco @vmittal-msft for review, this is the T0/T1 merge for pfc test cases. |
dca541f to
9567daa
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
9567daa to
8cbca8e
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
auspham
commented
Jan 31, 2025
| dut.command("sonic-clear queuecounters") | ||
| time.sleep(1) | ||
| dut.command("sonic-clear counters") | ||
| time.sleep(1) |
Contributor
Author
There was a problem hiding this comment.
@sdszhang These are the changes needed to fix the test_pfc_pause_counter_check on T2. I have double check on t0 it still pass as well
auspham
commented
Jan 31, 2025
| verify_rx_frame_count_dut(duthost=duthost, | ||
| verify_rx_frame_count_dut(duthost=ingress_duthost, | ||
| api=api, | ||
| snappi_extra_params=snappi_extra_params) |
Contributor
Author
There was a problem hiding this comment.
also this one where we need to specify the ingress_duthost for test_pfc_pause_counter_check @sdszhang
sdszhang
approved these changes
Jan 31, 2025
chore: migrate sonic-net#11704 to multidut_helper chore: migrate sonic-net#15002 to multidut_helper Signed-off-by: Austin Pham <austinpham@microsoft.com> chore: fix disable_pfcwd Signed-off-by: Austin Pham <austinpham@microsoft.com> chore: migrate sonic-net#9847 to test_multidut_pfc_pause_lossless_with_snappi Signed-off-by: Austin Pham <austinpham@microsoft.com>
8cbca8e to
f55493d
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
11 tasks
mssonicbld
pushed a commit
to mssonicbld/sonic-mgmt
that referenced
this pull request
Feb 7, 2025
Description of PR Summary: Fixes # (issue) 31085729 Migrate the following PR: [Snappi] Update test PFC pause frame functionality to include DUT counter polling sonic-net#9847 Fixed the failure of test_valid_pfc_frame_with_snappi.py in Cisco DUT sonic-net#15002 [Snappi] Bug fix for checking counters to account for forwarding lag sonic-net#11704 Approach What is the motivation for this PR? Migrate PRs for pfc test cases to t2 Signed-off-by: Austin Pham <austinpham@microsoft.com>
11 tasks
Collaborator
|
Cherry-pick PR to 202411: #16853 |
Collaborator
|
Cherry-pick PR to msft-202405: Azure/sonic-mgmt.msft#68 |
11 tasks
yejianquan
pushed a commit
that referenced
this pull request
Feb 27, 2025
Description of PR Summary: merge multidut pfc folder Fixes # (issue) 31217322 As part of test merge plan, we're merging tests/snappi_tests/multidut to tests/snappi_tests for PFC folder. This PR simply moving over the same code in tests/snappi_tests/multidut/pfc to tests/snappi_tests/pfc as it and resolve a few conflicts. Need to merge #16694 first before this Approach What is the motivation for this PR? Described above How did you do it? All the tests in tests/snappi_tests/multidut/pfc folder are ran nightly on t0 to verify the status Compare each file in tests/snappi_tests/multidut/pfc folder with tests/snappi_tests/pfc folder to find the differences Resolve the differences and modify so that it fits with t0 platform Ran regression on t0 platforms and verify if it works How did you verify/test it? We run regression on T0 platform and T2 platforms to verify if this works. Verification includes 2 main process Nightly verification trigger on before-merge branch multidut for regression Verification trigger on original tests/snappi_tests/pfc folder for baseline comparison Verification trigger on after-merge branch to compare new process. Only failures existed in baseline are acceptable. Signed-off-by: Austin Pham <austinpham@microsoft.com>
nissampa
pushed a commit
to nissampa/sonic-mgmt_dpu_test
that referenced
this pull request
Mar 4, 2025
Description of PR Summary: merge multidut pfc folder Fixes # (issue) 31217322 As part of test merge plan, we're merging tests/snappi_tests/multidut to tests/snappi_tests for PFC folder. This PR simply moving over the same code in tests/snappi_tests/multidut/pfc to tests/snappi_tests/pfc as it and resolve a few conflicts. Need to merge sonic-net#16694 first before this Approach What is the motivation for this PR? Described above How did you do it? All the tests in tests/snappi_tests/multidut/pfc folder are ran nightly on t0 to verify the status Compare each file in tests/snappi_tests/multidut/pfc folder with tests/snappi_tests/pfc folder to find the differences Resolve the differences and modify so that it fits with t0 platform Ran regression on t0 platforms and verify if it works How did you verify/test it? We run regression on T0 platform and T2 platforms to verify if this works. Verification includes 2 main process Nightly verification trigger on before-merge branch multidut for regression Verification trigger on original tests/snappi_tests/pfc folder for baseline comparison Verification trigger on after-merge branch to compare new process. Only failures existed in baseline are acceptable. Signed-off-by: Austin Pham <austinpham@microsoft.com>
nnelluri-cisco
pushed a commit
to nnelluri-cisco/sonic-mgmt
that referenced
this pull request
Mar 15, 2025
Description of PR Summary: Fixes # (issue) 31085729 Migrate the following PR: [Snappi] Update test PFC pause frame functionality to include DUT counter polling sonic-net#9847 Fixed the failure of test_valid_pfc_frame_with_snappi.py in Cisco DUT sonic-net#15002 [Snappi] Bug fix for checking counters to account for forwarding lag sonic-net#11704 Approach What is the motivation for this PR? Migrate PRs for pfc test cases to t2 Signed-off-by: Austin Pham <austinpham@microsoft.com>
nnelluri-cisco
pushed a commit
to nnelluri-cisco/sonic-mgmt
that referenced
this pull request
Mar 15, 2025
Description of PR Summary: merge multidut pfc folder Fixes # (issue) 31217322 As part of test merge plan, we're merging tests/snappi_tests/multidut to tests/snappi_tests for PFC folder. This PR simply moving over the same code in tests/snappi_tests/multidut/pfc to tests/snappi_tests/pfc as it and resolve a few conflicts. Need to merge sonic-net#16694 first before this Approach What is the motivation for this PR? Described above How did you do it? All the tests in tests/snappi_tests/multidut/pfc folder are ran nightly on t0 to verify the status Compare each file in tests/snappi_tests/multidut/pfc folder with tests/snappi_tests/pfc folder to find the differences Resolve the differences and modify so that it fits with t0 platform Ran regression on t0 platforms and verify if it works How did you verify/test it? We run regression on T0 platform and T2 platforms to verify if this works. Verification includes 2 main process Nightly verification trigger on before-merge branch multidut for regression Verification trigger on original tests/snappi_tests/pfc folder for baseline comparison Verification trigger on after-merge branch to compare new process. Only failures existed in baseline are acceptable. Signed-off-by: Austin Pham <austinpham@microsoft.com>
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.
Description of PR
Summary:
Fixes # (issue) 31085729
Migrate the following PR:
Type of change
Back port request
Approach
What is the motivation for this PR?
Migrate PRs for pfc test cases to t2
How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation