Skip to content

[loganalyzer] Make queue stats log ignore regular expression more general#5942

Merged
liat-grozovik merged 1 commit intosonic-net:masterfrom
Junchao-Mellanox:queue-stats-log
Jul 18, 2022
Merged

[loganalyzer] Make queue stats log ignore regular expression more general#5942
liat-grozovik merged 1 commit intosonic-net:masterfrom
Junchao-Mellanox:queue-stats-log

Conversation

@Junchao-Mellanox
Copy link
Contributor

Change-Id: I5a812af75b29f67ee9b091567dcede22d4353786

Description of PR

Summary:
Change queue stats log ignore regular expression for PR sonic-net/sonic-sairedis#1073. The new regular expression will be generic enough to cover both old log and new log format.

Old log format:

Jul  8 03:34:33.590115 sonic ERR syncd#SDK: :- setQueueCounterList: Queue RID oid:0x10036000d0015 can't provide the statistic

New log format:

Jul  7 18:46:07.560240 sonic ERR syncd#SDK: :- addObject: Queue Counter RID oid:0x10021000c0015 can't provide the statistic

Type of change

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

Back port request

  • 201911
  • 202012

Approach

What is the motivation for this PR?

Change queue stats log ignore regular expression for PR sonic-net/sonic-sairedis#1073. The new regular expression will be generic enough to cover both old log and new log format.

How did you do it?

Make queue stats log ignore regular expression more general

How did you verify/test it?

Manual test

Any platform specific information?

N/A

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

N/A

Documentation

Change-Id: I5a812af75b29f67ee9b091567dcede22d4353786
@Junchao-Mellanox Junchao-Mellanox requested a review from a team as a code owner July 8, 2022 02:14
@Junchao-Mellanox Junchao-Mellanox changed the title Make queue stats log ignore regular expression more general [loganalyzer] Make queue stats log ignore regular expression more general Jul 8, 2022
@Junchao-Mellanox
Copy link
Contributor Author

/azpw run Azure.sonic-mgmt

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-mgmt

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Junchao-Mellanox
Copy link
Contributor Author

Hi @wangxin , could you please help review?

@Junchao-Mellanox Junchao-Mellanox requested a review from wangxin July 13, 2022 09:50
@liat-grozovik liat-grozovik merged commit f9cfdec into sonic-net:master Jul 18, 2022
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.

5 participants