From a965d6ca142c12c74124f73c9ef874df85e07e3d Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Wed, 4 Feb 2015 15:42:40 -0600 Subject: [PATCH] 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 --- tasks/s3tests.py | 1 + tasks/workunit.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tasks/s3tests.py b/tasks/s3tests.py index 3c2de28c37f5a..d0f6431dd5ff4 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 4a0252334b61a..e45943656e792 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), -- 2.39.5