Backed out changeset c6aa3b06c0b2 (bug 1419778) for tg failures on taskcluster/taskgraph/test/test_generator.py r=backout on a CLOSED TREE

This commit is contained in:
Cosmin Sabou 2017-11-23 18:33:29 +02:00
parent 7198971550
commit 8a29ac5f26

View File

@ -143,14 +143,8 @@ def verify_dependency_tiers(task, taskgraph, scratch_pad):
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 {})'