Bug 1623355 - Part 2/9 - Add shippable as a valid target for performance test cron targets. r=aki
authorJustin Wood <Callek@gmail.com>
Thu, 21 May 2020 16:31:23 +0000
changeset 531439 0101200826e506094f4f2adaf6b8357e5795df1a
parent 531438 07de002afb78c4cce2af24df2e358de2fcb5beb7
child 531440 449ec0123902fefa7315ef000fbff94932cbf73b
push id37439
push userbtara@mozilla.com
push dateThu, 21 May 2020 21:49:34 +0000
treeherdermozilla-central@92c11f0bf14b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaki
bugs1623355
milestone78.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 1623355 - Part 2/9 - Add shippable as a valid target for performance test cron targets. r=aki Differential Revision: https://phabricator.services.mozilla.com/D74960
taskcluster/taskgraph/target_tasks.py
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -506,41 +506,41 @@ def target_tasks_general_perf_testing(fu
             # Visual metric tasks are configured a bit differently
             platform = task.task.get('extra').get('treeherder-platform')
             try_name = task.label
 
         # Run chrome and chromium on all platforms available
         if '-chrome' in try_name:
             if 'android' in platform:
                 # Run only on pgo android builds
-                if 'pgo' in platform:
+                if 'pgo' in platform or 'shippable' in platform:
                     return True
                 else:
                     return False
             else:
                 # Run on all desktop builds
                 return True
         if '-chromium' in try_name:
             return True
 
         # Run raptor scn-power-idle and speedometer for fenix and fennec68
-        if 'pgo' in platform:
+        if 'pgo' in platform or 'shippable' in platform:
             if 'raptor-scn-power-idle' in try_name \
                     and ('-fenix' in try_name or '-fennec68' in try_name):
                 return True
             if 'raptor-speedometer' in try_name \
                     and '-fennec68' in try_name:
                 return True
             if 'raptor-speedometer' in try_name \
                     and 'power' in try_name \
                     and 'fenix' in try_name:
                 return True
 
         # Select browsertime tasks
-        if 'browsertime' in try_name and 'pgo' in platform:
+        if 'browsertime' in try_name and ('pgo' in platform or 'shippable' in platform):
             if 'speedometer' in try_name:
                 return True
             if '-live' in try_name:
                 return True
             return False
 
         # Run the following tests on android geckoview
         if platform and 'android' not in platform:
@@ -550,17 +550,17 @@ def target_tasks_general_perf_testing(fu
 
         # Run cpu+memory, and power tests
         cpu_n_memory_task = '-cpu' in try_name and '-memory' in try_name
         power_task = '-power' in try_name
         # Ignore cpu+memory+power tests
         if power_task and cpu_n_memory_task:
             return False
         if power_task or cpu_n_memory_task:
-            if 'pgo' not in platform:
+            if 'pgo' not in platform and 'shippable' not in platform:
                 return False
             if '-speedometer-' in try_name:
                 return True
             if '-scn' in try_name and '-idle' in try_name:
                 return True
         return False
 
     return [l for l, t in six.iteritems(full_task_graph.tasks) if filter(t)]
@@ -842,17 +842,17 @@ def target_tasks_raptor_tp6m(full_task_g
         platform = task.attributes.get('build_platform')
         attributes = task.attributes
 
         if platform and 'android' not in platform:
             return False
         if attributes.get('unittest_suite') != 'raptor':
             return False
         try_name = attributes.get('raptor_try_name')
-        if '-cold' in try_name and 'pgo' in platform:
+        if '-cold' in try_name and ('pgo' in platform or 'shippable' in platform):
             if '-1-refbrow-' in try_name:
                 return True
             # Get browsertime amazon smoke tests
             if 'browsertime' in try_name and \
                'amazon' in try_name and 'search' not in try_name and \
                'fenix' in try_name:
                 return True