Update qos dscp mapping script#20429
Merged
roy-sror merged 1 commit intosonic-net:masterfrom Oct 28, 2025
Merged
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
53393f4 to
d3f6e9e
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
Hi @wangxin , |
Contributor
Author
|
/azpw run |
Collaborator
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azpw run |
Collaborator
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
nhe-NV
approved these changes
Aug 29, 2025
Contributor
Author
|
/azpw run |
Collaborator
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azpw run |
Collaborator
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azpw run |
Collaborator
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azpw run |
Collaborator
|
/AzurePipelines run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
d3f6e9e to
9029a05
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
9029a05 to
d6d4d05
Compare
|
Azure Pipelines successfully started running 1 pipeline(s). |
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Change-Id: I7c3c49e3b956457c0728468105ae819555992bae
d6d4d05 to
3740c26
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
roy-sror
approved these changes
Oct 28, 2025
dcaugher
pushed a commit
to dcaugher/sonic-mgmt
that referenced
this pull request
Nov 12, 2025
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action
dcaugher
pushed a commit
to dcaugher/sonic-mgmt
that referenced
this pull request
Nov 12, 2025
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action
vikumarks
pushed a commit
to vikumarks/sonic-mgmt
that referenced
this pull request
Dec 1, 2025
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Signed-off-by: vikumarks <[email protected]>
albertovillarreal-keys
pushed a commit
to albertovillarreal-keys/sonic-mgmt
that referenced
this pull request
Dec 2, 2025
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Signed-off-by: Alberto Villarreal <[email protected]>
opcoder0
pushed a commit
to opcoder0/sonic-mgmt
that referenced
this pull request
Dec 8, 2025
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Signed-off-by: opcoder0 <[email protected]>
selldinesh
pushed a commit
to selldinesh/sonic-mgmt
that referenced
this pull request
Dec 11, 2025
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Signed-off-by: selldinesh <[email protected]>
echuawu
added a commit
to echuawu/sonic-mgmt
that referenced
this pull request
Dec 12, 2025
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action
saravanan-nexthop
pushed a commit
to saravanan-nexthop/sonic-mgmt
that referenced
this pull request
Dec 15, 2025
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Signed-off-by: Saravanan <[email protected]>
gshemesh2
pushed a commit
to gshemesh2/sonic-mgmt
that referenced
this pull request
Dec 16, 2025
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Signed-off-by: Guy Shemesh <[email protected]>
AharonMalkin
pushed a commit
to AharonMalkin/sonic-mgmt
that referenced
this pull request
Dec 16, 2025
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2
pushed a commit
to gshemesh2/sonic-mgmt
that referenced
this pull request
Dec 21, 2025
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action 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.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action
yifan-nexthop
pushed a commit
to nexthop-ai/sonic-mgmt
that referenced
this pull request
Jan 14, 2026
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Signed-off-by: YiFan Wang <[email protected]>
gshemesh2
pushed a commit
to gshemesh2/sonic-mgmt
that referenced
this pull request
Jan 26, 2026
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Signed-off-by: Guy Shemesh <[email protected]>
lakshmi-nexthop
pushed a commit
to lakshmi-nexthop/sonic-mgmt
that referenced
this pull request
Jan 28, 2026
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Signed-off-by: Lakshmi Yarramaneni <[email protected]>
ytzur1
pushed a commit
to ytzur1/sonic-mgmt
that referenced
this pull request
Jan 29, 2026
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action
12 tasks
ytzur1
pushed a commit
to ytzur1/sonic-mgmt
that referenced
this pull request
Feb 2, 2026
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Signed-off-by: Yael Tzur <[email protected]>
abhishek-nexthop
pushed a commit
to nexthop-ai/sonic-mgmt
that referenced
this pull request
Feb 6, 2026
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action
rraghav-cisco
pushed a commit
to rraghav-cisco/sonic-mgmt
that referenced
this pull request
Feb 13, 2026
1.Optimize the test cases and use one case to do the two dscp mode test 2.Change the teardown step to a fixture to make sure it must be executed 3.Make sure dscp_to_tc_map is AZURE 4.Add warm reboot action to enhance the test coverage 5.Remove skip condition for mellanox 6.Optimize the packet validation flow which dramatically reduce the execution time 7.Optimize the queue counter check flow to reduce the queue counter check execution time 8.Add port and dscp mode as well as route check to enhance the script debuggability 9.Use completeness_level, by default the script would run warm reboot test if completeness_level had been set as basic, it would skip warm reboot test and the function test after warm reboot action Signed-off-by: Raghavendran Ramanathan <[email protected]>
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Optimize the tests/qos/test_qos_dscp_mapping.py test to dramatically reduce the running time dramatically.
If there are 4 upstream links in the topology, for the basic traffic test, the running time would be reduced by 75% compared with the original script.
If there are 8 upstream links in the topology, for the basic traffic test, the running time would be reduced over 85% compared with the original script.
Script modifications:
if completeness_level had been set as basic, it would skip warm reboot test and the function test
after warm reboot action
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Enhance the tests/qos/test_qos_dscp_mapping.py
How did you do it?
if completeness_level had been set as basic, it would skip warm reboot test and the function test
after warm reboot action
How did you verify/test it?
Run it locally
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation