Skip to content

Improve syslog pattern matching in test_caclmgrd_syslog#18257

Merged
StormLiangMS merged 1 commit intosonic-net:masterfrom
bachalla:test_cacl
May 16, 2025
Merged

Improve syslog pattern matching in test_caclmgrd_syslog#18257
StormLiangMS merged 1 commit intosonic-net:masterfrom
bachalla:test_cacl

Conversation

@bachalla
Copy link
Copy Markdown
Contributor

@bachalla bachalla commented May 7, 2025

Description of PR
Improve syslog pattern matching in test_caclmgrd_syslog
Summary:

This change addresses the wrong iptables syslog in the output of systemctl caclmgrd status.

** What is the motivation for this PR?**
The motivation is to make the test_caclmgrd_syslog test case pass in a dualtor testbed setup, where it was previously failing due to strict or outdated syslog match conditions.

How did you do it?
Adjusted the regex pattern used in the test case to match updated or slightly varied syslog formats related to caclmgrd, such as those involving iptables or mux updates.

How did you verify/test it?
Ran the test case on a dualtor setup locally and confirmed that the syslog pattern was successfully matched and the test passed.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants