From: Sage Weil Date: Tue, 4 Jun 2013 16:07:53 +0000 (-0700) Subject: ceph: fix valgrind grep output parsing X-Git-Tag: 1.1.0~2135 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3ec763c42080710f53aa6a62cd7a3fcfb7ba49e7;p=teuthology.git 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. --- diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index e6b5871b14..2412d6bbf7 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('|'),