Bug 1271622: Add taskcluster taskgraphs for linux64-valgrind build draft
authorFrancis Kang fkang@mozilla.com
Wed, 01 Jun 2016 15:32:45 -0400
changeset 374115 7daa5db3ddb44bc7c0595167c3538d7dfef71ad5
parent 374114 82b08dd8f05e7a21dd621dc77c3be6be77178325
child 374452 1f7624b228e0c36d66bfeaf27ee65640288902eb
push id19934
push userhkang@mozilla.com
push dateWed, 01 Jun 2016 20:54:56 +0000
bugs1271622
milestone49.0a1
Bug 1271622: Add taskcluster taskgraphs for linux64-valgrind build The graph executes the mozharness script with the custom build variant 'valgrind', and executes mach's valgrind-test via mozharness. MozReview-Commit-ID: 9KozkwMQ8Nk
testing/taskcluster/tasks/branches/base_job_flags.yml
testing/taskcluster/tasks/branches/base_jobs.yml
testing/taskcluster/tasks/builds/dbg_linux64_valgrind.yml
--- a/testing/taskcluster/tasks/branches/base_job_flags.yml
+++ b/testing/taskcluster/tasks/branches/base_job_flags.yml
@@ -93,16 +93,17 @@ flags:
     - android-api-15
     - android-api-15-frontend
     - android-partner-sample1
     - linux
     - linux64
     - linux64-st-an
     - linux64-artifact
     - linux64-pgo
+    - linux64-valgrind
     - macosx64
     - macosx64-st-an
 
   tests:
     - cppunit
     - crashtest
     - crashtest-e10s
     - external-media-tests
--- a/testing/taskcluster/tasks/branches/base_jobs.yml
+++ b/testing/taskcluster/tasks/branches/base_jobs.yml
@@ -65,16 +65,22 @@ builds:
        - js/public/**
        - js/src/**
   linux64-pgo:
     platforms:
       - Linux64 PGO
     types:
       opt:
         task: tasks/builds/opt_linux64_pgo.yml
+  linux64-valgrind:
+    platforms:
+      - Linux64 Valgrind
+    types:
+      debug:
+        task: tasks/builds/dbg_linux64_valgrind.yml
   macosx64:
     platforms:
       - MacOSX64
     types:
       opt:
         task: tasks/builds/opt_macosx64.yml
       debug:
         task: tasks/builds/dbg_macosx64.yml
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/builds/dbg_linux64_valgrind.yml
@@ -0,0 +1,31 @@
+$inherits:
+  from: 'tasks/builds/base_linux64.yml'
+  variables:
+    build_name: 'linux64-valgrind'
+    build_type: 'dbg'
+task:
+  metadata:
+      name: '[TC] Linux64 Valgrind Dbg'
+      description: 'Linux64 Valgrind Dbg'
+
+  routes:
+    - 'index.buildbot.branches.{{project}}.linux64-valgrind'
+    - 'index.buildbot.revisions.{{head_rev}}.{{project}}.linux64-valgrind'
+
+  workerType: dbg-linux64
+
+  payload:
+    env:
+      MH_CUSTOM_BUILD_VARIANT_CFG: 'valgrind'
+      MOZHARNESS_ACTIONS: 'get-secrets build valgrind-test generate-build-stats update'
+
+    maxRunTime: 72000
+
+  extra:
+    treeherder:
+      groupSymbol: tc
+      groupName: Submitted by taskcluster
+      symbol: V
+      machine:
+        # see https://github.com/mozilla/treeherder/blob/master/ui/js/values.js
+        platform: linux64
\ No newline at end of file