-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
ERR syncd#syncd: :- collectPortCounters: Failed to get stats of port 0x100000071: -5 ---> Seen in master 281 #4586
Comments
root@sonic-s6100-07:/var/core# bcmcmd "a"
PHYs: BCM5400, BCM54182, BCM54185, BCM54180, drivshell> root@sonic-s6100-07:/var/core# bcmcmd "ps" |
root@sonic-s6100-07:~# show ver SONiC Software Version: SONiC.master.281-286aa35a Platform: x86_64-dell_s6100_c2538-r0 |
@mini-nair-dell please attach show techsupport to this ticket. We need the logs to triage this issue. |
the show tech is > 10 MB and unable to attach. |
@mini-nair-dell can you use box to upload and share a link? |
Pls find the show tech attached |
@daall please take a look. |
ack. Thank you for the show tech, I'll take a look today and try to sort this out. |
It looks like it's related to this change: sonic-net/sonic-swss#1237. It looks like there is some sort of issue polling those two counters introduced in the 3.7.3.3-4 SAI update, but this issue is only present in master, not 201911. We're going to need do more investigating to figure out what exactly is wrong here, but for now I've opened a PR to revert the counter change to clean-up the master branch: sonic-net/sonic-swss#1308 Once it merges I can update the submodule and resolve this issue. |
I see the syslogs of T0 S6100 filled with the below logs in the master image – 281. The same logs were not present in the image – 259.
This issue doesn’t look like the syncd crash because, the logs are always seen, and even when there is no crash.
The same is not seen in T1 TB.
root@sonic-s6100-07:/var/log# tail -f syslog
May 13 05:43:16.087433 sonic-s6100-07 ERR syncd#syncd: [none] brcm_sai_get_port_stats:2149 Multi stats get failed with error Invalid parameter (0xfffffffc).
May 13 05:43:16.087480 sonic-s6100-07 ERR syncd#syncd: :- collectPortCounters: Failed to get stats of port 0x100000071: -5
May 13 05:43:16.087527 sonic-s6100-07 ERR syncd#syncd: [none] brcm_sai_get_port_stats:2149 Multi stats get failed with error Invalid parameter (0xfffffffc).
May 13 05:43:16.087573 sonic-s6100-07 ERR syncd#syncd: :- collectPortCounters: Failed to get stats of port 0x100000072: -5
May 13 05:43:16.087619 sonic-s6100-07 ERR syncd#syncd: [none] brcm_sai_get_port_stats:2149 Multi stats get failed with error Invalid parameter (0xfffffffc).
May 13 05:43:16.087666 sonic-s6100-07 ERR syncd#syncd: :- collectPortCounters: Failed to get stats of port 0x100000073: -5
May 13 05:43:16.087712 sonic-s6100-07 ERR syncd#syncd: [none] brcm_sai_get_port_stats:2149 Multi stats get failed with error Invalid parameter (0xfffffffc).
May 13 05:43:16.087759 sonic-s6100-07 ERR syncd#syncd: :- collectPortCounters: Failed to get stats of port 0x100000074: -5
May 13 05:43:16.087805 sonic-s6100-07 ERR syncd#syncd: [none] brcm_sai_get_port_stats:2149 Multi stats get failed with error Invalid parameter (0xfffffffc).
May 13 05:43:16.087852 sonic-s6100-07 ERR syncd#syncd: :- collectPortCounters: Failed to get stats of port 0x100000075: -5
May 13 05:43:17.077916 sonic-s6100-07 ERR syncd#syncd: [none] brcm_sai_get_port_stats:2149 Multi stats get failed with error Invalid parameter (0xfffffffc).
May 13 05:43:17.077916 sonic-s6100-07 ERR syncd#syncd: :- collectPortCounters: Failed to get stats of port 0x100000001: -5
May 13 05:43:17.077916 sonic-s6100-07 ERR syncd#syncd: [none] brcm_sai_get_port_stats:2149 Multi stats get failed with error Invalid parameter (0xfffffffc).
May 13 05:43:17.077969 sonic-s6100-07 ERR syncd#syncd: :- collectPortCounters: Failed to get stats of port 0x100000002: -5
May 13 05:43:17.078137 sonic-s6100-07 ERR syncd#syncd: [none] brcm_sai_get_port_stats:2149 Multi stats get failed with error Invalid parameter (0xfffffffc).
root@sonic-s6100-07:/var/log# date
Wed 13 May 2020 05:43:54 AM UTC
root@sonic-s6100-07:/var/log# cd ../core
root@sonic-s6100-07:/var/core# ls -ltr
total 31740
-rw-rw-rw- 1 root root 3933970 May 11 18:21 zebra.1589221293.40.core.gz
-rw-rw-rw- 1 root root 3904129 May 11 18:52 zebra.1589223131.40.core.gz
-rw-rw-rw- 1 root root 3795330 May 11 20:33 zebra.1589229221.40.core.gz
drwxr-xr-x 2 root root 4096 May 12 07:58 old
-rw-rw-rw- 1 root root 10320167 May 12 07:58 syncd.1589270320.29.core.gz
-rw-rw-rw- 1 root root 10531380 May 12 12:22 syncd.1589286121.30.core.gz
The text was updated successfully, but these errors were encountered: