Bug 1387532 - Enforce that we don't schedule multiple chunks for the same test without passing buildbot the required chunking information. r=catlee
The issue here is that we had marked 'chunked' as false, but were still trying to use 8 chunks for reftest. Because of this we were also sending the unchunked buildbot name to BBB for each chunk we actually tried to run, on e10s and other variants.
MozReview-Commit-ID: Dc5npIq5sxr
--- a/taskcluster/taskgraph/transforms/job/mozharness_test.py
+++ b/taskcluster/taskgraph/transforms/job/mozharness_test.py
@@ -463,16 +463,19 @@ def mozharness_test_buildbot_bridge(conf
])
# in buildbot, mochitest-webgl is called mochitest-gl
test_name = test_name.replace('webgl', 'gl')
if mozharness.get('chunked', False):
this_chunk = test.get('this-chunk')
test_name = '{}-{}'.format(test_name, this_chunk)
+ elif test.get('this-chunk', 1) != 1:
+ raise Exception("Unexpected chunking when 'chunked' attribute is 'false'"
+ " for {}".format(test_name))
if test.get('suite', '') == 'talos':
variant = get_variant(test['test-platform'])
# On beta and release, we run nightly builds on-push; the talos
# builders need to run against non-nightly buildernames
if variant == 'nightly':
variant = ''