no bug - fix try taskgraph-gen r=taskgraph-reviewers,jmaher DONTBUILD
authorAki Sasaki <asasaki@mozilla.com>
Thu, 20 Aug 2020 15:23:54 +0000
changeset 610158 a6f1b3a70a2a08c864225d68a3fb9fcb291bbbf8
parent 610157 6c04e5bc049576e8a5e1f02fa9c1674a8cf84e9d
child 610159 52a7009329ba00f764623db21f72b0469f5a81e9
push id13553
push userffxbld-merge
push dateMon, 24 Aug 2020 12:51:36 +0000
treeherdermozilla-beta@a54f8b5d0977 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstaskgraph-reviewers, jmaher
milestone81.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
no bug - fix try taskgraph-gen r=taskgraph-reviewers,jmaher DONTBUILD taskgraph-gen.py dies on try.yml currently. I'm not sure what the underlying issue is, but this gets things working again. Differential Revision: https://phabricator.services.mozilla.com/D87691
taskcluster/taskgraph/target_tasks.py
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -260,17 +260,18 @@ def _try_option_syntax(full_task_graph, 
         if options.trigger_tests > 1 and 'unittest_suite' in task.attributes:
             task.attributes['task_duplicates'] = options.trigger_tests
 
         # If the developer wants test talos jobs to be rebuilt N times we add that value here
         if options.talos_trigger_tests > 1 and task.attributes.get('unittest_suite') == 'talos':
             task.attributes['task_duplicates'] = options.talos_trigger_tests
 
         # If the developer wants test raptor jobs to be rebuilt N times we add that value here
-        if options.raptor_trigger_tests > 1 and task.attributes.get('unittest_suite') == 'raptor':
+        if options.raptor_trigger_tests and options.raptor_trigger_tests > 1 and \
+                task.attributes.get('unittest_suite') == 'raptor':
             task.attributes['task_duplicates'] = options.raptor_trigger_tests
 
         task.attributes.update(attributes)
 
     # Add notifications here as well
     if options.notifications:
         for task in full_task_graph:
             owner = parameters.get('owner')