Bug 1588713 - Schedule wpt-fis as Tier-3, r=ahal
authorJames Graham <james@hoppipolla.co.uk>
Wed, 16 Oct 2019 08:31:05 +0000
changeset 559141 7962998273b05f0d44a7e85bba072a6a5d35cf0f
parent 559140 0be15ecc1848aa2d0be438baae6f60989a0f8053
child 559142 325b5278961fb32b8fd6d4dcc481c4dd7890f33c
push id12175
push userccoroiu@mozilla.com
push dateThu, 17 Oct 2019 19:29:09 +0000
treeherdermozilla-beta@d333b6ef1fd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1588713
milestone71.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 1588713 - Schedule wpt-fis as Tier-3, r=ahal This enables wpt-fis for the same configurations as mochitest-fis, initially as T3 so that any stability issues can be worked out. Differential Revision: https://phabricator.services.mozilla.com/D49241
taskcluster/taskgraph/transforms/tests.py
--- a/taskcluster/taskgraph/transforms/tests.py
+++ b/taskcluster/taskgraph/transforms/tests.py
@@ -1159,38 +1159,44 @@ def split_variants(config, tests):
 @transforms.add
 def enable_fission_on_central(config, tests):
     """Enable select fission tasks on mozilla-central."""
     for test in tests:
         if test['attributes'].get('unittest_variant') != 'fission':
             yield test
             continue
 
-        # Mochitest only (with exceptions)
+        # Mochitest/wpt only (with exceptions)
         exceptions = ('gpu', 'remote', 'screenshots')
-        if (test['attributes']['unittest_category'] != 'mochitest' or
+        if (test['attributes']['unittest_category'] not in
+                ('mochitest', 'web-platform-tests') or
                 any(s in test['attributes']['unittest_suite'] for s in exceptions)):
             yield test
             continue
 
         # Linux and Windows (except debug) 64 bit only.
         platform = test['build-attributes']['build_platform']
         btype = test['build-attributes']['build_type']
         if not (platform == 'linux64' or (platform == 'win64' and btype != 'debug')):
             yield test
             continue
 
         if not runs_on_central(test):
             test['run-on-projects'].append('mozilla-central')
 
         # Promote select fission tests to tier 1 and ensure they run on trunk
-        if platform == 'linux64' and btype == 'debug' and (test['webrender'] or
-           'mochitest-browser-chrome' in test['attributes']['unittest_suite']):
+        if (test['attributes']['unittest_category'] == "mochitest" and
+            platform == 'linux64' and btype == 'debug' and (test['webrender'] or
+           'mochitest-browser-chrome' in test['attributes']['unittest_suite'])):
             test['tier'] = 1
             test['run-on-projects'] = ['ash', 'try', 'trunk']
+        elif test['attributes']['unittest_category'] == "web-platform-tests":
+            test['tier'] = 3
+            if platform == 'linux64' and btype == 'debug' and test['webrender']:
+                test['run-on-projects'] = ['ash', 'try', 'trunk']
         yield test
 
 
 @transforms.add
 def ensure_spi_disabled_on_all_but_spi(config, tests):
     for test in tests:
         variant = test['attributes'].get('unittest_variant', '')
         has_setpref = ('gtest' not in test['suite'] and