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

[Sonic-mgmt] Ignore SAI switch register read and write not handled logs #15737

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

arista-hpandya
Copy link
Contributor

Description of PR

This PR relaxes the loganalyzer ignore rules to ignore all "SAI_SWITCH_ATTR_REGISTER_WRITE is not handled" and "SAI_SWITCH_ATTR_REGISTER_READ is not handled" errors.

Summary:
Fixes #15736

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

To help ignore loganalyzer error messages that lead to testcases failing in sonic-mgmt.

How did you do it?

Modify the loganalyzer regex to not check for GBSAI

How did you verify/test it?

Ran the test to verify it ignores these errors.

Any platform specific information?

NA

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

NA

Documentation

NA

@arlakshm arlakshm merged commit 150435f into sonic-net:master Nov 26, 2024
16 checks passed
@arlakshm
Copy link
Contributor

is this changed need in 202405?

@arista-hpandya
Copy link
Contributor Author

Yes, could we please backport it to 202405

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Nov 30, 2024
…#15737)

Description of PR
This PR relaxes the loganalyzer ignore rules to ignore all "SAI_SWITCH_ATTR_REGISTER_WRITE is not handled" and "SAI_SWITCH_ATTR_REGISTER_READ is not handled" errors.

Summary:
Fixes sonic-net#15736

What is the motivation for this PR?
To help ignore loganalyzer error messages that lead to testcases failing in sonic-mgmt.

How did you do it?
Modify the loganalyzer regex to not check for GBSAI

How did you verify/test it?
Ran the test to verify it ignores these errors.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #15814

mssonicbld pushed a commit that referenced this pull request Dec 28, 2024
Description of PR
This PR relaxes the loganalyzer ignore rules to ignore all "SAI_SWITCH_ATTR_REGISTER_WRITE is not handled" and "SAI_SWITCH_ATTR_REGISTER_READ is not handled" errors.

Summary:
Fixes #15736

What is the motivation for this PR?
To help ignore loganalyzer error messages that lead to testcases failing in sonic-mgmt.

How did you do it?
Modify the loganalyzer regex to not check for GBSAI

How did you verify/test it?
Ran the test to verify it ignores these errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Bug][202405]: SAI_SWITCH_ATTR_REGISTER_READ and WRITE not handled loganalyzer erros
5 participants