]> git-server-git.apps.pok.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>
Thu, 5 Feb 2015 21:03:33 +0000 (15:03 -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>
(cherry picked from commit a965d6ca142c12c74124f73c9ef874df85e07e3d)

Conflicts:
tasks/workunit.py

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 b839a2d77daf7e98a77b862bb976c5fe3b01fe26..2988013c966ad2675c263504459441a9b8f24c85 100644 (file)
@@ -357,7 +357,8 @@ 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),
                     args=['sudo', 'rm', '-rf', '--', scratch_tmp],