Bug 1338871 - Enable Talos tests for linux64-stylo builds r=Callek DONTBUILD
authorKim Moir <kmoir@mozilla.com>
Mon, 27 Mar 2017 13:25:55 -0400
changeset 349946 3a6430335a19
parent 349945 037f5bf0ee0a
child 349947 bcb02e41e118
push id31563
push userkwierso@gmail.com
push dateTue, 28 Mar 2017 00:13:42 +0000
treeherdermozilla-central@5182b2c4b963 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCallek
bugs1338871
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1338871 - Enable Talos tests for linux64-stylo builds r=Callek DONTBUILD
taskcluster/taskgraph/transforms/job/mozharness_test.py
--- a/taskcluster/taskgraph/transforms/job/mozharness_test.py
+++ b/taskcluster/taskgraph/transforms/job/mozharness_test.py
@@ -389,22 +389,31 @@ def mozharness_test_buildbot_bridge(conf
         test_name = '{}-{}'.format(test_name, this_chunk)
 
     if test.get('suite', '') == 'talos':
         # on linux64-<variant>/<build>, we add the variant to the buildername
         m = re.match(r'\w+-([^/]+)/.*', test['test-platform'])
         variant = ''
         if m and m.group(1):
             variant = m.group(1) + ' '
-        buildername = '{} {} {}talos {}'.format(
-            BUILDER_NAME_PREFIX[platform],
-            branch,
-            variant,
-            test_name
-        )
+        # this variant name has branch after the variant type in BBB bug 1338871
+        if variant == 'stylo ':
+            buildername = '{} {}{} talos {}'.format(
+                BUILDER_NAME_PREFIX[platform],
+                variant,
+                branch,
+                test_name
+            )
+        else:
+            buildername = '{} {} {}talos {}'.format(
+                BUILDER_NAME_PREFIX[platform],
+                branch,
+                variant,
+                test_name
+            )
         if buildername.startswith('Ubuntu'):
             buildername = buildername.replace('VM', 'HW')
     else:
         buildername = '{} {} {} test {}'.format(
             BUILDER_NAME_PREFIX[platform],
             branch,
             build_type,
             test_name