-
Notifications
You must be signed in to change notification settings - Fork 727
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
Skip BGPAllowListMgr syslog in test_bgp_prefix_tc1_suite for Cisco 8111 CompuateAI deployment #14367
Skip BGPAllowListMgr syslog in test_bgp_prefix_tc1_suite for Cisco 8111 CompuateAI deployment #14367
Conversation
"""Ignore expected failures logs during test execution.""" | ||
if loganalyzer: | ||
IgnoreRegex = [ | ||
".*ERR bgp#bgpcfgd: BGPAllowListMgr::Default action community value is not found.*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test_bgp_prefix_tc1_suite is to add the prefix in the allow list, it should not care if we have the allow list by default or not. Could you indicate why we still need to ignore this error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testcase didn't care about allow list. It is the BGPAllowListMgr script in the image will check the allow list, which will cause the syslog error, then captured by log analyzer.
Cherry-pick PR to 202311: #14390 |
Cherry-pick PR to 202305: #14392 |
Cherry-pick PR to 202405: #14391 |
Description of PR
Summary:
Skip BGPAllowListMgr syslog in test_bgp_prefix_tc1_suite for Cisco 8111 CompuateAI deployment
Type of change
Back port request
Approach
What is the motivation for this PR?
Skip BGPAllowListMgr syslog in test_bgp_prefix_tc1_suite for Cisco 8111 CompuateAI deployment
Cisco 8111 ComputeAI deployment does NOT use allow list like ALLOW_LIST_DEPLOYMENT_ID_0_V4, ALLOW_LIST_DEPLOYMENT_ID_0_V6
How did you do it?
Add syslog pattern to ignore list.
How did you verify/test it?
Test with physical testbed.
Run with cli:
./run_tests.sh -i ../ansible/str3,../ansible/veos -r -l info -u -m individual -e "--skip_sanity" -n vms66-t1-8111-01 -c generic_config_updater/test_bgp_prefix.py::test_bgp_prefix_tc1_suite
Get result:
======================================================== 2 passed, 1 warning in 312.84s (0:05:12) =========================================================
Any platform specific information?
Cisco 8111 ComputeAI deployment
Supported testbed topology if it's a new test case?
Documentation