[Snappi] - Test Changes to support Infra changes for dynamic port selection from the setup replacing variables.py file#18091
Merged
yejianquan merged 19 commits intosonic-net:masterfrom Jun 9, 2025
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
@amitpawar12, @kamalsahu0001 For viz. |
Contributor
|
@YatishSVC can you share the test result on T0 testbed? |
sdszhang
approved these changes
Apr 23, 2025
Contributor
|
@amitpawar12 can you review this? |
Contributor
|
pending on #17920 |
Contributor
|
pending on #18067 |
Contributor
|
@YatishSVC can you resolve the conflicts and upload a test result as well. Thanks! |
Collaborator
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
Collaborator
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
mssonicbld
pushed a commit
to mssonicbld/sonic-mgmt
that referenced
this pull request
Jun 9, 2025
…ection from the setup replacing variables.py file (sonic-net#18091) Description of PR Summary: Fixes # (issue) sonic-net#13769 Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Approach What is the motivation for this PR? To support infra changes in snappi tests introduced by this Pull Request - sonic-net#15069 How did you do it? We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports. How did you verify/test it? Ran in Microsoft Lab on T2 Arista Chassis. Co-authored-by: yatishkoul <yatishkoul@gmail.com>
Collaborator
|
Cherry-pick PR to 202505: #18858 |
11 tasks
mssonicbld
pushed a commit
that referenced
this pull request
Jun 9, 2025
…ection from the setup replacing variables.py file (#18091) Description of PR Summary: Fixes # (issue) #13769 Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Approach What is the motivation for this PR? To support infra changes in snappi tests introduced by this Pull Request - #15069 How did you do it? We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports. How did you verify/test it? Ran in Microsoft Lab on T2 Arista Chassis. Co-authored-by: yatishkoul <yatishkoul@gmail.com>
nissampa
pushed a commit
to nissampa/sonic-mgmt_dpu_test
that referenced
this pull request
Aug 7, 2025
…ection from the setup replacing variables.py file (sonic-net#18091) Description of PR Summary: Fixes # (issue) sonic-net#13769 Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Approach What is the motivation for this PR? To support infra changes in snappi tests introduced by this Pull Request - sonic-net#15069 How did you do it? We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports. How did you verify/test it? Ran in Microsoft Lab on T2 Arista Chassis. Co-authored-by: yatishkoul <yatishkoul@gmail.com>
opcoder0
pushed a commit
to opcoder0/sonic-mgmt
that referenced
this pull request
Dec 8, 2025
…ection from the setup replacing variables.py file (sonic-net#18091) Description of PR Summary: Fixes # (issue) sonic-net#13769 Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Approach What is the motivation for this PR? To support infra changes in snappi tests introduced by this Pull Request - sonic-net#15069 How did you do it? We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports. How did you verify/test it? Ran in Microsoft Lab on T2 Arista Chassis. Co-authored-by: yatishkoul <yatishkoul@gmail.com> Signed-off-by: opcoder0 <110003254+opcoder0@users.noreply.github.com>
AharonMalkin
pushed a commit
to AharonMalkin/sonic-mgmt
that referenced
this pull request
Dec 16, 2025
…ection from the setup replacing variables.py file (sonic-net#18091) Description of PR Summary: Fixes # (issue) sonic-net#13769 Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Approach What is the motivation for this PR? To support infra changes in snappi tests introduced by this Pull Request - sonic-net#15069 How did you do it? We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports. How did you verify/test it? Ran in Microsoft Lab on T2 Arista Chassis. Co-authored-by: yatishkoul <yatishkoul@gmail.com> Signed-off-by: Aharon Malkin <amalkin@nvidia.com>
gshemesh2
pushed a commit
to gshemesh2/sonic-mgmt
that referenced
this pull request
Dec 21, 2025
…ection from the setup replacing variables.py file (sonic-net#18091) Description of PR Summary: Fixes # (issue) sonic-net#13769 Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Approach What is the motivation for this PR? To support infra changes in snappi tests introduced by this Pull Request - sonic-net#15069 How did you do it? We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports. How did you verify/test it? Ran in Microsoft Lab on T2 Arista Chassis. Co-authored-by: yatishkoul <yatishkoul@gmail.com> Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
venu-nexthop
pushed a commit
to venu-nexthop/sonic-mgmt
that referenced
this pull request
Jan 13, 2026
…ection from the setup replacing variables.py file (sonic-net#18091) Description of PR Summary: Fixes # (issue) sonic-net#13769 Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Approach What is the motivation for this PR? To support infra changes in snappi tests introduced by this Pull Request - sonic-net#15069 How did you do it? We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports. How did you verify/test it? Ran in Microsoft Lab on T2 Arista Chassis. Co-authored-by: yatishkoul <yatishkoul@gmail.com>
gshemesh2
pushed a commit
to gshemesh2/sonic-mgmt
that referenced
this pull request
Jan 26, 2026
…ection from the setup replacing variables.py file (sonic-net#18091) Description of PR Summary: Fixes # (issue) sonic-net#13769 Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Approach What is the motivation for this PR? To support infra changes in snappi tests introduced by this Pull Request - sonic-net#15069 How did you do it? We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports. How did you verify/test it? Ran in Microsoft Lab on T2 Arista Chassis. Co-authored-by: yatishkoul <yatishkoul@gmail.com> Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
ytzur1
pushed a commit
to ytzur1/sonic-mgmt
that referenced
this pull request
Feb 2, 2026
…ection from the setup replacing variables.py file (sonic-net#18091) Description of PR Summary: Fixes # (issue) sonic-net#13769 Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Approach What is the motivation for this PR? To support infra changes in snappi tests introduced by this Pull Request - sonic-net#15069 How did you do it? We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports. How did you verify/test it? Ran in Microsoft Lab on T2 Arista Chassis. Co-authored-by: yatishkoul <yatishkoul@gmail.com> Signed-off-by: Yael Tzur <ytzur@nvidia.com>
venu-nexthop
pushed a commit
to venu-nexthop/sonic-mgmt
that referenced
this pull request
Mar 27, 2026
…ection from the setup replacing variables.py file (sonic-net#18091) Description of PR Summary: Fixes # (issue) sonic-net#13769 Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Approach What is the motivation for this PR? To support infra changes in snappi tests introduced by this Pull Request - sonic-net#15069 How did you do it? We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports. How did you verify/test it? Ran in Microsoft Lab on T2 Arista Chassis. Co-authored-by: yatishkoul <yatishkoul@gmail.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)
#13769
Type of change
Back port request
Approach
What is the motivation for this PR?
To support infra changes in snappi tests introduced by this Pull Request - #15069
How did you do it?
We don't need the setup_ports_and_dut now and we can simply call the snappi_testbed_config in the test itself and iterate through the available ports.
How did you verify/test it?
Ran in Microsoft Lab on T2 Arista Chassis.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation