-
Notifications
You must be signed in to change notification settings - Fork 730
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
test_snmp_queue fails due to unavailable queue counters #8934
Comments
This is currently noticed in 202205. I have not confirmed the behavior in master. Please note #6744 which in turn is tied to These changes don't seem to be cherry picked into 202205, so the most pertinent short term question is whether all these changes need to be present in 202205 or not. If the answer is no, then there we need to decide whether it is appropriate to skip these tests unless the platform specifically supports the relevant MIB. |
@vmittal-msft @arlakshm for viz. |
@kartik-arista, sonic-net/sonic-swss#2432 is contributed directly into 202205 branch. Are you saying this PR is the culprit or the fix? Transferring this issue to sonic-buildimage repo as this issue seems to be an image issue. |
@yxieca Yes - originallly it was not clear if this issue was test related or product function related, and if the change required was to skip the relevant tests (or cherrypick additional functionality into 202205). Also adding @arlakshm for visibility since he was following up with @prsunny and others who may be aware of the background. |
Discussed in chassis subgroup that test needs to be enhanced for multi-asic |
Here's a code reference to show that the test does not account for the namespace on multi-ASIC platforms: sonic-mgmt/tests/snmp/test_snmp_queue.py Line 19 in 63f7512
|
#9115 should fix this issue |
Description
snmp/test_snmp_queue.py
fails deterministically due to missing 'queues' information in SNMP facts.This was observed on a VOQ chassis platform but likely affects any non Cisco device.
Steps to reproduce the issue:
Describe the results you received:
run
snmp/test_snmp_queue.py
on any VOQ chassis device.Describe the results you expected:
The tests should pass
Additional information you deem important:
Investigating the code, it seems like this field comes from a private Cisco MIB (
ansible/library/snmp_facts.py
)which is then used to populate SNMP facts
which is not going to be present
The text was updated successfully, but these errors were encountered: