Skip to content

Commit

Permalink
Ignore SAI switch register read and write not handled logs (#15737)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
arista-hpandya authored and mssonicbld committed Dec 28, 2024
1 parent bd60fc2 commit 104c9f7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,8 @@ r, ".* ERR syncd#syncd.* SAI_API_SWITCH:sai_bulk_object_get_stats.* get bulk que
r, ".* ERR .*-E-PVT-0- get_temperature: sensor=GIBRALTAR_HBM_SENSOR_0 is not ready.*"
r, ".* ERR .*-E-PVT-0- get_temperature: sensor=GIBRALTAR_HBM_SENSOR_1 is not ready.*"
r, ".* ERR CCmisApi: system_service_Map_base::at.*"
r, ".* ERR gbsyncd\d*#GBSAI.*pointer for SAI_SWITCH_ATTR_REGISTER_READ is not handled, FIXME.*"
r, ".* ERR gbsyncd\d*#GBSAI.*pointer for SAI_SWITCH_ATTR_REGISTER_WRITE is not handled, FIXME.*"
r, ".* ERR gbsyncd\d*#GBSAI[\d*] updateNotifications: pointer for SAI_SWITCH_ATTR_REGISTER_WRITE is not handled, FIXME!"
r, ".* ERR gbsyncd\d*.*pointer for SAI_SWITCH_ATTR_REGISTER_READ is not handled, FIXME.*"
r, ".* ERR gbsyncd\d*.*pointer for SAI_SWITCH_ATTR_REGISTER_WRITE is not handled, FIXME.*"
r, ".* ERR kernel:.*No associated hostinterface to 6 port.*"
r, ".* ERR lldp#lldpmgrd\[\d*\]: Port init timeout reached.*"
r, ".* ERR swss\d*#orchagent.*pointer for SAI_SWITCH_ATTR_REGISTER_READ is not handled, FIXME.*"
Expand Down

0 comments on commit 104c9f7

Please sign in to comment.