Bug 1623355 - Part 9/9 - Remove 'pgo' support from performance testing target tasks. r=aki
authorJustin Wood <Callek@gmail.com>
Thu, 21 May 2020 16:29:51 +0000
changeset 531446 5190da2e563efc3e3357fe3b0fe6fc57be9890e2
parent 531445 a7d4a9064f3144b581b72b81519b901590598486
child 531447 c84f96434c8338217bec00ba4ac915579a106842
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 9/9 - Remove 'pgo' support from performance testing target tasks. r=aki Differential Revision: https://phabricator.services.mozilla.com/D74961
taskcluster/taskgraph/target_tasks.py
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -505,42 +505,42 @@ def target_tasks_general_perf_testing(fu
         if vismet:
             # 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 or 'shippable' in platform:
+                # Run only on shippable android builds
+                if '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 or 'shippable' in platform:
+        if '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 or 'shippable' in platform):
+        if 'browsertime' in try_name and '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 and 'shippable' not in platform:
+            if '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 or 'shippable' in platform):
+        if '-cold' in try_name and '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