Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a parameter for libsaithrift to skip error on errno -2 #12581

Merged

Conversation

Gfrom2016
Copy link
Contributor

Why I did it

Add a parameter for building libsaithrift of the Broadcom platform to skip specific error codes.

How I did it

How to verify it

Manually built the libsaithrift package with the new parameter, and run the SAI test case with it.
Test the API that returns SAI_STATUS_NOT_SUPPORTED.
For example, for the Broadcom platform, API sai_thrift_flush_fdb_entries with attribute SAI_FDB_FLUSH_ENTRY_TYPE_STATIC return SAI_STATUS_NOT_SUPPORTED which is -2.
Run tests including this API, and they successfully skip tests with error code -2.

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

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

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

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

Signed-off-by: zitingguo-ms [email protected]

@Gfrom2016 Gfrom2016 merged commit d2540ae into sonic-net:202205 Nov 3, 2022
@qiluo-msft
Copy link
Collaborator

This commit could not be cleanly cherry-picked to 202012. Please submit another PR.

Gfrom2016 added a commit to Gfrom2016/sonic-buildimage that referenced this pull request Nov 7, 2022
@Gfrom2016
Copy link
Contributor Author

This PR could not be cleanly cherry-picked to 202012, submit another PR: #12617

richardyu-ms pushed a commit that referenced this pull request Nov 7, 2022
…12617)

Signed-off-by: zitingguo-ms <[email protected]>

Signed-off-by: zitingguo-ms <[email protected]>

Signed-off-by: zitingguo-ms <[email protected]>
richardyu-ms pushed a commit to richardyu-ms/sonic-buildimage that referenced this pull request Nov 25, 2022
…2012

Merge external github 202012 branch to internal-202012.
Includes conflict resolved for caclmgrd during merge

Related work items: sonic-net#152, sonic-net#155, sonic-net#12577, sonic-net#12581, sonic-net#12600, sonic-net#12604, sonic-net#12617, sonic-net#12631, sonic-net#12641, sonic-net#12655, sonic-net#12666
@liuh-80
Copy link
Contributor

liuh-80 commented Feb 2, 2023

202012 branch PR merged: #12617

@Gfrom2016 Gfrom2016 deleted the zitingguo/enable_skip_umimplement branch February 13, 2023 05:42
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