Skip to content

[bgp-scale-test] Use different icmp type for each traffic thread to remove packet count noise#19380

Merged
Blueve merged 2 commits intosonic-net:masterfrom
w1nda:fix-packet-count
Jul 7, 2025
Merged

[bgp-scale-test] Use different icmp type for each traffic thread to remove packet count noise#19380
Blueve merged 2 commits intosonic-net:masterfrom
w1nda:fix-packet-count

Conversation

@w1nda
Copy link
Copy Markdown
Member

@w1nda w1nda commented Jul 3, 2025

Description of PR

Summary:
Fixes # (issue)
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

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?

We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?

To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?

Run test on 5640 testbed with 510 bgp session

Any platform specific information?

No

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

Documentation

@w1nda w1nda requested a review from StormLiangMS as a code owner July 3, 2025 08:46
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@w1nda w1nda requested review from Blueve and yaqiangz and removed request for StormLiangMS July 3, 2025 08:46
@w1nda
Copy link
Copy Markdown
Member Author

w1nda commented Jul 3, 2025

@weiguo-nvidia, this is the fix for negative downtime

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@w1nda
Copy link
Copy Markdown
Member Author

w1nda commented Jul 7, 2025

Hi @Blueve, cloud you merge this PR?

@Blueve Blueve merged commit beff7be into sonic-net:master Jul 7, 2025
17 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jul 7, 2025
…emove packet count noise (sonic-net#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202505: #19448

@mssonicbld
Copy link
Copy Markdown
Collaborator

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

mssonicbld pushed a commit that referenced this pull request Jul 7, 2025
…emove packet count noise (#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session
nissampa pushed a commit to nissampa/sonic-mgmt_dpu_test that referenced this pull request Aug 7, 2025
…emove packet count noise (sonic-net#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session
ashutosh-agrawal pushed a commit to ashutosh-agrawal/sonic-mgmt that referenced this pull request Aug 14, 2025
…emove packet count noise (sonic-net#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session
vidyac86 pushed a commit to vidyac86/sonic-mgmt that referenced this pull request Oct 23, 2025
…emove packet count noise (sonic-net#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
…emove packet count noise (sonic-net#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session

Signed-off-by: opcoder0 <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 16, 2025
…emove packet count noise (sonic-net#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session

Signed-off-by: Guy Shemesh <[email protected]>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
…emove packet count noise (sonic-net#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session

Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
…emove packet count noise (sonic-net#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session

Signed-off-by: Guy Shemesh <[email protected]>
venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Jan 13, 2026
…emove packet count noise (sonic-net#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
…emove packet count noise (sonic-net#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session

Signed-off-by: Guy Shemesh <[email protected]>
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Feb 2, 2026
…emove packet count noise (sonic-net#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session

Signed-off-by: Yael Tzur <[email protected]>
venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Mar 27, 2026
…emove packet count noise (sonic-net#19380)

What is the motivation for this PR?
We run test cases one by one, however, when count packets in next test case, it may count some packets from previous test case.

How did you do it?
To remove the noise, we use different icmp type for each traffic thread in test case, so that the packet count is more accurate.

How did you verify/test it?
Run test on 5640 testbed with 510 bgp session
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.

4 participants