Skip to content

Commit

Permalink
[ntpd] Update matching pattern of 'ERR ntpd' in loganalyzer ignore fi…
Browse files Browse the repository at this point in the history
…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 <xinw@mellanox.com>
  • Loading branch information
wangxin authored and liat-grozovik committed Apr 24, 2019
1 parent 06a16d7 commit 17ce050
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
r, ".* ERR ntpd.*: routing socket reports: No buffer space available"
r, ".* ERR ntpd.*routing socket reports: No buffer space available.*"
2 changes: 1 addition & 1 deletion ansible/roles/test/tasks/acl/acltb_ignore_messages.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
r, ".* ERR ntpd.*: routing socket reports: No buffer space available"
r, ".* ERR ntpd.*routing socket reports: No buffer space available.*"
2 changes: 1 addition & 1 deletion ansible/roles/test/tasks/fib/fib_ignore_messages.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
r, ".* ERR ntpd.*: routing socket reports: No buffer space available"
r, ".* ERR ntpd.*routing socket reports: No buffer space available.*"
2 changes: 1 addition & 1 deletion ansible/roles/test/tasks/lag/lag_ignore_messages.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
r, ".* ERR ntpd.*: routing socket reports: No buffer space available"
r, ".* ERR ntpd.*routing socket reports: No buffer space available.*"
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ r, ".* Unknown.*"
r, ".* SAI_STATUS_ATTR_NOT_SUPPORT.*"
r, ".* snmp.*"
r, ".* Trying to remove nonexisting queue from flex counter .*"
r, ".* ERR ntpd.*: routing socket reports: No buffer space available"
r, ".* ERR ntpd.*routing socket reports: No buffer space available.*"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ r, ".* SAI_STATUS_ATTR_NOT_SUPPORT.*"
r, ".* snmp.*"
r, ".* Trying to remove nonexisting queue from flex counter .*"
r, ".* SAI_STATUS_BUFFER_OVERFLOW"
r, ".* ERR ntpd.*: routing socket reports: No buffer space available"
r, ".* ERR ntpd.*routing socket reports: No buffer space available.*"

0 comments on commit 17ce050

Please sign in to comment.