Bug 1277648 - run debug fennec builds alongside opt in taskcluster, r?dustin draft
authorJordan Lund <jlund@mozilla.com>
Fri, 03 Jun 2016 10:35:24 -0700
changeset 375211 32d62d5ba5d039c4de5e0052e04c5d1209881e15
parent 375210 1ec243446e6d3afe0c60842b5aaddc699bf7a069
child 522786 3993b808a00677f79c838fa781d6e7a2f2d8f5b0
push id20189
push userjlund@mozilla.com
push dateFri, 03 Jun 2016 17:40:55 +0000
reviewersdustin
bugs1277648, 3999887
milestone49.0a1
Bug 1277648 - run debug fennec builds alongside opt in taskcluster, r?dustin MozReview-Commit-ID: LJ819br6uDE this starts running debug fennec builds along opt on central and try. note: I added tier 2 and other properties to the opt fennec builds because it seemed like they were implicitly: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&filter-searchStr=taskcluster&filter-tier=1&filter-tier=2&filter-tier=3&exclusion_profile=false&selectedJob=3999887 *** renames build_type from dbg to debug for fennec tc MozReview-Commit-ID: HvZgt2DwqKp
testing/taskcluster/tasks/branches/mozilla-central/job_flags.yml
testing/taskcluster/tasks/branches/try/job_flags.yml
testing/taskcluster/tasks/builds/android_api_15.yml
testing/taskcluster/tasks/builds/android_api_15_debug.yml
--- a/testing/taskcluster/tasks/branches/mozilla-central/job_flags.yml
+++ b/testing/taskcluster/tasks/branches/mozilla-central/job_flags.yml
@@ -12,16 +12,18 @@ flags:
 
 builds:
   android-api-15:
     platforms:
       - Android
     types:
       opt:
         task: tasks/builds/android_api_15.yml
+      debug:
+        task: tasks/builds/android_api_15_debug.yml
   aries:
     platforms:
       - b2g
     types:
       debug:
         task: tasks/builds/b2g_aries_spark_debug.yml
   aries-eng:
     platforms:
--- a/testing/taskcluster/tasks/branches/try/job_flags.yml
+++ b/testing/taskcluster/tasks/branches/try/job_flags.yml
@@ -12,16 +12,18 @@ flags:
 
 builds:
   android-api-15:
     platforms:
       - Android
     types:
       opt:
         task: tasks/builds/android_api_15.yml
+      debug:
+        task: tasks/builds/android_api_15_debug.yml
   android-partner-sample1:
     platforms:
       - Android
     types:
       opt:
         task: tasks/builds/android_api_15_partner_sample1.yml
   linux:
     platforms:
--- a/testing/taskcluster/tasks/builds/android_api_15.yml
+++ b/testing/taskcluster/tasks/builds/android_api_15.yml
@@ -46,15 +46,19 @@ task:
   extra:
     treeherderEnv:
       - production
       - staging
     treeherder:
       machine:
         # see https://github.com/mozilla/treeherder/blob/master/ui/js/values.js
         platform: android-4-0-armv7-api15
+      groupSymbol: tc
+      groupName: Submitted by taskcluster
+      symbol: B
+      tier: 2
     # Rather then enforcing particular conventions we require that all build
     # tasks provide the "build" extra field to specify where the build and tests
     # files are located.
     locations:
       build: 'public/build/target.apk'
       mozharness: 'public/build/mozharness.zip'
       test_packages: 'public/build/target.test_packages.json'
copy from testing/taskcluster/tasks/builds/android_api_15.yml
copy to testing/taskcluster/tasks/builds/android_api_15_debug.yml
--- a/testing/taskcluster/tasks/builds/android_api_15.yml
+++ b/testing/taskcluster/tasks/builds/android_api_15_debug.yml
@@ -1,60 +1,66 @@
 $inherits:
   from: 'tasks/builds/mobile_base.yml'
   variables:
     build_name: 'android'
-    build_type: 'opt'
+    build_type: 'debug'
 task:
   metadata:
-      name: '[TC] Android armv7 API 15+'
-      description: 'Android armv7 API 15+'
+      name: '[TC] Android armv7 API 15+ Dbg'
+      description: 'Android armv7 API 15+ Dbg'
 
   workerType: android-api-15
 
   routes:
-    - 'index.buildbot.branches.{{project}}.android-api-15'
-    - 'index.buildbot.revisions.{{head_rev}}.{{project}}.android-api-15'
+    - 'index.buildbot.branches.{{project}}.android-api-15-dbg'
+    - 'index.buildbot.revisions.{{head_rev}}.{{project}}.android-api-15-dbg'
 
   scopes:
-    - 'docker-worker:cache:level-{{level}}-{{project}}-build-android-api-15-workspace'
+    - 'docker-worker:cache:level-{{level}}-{{project}}-build-android-api-15-dbg-workspace'
     - 'docker-worker:cache:tooltool-cache'
     - 'docker-worker:relengapi-proxy:tooltool.download.internal'
     - 'docker-worker:relengapi-proxy:tooltool.download.public'
 
   payload:
     cache:
-      level-{{level}}-{{project}}-build-android-api-15-workspace: '/home/worker/workspace'
+      level-{{level}}-{{project}}-build-android-api-15-dbg-workspace: '/home/worker/workspace'
       tooltool-cache: '/home/worker/tooltool-cache'
 
     features:
       relengAPIProxy: true
 
     env:
       # inputs to mozharness
       MOZHARNESS_SCRIPT: 'mozharness/scripts/fx_desktop_build.py'
       # TODO: make these additional configuration files go away
       MOZHARNESS_CONFIG: >
           builds/releng_base_android_64_builds.py
           disable_signing.py
           platform_supports_post_upload_to_latest.py
       MOZHARNESS_ACTIONS: "get-secrets build multi-l10n update"
-      MH_CUSTOM_BUILD_VARIANT_CFG: api-15
+      MH_CUSTOM_BUILD_VARIANT_CFG: api-15-debug
       MH_BRANCH: {{project}}
       MH_BUILD_POOL: taskcluster
 
     command: ["/bin/bash", "bin/build.sh"]
 
   extra:
     treeherderEnv:
       - production
       - staging
     treeherder:
       machine:
         # see https://github.com/mozilla/treeherder/blob/master/ui/js/values.js
         platform: android-4-0-armv7-api15
+      groupSymbol: tc
+      groupName: Submitted by taskcluster
+      symbol: B
+      tier: 2
+      collection:
+        debug: true
     # Rather then enforcing particular conventions we require that all build
     # tasks provide the "build" extra field to specify where the build and tests
     # files are located.
     locations:
       build: 'public/build/target.apk'
       mozharness: 'public/build/mozharness.zip'
       test_packages: 'public/build/target.test_packages.json'