Skip to content

Commit 80eea2b

Browse files
pragnya-aristaOriTrabelsi
authored andcommitted
Fix for dualtor_io/test_tor_bgp_failure.py on dt/dt120 (sonic-net#17370)
What is the motivation for this PR? Improving regex match in 17173 Some examples of the syslog entries encountered when running dualtor_io/test_tor_bgp_failure.py - ERR bgp#mgmtd[34]: [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect ERR bgp#mgmtd[38]: [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect ERR bgp#mgmtd[32]: [X3G8F-PM93W] BE-adapter: mgmt_msg_read: got EOF/disconnect How did you do it? Changed regex to match any decimal digits instead of just 33 How did you verify/test it? Ran dualtor_io/test_tor_bgp_failure.py on DCS-7260CX3 and DCS-7050CX3
1 parent d57fdae commit 80eea2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/dualtor_io/test_tor_bgp_failure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def ignore_expected_loganalyzer_exception(loganalyzer, duthosts):
6868
"failed with error.*",
6969
r".* ERR syncd#syncd: .*SAI_API_TUNNEL:_brcm_sai_mptnl_process_route_add_mode_default_and_host:\d+ "
7070
"_brcm_sai_mptnl_tnl_route_event_add failed with error.*",
71-
r".* ERR bgp#mgmtd\[33\]: \[X3G8F-PM93W\] BE-adapter: mgmt_msg_read: got EOF/disconnect",
71+
r".* ERR bgp#mgmtd\[\d+\]: \[X3G8F-PM93W\] BE-adapter: mgmt_msg_read: got EOF/disconnect",
7272
r".* ERR bgp#bgpmon: \*ERROR\* Failed with rc:1 when execute: "
7373
r"\['vtysh', '-H', '/dev/null', '-c', 'show bgp summary json'\]"
7474
]

0 commit comments

Comments
 (0)