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

[action] [PR:16443] [loganalyzer] Ignore pmon iSmart binary format ERR log #16455

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

mssonicbld
Copy link
Collaborator

Description of PR

Summary:
Due to known issue sonic-net/sonic-buildimage#21319
PR #16301 doesn't ignore all the pmon iSmart binary format ERR log. Update the regex to ignore all of below ERR logs:

/var/log/syslog.3.gz:2025 Jan 9 20:42:05.687373 7215-5 ERR pmon#SsdUtil[55]: [Errno 8] Exec format error: 'iSmart'
/var/log/syslog.3.gz:2025 Jan 9 20:42:07.744397 7215-5 ERR pmon#StorageCommon[55]: [Errno 8] Exec format error: 'iSmart'
/var/log/syslog.5.gz:2025 Jan 9 19:37:33.855554 7215-5 ERR pmon#SsdUtil[49]: [Errno 8] Exec format error: 'iSmart'
/var/log/syslog.5.gz:2025 Jan 9 19:37:35.261567 7215-5 ERR pmon#StorageCommon[49]: [Errno 8] Exec format error: 'iSmart'

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
  • Skipped for non-supported platforms
  • Add ownership here(Microsft required only)
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

PR #16301 doesn't ignore all the pmon iSmart binary format ERR log. Update the regex to ignore all of below ERR logs:

How did you do it?

Update the regex.

How did you verify/test it?

Verified by running testcase: syslog/test_syslog.py::test_syslog

Any platform specific information?

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

Documentation

Summary:
Due to known issue sonic-net/sonic-buildimage#21319
PR sonic-net#16301 doesn't ignore all the pmon iSmart binary format ERR log. Update the regex to ignore all of below ERR logs:

/var/log/syslog.3.gz:2025 Jan  9 20:42:05.687373 7215-5 ERR pmon#SsdUtil[55]: [Errno 8] Exec format error: 'iSmart'
/var/log/syslog.3.gz:2025 Jan  9 20:42:07.744397 7215-5 ERR pmon#StorageCommon[55]: [Errno 8] Exec format error: 'iSmart'
/var/log/syslog.5.gz:2025 Jan  9 19:37:33.855554 7215-5 ERR pmon#SsdUtil[49]: [Errno 8] Exec format error: 'iSmart'
/var/log/syslog.5.gz:2025 Jan  9 19:37:35.261567 7215-5 ERR pmon#StorageCommon[49]: [Errno 8] Exec format error: 'iSmart'

What is the motivation for this PR?
PR sonic-net#16301 doesn't ignore all the pmon iSmart binary format ERR log. Update the regex to ignore all of below ERR logs:

How did you do it?
Update the regex.

How did you verify/test it?
Verified by running testcase: syslog/test_syslog.py::test_syslog
@mssonicbld
Copy link
Collaborator Author

/azp run

@mssonicbld
Copy link
Collaborator Author

Original PR: #16443

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 59c91b4 into sonic-net:202405 Jan 10, 2025
13 checks passed
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.

2 participants