Skip to content

Bug: multi ASIC flag is not being passed in correctly to test_everflow_fwd_recircle_port_queue_check #22223

@venu-nexthop

Description

@venu-nexthop

Is it platform specific

generic

Importance or Severity

High

Description of the bug

Wrongly setting multiple namespace flag (applicable only to multi ASIC switches) is causing
packets to be not sent out the ports and is causing queue counters not matching the expected number for T2 duts.

See test_everflow_testbed.py: test_everflow_fwd_recircle_port_queue_check

everflow_utils.verify_mirror_packets_on_recircle_port(
self,
ptfadapter,
setup_info,
setup_mirror_session,
everflow_dut,
rx_port_ptf_id,
[tx_port_ptf_id],
dest_port_type,
queue,
asic_ns,
recircle_port,
erspan_ip_ver,
valid_across_namespace=everflow_dut.is_multi_asic,
)
This call should pass in valid_across_namespace depending on everflow_dut.is_multi_asic value
Otherwise valid_across_namespace is always set as True and is causing test failures

Steps to Reproduce

Run test_everflow_testbed.py: test_everflow_fwd_recircle_port_queue_check on testbed with T2 topo.

Actual Behavior and Expected Behavior

test_everflow_testbed.py: test_everflow_fwd_recircle_port_queue_check should pass on T2 topo

Relevant log output

Output of show version

Attach files (if any)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions