]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Add labels to a couple common task failures
authorAndrew Schoen <aschoen@redhat.com>
Wed, 4 Feb 2015 21:42:40 +0000 (15:42 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 4 Feb 2015 21:42:40 +0000 (15:42 -0600)
The labels will help us quickly determine what the command was trying to
accomplish in log output.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
tasks/s3tests.py
tasks/workunit.py

index 3c2de28c37f5a35f891032f10e8706c0da6f09aa..d0f6431dd5ff4935bbd2b641ef551b06ea445967 100644 (file)
@@ -341,6 +341,7 @@ def run_tests(ctx, config):
 
         ctx.cluster.only(client).run(
             args=args,
+            label="s3 tests against rgw"
             )
     yield
 
index 4a0252334b61a8f5eb69580905565687034b8acc..e45943656e792e2f57c11aeebe8402a4a5d316e5 100644 (file)
@@ -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),