Is it platform specific
generic
Importance or Severity
Medium
Description of the bug
By design, the test will skip if there is no portchannel.
But it is having bug on checking if there is portchannel, and causing the test to error out with index error.
vxlan/test_vnet_bgp_route_precedence.py::Test_VNET_BGP_route_Precedence::test_vnet_route_after_bgp[v4_in_v4-custom-initially_up]
-------------------------------- live log setup --------------------------------
14:09:48 __init__._fixture_func_decorator L0073 ERROR |
IndexError('list index out of range')
Traceback (most recent call last):
File "/var/src/sonic-mgmt_vms70-t1-sn5600-2_67bbd2b17ba1c54f9b430cec/tests/common/plugins/log_section_start/__init__.py", line 71, in _fixture_func_decorator
return fixture_func(*args, **kargs)
File "/var/src/sonic-mgmt_vms70-t1-sn5600-2_67bbd2b17ba1c54f9b430cec/tests/vxlan/test_vnet_bgp_route_precedence.py", line 117, in prepare_test_port
dut_port = list(mg_facts['minigraph_portchannels'].keys())[0]
IndexError: list index out of range
ERROR
Steps to Reproduce
To run this test on platform with no portchannel.
Actual Behavior and Expected Behavior
Skip if no portchannel.
Relevant log output
Output of show version
Attach files (if any)
No response
Is it platform specific
generic
Importance or Severity
Medium
Description of the bug
By design, the test will skip if there is no portchannel.
But it is having bug on checking if there is portchannel, and causing the test to error out with index error.
Steps to Reproduce
To run this test on platform with no portchannel.
Actual Behavior and Expected Behavior
Skip if no portchannel.
Relevant log output
Output of
show versionAttach files (if any)
No response