From: Andrew Schoen Date: Wed, 4 Feb 2015 21:42:40 +0000 (-0600) Subject: Add labels to a couple common task failures X-Git-Tag: v0.94.10~27^2^2~177^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a965d6ca142c12c74124f73c9ef874df85e07e3d;p=ceph.git Add labels to a couple common task failures The labels will help us quickly determine what the command was trying to accomplish in log output. Signed-off-by: Andrew Schoen --- diff --git a/tasks/s3tests.py b/tasks/s3tests.py index 3c2de28c37f5..d0f6431dd5ff 100644 --- a/tasks/s3tests.py +++ b/tasks/s3tests.py @@ -341,6 +341,7 @@ def run_tests(ctx, config): ctx.cluster.only(client).run( args=args, + label="s3 tests against rgw" ) yield diff --git a/tasks/workunit.py b/tasks/workunit.py index 4a0252334b61..e45943656e79 100644 --- a/tasks/workunit.py +++ b/tasks/workunit.py @@ -357,6 +357,7 @@ def _run_tests(ctx, refspec, role, tests, env, subdir=None, timeout=None): remote.run( logger=log.getChild(role), args=args, + label="workunit test {workunit}".format(workunit=workunit) ) remote.run( logger=log.getChild(role),