Backed out changeset c6aa3b06c0b2 (bug 1419778) for tg failures on taskcluster/taskgraph/test/test_generator.py r=backout on a CLOSED TREE
authorCosmin Sabou <csabou@mozilla.com>
Thu, 23 Nov 2017 18:33:29 +0200
changeset 437871 f673da3cfce0dae5731a4e3d06954a0a622166ea
parent 437870 b36f90673c60b9ca1844477714961ac14b45d388
child 437872 4312855b1107d20dadc7d4d8c9ef4b334c0464fb
push id117
push userfmarier@mozilla.com
push dateTue, 28 Nov 2017 20:17:16 +0000
reviewersbackout
bugs1419778
milestone59.0a1
backs outc6aa3b06c0b2071fdc88657ef15c3f00cc9148c0
Backed out changeset c6aa3b06c0b2 (bug 1419778) for tg failures on taskcluster/taskgraph/test/test_generator.py r=backout on a CLOSED TREE
taskcluster/taskgraph/util/verify.py
--- a/taskcluster/taskgraph/util/verify.py
+++ b/taskcluster/taskgraph/util/verify.py
@@ -138,24 +138,18 @@ def verify_dependency_tiers(task, taskgr
                                      .get('tier', sys.maxint)
     else:
         def printable_tier(tier):
             if tier == sys.maxint:
                 return 'unknown'
             return tier
 
         for task in taskgraph.tasks.itervalues():
-            # Buildbot bridge tasks cannot have tiers, so we cannot enforce
-            # this check for them
-            if task.task["workerType"] == "buildbot-bridge":
-                continue
             tier = tiers[task.label]
             for d in task.dependencies.itervalues():
-                if taskgraph[d].task["workerType"] == "buildbot-bridge":
-                    continue
                 if tier < tiers[d]:
                     raise Exception(
                         '{} (tier {}) cannot depend on {} (tier {})'
                         .format(task.label, printable_tier(tier),
                                 d, printable_tier(tiers[d])))
 
 
 @verifications.add('optimized_task_graph')