Is it platform specific
generic
Importance or Severity
Critical
Description of the bug
test_po_update not updated to IPv6 only topology
Steps to Reproduce
run test test_po_update on IPv6 only topology
Actual Behavior and Expected Behavior
The test is expected to pass on IPv6 only topology
Relevant log output
def test_po_update(duthosts, enum_rand_one_per_hwsku_frontend_hostname, enum_frontend_asic_index, tbinfo):
"""
test port channel add/deletion as well ip address configuration
"""
duthost = duthosts[enum_rand_one_per_hwsku_frontend_hostname]
asichost = duthost.asic_instance(enum_frontend_asic_index)
int_facts = asichost.interface_facts()['ansible_facts']
port_channels_data = asichost.get_portchannels_and_members_in_ns(tbinfo)
if not port_channels_data:
pytest.skip(
"Skip test as there are no port channels on asic {} on dut {}".format(enum_frontend_asic_index, duthost))
portchannel = None
portchannel_members = None
for portchannel in port_channels_data:
logging.info('Trying to get PortChannel: {} for test'.format(portchannel))
if int_facts['ansible_interface_facts'][portchannel].get('ipv4'):
portchannel_members = port_channels_data[portchannel]
break
> pytest_assert(portchannel and portchannel_members, 'Can not get PortChannel interface for test')
E Failed: Can not get PortChannel interface for test
asichost = <SonicAsic 0>
duthost = <MultiAsicSonicHost ....>
duthosts = [<MultiAsicSonicHost ....>]
enum_frontend_asic_index = None
enum_rand_one_per_hwsku_frontend_hostname = '....'
int_facts = {'ansible_interface_facts': {'Bridge': {'active': True, 'device': 'Bridge', 'id': '8000.5000e623eeda', 'interfaces': [... 'fe80::5200:e6ff:fe23:eeda', 'fc00::441', 'fe80::5200:e6ff:fe23:eeda', ...]}, 'ansible_interface_link_down_ports': []}
port_channels_data = {'PortChannel102': ['Ethernet96', 'Ethernet100']}
portchannel = 'PortChannel102'
portchannel_members = None
Output of show version
Attach files (if any)
No response
Is it platform specific
generic
Importance or Severity
Critical
Description of the bug
test_po_update not updated to IPv6 only topology
Steps to Reproduce
run test test_po_update on IPv6 only topology
Actual Behavior and Expected Behavior
The test is expected to pass on IPv6 only topology
Relevant log output
def test_po_update(duthosts, enum_rand_one_per_hwsku_frontend_hostname, enum_frontend_asic_index, tbinfo): """ test port channel add/deletion as well ip address configuration """ duthost = duthosts[enum_rand_one_per_hwsku_frontend_hostname] asichost = duthost.asic_instance(enum_frontend_asic_index) int_facts = asichost.interface_facts()['ansible_facts'] port_channels_data = asichost.get_portchannels_and_members_in_ns(tbinfo) if not port_channels_data: pytest.skip( "Skip test as there are no port channels on asic {} on dut {}".format(enum_frontend_asic_index, duthost)) portchannel = None portchannel_members = None for portchannel in port_channels_data: logging.info('Trying to get PortChannel: {} for test'.format(portchannel)) if int_facts['ansible_interface_facts'][portchannel].get('ipv4'): portchannel_members = port_channels_data[portchannel] break > pytest_assert(portchannel and portchannel_members, 'Can not get PortChannel interface for test') E Failed: Can not get PortChannel interface for test asichost = <SonicAsic 0> duthost = <MultiAsicSonicHost ....> duthosts = [<MultiAsicSonicHost ....>] enum_frontend_asic_index = None enum_rand_one_per_hwsku_frontend_hostname = '....' int_facts = {'ansible_interface_facts': {'Bridge': {'active': True, 'device': 'Bridge', 'id': '8000.5000e623eeda', 'interfaces': [... 'fe80::5200:e6ff:fe23:eeda', 'fc00::441', 'fe80::5200:e6ff:fe23:eeda', ...]}, 'ansible_interface_link_down_ports': []} port_channels_data = {'PortChannel102': ['Ethernet96', 'Ethernet100']} portchannel = 'PortChannel102' portchannel_members = NoneOutput of
show versionAttach files (if any)
No response