From 1c93d5ab4d6dd0ea580d75c522b4ae48b91f9100 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 29 Jul 2012 12:15:06 -0700 Subject: [PATCH] syslog check: fix false-positive BUG matches in random strings --- teuthology/task/internal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/internal.py b/teuthology/task/internal.py index e4d3611b13398..e891290b04cf0 100644 --- a/teuthology/task/internal.py +++ b/teuthology/task/internal.py @@ -335,7 +335,7 @@ kern.* -/tmp/cephtest/archive/syslog/kern.log;RSYSLOG_FileFormat r = remote.run( args=[ 'egrep', - 'BUG|INFO|DEADLOCK', + '\bBUG\b|\bINFO\b|\bDEADLOCK\b', run.Raw('/tmp/cephtest/archive/syslog/*.log'), run.Raw('|'), 'grep', '-v', 'task .* blocked for more than .* seconds', -- 2.39.5