From: Sage Weil Date: Tue, 4 Jun 2013 16:07:53 +0000 (-0700) Subject: ceph: fix valgrind grep output parsing X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4dea15707815e90d544777a294b9e0e7c336c7ec;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 59b4a6825..6873c4807 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('|'),