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

[snmp]Skipping enable_queue_counterpoll_type fixture for Nokia 7215 armhf platforms #16019

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

harish-kalyanaraman
Copy link
Contributor

Description of PR

Fixture enable_queue_counterpoll_type in snmp is enabling queue counterpolls. But for Nokia 7215 armhf platforms, as queue statistics are not supported, there is an error while executing this command : "SAI_OBJECT_TYPE_QUEUE is not Supported".
So, added a skip condition inside the fixture for Nokia 7215 armhf platforms

Summary:
Fixes error: "SAI_OBJECT_TYPE_QUEUE is not Supported" in Nokia 7215 armhf platforms

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?

How did you do it?

Added condition inside fixture to skip for Nokia 7215 armhf platform

How did you verify/test it?

Run snmp test suite and verify fixture is not executed on Nokia-7215 armhf platforms

Any platform specific information?

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

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -95,7 +95,8 @@ def check_redis_output(duthost, key):
@pytest.fixture(scope="module", autouse=True)
def enable_queue_counterpoll_type(duthosts):
Copy link
Contributor

Choose a reason for hiding this comment

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

This fixture might not good to be set to autouse. @lizhijianrd please create an issue, we need clean up this later.

Copy link
Contributor

Choose a reason for hiding this comment

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

ADO: 30605270

@wangxin wangxin merged commit 7e4816c into sonic-net:master Dec 26, 2024
18 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Dec 26, 2024
…onic-net#16019)

What is the motivation for this PR?
Fixture enable_queue_counterpoll_type in snmp is enabling queue counterpolls. But for Nokia 7215 armhf platforms, as queue statistics are not supported, there is an error while executing this command : "SAI_OBJECT_TYPE_QUEUE is not Supported". So, added a skip condition inside the fixture for Nokia 7215 armhf platforms

How did you do it?
Added condition inside fixture to skip for Nokia 7215 armhf platform

How did you verify/test it?
Run snmp test suite and verify fixture is not executed on Nokia-7215 armhf platforms
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202411: #16236

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Dec 26, 2024
…onic-net#16019)

What is the motivation for this PR?
Fixture enable_queue_counterpoll_type in snmp is enabling queue counterpolls. But for Nokia 7215 armhf platforms, as queue statistics are not supported, there is an error while executing this command : "SAI_OBJECT_TYPE_QUEUE is not Supported". So, added a skip condition inside the fixture for Nokia 7215 armhf platforms

How did you do it?
Added condition inside fixture to skip for Nokia 7215 armhf platform

How did you verify/test it?
Run snmp test suite and verify fixture is not executed on Nokia-7215 armhf platforms
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #16237

mssonicbld pushed a commit that referenced this pull request Dec 26, 2024
…16019)

What is the motivation for this PR?
Fixture enable_queue_counterpoll_type in snmp is enabling queue counterpolls. But for Nokia 7215 armhf platforms, as queue statistics are not supported, there is an error while executing this command : "SAI_OBJECT_TYPE_QUEUE is not Supported". So, added a skip condition inside the fixture for Nokia 7215 armhf platforms

How did you do it?
Added condition inside fixture to skip for Nokia 7215 armhf platform

How did you verify/test it?
Run snmp test suite and verify fixture is not executed on Nokia-7215 armhf platforms
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