Skip to content

Bug:[IPv6 only topo] [test_bgp_speaker.py] test_bgp_speaker_tc1_test_config is not updated to IPv6 only topology #20757

Description

@OriTrabelsi

Is it platform specific

generic

Importance or Severity

Critical

Description of the bug

test_bgp_speaker_tc1_test_config is not updated to IPv6 only topology

Steps to Reproduce

run test_bgp_speaker.py::test_bgp_speaker_tc1_test_config on v6 only topology

Actual Behavior and Expected Behavior

vlan_intf_ip_ranges is fixture that should return vlan subnet for v4 and v6. With v6 only topology it return None (as if one of v4 or v6 subnet are not exist it return None).
The test expects this fixture to return list of [ip_range,ip_rangev6 ] since it is None the tests fails.

test need to be adjust to v6 only topology

Relevant log output

def bgp_speaker_tc1_add_config(duthost, lo_intf_ips, vlan_intf_ip_ranges):
        """ Test to add desired v4&v6 bgp speaker config
        """
        lo_ip, lo_ipv6 = lo_intf_ips
>       ip_range, ip_rangev6 = vlan_intf_ip_ranges
E       TypeError: cannot unpack non-iterable NoneType object

Output of show version

Attach files (if any)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions