Skip to content

Send more verification packets in packet trimming tests#21435

Merged
bingwang-ms merged 1 commit intosonic-net:masterfrom
rgarofano-arista:send-more-verify-packets-th5
Dec 1, 2025
Merged

Send more verification packets in packet trimming tests#21435
bingwang-ms merged 1 commit intosonic-net:masterfrom
rgarofano-arista:send-more-verify-packets-th5

Conversation

@rgarofano-arista
Copy link
Copy Markdown
Contributor

Description of PR

Summary:
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
  • 202412
  • 202505

Approach

What is the motivation for this PR?

Verification for packet trimming tests was failing on th5. We found that trimming was not occurring because too many packets were leaking out of the egress queue despite the shaper being applied.

How did you do it?

By increasing the number of packets sent from 10 to 100 in the verification stage, we saw that trimming was occurring and the verification passed.

How did you verify/test it?

Verified that packet trimming tests were passing with the change.

Any platform specific information?

This issue was discovered when trying to support broadcom th5.

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

Documentation

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Collaborator

@r12f r12f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR attached here slows down the draining time more, but it could be still not enough: https://github.com/Azure/sonic-mgmt.msft/pull/827/files.

bumping the packet count seems to be straightforward for the fix, hence approving.

@kperumalbfn @developfast , do you mind to also take a look at this PR?

DUMMY_IPV6 = "8000::2"
DUMMY_MAC = "00:11:22:33:44:55"
PACKET_COUNT = 10
PACKET_COUNT = 100
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@r12f r12f added Request for msft-202412 Branch Request for 202511 branch Request to backport a change to 202511 branch labels Nov 25, 2025
@rgarofano-arista rgarofano-arista force-pushed the send-more-verify-packets-th5 branch from 699a78f to 3fd5bd6 Compare November 28, 2025 00:34
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@sdszhang
Copy link
Copy Markdown
Contributor

sdszhang commented Nov 30, 2025

@rgarofano-arista can you fix the PR checker failure?

There is one commit incorrectly signed off. This means that the author of this commit failed to include a Signed-off-by line in the commit message.

@rgarofano-arista rgarofano-arista force-pushed the send-more-verify-packets-th5 branch from 3fd5bd6 to 0a58d9d Compare December 1, 2025 17:47
@github-actions github-actions bot requested a review from developfast December 1, 2025 17:47
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@bingwang-ms bingwang-ms merged commit a1481ba into sonic-net:master Dec 1, 2025
16 checks passed
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to msft-202412: Azure/sonic-mgmt.msft#897

mssonicbld pushed a commit that referenced this pull request Dec 9, 2025
nissampa pushed a commit to nissampa/sonic-mgmt_dpu_test that referenced this pull request Dec 9, 2025
)

Signed-off-by: Ryan Garofano <[email protected]>
Signed-off-by: Nishanth Sampath Kumar <[email protected]>
selldinesh pushed a commit to selldinesh/sonic-mgmt that referenced this pull request Dec 11, 2025
echuawu pushed a commit to echuawu/sonic-mgmt that referenced this pull request Dec 12, 2025
saravanan-nexthop pushed a commit to saravanan-nexthop/sonic-mgmt that referenced this pull request Dec 15, 2025
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 16, 2025
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
vrajeshe pushed a commit to Akshath-17/sonic-mgmt that referenced this pull request Jan 4, 2026
)

Signed-off-by: Ryan Garofano <[email protected]>
Signed-off-by: Venkata Gouri Rajesh Etla <[email protected]>
venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Jan 13, 2026
yifan-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Jan 14, 2026
@mssonicbld
Copy link
Copy Markdown
Collaborator

@rgarofano-arista PR conflicts with 202511 branch

@rgarofano-arista
Copy link
Copy Markdown
Contributor Author

The change is already present in 202511

PriyanshTratiya pushed a commit to PriyanshTratiya/sonic-mgmt that referenced this pull request Jan 21, 2026
lakshmi-nexthop pushed a commit to lakshmi-nexthop/sonic-mgmt that referenced this pull request Jan 28, 2026
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Jan 29, 2026
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Feb 2, 2026
abhishek-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Feb 6, 2026
lakshmi-nexthop pushed a commit to lakshmi-nexthop/sonic-mgmt that referenced this pull request Feb 11, 2026
rraghav-cisco pushed a commit to rraghav-cisco/sonic-mgmt that referenced this pull request Feb 13, 2026
)

Signed-off-by: Ryan Garofano <[email protected]>
Signed-off-by: Raghavendran Ramanathan <[email protected]>
anilal-amd pushed a commit to anilal-amd/anilal-forked-sonic-mgmt that referenced this pull request Feb 19, 2026
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…lly (sonic-net#21435)

[submodule][202411] Update submodule sonic-swss to the latest HEAD
abhishek-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Mar 17, 2026
venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Mar 27, 2026
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.

8 participants