From 4dea15707815e90d544777a294b9e0e7c336c7ec 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 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('|'), -- 2.47.3