Backed out changeset 6a2176a26495 (bug 1364266) on suspicion of overwhelming the taskcluster queue
authorPhil Ringnalda <philringnalda@gmail.com>
Sun, 21 May 2017 09:37:12 -0700
changeset 359745 b31a663614e8df7876563e03c4735aa5c8a38f5a
parent 359744 5b74bbf20e803e299790d266fc6ebf5d53b7a1b7
child 359803 cf9f9525e4d1afa2129e997b38414ba8fe8e8e14
child 359827 07630be9df220071ba54238fbb765226ae7f5ea1
child 359854 b08b51a80c2f3d5d6426250a1d6fba3ff3b7aa9a
push id31856
push userphilringnalda@gmail.com
push dateSun, 21 May 2017 16:37:21 +0000
treeherdermozilla-central@b31a663614e8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1364266
milestone55.0a1
backs out6a2176a264959e19e4a4cbcb18fd47b9653745f8
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
Backed out changeset 6a2176a26495 (bug 1364266) on suspicion of overwhelming the taskcluster queue MozReview-Commit-ID: EQ0Ip3kIeLh
taskcluster/taskgraph/transforms/task.py
--- a/taskcluster/taskgraph/transforms/task.py
+++ b/taskcluster/taskgraph/transforms/task.py
@@ -478,52 +478,16 @@ V2_L10N_TEMPLATES = [
 # the roots of the treeherder routes, keyed by treeherder environment
 TREEHERDER_ROUTE_ROOTS = {
     'production': 'tc-treeherder',
     'staging': 'tc-treeherder-stage',
 }
 
 COALESCE_KEY = 'builds.{project}.{name}'
 
-DEFAULT_BRANCH_PRIORITY = 'low'
-BRANCH_PRIORITIES = {
-    'mozilla-release': 'highest',
-    'comm-esr45': 'highest',
-    'comm-esr52': 'highest',
-    'mozilla-esr45': 'very-high',
-    'mozilla-esr52': 'very-high',
-    'mozilla-beta': 'high',
-    'comm-beta': 'high',
-    'mozilla-central': 'medium',
-    'comm-central': 'medium',
-    'mozilla-aurora': 'medium',
-    'comm-aurora': 'medium',
-    'autoland': 'low',
-    'mozilla-inbound': 'low',
-    'try': 'very-low',
-    'try-comm-central': 'very-low',
-    'alder': 'very-low',
-    'ash': 'very-low',
-    'birch': 'very-low',
-    'cedar': 'very-low',
-    'cypress': 'very-low',
-    'date': 'very-low',
-    'elm': 'very-low',
-    'fig': 'very-low',
-    'gum': 'very-low',
-    'holly': 'very-low',
-    'jamun': 'very-low',
-    'larch': 'very-low',
-    'maple': 'very-low',
-    'oak': 'very-low',
-    'pine': 'very-low',
-    'graphics': 'very-low',
-    'ux': 'very-low',
-}
-
 # define a collection of payload builders, depending on the worker implementation
 payload_builders = {}
 
 
 def payload_builder(name):
     def wrap(func):
         payload_builders[name] = func
         return func
@@ -952,21 +916,16 @@ def build_task(config, tasks):
             task['deadline-after'] = '1 day'
 
         if 'coalesce-name' in task and int(config.params['level']) > 1:
             key = COALESCE_KEY.format(
                 project=config.params['project'],
                 name=task['coalesce-name'])
             routes.append('coalesce.v1.' + key)
 
-        if 'priority' not in task:
-            task['priority'] = BRANCH_PRIORITIES.get(
-                config.params['project'],
-                DEFAULT_BRANCH_PRIORITY)
-
         tags = task.get('tags', {})
         tags.update({'createdForUser': config.params['owner']})
 
         task_def = {
             'provisionerId': provisioner_id,
             'workerType': worker_type,
             'routes': routes,
             'created': {'relative-datestamp': '0 seconds'},
@@ -979,17 +938,16 @@ def build_task(config, tasks):
                 'owner': config.params['owner'],
                 'source': '{}/file/{}/{}'.format(
                     config.params['head_repository'],
                     config.params['head_rev'],
                     config.path),
             },
             'extra': extra,
             'tags': tags,
-            'priority': task['priority'],
         }
 
         if task_th:
             # link back to treeherder in description
             th_push_link = 'https://treeherder.mozilla.org/#/jobs?repo={}&revision={}'.format(
                 config.params['project'], config.params['head_rev'])
             task_def['metadata']['description'] += ' ([Treeherder push]({}))'.format(
                 th_push_link)