You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Port startup throws errors when portsorch attempts to getPortOperSpeed. This can potentially cause Log Analyzer failures in regression tests. No known test failures at this point (this can change with new results).
The issue has started after a recent PR which added support for getPortOperSpeed : sonic-net/sonic-swss#1714
This seems to be due to SAI_PORT_ATTR_OPER_SPEED not yet supported on all the platforms, and hence the SAI_STATUS_ATTR_NOT_IMPLEMENTED_0 is received instead of expected SAI_STATUS_SUCCESS.
Steps to reproduce the issue:
Install latest master on SONiC DUT (tried on 7260)
Flap any one of the ports.
Check syslog.
Describe the results you received:
Port starting up throws errors:
root@str2-7260cx3-acs-9:/var/log# config interface startup Ethernet226
root@str2-7260cx3-acs-9:/var/log# tail -F syslog
Jun 21 18:49:30.687734 str2-7260cx3-acs-9 NOTICE swss#orchagent: :- doPortTask: Set port Ethernet226 admin status to up
Jun 21 18:49:30.828516 str2-7260cx3-acs-9 WARNING syncd#syncd: :- setBufferPoolCounterList: Stats mode not supported for flex counter. Using STATS_MODE_READ_AND_CLEAR
Jun 21 18:49:30.841530 str2-7260cx3-acs-9 WARNING syncd#syncd: message repeated 2 times: [ :- setBufferPoolCounterList: Stats mode not supported for flex counter. Using STATS_MODE_READ_AND_CLEAR]
Jun 21 18:49:30.841788 str2-7260cx3-acs-9 NOTICE syncd#syncd: :- setRifCounterList: Router interface oid:0x100600000002 does not have supported counters
Jun 21 18:49:30.845041 str2-7260cx3-acs-9 NOTICE syncd#syncd: :- setRifCounterList: Router interface oid:0x1100600000003 does not have supported counters
Jun 21 18:49:30.848497 str2-7260cx3-acs-9 NOTICE syncd#syncd: :- setRifCounterList: Router interface oid:0x2100600000004 does not have supported counters
Jun 21 18:49:30.851887 str2-7260cx3-acs-9 NOTICE syncd#syncd: :- setRifCounterList: Router interface oid:0x3100600000005 does not have supported counters
Jun 21 18:49:30.855077 str2-7260cx3-acs-9 NOTICE syncd#syncd: :- setRifCounterList: Router interface oid:0x3e8010600000006 does not have supported counters
Jun 21 18:49:32.121348 str2-7260cx3-acs-9 NOTICE swss#orchagent: :- doTask: Get port state change notification id:1000000000079 status:1
Jun 21 18:49:32.121348 str2-7260cx3-acs-9 NOTICE swss#orchagent: :- updatePortOperStatus: Port Ethernet226 oper state set from down to up
Jun 21 18:49:32.125711 str2-7260cx3-acs-9 INFO kernel: [ 247.607602] IPv6: ADDRCONF(NETDEV_CHANGE): Ethernet226: link becomes ready
Jun 21 18:49:32.127307 str2-7260cx3-acs-9 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet226 admin:1 oper:0 addr:d4:af:f7:1e:a7:f4 ifindex:127 master:10
Jun 21 18:49:32.127307 str2-7260cx3-acs-9 NOTICE swss#portsyncd: :- onMsg: nlmsg type:16 key:Ethernet226 admin:1 oper:1 addr:d4:af:f7:1e:a7:f4 ifindex:127 master:10
Jun 21 18:49:32.129575 str2-7260cx3-acs-9 NOTICE swss#orchagent: :- setHostIntfsOperStatus: Set operation status UP to host interface Ethernet226
Jun 21 18:49:32.129719 str2-7260cx3-acs-9 INFO kernel: [ 247.611438] Bridge: port 109(Ethernet226) entered blocking state
Jun 21 18:49:32.129729 str2-7260cx3-acs-9 INFO kernel: [ 247.611448] Bridge: port 109(Ethernet226) entered forwarding state
Jun 21 18:49:32.130831 str2-7260cx3-acs-9 ERR swss#orchagent: :- getPortOperSpeed: Failed to get oper speed for Ethernet226
Description
Port startup throws errors when
portsorch
attempts togetPortOperSpeed
. This can potentially cause Log Analyzer failures in regression tests. No known test failures at this point (this can change with new results).The issue has started after a recent PR which added support for
getPortOperSpeed
: sonic-net/sonic-swss#1714This seems to be due to
SAI_PORT_ATTR_OPER_SPEED
not yet supported on all the platforms, and hence theSAI_STATUS_ATTR_NOT_IMPLEMENTED_0
is received instead of expectedSAI_STATUS_SUCCESS
.Steps to reproduce the issue:
Describe the results you received:
Port starting up throws errors:
SAIredis:
Describe the results you expected:
Port startup should proceed without errors -
getPortOperSpeed
should be successful.Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: