-
Notifications
You must be signed in to change notification settings - Fork 740
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
[snmp]Skipping enable_queue_counterpoll_type fixture for Nokia 7215 armhf platforms #16019
Conversation
/azp run |
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): |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ADO: 30605270
…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
Cherry-pick PR to 202411: #16236 |
…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
Cherry-pick PR to 202405: #16237 |
…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
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
Back port request
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