Bug 1633866 - [tryselect] Use 'bugbug' loader with |mach try auto|, r=marco
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Wed, 03 Jun 2020 21:00:43 +0000
changeset 533975 275d082f51b37acb3fa358650381e74893ea457d
parent 533974 941d4125e9c3c04c0dc5b46afede60c4d79a442b
child 533976 89ba34b0cc92e4ee5a7d5cc5386a9902c8de9c02
push id37481
push userncsoregi@mozilla.com
push dateFri, 05 Jun 2020 04:39:26 +0000
treeherdermozilla-central@fecffba489bd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarco
bugs1633866
milestone79.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 1633866 - [tryselect] Use 'bugbug' loader with |mach try auto|, r=marco Enables manifest-scheduling with |mach try auto| pushes. Differential Revision: https://phabricator.services.mozilla.com/D76525
tools/tryselect/selectors/auto.py
tools/tryselect/test/test_auto.t
--- a/tools/tryselect/selectors/auto.py
+++ b/tools/tryselect/selectors/auto.py
@@ -31,14 +31,15 @@ def run(message='{msg}', push=True, clos
     try_config.setdefault('optimize-strategies',
                           'taskgraph.optimize:tryselect.bugbug_debug_disperse')
 
     task_config = {
         'version': 2,
         'parameters': {
             'optimize_target_tasks': True,
             'target_tasks_method': 'try_auto',
+            'test_manifest_loader': 'bugbug',
             'try_mode': 'try_auto',
             'try_task_config': try_config or {},
         }
     }
     return push_to_try('auto', msg, try_task_config=task_config,
                        push=push, closed_tree=closed_tree)
--- a/tools/tryselect/test/test_auto.t
+++ b/tools/tryselect/test/test_auto.t
@@ -10,16 +10,17 @@ Test auto selector
   Tasks automatically selected.
   
   Pushed via `mach try auto`
   Calculated try_task_config.json:
   {
       "parameters": {
           "optimize_target_tasks": true,
           "target_tasks_method": "try_auto",
+          "test_manifest_loader": "bugbug",
           "try_mode": "try_auto",
           "try_task_config": {
               "optimize-strategies": "taskgraph.optimize:tryselect.bugbug_debug_disperse"
           }
       },
       "version": 2
   }
   
@@ -30,16 +31,17 @@ Test auto selector
   Tasks automatically selected. ON A CLOSED TREE
   
   Pushed via `mach try auto`
   Calculated try_task_config.json:
   {
       "parameters": {
           "optimize_target_tasks": true,
           "target_tasks_method": "try_auto",
+          "test_manifest_loader": "bugbug",
           "try_mode": "try_auto",
           "try_task_config": {
               "optimize-strategies": "taskgraph.optimize:tryselect.bugbug_debug_disperse"
           }
       },
       "version": 2
   }
   
@@ -49,16 +51,17 @@ Test auto selector
   foo Tasks automatically selected. bar ON A CLOSED TREE
   
   Pushed via `mach try auto`
   Calculated try_task_config.json:
   {
       "parameters": {
           "optimize_target_tasks": true,
           "target_tasks_method": "try_auto",
+          "test_manifest_loader": "bugbug",
           "try_mode": "try_auto",
           "try_task_config": {
               "optimize-strategies": "taskgraph.optimize:tryselect.bugbug_debug_disperse"
           }
       },
       "version": 2
   }