Skip to content

[pytest] Loganalyzer enhancements#1823

Merged
neethajohn merged 1 commit intosonic-net:masterfrom
neethajohn:loganalyzer_extend
Jul 1, 2020
Merged

[pytest] Loganalyzer enhancements#1823
neethajohn merged 1 commit intosonic-net:masterfrom
neethajohn:loganalyzer_extend

Conversation

@neethajohn
Copy link
Copy Markdown
Contributor

Signed-off-by: Neetha John nejo@microsoft.com

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

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

Signed-off-by: Neetha John <nejo@microsoft.com>
@neethajohn neethajohn merged commit 0f23153 into sonic-net:master Jul 1, 2020
@neethajohn neethajohn deleted the loganalyzer_extend branch July 1, 2020 01:45
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)
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.

3 participants