From 3ec763c42080710f53aa6a62cd7a3fcfb7ba49e7 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 4 Jun 2013 09:07:53 -0700 Subject: [PATCH] ceph: fix valgrind grep output parsing When you pass a single file to zgrep you don't get the filename prefix, which confuses the split line a few lines down. --- teuthology/task/ceph.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index e6b5871b14e63..2412d6bbf75a8 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -194,6 +194,7 @@ def valgrind_post(ctx, config): 'zgrep', '', run.Raw('/var/log/ceph/valgrind/*'), + '/dev/null', # include a second file so that we always get a filename prefix on the output run.Raw('|'), 'sort', run.Raw('|'), -- 2.39.5