sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
200 stars 731 forks source link

[Bug][202405]: SAI_SWITCH_ATTR_REGISTER_READ and WRITE not handled loganalyzer erros #15736

Closed arista-hpandya closed 1 hour ago

arista-hpandya commented 6 hours ago

Issue Description

When running the drop_packets/drop_packets.py::test_drop_counters::test_ip_pkt_with_expired_ttl test we encounter the loganalyzer errors complaining that SAI_SWITCH_ATTR_REGISTER_WRITE(_READ) is not handled.

Results you see

     E               ERR gbsyncd#syncd: :- updateNotificationsPointers: pointer for SAI_SWITCH_ATTR_REGISTER_WRITE is not handled, FIXME!
     E
     E               ERR gbsyncd#syncd: :- updateNotificationsPointers: pointer for SAI_SWITCH_ATTR_REGISTER_READ is not handled, FIXME!

Results you expected to see

We expect to ignore these errors, however the current regex expects the errors to stem from GBSAI and hence the ignore condition is not met.

The current regex: r, ".* ERR gbsyncd\d*#GBSAI.*pointer for SAI_SWITCH_ATTR_REGISTER_READ is not handled, FIXME.*"

Is it platform specific

generic

Relevant log output

E               ERR gbsyncd#syncd: :- updateNotificationsPointers: pointer for SAI_SWITCH_ATTR_REGISTER_WRITE is not handled, FIXME!
     E
     E               ERR gbsyncd#syncd: :- updateNotificationsPointers: pointer for SAI_SWITCH_ATTR_REGISTER_READ is not handled, FIXME!

Output of show version

SONiC Software Version: SONiC.branch.202405-ars.a2ba5e5c-buildimage.origin.202405-nightly-2024.11.24.22.44 SONiC OS Version: 12 Distribution: Debian 12.8 Kernel: 6.1.0-22-2-amd64 Build commit: a4aa25a7f Build date: Mon Nov 25 04:16:46 UTC 2024 Built by: jenkins@jenkins-arsonic-k8s-6-j8lwz

Platform: x86_64-arista_7800_sup HwSKU: Arista-7804R3-FM ASIC: broadcom ASIC Count: 12 Serial Number: SGD21310412 Model Number: DCS-7800-SUP1A Hardware Revision: 03.00 Uptime: 22:56:49 up 5:24, 1 user, load average: 6.59, 6.43, 6.22 Date: Mon 25 Nov 2024 22:56:49

Attach files (if any)

No response