Skip to content

[platform_tests/sfp]: Skip getting sfp info for supervisor#18090

Merged
judyjoseph merged 1 commit intosonic-net:masterfrom
liamkearney-msft:public-dev/skip-sfputil-on-sup
Jul 12, 2025
Merged

[platform_tests/sfp]: Skip getting sfp info for supervisor#18090
judyjoseph merged 1 commit intosonic-net:masterfrom
liamkearney-msft:public-dev/skip-sfputil-on-sup

Conversation

@liamkearney-msft
Copy link
Contributor

PR #16573 added some fixtures for getting port information for sfp tests, however when these fixtures run on supervisor nodes, it fails as sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Description of PR

Summary:
Fixes # (issue)

Type of change

  • [ x] Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • [x ] 202405
  • [ x] 202411

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Tested on nokia 7250 chassis

Any platform specific information?

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

Documentation

PR sonic-net#16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liamkearney-msft
Copy link
Contributor Author

hi @JibinBao could you please review this - your recent PR #16573 had some failures on nokia chassis

@judyjoseph judyjoseph merged commit 37952ca into sonic-net:master Jul 12, 2025
17 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jul 13, 2025
…#18090)

PR sonic-net#16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202505: #19563

mssonicbld pushed a commit that referenced this pull request Jul 13, 2025
PR #16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
nissampa pushed a commit to nissampa/sonic-mgmt_dpu_test that referenced this pull request Aug 7, 2025
…#18090)

PR sonic-net#16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
ashutosh-agrawal pushed a commit to ashutosh-agrawal/sonic-mgmt that referenced this pull request Aug 14, 2025
…#18090)

PR sonic-net#16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
vidyac86 pushed a commit to vidyac86/sonic-mgmt that referenced this pull request Oct 23, 2025
…#18090)

PR sonic-net#16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
…#18090)

PR sonic-net#16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 16, 2025
…#18090)

PR sonic-net#16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
Signed-off-by: Guy Shemesh <gshemesh@nvidia.com>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
…#18090)

PR sonic-net#16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.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
…#18090)

PR sonic-net#16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.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
…#18090)

PR sonic-net#16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
…#18090)

PR sonic-net#16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.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
…#18090)

PR sonic-net#16573 added some fixtures for getting port information for sfp
tests, however when these fixtures run on supervisor nodes, it fails as
sfputil is not valid for supervisors.
Add a check in these fixtures to skip supervisor nodes

Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
Signed-off-by: Yael Tzur <ytzur@nvidia.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.

6 participants