Skip to content

test log analyzer 2#4234

Closed
lguohan wants to merge 3 commits intosonic-net:masterfrom
lguohan:el2
Closed

test log analyzer 2#4234
lguohan wants to merge 3 commits intosonic-net:masterfrom
lguohan:el2

Conversation

@lguohan
Copy link
Contributor

@lguohan lguohan commented Sep 12, 2021

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911

Approach

What is the motivation for this PR?

How did you do it?

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

this allows to further debug issues related to loganalyzer

Signed-off-by: Guohan Lu <[email protected]>
@lgtm-com
Copy link

lgtm-com bot commented Sep 13, 2021

This pull request introduces 2 alerts when merging 019c609c9630e4d290e3650f84f01dfdfbdba7fa into 084727d - view on LGTM.com

new alerts:

  • 1 for Unnecessary pass
  • 1 for Except block handles 'BaseException'

…yslog

Due to various reason (disk sync, os scheduling), log analyzer end marker
cannot be sync to disk (/var/log/syslog) immediately. Lack of end marker
can cause log analyzer to fail.

this pr add option to wait for end marker to appear in /var/log/syslog
before return to address above issue.

The implementation uses polling to check if marker appears or not, and set
maximum wait time to be 60 seconds

Signed-off-by: Guohan Lu <[email protected]>
Signed-off-by: Guohan Lu <[email protected]>
@lguohan lguohan closed this Sep 14, 2021
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…atically (#25250)

#### Why I did it
src/sonic-utilities
```
* 0315da21 - (HEAD -> 202511, origin/202511) [LACP retry-count] Syntax Fix for Trixie (sonic-net#4280) (6 hours ago) [Yair Raviv]
* 4420954e - Fix dump port state CLI command crash on multi-asic platforms (#4276) (5 days ago) [mssonicbld]
* a3ad30be - [Mellanox] Add restricted sysfs list for fw control modules (sonic-net#4202) (13 days ago) [mssonicbld]
* 16390921 - Fix j2 files not getting packaged (sonic-net#4252) (13 days ago) [mssonicbld]
* 6b9b0dce - [hft]: HFT config/show cli (sonic-net#4243) (2 weeks ago) [mssonicbld]
* 529b6479 - [sfputil] Fix issue: should not do low power mode or reset for non-present ports (sonic-net#4241) (2 weeks ago) [mssonicbld]
* ad70c8f2 - Update bash completions for sonic-utilities commands (sonic-net#4234) (3 weeks ago) [mssonicbld]
* 667f4b32 - [202511][GCU] Update WRED_PROFILE and BUFFER_POOL validators for GCU (sonic-net#4226) (3 weeks ago) [Dev Ojha]
* 88b3899d - Fix sonic-kdump-config for running commands with pipe (sonic-net#4220) (3 weeks ago) [mssonicbld]
* e4881b02 - Skip IP range duplicate check in validate_bgp_peer_group for different vnets (sonic-net#4215) (4 weeks ago) [mssonicbld]
* 9c24925a - Fix syntax and semantic errors in kdump remote feature (sonic-net#4212) (4 weeks ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant