[pytest] Loganalyzer enhancements#1823
Merged
neethajohn merged 1 commit intosonic-net:masterfrom Jul 1, 2020
Merged
Conversation
Signed-off-by: Neetha John <nejo@microsoft.com>
3 tasks
daall
reviewed
Jun 29, 2020
yxieca
approved these changes
Jun 30, 2020
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
…t#8778) 912d443 [sonic-utilities]remove db_migrator logic for autoneg enable/disable (sonic-net#1823) 5323e9d [202012] Advertise ipv6 link local address (sonic-net#1811) Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
0dcb2b6 Open record file in append mode (sonic-net#1845) 03ce2ee [vnet/vxlan] Add support of multiple mappers for the VxLAN tunnel (sonic-net#1843) c5e90ab VOQ: Nexthop for remote VOQ LC should be created on inband OIF. (sonic-net#1823) 834c5c8 Td2: Reclaim buffer from unused ports (sonic-net#1830) a5ad55c [Dynamic Buffer Calc] Bug fix: Don't create lossless buffer profile for active ports without speed configured (sonic-net#1822) f50368f [cfgmgr] Update Makefile.am to consume lib zmq (sonic-net#1865)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Neetha John nejo@microsoft.com
Type of change
Approach
What is the motivation for this PR?
PFC wd testcase requires to search for regexs based off existing start msg in the log (eg. ongoing storm during warm boot). Hence extending the loganalyzer to specify a custom start marker vs. writing a new one into the log.
Also in some cases, we might need to search for the number of a times a regex was seen in the log,
Changes made to support the above 2 cases by including a start_marker during the loganalyzer init as well as providing a 'expected_matches_target' to specify the number of times a regex is expected
How did you verify/test it?
Tested the changes as well as regressed the existing loganalyzer code using the pfcwd warmboot test