Skip to content

stabilize test_dscp_to_queue_mapping and skip warm-reboot step on smartswitch#21340

Merged
roy-sror merged 1 commit intosonic-net:masterfrom
JibinBao:stabilize_dscp_test
Nov 25, 2025
Merged

stabilize test_dscp_to_queue_mapping and skip warm-reboot step on smartswitch#21340
roy-sror merged 1 commit intosonic-net:masterfrom
JibinBao:stabilize_dscp_test

Conversation

@JibinBao
Copy link
Contributor

Description of PR

  1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
  2. Increase the timeout in case ptf can not handle all packets in the buffer during 1 second, when he ptf buffer has a lot of packets
  3. Skip warm-reboot on smartswitch

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
  • 202505

Approach

What is the motivation for this PR?

Stabilize test_dscp_to_queue_mapping

How did you do it?

  1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
  2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

How did you verify/test it?

run test_dscp_to_queue_mapping

Any platform specific information?

Any

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

Documentation

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets
@JibinBao JibinBao force-pushed the stabilize_dscp_test branch from 087c43c to b82027b Compare November 18, 2025 07:32
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nhe-NV nhe-NV added the Request for 202511 branch Request to backport a change to 202511 branch label Nov 24, 2025
@roy-sror roy-sror merged commit 1a121ff into sonic-net:master Nov 25, 2025
17 checks passed
vikumarks pushed a commit to vikumarks/sonic-mgmt that referenced this pull request Dec 1, 2025
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: vikumarks <[email protected]>
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: opcoder0 <[email protected]>
dcaugher pushed a commit to dcaugher/sonic-mgmt that referenced this pull request Dec 8, 2025
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: Dan Caugherty <[email protected]>
nissampa pushed a commit to nissampa/sonic-mgmt_dpu_test that referenced this pull request Dec 9, 2025
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: Nishanth Sampath Kumar <[email protected]>
selldinesh pushed a commit to selldinesh/sonic-mgmt that referenced this pull request Dec 11, 2025
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: selldinesh <[email protected]>
echuawu pushed a commit to echuawu/sonic-mgmt that referenced this pull request Dec 12, 2025
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets
saravanan-nexthop pushed a commit to saravanan-nexthop/sonic-mgmt that referenced this pull request Dec 15, 2025
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: Saravanan <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 16, 2025
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: Guy Shemesh <[email protected]>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

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
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets
yifan-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Jan 14, 2026
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: YiFan Wang <[email protected]>
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jan 20, 2026
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202511: #22022

PriyanshTratiya pushed a commit to PriyanshTratiya/sonic-mgmt that referenced this pull request Jan 21, 2026
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: Priyansh Tratiya <[email protected]>
lakshmi-nexthop pushed a commit to lakshmi-nexthop/sonic-mgmt that referenced this pull request Jan 28, 2026
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: Lakshmi Yarramaneni <[email protected]>
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Jan 29, 2026
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Feb 2, 2026
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: Yael Tzur <[email protected]>
vmittal-msft pushed a commit that referenced this pull request Feb 2, 2026
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Co-authored-by: Jibin Bao <[email protected]>
abhishek-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Feb 6, 2026
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets
lakshmi-nexthop pushed a commit to lakshmi-nexthop/sonic-mgmt that referenced this pull request Feb 11, 2026
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Co-authored-by: Jibin Bao <[email protected]>
Signed-off-by: Lakshmi Yarramaneni <[email protected]>
rraghav-cisco pushed a commit to rraghav-cisco/sonic-mgmt that referenced this pull request Feb 13, 2026
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

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
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: Zhuohui Tan <[email protected]>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…ly (sonic-net#21340)

#### Why I did it
src/dhcprelay
```
* 13d7f5a - (HEAD -> 202411, origin/202411) Add wait and check ip address check when dhcp6relay init (sonic-net#52) (sonic-net#66) (25 hours ago) [mssonicbld]
* 1e7b13a - [202411] Clear counter when dhcp6relay init (sonic-net#51) (sonic-net#65) (4 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
abhishek-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Mar 17, 2026
1. To mitigate the impact of noise packets, flush the PTF dataplane before sending and verifying packets
2. Increase the timeout in case ptf can not handle all packet in the buffer during 1 second, the ptf buffer has a lot of packets

Signed-off-by: Abhishek <[email protected]>
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.

6 participants