Skip to content

Comments

Fix test_dscp_to_queue_mapping_uniform_mode#1954

Open
rick-arista wants to merge 1 commit intoAzure:202412from
rick-arista:dscp-decap-mode
Open

Fix test_dscp_to_queue_mapping_uniform_mode#1954
rick-arista wants to merge 1 commit intoAzure:202412from
rick-arista:dscp-decap-mode

Conversation

@rick-arista
Copy link

Why I did it

This fixes test_dscp_to_queue_mapping_uniform_mode for TH5. This attr is required for setting the custom qos map for ipinip tunnels.

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

Manually tested

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@rick-arista rick-arista requested a review from lguohan as a code owner January 23, 2026 17:59
@r12f
Copy link

r12f commented Jan 24, 2026

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

"TUNNEL_DECAP_TABLE:IPINIP_SUBNET" : {
"tunnel_type":"IPINIP",
"dscp_mode":"uniform",
"decap_dscp_to_tc_map":"AZURE",
Copy link

Choose a reason for hiding this comment

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

this change is not apply to a single platform and a single release. @sdszhang , is this the real fix?

Copy link

@sdszhang sdszhang Jan 29, 2026

Choose a reason for hiding this comment

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

@rick-arista is this needed for every platform? Can we limit it to TH5 only? As we don't see this on Nvidia platform, changing this may affect the result of their platform.

Copy link

Choose a reason for hiding this comment

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

@rick-arista do you know why this failure only happens on 202412 branch? but not on 202505 anymore?

Copy link
Author

Choose a reason for hiding this comment

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

I'm not entirely sure. There were other changes on 202505 to this section of the code that I think might apply a similar fix.

Copy link

Choose a reason for hiding this comment

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

hi @rick-arista , do you mind to follow the fix on master and port the azure_qos_exists check:

Image

Copy link

Choose a reason for hiding this comment

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

hi @rick-arista , gently ping on this.

Copy link

Choose a reason for hiding this comment

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

This is the code I am referring to:

https://github.com/sonic-net/sonic-buildimage/blob/master/dockers/docker-orchagent/ipinip.json.j2#L76

Image

And this is where the flag being used that affects the code:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants