Bug 1544441 - prevent selecting windows10-aarch64 jobs using old try syntax and fuzzy unless --full is used r=jmaher
authorEdwin Gao <egao@mozilla.com>
Mon, 15 Apr 2019 21:14:17 +0000
changeset 469579 4574b686fdd4e421ead2e87b8ca39abc25c41c36
parent 469578 eb866ced3ffa9dadcc1cda5970f164e7e050368a
child 469580 d88be60f451908af29733b8675d7d83ba4761ce1
push id35874
push userccoroiu@mozilla.com
push dateTue, 16 Apr 2019 04:04:58 +0000
treeherdermozilla-central@be3f40425b52 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1544441
milestone68.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 1544441 - prevent selecting windows10-aarch64 jobs using old try syntax and fuzzy unless --full is used r=jmaher Changes: - added windows10-aarch64 to the filter for fuzzy, to require `--full` in order to trigger jobs - return False for any test tasks that contain windows10-aarch64 to prevent users using old try syntax from overwhelming the limited number of hardware Differential Revision: https://phabricator.services.mozilla.com/D27590
taskcluster/taskgraph/try_option_syntax.py
tools/tryselect/selectors/fuzzy.py
--- a/taskcluster/taskgraph/try_option_syntax.py
+++ b/taskcluster/taskgraph/try_option_syntax.py
@@ -569,16 +569,20 @@ class TryOptionSyntax(object):
             if attr('nightly') and not self.include_nightly:
                 return False
             return set(['try', 'all']) & set(attr('run_on_projects', []))
 
         # Don't schedule code coverage when try option syntax is used
         if 'ccov' in attr('build_platform', []):
             return False
 
+        # Don't schedule tasks for windows10-aarch64 unless try fuzzy is used
+        if 'windows10-aarch64' in attr("test_platform", ""):
+            return False
+
         # Don't schedule android-hw tests when try option syntax is used
         if 'android-hw' in task.label:
             return False
 
         def match_test(try_spec, attr_name):
             run_by_default = True
             if attr('build_type') not in self.build_types:
                 return False
--- a/tools/tryselect/selectors/fuzzy.py
+++ b/tools/tryselect/selectors/fuzzy.py
@@ -21,16 +21,17 @@ from ..push import check_working_directo
 terminal = Terminal()
 
 here = os.path.abspath(os.path.dirname(__file__))
 
 # Some tasks show up in the target task set, but are either special cases
 # or uncommon enough that they should only be selectable with --full.
 TARGET_TASK_FILTERS = (
     '.*-ccov\/.*',
+    'windows10-aarch64/opt.*'
 )
 
 
 FZF_NOT_FOUND = """
 Could not find the `fzf` binary.
 
 The `mach try fuzzy` command depends on fzf. Please install it following the
 appropriate instructions for your platform: