Skip to content

[action] [PR:22871] ignore ingress drop caused by non-unicast noise#22934

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

[action] [PR:22871] ignore ingress drop caused by non-unicast noise#22934
mssonicbld merged 1 commit intosonic-net:202511from
mssonicbld:cherry/202511/22871

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

Summary:
More and more QoS tests break by environment noise: unexpected non-unicast traffic caused ingress drop counters to increase, leading to false positive test failures.

This PR adds a helper function ignore_ingress_drop_caused_by_nonunicast_noise to detect and ignore ingress drops caused by broadcast/multicast noise, preventing unnecessary test failures.

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?

Non-unicast environmental noise (broadcast/multicast traffic) causes unexpected ingress drop counter increases on DUT receive ports. This leads to false positive failures in PFC/QoS SAI tests (PFCXonTest, PFCtest, etc.), even when the DUT behavior is correct.

How did you do it?

  • Added ignore_ingress_drop_caused_by_nonunicast_noise() function that checks if ingress drop increase correlates with non-unicast packet counter increase on the same port
  • Integrated the noise detection into ingress drop assertions across PFCXonTest, PFCtest, and multi-port PFC test classes
  • Platform-aware counter margins for broadcom-dnx, cisco-8000, and marvell-teralynx

How did you verify/test it?

Verified on internal testbed via ADO PR #18719 (approved by Storm Liang and Austin Pham). The change was tested on chassis topology with Cisco-8000 platform.

Any platform specific information?

Counter margin (COUNTER_MARGIN) is applied for broadcom-dnx, cisco-8000, and marvell-teralynx platforms due to known extra IPv6 NS/RA packets from VM.

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

N/A - this is a bug fix to existing test cases.

Documentation

N/A

more and more qos test break by environment noise: unexpected non-unicast
traffic caused ingress drop. This PR adds a helper function to detect and
ignore ingress drops caused by broadcast/multicast noise, preventing
unnecessary test failures.

Signed-off-by: Xu Chen <[email protected]>
Signed-off-by: mssonicbld <[email protected]>
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #22871

@mssonicbld
Copy link
Copy Markdown
Collaborator Author

/azp run

@github-actions github-actions bot requested a review from vmittal-msft March 13, 2026 01:30
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit a92264a into sonic-net:202511 Mar 13, 2026
13 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