Skip to content

Bug: [snappi] snappi_tests/test_dequeue_ecn_with_snappi.py failure with "Failed to configure WRED/ECN at the DUT" #19590

Open
@vkjammala-arista

Description

@vkjammala-arista

Is it platform specific

generic

Importance or Severity

Medium

Description of the bug

snappi_tests/test_dequeue_ecn_with_snappi.py is failing with Failed: Failed to configure WRED/ECN at the DUT on multi-asic devices.

This is due to ecn config helper methods are not using asic_value (which refers to asic where underlying port belongs to, in case of multi-asic devices) to fetch config_facts, thus causing config_facts to be fetched from linecard namespace (instead of asic namespace) which doesn't have qos config (WRED_PROFILE, BUFFER_PROFILE etc).

Steps to Reproduce

Run snappi_tests/test_dequeue_ecn_with_snappi.py on multi-asic systems.

Actual Behavior and Expected Behavior

Test should not be failing with the above error.

Relevant log output

Output of show version

Attach files (if any)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions