From bd7292b529edc792d3e0b08c5a1c4abee10b791e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 3 Jun 2013 09:57:17 -0700 Subject: [PATCH] ceph: debug valgrind error File "/var/lib/teuthworker/teuthology-master/teuthology/task/ceph.py", line 215, in valgrind_post (file, kind) = line.split(':') ValueError: need more than 1 value to unpack --- teuthology/task/ceph.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index 59b4a68258cfa..e6b5871b14e63 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -212,7 +212,11 @@ def valgrind_post(ctx, config): for line in out.split('\n'): if line == '': continue - (file, kind) = line.split(':') + try: + (file, kind) = line.split(':') + except: + log.error('failed to split line %s', line) + raise log.debug('file %s kind %s', file, kind) if file.find('mds') >= 0 and kind.find('Lost') > 0: continue -- 2.39.5