[ntpd] Update matching pattern of 'ERR ntpd' in loganalyzer ignore files#865
Merged
liat-grozovik merged 1 commit intosonic-net:masterfrom Apr 24, 2019
wangxin:ntpd-err
Merged
[ntpd] Update matching pattern of 'ERR ntpd' in loganalyzer ignore files#865liat-grozovik merged 1 commit intosonic-net:masterfrom wangxin:ntpd-err
liat-grozovik merged 1 commit intosonic-net:masterfrom
wangxin:ntpd-err
Conversation
The ntpd may generate 'ERR ntpd' in syslog and caused unnecessary test case failure. Previous PR #816 added a matching pattern of 'ERR ntpd' in loganalyzer igonre files to ignore the ntpd error messages. However, ntpd may generate two formats of error messages. The previously added matching pattern can only match one of the formats. This change is to update the pattern to match both of the formats. Signed-off-by: Xin Wang <[email protected]>
qiluo-msft
approved these changes
Apr 16, 2019
stepanblyschak
approved these changes
Apr 23, 2019
yxieca
pushed a commit
that referenced
this pull request
Apr 26, 2019
…les (#865) The ntpd may generate 'ERR ntpd' in syslog and caused unnecessary test case failure. Previous PR #816 added a matching pattern of 'ERR ntpd' in loganalyzer igonre files to ignore the ntpd error messages. However, ntpd may generate two formats of error messages. The previously added matching pattern can only match one of the formats. This change is to update the pattern to match both of the formats. Signed-off-by: Xin Wang <[email protected]>
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
Added logrotate file for wtmp and btmp to override default conf and set size cap as 100K as done in PR: sonic-net#865. For buster this is control by separate file wtmp and btmp. Signed-off-by: Abhishek Dosi <[email protected]>
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
Added logrotate file for wtmp and btmp to override default conf and set size cap as 100K as done in PR: sonic-net#865. For buster this is control by separate file wtmp and btmp. Signed-off-by: Abhishek Dosi <[email protected]>
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.
Description of PR
Summary:
Fixes # (issue)
The ntpd may generate 'ERR ntpd' in syslog and caused unnecessary test
case failure. Previous PR #816
added a matching pattern of 'ERR ntpd' in loganalyzer igonre files to
ignore the ntpd error messages. However, ntpd may generate two formats
of error messages. The previously added matching pattern can only match
one of the formats. This change is to update the pattern to match both
of the formats.
Two formats of ntpd error message observed in testing:
Feb 26 20:23:29.807385 mtbc-sonic-03-2700 ERR ntpd[3816]: routing socket reports: No buffer space availableApr 9 19:58:02.909960 mtbc-sonic-01-2410 ERR ntpd[12573]: message repeated 6 times: [ routing socket reports: No buffer space available]Type of change
Approach
How did you do it?
Updated the matching pattern to match two formats of ntpd error messages.
How did you verify/test it?
Verified through python interactive shell.
Any platform specific information?
No
Supported testbed topology if it's a new test case?
Documentation