Skip to content
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

FRR related error message output during nightly test #19047

Open
lipxu opened this issue May 23, 2024 · 2 comments
Open

FRR related error message output during nightly test #19047

lipxu opened this issue May 23, 2024 · 2 comments
Labels
Triaged this issue has been triaged

Comments

@lipxu
Copy link
Contributor

lipxu commented May 23, 2024

Description

There are error messages output in the following cases with the 202311 image.

<style> </style>
20231110.10 error bgp.test_bgp_bounce test_bgp_bounce ERR bgp#zebra[36]: [SHWNK-NWT5S][EC 100663304] No such command on config line 10: no fpm use-next-hop-groups ERR bgp#zebra[36]: [SHWNK-NWT5S][EC 100663304] No such command on config line 12: fpm address 127.0.0.1
20231110.10 error bgp.test_traffic_shift test_TSA_B_C_with_no_neighbors[str3-7060-acs-3-default] RR bgp#bgpd[53]: [H4B4J-DCW2R][EC 33554455] 20.0.0.1 [Error] bgp_read_packet error: Connection reset by peer RR bgp#zebra[62]: [SHWNK-NWT5S][EC 100663304] No such command on config line 10: no fpm use-next-hop-groups RR bgp#zebra[62]: [SHWNK-NWT5S][EC 100663304] No such command on config line 12: fpm address 127.0.0.1 ERR bgp#zebra[62]: [RFREB-PAV4B][EC 100663299] vty_read: read error on vty client fd 26, closing: Connection reset by peer
20231110.10 error drop_packets.test_drop_counters test_no_egress_drop_on_down_link[port_channel_members-str3-7060-acs-3] ERR bgp#bgpd[49]: [P3GYW-PBKQG][EC 33554466] fc00::66 [FSM] unexpected packet received in state OpenSent
20231110.10 error drop_packets.test_drop_counters test_no_egress_drop_on_down_link[rif_members-str3-7060-acs-3] ERR bgp#bgpd[49]: [P3GYW-PBKQG][EC 33554466] fc00::66 [FSM] unexpected packet received in state OpenSent
20231110.10 error dut_console.test_idle_timeout test_timeout[str-a7060cx-acs-10] E               OSError: Socket is closed
20231110.10 error generic_config_updater.test_eth_interface test_eth_interface_admin_change[down] ERR bgp#bgpd[49]: [P3GYW-PBKQG][EC 33554466] fc00::2 [FSM] unexpected packet received in state OpenSent
20231110.10 error iface_namingmode.test_iface_namingmode.TestConfigInterface test_config_interface_state[alias-str3-7060-acs-3] ERR bgp#zebra[36]: [WVJCK-PPMGD][EC 4043309093] netlink-dp (NS 0) error: No route to host, type=RTM_NEWROUTE(24), seq=95412, pid=3576249171 ERR bgp#bgpd[65]: [P3GYW-PBKQG][EC 33554466] 10.0.0.51 [FSM] unexpected packet received in state OpenSent
20231110.10 error iface_namingmode.test_iface_namingmode.TestConfigInterface test_config_interface_state[default-str3-7060-acs-3] ERR bgp#zebra[36]: [WVJCK-PPMGD][EC 4043309093] netlink-dp (NS 0) error: No route to host, type=RTM_NEWROUTE(24), seq=95495, pid=3576249171 ERR bgp#bgpd[65]: [P3GYW-PBKQG][EC 33554466] 10.0.0.51 [FSM] unexpected packet received in state OpenSent ERR bgp#bgpd[65]: [XETTR-D5MR0][EC 100663316] Attempting to process an I/O event but for fd: 66(8) no thread to handle this!
20231110.10 error ipfwd.test_nhop_group test_nhop_group_member_order_capability[str-a7060cx-acs-10-None] ERR bgp#zebra[36]: [SHWNK-NWT5S][EC 100663304] No such command on config line 10: no fpm use-next-hop-groups ERR bgp#zebra[36]: [SHWNK-NWT5S][EC 100663304] No such command on config line 12: fpm address 127.0.0.1
20231110.10 error ipfwd.test_nhop_group test_nhop_group_interface_flap[str-a7060cx-acs-10-None] ERR bgp#bgpd[51]: [P3GYW-PBKQG][EC 33554466] 10.0.0.1 [FSM] unexpected packet received in state OpenSent
20231110.10 error pc.test_lag_2 test_lag[str3-7060-acs-3|PortChannel102-single_lag] ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] fc00::2 [FSM] unexpected packet received in state OpenSent
20231110.10 error pc.test_lag_2 test_lag[str3-7060-acs-3|PortChannel105-single_lag] ERR bgp#bgpd[50]: [MVZKX-EG443][EC 33554452] bgp_process_packet: BGP OPEN receipt failed for peer: 10.0.0.5
20231110.10 error pc.test_lag_2 test_lag[str3-7060-acs-3|PortChannel1020-single_lag] ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] 10.0.0.25 [FSM] unexpected packet received in state OpenSent
20231110.10 error pc.test_lag_2 test_lag_db_status[str3-7060-acs-3|PortChannel102] ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] fc00::2 [FSM] unexpected packet received in state OpenSent
20231110.10 error pc.test_lag_2 test_lag_db_status[str3-7060-acs-3|PortChannel105] ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] fc00::a [FSM] unexpected packet received in state OpenSent
20231110.10 error pc.test_lag_2 test_lag_db_status[str3-7060-acs-3|PortChannel1020] ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] fc00::32 [FSM] unexpected packet received in state OpenSent
20231110.10 error pc.test_lag_2 test_lag_db_status[str3-7060-acs-3|PortChannel1023] ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] fc00::3a [FSM] unexpected packet received in state OpenSent
20231110.10 error pc.test_lag_2 test_lag_db_status_with_po_update[str3-7060-acs-3|PortChannel102] ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] fc00::2 [FSM] unexpected packet received in state OpenSent
20231110.10 error pc.test_lag_2 test_lag_db_status_with_po_update[str3-7060-acs-3|PortChannel105] ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] fc00::a [FSM] unexpected packet received in state OpenSent
20231110.10 error pc.test_lag_2 test_lag_db_status_with_po_update[str3-7060-acs-3|PortChannel1023] ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] fc00::3a [FSM] unexpected packet received in state OpenSent
20231110.10 error pc.test_po_update test_po_update[str3-7060-acs-3-None] ERR bgp#bgpd[51]: [VCGF0-X62M1][EC 100663301] INTERFACE_STATE: Cannot find IF PortChannel999 in VRF 0
20231110.10 error pc.test_po_update test_po_update_io_no_loss[str3-7060-acs-3-None] ERR bgp#bgpd[51]: [VCGF0-X62M1][EC 100663301] INTERFACE_STATE: Cannot find IF PortChannel999 in VRF 0
20231110.10 error qos.test_buffer test_buffer_deployment[str-a7060cx-acs-10] ERR bgp#bgpd[48]: [P3GYW-PBKQG][EC 33554466] fc00::12 [FSM] unexpected packet received in state OpenSent
#### Steps to reproduce the issue: 1. run the case which in above list 2. check FRR log 3.

Describe the results you received:

One of the failure log:
failed on teardown with "Failed: Processes "['analyze_logs--']" failed with exit code "1"
Exception:
match: 12
expected_match: 0
expected_missing_match: 0

Match Messages:
May 20 09:00:19.304424 str-a7060cx-acs-10 ERR bgp#bgpd[51]: [P3GYW-PBKQG][EC 33554466] 10.0.0.5 [FSM] unexpected packet received in state OpenSent

May 20 09:00:20.310659 str-a7060cx-acs-10 ERR bgp#bgpd[51]: [P3GYW-PBKQG][EC 33554466] 10.0.0.5 [FSM] unexpected packet received in state OpenSent

May 20 09:00:21.315669 str-a7060cx-acs-10 ERR bgp#bgpd[51]: [P3GYW-PBKQG][EC 33554466] 10.0.0.5 [FSM] unexpected packet received in state OpenSent

Describe the results you expected:

Output of show version:

20231110.10

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

StormLiangMS pushed a commit to sonic-net/sonic-mgmt that referenced this issue May 23, 2024
What is the motivation for this PR?
Many cases failed during teardown due to loganalyzer with below FRR related error messages.
The failure only happen on the device which runs slim image.

bgp#zebra[36]: [SHWNK-NWT5S][EC 100663304] No such command on config line 10: no fpm use-next-hop-groups
bgp#zebra[36]: [SHWNK-NWT5S][EC 100663304] No such command on config line 12: fpm address 127.0.0.1
ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[50]: [MVZKX-EG443][EC 33554452] bgp_process_packet: BGP OPEN receipt failed for peer: XXX
ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[50]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[49]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[49]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#zebra[36]: [WVJCK-PPMGD][EC 4043309093] netlink-dp (NS 0) error: No route to host, type=RTM_NEWROUTE(24), seq=95412, pid=3576249171
ERR bgp#bgpd[65]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#zebra[36]: [WVJCK-PPMGD][EC 4043309093] netlink-dp (NS 0) error: No route to host, type=RTM_NEWROUTE(24), seq=95495, pid=3576249171
ERR bgp#bgpd[65]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[65]: [XETTR-D5MR0][EC 100663316] Attempting to process an I/O event but for fd: 66(8) no thread to handle this!
ERR bgp#bgpd[53]: [H4B4J-DCW2R][EC 33554455] XXX [Error] bgp_read_packet error: Connection reset by peer
ERR bgp#zebra[62]: [SHWNK-NWT5S][EC 100663304] No such command on config line 10: no fpm use-next-hop-groups
ERR bgp#zebra[62]: [SHWNK-NWT5S][EC 100663304] No such command on config line 12: fpm address 127.0.0.1
ERR bgp#zebra[62]: [RFREB-PAV4B][EC 100663299] vty_read: read error on vty client fd 26, closing: Connection reset by peer
ERR bgp#zebra[36]: [SHWNK-NWT5S][EC 100663304] No such command on config line 10: no fpm use-next-hop-groups
ERR bgp#zebra[36]: [SHWNK-NWT5S][EC 100663304] No such command on config line 12: fpm address 127.0.0.1
ERR bgp#bgpd[51]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[49]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#bgpd[51]: [VCGF0-X62M1][EC 100663301] INTERFACE_STATE: Cannot find IF PortChannel999 in VRF 0
ERR bgp#bgpd[51]: [VCGF0-X62M1][EC 100663301] INTERFACE_STATE: Cannot find IF PortChannel999 in VRF 0
ERR bgp#bgpd[48]: [P3GYW-PBKQG][EC 33554466] XXX [FSM] unexpected packet received in state OpenSent
ERR bgp#zebra[36]: [SHWNK-NWT5S][EC 100663304] No such command on config line 10: no fpm use-next-hop-groups
ERR bgp#zebra[36]: [SHWNK-NWT5S][EC 100663304] No such command on config line 12: fpm address 127.0.0.1
How did you do it?
Slim image's rsyslog config has been modified by sonic-net/sonic-buildimage#17905 by mistake.
So the FRR error message would output into syslog and cause teardown failure.
Created a github issue sonic-net/sonic-buildimage#19047 to track the issue and ignore these related error message until the issue fixed to make the nightly build more stable.

r, ".* ERR bgp#bgpd.* unexpected packet received in state OpenSent"
r, ".* ERR bgp#bgpd.* INTERFACE_STATE: Cannot find IF .*"
r, ".* ERR bgp#bgpd.* bgp_process_packet: BGP OPEN receipt failed for peer.*"
r, ".* ERR bgp#bgpd.* bgp_read_packet error: Connection reset by peer.*"
r, ".* ERR bgp#bgpd.* Attempting to process an I/O event but for fd.*"
r, ".* ERR bgp#zebra.* No such command on config line .*"
r, ".* ERR bgp#zebra.* error: No route to host.*"
r, ".* ERR bgp#zebra.* read error on vty client fd .*"
How did you verify/test it?
NA

Any platform specific information?
@arlakshm
Copy link
Contributor

arlakshm commented Jun 5, 2024

Does bgp session come up or stay down?

@arlakshm arlakshm added the Triaged this issue has been triaged label Jun 5, 2024
@lipxu
Copy link
Contributor Author

lipxu commented Jun 6, 2024

Does bgp session come up or stay down?

thanks for asking, bgp sessions are up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triaged this issue has been triaged
Projects
None yet
Development

No branches or pull requests

2 participants