Skip to content

[action] [PR:20544] Qos test case added for verifying ECN configuration based on WRED profile#22921

Merged
mssonicbld merged 1 commit intosonic-net:202511from
mssonicbld:cherry/202511/20544
Mar 13, 2026
Merged

[action] [PR:20544] Qos test case added for verifying ECN configuration based on WRED profile#22921
mssonicbld merged 1 commit intosonic-net:202511from
mssonicbld:cherry/202511/20544

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Test Gap related issue -sonic-net/sonic-buildimage#22856
Summary:
New test cases are added to qos tests to verify the ECN marked packets according to the ECN WRED parameters.
The test cases are only enabled for 'broadcom' platform

Fixes # (issue)

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

Approach

What is the motivation for this PR?

Failures in ecnconfig CLI . Issue#22856

How did you do it?

The test cases are added to qos folder to verify
-The supported CLI commands for ecnconfig
-The Ecn marked traffic and the wredcounter updates

How did you verify/test it?

Enabled ecnconfig on dut .Execute & verify the new test cases results

Any platform specific information?

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

Documentation

…file (sonic-net#20544)

* [GITPR_TBD]testQosSaiDscpEcn test added to qos tests

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* [GITPR_TBD]testQosSaiDscpEcnTest updated for ecnconfig check

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* [GITPR_TBD]Conditional mark skip added for testDscpEcn

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* Flake8 fixes

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* Flake8 fixes

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* Flake8 fix

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* Flake8

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* [GITPR_TBD]Counterpoll cmd changes for multi_asic

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* Flake8 err fix

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* Flake8 fixes

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* [GITPR_20544]testQosSaiDscpEcn updated to validate pkt_range

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* Flake8 fixed

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* [GITPR_20544]Added fixture to enable_disable ecn config

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* [GITPR_20544][Qos]Improvising assert check for ecn counters

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* Flake8 fix

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

* rebase correction

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>

---------

Signed-off-by: ansrajpu <anshu.rajput@nokia.com>
Signed-off-by: mssonicbld <sonicbld@microsoft.com>
@mssonicbld
Copy link
Collaborator Author

Original PR: #20544

@mssonicbld
Copy link
Collaborator Author

/azp run

@github-actions github-actions bot requested a review from vmittal-msft March 12, 2026 21:18
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 7ee3eb9 into sonic-net:202511 Mar 13, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants