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
test_show_pfc_counters fails since show pfc counters does not include inband and recycle ports.
"show interface counters" includes inband and recycle ports and it passes
mode = 'alias'
It searches for each alias from port_alias_map in the output of "SONIC_CLI_IFACE_MODE=alias sudo show pfc counters"
It does not find aliases associated with Inband ports (Ethernet-IB0, Ethernet-IB1) or recycle ports (Ethernet-Rec0, Ethernet-Rec1) in pfc_rx or pfc_tx counters
mode = 'default'
It searches for each interface from port_name_map in the output of "SONIC_CLI_IFACE_MODE=default sudo show pfc counters"
It does not find Inband ports (Ethernet-IB0, Ethernet-IB1) or recycle ports (Ethernet-Rec0, Ethernet-Rec1) in pfc_rx or pfc_tx counters
show interface counters
IFACE STATE RX_OK RX_BPS RX_UTIL RX_ERR RX_DRP
Ethernet0 X 0 0.00 B/s 0.00% 0 0
...
Ethernet-IB0 U 4 0.00 B/s 0.00% 0 0
Ethernet-Rec0 X 0 0.00 B/s 0.00% 0 0
Ethernet18 X 0 0.00 B/s 0.00% 0 0
....
Ethernet35 X 0 0.00 B/s 0.00% 0 0
Ethernet-IB1 U 3 0.00 B/s 0.00% 0 0
Ethernet-Rec1 X 0 0.00 B/s 0.00% 0 0
show pfc counters
Port Rx PFC0 PFC1 PFC2 PFC3 PFC4 PFC5 PFC6 PFC7
Description
test_show_pfc_counters fails since show pfc counters does not include inband and recycle ports.
"show interface counters" includes inband and recycle ports and it passes
mode = 'alias'
It searches for each alias from port_alias_map in the output of "SONIC_CLI_IFACE_MODE=alias sudo show pfc counters"
It does not find aliases associated with Inband ports (Ethernet-IB0, Ethernet-IB1) or recycle ports (Ethernet-Rec0, Ethernet-Rec1) in pfc_rx or pfc_tx counters
mode = 'default'
It searches for each interface from port_name_map in the output of "SONIC_CLI_IFACE_MODE=default sudo show pfc counters"
It does not find Inband ports (Ethernet-IB0, Ethernet-IB1) or recycle ports (Ethernet-Rec0, Ethernet-Rec1) in pfc_rx or pfc_tx counters
show interface counters
IFACE STATE RX_OK RX_BPS RX_UTIL RX_ERR RX_DRP
Ethernet0 X 0 0.00 B/s 0.00% 0 0
...
Ethernet-IB0 U 4 0.00 B/s 0.00% 0 0
Ethernet-Rec0 X 0 0.00 B/s 0.00% 0 0
Ethernet18 X 0 0.00 B/s 0.00% 0 0
....
Ethernet35 X 0 0.00 B/s 0.00% 0 0
Ethernet-IB1 U 3 0.00 B/s 0.00% 0 0
Ethernet-Rec1 X 0 0.00 B/s 0.00% 0 0
show pfc counters
Port Rx PFC0 PFC1 PFC2 PFC3 PFC4 PFC5 PFC6 PFC7
Ethernet0 0 0 0 0 0 0 0 0
Ethernet1 0 0 0 0 0 0 0 0
...
Ethernet34 0 0 0 0 0 0 0 0
Ethernet35 0 0 0 0 0 0 0 0
Steps to reproduce the issue:
Describe the results you received:
E AssertionError
ifmode = 'default'
intf = 'Ethernet-Rec1'
checking for 'Ethernet-Rec1 in the output of show pfc counter but it does not exist.
Describe the results you expected:
No AssertionError
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: