Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
scripts: Broaden scope of some collection script patterns
Browse files Browse the repository at this point in the history
Remove the ending anchor points from some of the collection script
regex's to allow some of the patterns to match word prefixes
(allowing a few explicit patterns to be dropped).

Signed-off-by: James O. D. Hunt <[email protected]>
  • Loading branch information
jodh-intel committed Oct 18, 2017
1 parent eaf8aab commit 5d36cee
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions data/cc-collect-data.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,23 @@ PROBLEM_LIMIT=${PROBLEM_LIMIT:-50}

# List of patterns used to detect problems in logfiles.
problem_pattern="("
problem_pattern+="\<abort\>|"
problem_pattern+="\<abort|"
problem_pattern+="\<bug\>|"
problem_pattern+="\<cannot\>|"
problem_pattern+="\<catastrophic|"
problem_pattern+="\<could not\>|"
problem_pattern+="\<couldn\'t\>|"
problem_pattern+="\<critical\>|"
problem_pattern+="\<critical|"
problem_pattern+="\<die\>|"
problem_pattern+="\<died\>|"
problem_pattern+="\<does.*not.*exist\>|"
problem_pattern+="\<dying\>|"
problem_pattern+="\<empty\>|"
problem_pattern+="\<erroneous|"
problem_pattern+="\<error\>|"
problem_pattern+="\<error|"
problem_pattern+="\<expected\>|"
problem_pattern+="\<fail\>|"
problem_pattern+="\<failed\>|"
problem_pattern+="\<failure\>|"
problem_pattern+="\<fatal\>|"
problem_pattern+="\<fail|"
problem_pattern+="\<fatal|"
problem_pattern+="\<impossible\>|"
problem_pattern+="\<impossibly\>|"
problem_pattern+="\<incorrect|"
Expand All @@ -57,7 +55,7 @@ problem_pattern+="\<not.*supported\>|"
problem_pattern+="\<too many\>|"
problem_pattern+="\<unable\>|"
problem_pattern+="\<unavailable\>|"
problem_pattern+="\<unexpected\>|"
problem_pattern+="\<unexpected|"
problem_pattern+="\<unknown\>|"
problem_pattern+="\<urgent|"
problem_pattern+="\<warn\>|"
Expand Down

0 comments on commit 5d36cee

Please sign in to comment.