Skip to content

Bug: test_acl failed on isolated-v6 topology #18077

@sdszhang

Description

@sdszhang

Is it platform specific

generic

Importance or Severity

High

Description of the bug

All test_acl.py failed with the following failures on t0-isolated-v6-d16u16s2 topology.

               mux_cable_table = {}
                server_ipv4_base_addr, server_ipv6_base_addr = request.getfixturevalue('mock_server_base_ip_addr')
                for i, intf in enumerate(request.getfixturevalue('tor_mux_intfs')):
>                   server_ipv4 = str(server_ipv4_base_addr + i)
E                   TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'

......
ERROR acl/test_acl.py::TestAclWithPortToggle::test_ip_proto_match_dropped[ipv6-ingress-uplink->downlink-default-Vlan1000]
ERROR acl/test_acl.py::TestAclWithPortToggle::test_tcp_flags_match_dropped[ipv6-ingress-uplink->downlink-default-Vlan1000]
ERROR acl/test_acl.py::TestAclWithPortToggle::test_icmp_match_forwarded[ipv6-ingress-uplink->downlink-default-Vlan1000]
================= 2 warnings, 800 errors in 444.05s (0:07:24) ==================

Steps to Reproduce

run test_acl.py with t0-isolated-v6-d16u16s2 topology.

Actual Behavior and Expected Behavior

Expected behavior: Pass
Actual Behavior: All test_acl.py are failed with error

Relevant log output

Output of show version

Attach files (if any)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions