You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run test_snmp_interfaces.py test on Arista Voq chassis or Linecard
Describe the results you received:
FAILED snmp/test_snmp_interfaces.py::test_snmp_interfaces[str2-7804-lc7-1-None] - AttributeError: 'module' object has no attribute 'locals'
FAILED snmp/test_snmp_interfaces.py::test_snmp_interfaces_mibs[str2-7804-lc7-1-None] - KeyError: u'Recirc0/0'
Describe the results you expected:
Should not see any failure.
SNMP test case compares the list of interfaces in config_db to that of the result from SNMP query.
In this case, the snmp interface does not contain the Recirc port, it contains Ethernet interfaces/port channels and Inband interfaces, which was added using the below PRs: sonic-net/sonic-snmpagent#228 sonic-net/sonic-py-swsssdk#113
If recirc port is not required in SNMP interface MIB result, then the test case should be modified to ignore this interface.
Output of show version:
(paste your output here)
Output of show techsupport:
(paste your output here or download and attach the file here )
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered:
Description
Steps to reproduce the issue:
Describe the results you received:
FAILED snmp/test_snmp_interfaces.py::test_snmp_interfaces[str2-7804-lc7-1-None] - AttributeError: 'module' object has no attribute 'locals'
FAILED snmp/test_snmp_interfaces.py::test_snmp_interfaces_mibs[str2-7804-lc7-1-None] - KeyError: u'Recirc0/0'
Describe the results you expected:
Should not see any failure.
SNMP test case compares the list of interfaces in config_db to that of the result from SNMP query.
In this case, the snmp interface does not contain the Recirc port, it contains Ethernet interfaces/port channels and Inband interfaces, which was added using the below PRs:
sonic-net/sonic-snmpagent#228
sonic-net/sonic-py-swsssdk#113
If recirc port is not required in SNMP interface MIB result, then the test case should be modified to ignore this interface.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: