From 60f487a85454b0f19c71d4c895539c6dbdfcbd41 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 14 May 2021 10:31:25 -0500 Subject: [PATCH] task/internal/syslog: ignore misc.log These regexes are all intended for kernel errors. Ceph daemon logs may leak into misc.log (*shakes fist at systemd-journald*) and cause false positives (i.e., test failures). Signed-off-by: Sage Weil --- teuthology/task/internal/syslog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/internal/syslog.py b/teuthology/task/internal/syslog.py index b073c9f78..ae6a5324c 100644 --- a/teuthology/task/internal/syslog.py +++ b/teuthology/task/internal/syslog.py @@ -99,7 +99,7 @@ def syslog(ctx, config): [ 'egrep', '--binary-files=text', '\\bBUG\\b|\\bINFO\\b|\\bDEADLOCK\\b', - run.Raw('{adir}/syslog/*.log'.format(adir=archive_dir)), + run.Raw(f'{archive_dir}/syslog/kern.log'), run.Raw('|'), 'grep', '-v', 'task .* blocked for more than .* seconds', run.Raw('|'), -- 2.47.3