Skip to content

fix for qos failures for master branch due to backplane changes#19495

Merged
yxieca merged 8 commits intosonic-net:masterfrom
nnelluri-cisco:qos_fix_for_dpu_lit_mode
Dec 15, 2025
Merged

fix for qos failures for master branch due to backplane changes#19495
yxieca merged 8 commits intosonic-net:masterfrom
nnelluri-cisco:qos_fix_for_dpu_lit_mode

Conversation

@nnelluri-cisco
Copy link
Copy Markdown
Contributor

@nnelluri-cisco nnelluri-cisco commented Jul 9, 2025

Description of PR

This fix is to address the issue introduced by smartswicth interafces naming from Ethernet-BP0 / Ethernet-BP7
To Ethernet224 / Ethernet280

Summary: Excluded the DPU interafces Ethernet-224 to Ethernet-280 from the minigraph_facts to avoid qos failures
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • [X ] Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • [ X] 202505
  • [ X] 202506

Approach

exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?

The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you do it?

How did you verify/test it?

Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

Any platform specific information?

Platform: x86_64-8102_28fh_dpu_o-r0
HwSKU: Cisco-8102-28FH-DPU-O
ASIC: cisco-8000

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

topo_t1_28_lag

Documentation

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@nnelluri-cisco
Copy link
Copy Markdown
Contributor Author

@prabhataravind and @bhavani
please review and approve the PR.

This latest PR is raised extension to previous PR #16465
due to interface namig changes for DPU backplane interafces.

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@prabhataravind
Copy link
Copy Markdown
Contributor

@congh-nvidia @wen587 please review

Copy link
Copy Markdown
Contributor

@prabhataravind prabhataravind left a comment

Choose a reason for hiding this comment

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

We can't have hard-coded IPs in generic code.

Copy link
Copy Markdown

@rameshraghupathy rameshraghupathy left a comment

Choose a reason for hiding this comment

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

Updated the comment

show_ip_int_output = self.shell("show ip interface")["stdout"]
# Build set of Ethernet ports with 18.x.202.0/31 IPs to exclude
excluded_ports = set()
for line in show_ip_int_output.strip().splitlines():
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There is already a common method to parse the show output:

def show_and_parse(self, show_cmd, header_len=1, **kwargs):

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@congh-nvidia
used show_and_parse API instead of custom parsing.

@congh-nvidia
Copy link
Copy Markdown
Contributor

In general the DPU interfaces could affect some tests, not only the QOS test. For us we just don't add those interfaces to the ansible/files/sonic_lab_links.csv. And then there is no need to change the existing tests.

excluded_ports = self.get_backplane_ports()
for k, v in list(ip_ifs.items()):
if ((k.startswith("Ethernet") and (not k.startswith("Ethernet-BP")) and not is_inband_port(k)) or
if ((k.startswith("Ethernet") and (k not in excluded_ports) and not is_inband_port(k)) or
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is the current naming for this Ehternet-BP port?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@wen587
The current naming as follows
Ethernet224 18.0.202.0/31 up/up N/A N/A
Ethernet232 18.1.202.0/31 up/up N/A N/A
Ethernet240 18.2.202.0/31 up/up N/A N/A
Ethernet248 18.3.202.0/31 up/up N/A N/A
Ethernet256 18.4.202.0/31 up/up N/A N/A
Ethernet264 18.5.202.0/31 up/up N/A N/A
Ethernet272 18.6.202.0/31 up/up N/A N/A
Ethernet280 18.7.202.0/31 up/up N/A N/A

Copy link
Copy Markdown
Collaborator

@bpar9 bpar9 left a comment

Choose a reason for hiding this comment

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

@nnelluri-cisco lets close on common approach for all SS dependent scripts which can be adopted by everyone

@nnelluri-cisco
Copy link
Copy Markdown
Contributor Author

In general the DPU interfaces could affect some tests, not only the QOS test. For us we just don't add those interfaces to the ansible/files/sonic_lab_links.csv. And then there is no need to change the existing tests.

@congh-nvidia
we are not providing DPU interafces on ansible/files/sonic_lab_links.csv ( we only provide front panel ports information in to this file).

The DPU interfaces show up like below when all the DPU modules are active on the system
Ethernet224 18.0.202.0/31 up/up N/A N/A
Ethernet232 18.1.202.0/31 up/up N/A N/A
Ethernet240 18.2.202.0/31 up/up N/A N/A
Ethernet248 18.3.202.0/31 up/up N/A N/A
Ethernet256 18.4.202.0/31 up/up N/A N/A
Ethernet264 18.5.202.0/31 up/up N/A N/A
Ethernet272 18.6.202.0/31 up/up N/A N/A
Ethernet280 18.7.202.0/31 up/up N/A N/A

These ineterfaces are not show up when DPU are in dark mode.
Since these interafces has IP address , it breaks certain sonic-mgmt tests.

Can u please double check and let me know?

@nnelluri-cisco
Copy link
Copy Markdown
Contributor Author

@nnelluri-cisco lets close on common approach for all SS dependent scripts which can be adopted by everyone

sure @bhavani

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@nnelluri-cisco
Copy link
Copy Markdown
Contributor Author

@prabhataravind and @congh-nvidia
since we agreed on 18.X.202.0/31 for DPU interfaces, can u review the code and approve

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@nnelluri-cisco nnelluri-cisco force-pushed the qos_fix_for_dpu_lit_mode branch from 98c7c5f to 2420f3e Compare August 25, 2025 17:59
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@prabhataravind
Copy link
Copy Markdown
Contributor

@yxieca @prsunny please help approve/merge

@yxieca yxieca merged commit 92f9d93 into sonic-net:master Dec 15, 2025
19 checks passed
saravanan-nexthop pushed a commit to saravanan-nexthop/sonic-mgmt that referenced this pull request Dec 15, 2025
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

Signed-off-by: Saravanan <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 16, 2025
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

Signed-off-by: Guy Shemesh <[email protected]>
nissampa pushed a commit to nissampa/sonic-mgmt_dpu_test that referenced this pull request Dec 16, 2025
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

Signed-off-by: Nishanth Sampath Kumar <[email protected]>
selldinesh pushed a commit to selldinesh/sonic-mgmt that referenced this pull request Dec 18, 2025
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

Signed-off-by: selldinesh <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

Signed-off-by: Guy Shemesh <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

Signed-off-by: Guy Shemesh <[email protected]>
vrajeshe pushed a commit to Akshath-17/sonic-mgmt that referenced this pull request Jan 4, 2026
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

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
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.
yifan-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Jan 14, 2026
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

Signed-off-by: YiFan Wang <[email protected]>
PriyanshTratiya pushed a commit to PriyanshTratiya/sonic-mgmt that referenced this pull request Jan 21, 2026
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

Signed-off-by: Priyansh Tratiya <[email protected]>
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Feb 2, 2026
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

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
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.
@prsunny prsunny added Request for 202511 branch Request to backport a change to 202511 branch Approved for 202511 branch labels Feb 9, 2026
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Feb 9, 2026
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202511: #22301

@KrisNey-MSFT
Copy link
Copy Markdown

pinged this PR to @prsunny to label and move forward

rraghav-cisco pushed a commit to rraghav-cisco/sonic-mgmt that referenced this pull request Feb 13, 2026
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

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
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

Signed-off-by: Zhuohui Tan <[email protected]>
mssonicbld pushed a commit that referenced this pull request Feb 20, 2026
Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.
abhishek-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Mar 17, 2026
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.

Signed-off-by: Abhishek <[email protected]>
venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Mar 27, 2026
…c-net#19495)

Approach
exclude new DPU interfaces Ethernet-224 to Ethernet-280

What is the motivation for this PR?
The new DPU interfaces Ethernet-224 to Ethernet-280 is breaking test_qos_sai.py regression in latest master branch.

How did you verify/test it?
Ran complete test_qos_sai.py regression under sonic-mgmt. with new changes and all tests pass.
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.

10 participants