Skip to content

GCU: skip ECN test for certain Cisco platforms#23213

Closed
dcaugher wants to merge 8 commits intosonic-net:masterfrom
dcaugher:gcu-ecn-config-skip
Closed

GCU: skip ECN test for certain Cisco platforms#23213
dcaugher wants to merge 8 commits intosonic-net:masterfrom
dcaugher:gcu-ecn-config-skip

Conversation

@dcaugher
Copy link
Copy Markdown
Contributor

Description of PR

Summary:
Add skip conditions for Cisco 8000 GR2 ASIC platforms (Cisco-8122) to test_ecn_config_updates. These platforms do not support dynamic WRED configuration updates in the SAI layer.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Approach

What is the motivation for this PR?

The test_ecn_config_updates test validates that WRED profile changes in CONFIG_DB propagate correctly to ASIC_DB. On Cisco-8122 platforms (GR2 ASIC), dynamic WRED configuration updates are not implemented in the SAI layer. CONFIG_DB changes are accepted but don't propagate to ASIC_DB, causing the test to fail.

The existing skip for Cisco-8800-LC-48H-C48 (PAC ASIC) has the same root cause.

How did you do it?

  • Added Cisco-8122-O128S2 and Cisco-8122-O64 hwskus to the existing skip conditions
  • Updated the skip reason to clarify it applies to PAC and GR2 ASICs

How did you verify/test it?

Verified test fails on Cisco-8122 platforms without this skip, and is correctly skipped after the change.

Any platform specific information?

Affects Cisco 8000 platforms with PAC or GR2 ASICs:

  • Cisco-8800-LC-48H-C48 (PAC ASIC) - already skipped
  • Cisco-8122-O128S2, Cisco-8122-O64 (GR2 ASIC) - newly added

Other Cisco 8000 platforms (GB/GR ASICs like 8101, 8102, 8111) are supported.

Supported testbed topology if it's a new test case?

N/A

Documentation

dcaugher and others added 5 commits February 4, 2026 14:13
GR2 (Graphene 2 / Lightning) ASIC platforms like Cisco-8122 do not support
dynamic WRED configuration updates in the SAI layer. The SDK's
sai_wred_manager_gr2.cpp has stub (no-op) implementations for WRED
configuration functions such as set_sms_dequeue_cgmlevel_ecnmark_probability().

This causes CONFIG_DB changes to be accepted but never propagated to ASIC_DB,
resulting in test failures with 'ASIC DB does not properly reflect newly
configured field(s)' errors.

Changes:
- Add Cisco-8122-O128S2 and Cisco-8122-O64 HWSKUs to skip conditions
- Add detailed comments explaining the SAI limitation
- Add module docstring documenting platform support

The existing skip for Cisco-8800-LC-48H-C48 (PAC ASIC) remains for similar
reasons - PAC also lacks full dynamic WRED update support.
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Dan Caugherty <dcaugher@cisco.com>
Signed-off-by: Dan Caugherty <dcaugher@cisco.com>
@dcaugher dcaugher force-pushed the gcu-ecn-config-skip branch from 5246c86 to 1e367e0 Compare March 24, 2026 14:49
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@dcaugher dcaugher closed this Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants