Bug 1338871 - Enable Talos tests for linux64-stylo builds r=jmaher DONTBUILD
authorKim Moir <kmoir@mozilla.com>
Thu, 23 Mar 2017 12:12:46 -0400
changeset 397414 c309f93f5c33eaaff2294ef70ab18158d3fbb25d
parent 397413 8bb4f514012b30c4a1541b7a6a813aebb79b9ea3
child 397415 df69ffc4f6da6e939012afb0df30dd93e49240f8
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1338871
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 1338871 - Enable Talos tests for linux64-stylo builds r=jmaher DONTBUILD
.cron.yml
taskcluster/ci/test/tests.yml
taskcluster/taskgraph/target_tasks.py
--- a/.cron.yml
+++ b/.cron.yml
@@ -54,19 +54,8 @@ jobs:
       job:
           type: decision-task
           treeherder-symbol: Nc
           target-tasks-method: nightly_code_coverage
       run-on-projects:
           - mozilla-central
       when:
           - {hour: 18, minute: 0}
-
-    - name: nightly-stylo-talos
-      job:
-          type: decision-task
-          treeherder-symbol: T 
-          target-tasks-method: stylo_talos
-      run-on-projects:
-          - mozilla-central
-      when:
-          - {hour: 4, minute: 0}
-
--- a/taskcluster/ci/test/tests.yml
+++ b/taskcluster/ci/test/tests.yml
@@ -1153,17 +1153,17 @@ robocop:
 
 talos-chrome:
     description: "Talos chrome"
     suite: talos
     talos-try-name: chromez
     treeherder-symbol: tc-T(c)
     run-on-projects:
         by-test-platform:
-            linux64-stylo/.*: []
+            linux64-stylo/.*: ['mozilla-central', 'try']
             default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
     max-run-time: 3600
     mozharness:
         script: talos_script.py
         no-read-buildbot-config: true
         config:
             by-test-platform:
                 default:
@@ -1174,17 +1174,17 @@ talos-chrome:
 
 talos-dromaeojs:
     description: "Talos dromaeojs"
     suite: talos
     talos-try-name: dromaeojs
     treeherder-symbol: tc-T(d)
     run-on-projects:
         by-test-platform:
-            linux64-stylo/.*: []
+            linux64-stylo/.*: ['mozilla-central', 'try']
             default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
     max-run-time: 3600
     mozharness:
         script: talos_script.py
         no-read-buildbot-config: true
         config:
             by-test-platform:
                 default:
@@ -1195,17 +1195,17 @@ talos-dromaeojs:
 
 talos-g1:
     description: "Talos g1"
     suite: talos
     talos-try-name: g1
     treeherder-symbol: tc-T(g1)
     run-on-projects:
         by-test-platform:
-            linux64-stylo/.*: []
+            linux64-stylo/.*: ['mozilla-central', 'try']
             default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try'] 
     max-run-time: 3600
     mozharness:
         script: talos_script.py
         no-read-buildbot-config: true
         config:
             by-test-platform:
                 default:
@@ -1217,17 +1217,17 @@ talos-g1:
 talos-g2:
     description: "Talos g2"
     suite: talos
     talos-try-name: g2
     treeherder-symbol: tc-T(g2)
     max-run-time: 3600
     run-on-projects:
         by-test-platform:
-            linux64-stylo/.*: []
+            linux64-stylo/.*: ['mozilla-central', 'try']
             default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try'] 
     mozharness:
         script: talos_script.py
         no-read-buildbot-config: true
         config:
             by-test-platform:
                 default:
                     - talos/linux_config.py
@@ -1237,17 +1237,17 @@ talos-g2:
 
 talos-g3:
     description: "Talos g3"
     suite: talos
     talos-try-name: g3
     treeherder-symbol: tc-T(g3)
     run-on-projects:
         by-test-platform:
-            linux64-stylo/.*: []
+            linux64-stylo/.*: ['mozilla-central', 'try']
             default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try'] 
     max-run-time: 3600
     mozharness:
         script: talos_script.py
         no-read-buildbot-config: true
         config:
             by-test-platform:
                 default:
@@ -1258,17 +1258,17 @@ talos-g3:
 
 talos-g4:
     description: "Talos g4"
     suite: talos
     talos-try-name: g4
     treeherder-symbol: tc-T(g4)
     run-on-projects:
         by-test-platform:
-            linux64-stylo/.*: []
+            linux64-stylo/.*: ['mozilla-central', 'try']
             default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try'] 
     max-run-time: 3600
     mozharness:
         script: talos_script.py
         no-read-buildbot-config: true
         config:
             by-test-platform:
                 default:
@@ -1279,17 +1279,17 @@ talos-g4:
 
 talos-other:
     description: "Talos other"
     suite: talos
     talos-try-name: other
     treeherder-symbol: tc-T(o)
     run-on-projects:
         by-test-platform:
-            linux64-stylo/.*: []
+            linux64-stylo/.*: ['mozilla-central', 'try']
             default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try'] 
     max-run-time: 3600
     mozharness:
         script: talos_script.py
         no-read-buildbot-config: true
         config:
             by-test-platform:
                 default:
@@ -1300,17 +1300,17 @@ talos-other:
 
 talos-svgr:
     description: "Talos svgr"
     suite: talos
     talos-try-name: svgr
     treeherder-symbol: tc-T(s)
     run-on-projects:
         by-test-platform:
-            linux64-stylo/.*: []
+            linux64-stylo/.*: ['mozilla-central', 'try']
             default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
     max-run-time: 3600
     mozharness:
         script: talos_script.py
         no-read-buildbot-config: true
         config:
             by-test-platform:
                 default:
@@ -1321,17 +1321,17 @@ talos-svgr:
 
 talos-tp5o:
     description: "Talos tp5o"
     suite: talos
     talos-try-name: tp5o
     treeherder-symbol: tc-T(tp)
     run-on-projects:
         by-test-platform:
-            linux64-stylo/.*: []
+            linux64-stylo/.*: ['mozilla-central', 'try']
             default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
     max-run-time: 3600
     mozharness:
         script: talos_script.py
         no-read-buildbot-config: true
         config:
             by-test-platform:
                 default:
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -274,26 +274,8 @@ def target_tasks_stylo(full_task_graph, 
     """Target stylotasks that only run on the m-c branch."""
     def filter(task):
         platform = task.attributes.get('build_platform')
         # only select platforms
         if platform not in ('linux64-stylo'):
             return False
         return True
     return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
-
-
-@_target_task('stylo_talos')
-def target_stylo_talos(full_task_graph, parameters):
-    """Target stylotasks that only run on the m-c branch."""
-    def filter(task):
-        platform = task.attributes.get('build_platform')
-        # only stylo platforms
-        if platform != ('linux64-stylo'):
-            return False
-        # no non-e10s tests
-        if task.attributes.get('unittest_suite'):
-            if not task.attributes.get('e10s'):
-                return False
-            # only run talos
-            if task.attributes.get('unittest_suite') == 'talos':
-                return True
-    return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]