Bug 1317189 - Fix --rebuild-talos for TC try jobs by checking the correct attribute. r=wcosta
authorChris Manchester <cmanchester@mozilla.com>
Tue, 09 May 2017 14:04:10 -0700
changeset 357519 d27e83aae737e2794235f652fd84f2ec10080f20
parent 357518 d0fccf681c202e09119a65fe37a05b043d6b6bef
child 357520 3d9ea2c9d295d4492bc59b46b73c4b41d406ceb2
push id31795
push userkwierso@gmail.com
push dateWed, 10 May 2017 22:26:00 +0000
treeherdermozilla-central@3df2494ade45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswcosta
bugs1317189
milestone55.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
Bug 1317189 - Fix --rebuild-talos for TC try jobs by checking the correct attribute. r=wcosta MozReview-Commit-ID: K3WwZS9rVdj
taskcluster/taskgraph/target_tasks.py
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -72,17 +72,17 @@ def target_tasks_try_option_syntax(full_
     for l in target_tasks_labels:
         task = full_task_graph[l]
         # If the developer wants test jobs to be rebuilt N times we add that value here
         if options.trigger_tests > 1 and 'unittest_suite' in task.attributes:
             task.attributes['task_duplicates'] = options.trigger_tests
             task.attributes['profile'] = False
 
         # If the developer wants test talos jobs to be rebuilt N times we add that value here
-        if options.talos_trigger_tests > 1 and 'talos_suite' in task.attributes:
+        if options.talos_trigger_tests > 1 and task.attributes.get('unittest_suite') == 'talos':
             task.attributes['task_duplicates'] = options.talos_trigger_tests
             task.attributes['profile'] = options.profile
 
         task.attributes.update(attributes)
 
     # Add notifications here as well
     if options.notifications:
         for task in full_task_graph: