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

[Cherry pick]Add a parameter for libsaithrift to skip error on errno -2 #12617

Conversation

Gfrom2016
Copy link
Contributor

This PR is a cherry-pick of #12581

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 zitingguo@microsoft.com

…#12581)

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
@richardyu-ms richardyu-ms merged commit c10aa3b into sonic-net:202012 Nov 7, 2022
@Gfrom2016 Gfrom2016 deleted the zitingguo/cherry_pick_skip_unimp_on_202012 branch November 21, 2022 03:15
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
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.

2 participants