Bug 1188335 - Enable Mulet TaskCluster Gb. r=garndt
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Tue, 28 Jul 2015 09:24:00 -0400
changeset 255151 9e891e54171fa1d8fa8e112d65d4e77a0b7cc27a
parent 255150 572d0d046629a59507103baf6acf6f4f7783b48d
child 255152 f7b98d678e3e51ab62999ba0caeefb25542a4273
push id62963
push usercbook@mozilla.com
push dateWed, 29 Jul 2015 12:58:30 +0000
treeherdermozilla-inbound@113eb4689bf4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgarndt
bugs1188335
milestone42.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 1188335 - Enable Mulet TaskCluster Gb. r=garndt
testing/mozharness/scripts/gaia_build_integration.py
testing/taskcluster/tasks/branches/base_jobs.yml
testing/taskcluster/tasks/branches/try/job_flags.yml
testing/taskcluster/tasks/tests/mulet_build_test.yml
--- a/testing/mozharness/scripts/gaia_build_integration.py
+++ b/testing/mozharness/scripts/gaia_build_integration.py
@@ -26,24 +26,30 @@ class GaiaBuildIntegrationTest(GaiaTest)
         """
         dirs = self.query_abs_dirs()
 
         self.node_setup()
 
         output_parser = TestSummaryOutputParserHelper(
           config=self.config, log_obj=self.log_obj, error_list=self.error_list)
 
-        code = self.run_command([
+        cmd = [
             'make',
             'build-test-integration',
             'REPORTER=mocha-tbpl-reporter',
             'NODE_MODULES_SRC=npm-cache',
             'VIRTUALENV_EXISTS=1',
             'TRY_ENV=1'
-        ], cwd=dirs['abs_gaia_dir'],
+        ]
+
+        # for Mulet
+        if 'firefox' in self.binary_path:
+            cmd += ['RUNTIME=%s' % self.binary_path]
+
+        code = self.run_command(cmd, cwd=dirs['abs_gaia_dir'],
            output_parser=output_parser,
            output_timeout=600)
 
         output_parser.print_summary('gaia-build-integration-tests')
         self.publish(code)
 
 if __name__ == '__main__':
     gaia_build_integration_test = GaiaBuildIntegrationTest()
--- a/testing/taskcluster/tasks/branches/base_jobs.yml
+++ b/testing/taskcluster/tasks/branches/base_jobs.yml
@@ -97,16 +97,18 @@ tests:
   crashtest:
     allowed_build_tasks:
       tasks/builds/b2g_emulator_ics_opt.yml:
         task: tasks/tests/b2g_emulator_crashtest.yml
   gaia-build:
     allowed_build_tasks:
       tasks/builds/b2g_desktop_opt.yml:
         task: tasks/tests/b2g_build_test.yml
+      tasks/builds/mulet_linux.yml:
+        task: tasks/tests/mulet_build_test.yml
   gaia-build-unit:
     allowed_build_tasks:
       tasks/builds/b2g_desktop_opt.yml:
         task: tasks/tests/b2g_build_unit.yml
       tasks/builds/mulet_linux.yml:
         task: tasks/tests/mulet_build_unit.yml
   gaia-js-integration:
     allowed_build_tasks:
--- a/testing/taskcluster/tasks/branches/try/job_flags.yml
+++ b/testing/taskcluster/tasks/branches/try/job_flags.yml
@@ -200,16 +200,18 @@ tests:
   crashtest:
     allowed_build_tasks:
       tasks/builds/b2g_emulator_ics_opt.yml:
         task: tasks/tests/b2g_emulator_crashtest.yml
   gaia-build:
     allowed_build_tasks:
       tasks/builds/b2g_desktop_opt.yml:
         task: tasks/tests/b2g_build_test.yml
+      tasks/builds/mulet_linux.yml:
+        task: tasks/tests/mulet_build_test.yml
   gaia-build-unit:
     allowed_build_tasks:
       tasks/builds/b2g_desktop_opt.yml:
         task: tasks/tests/b2g_build_unit.yml
       tasks/builds/mulet_linux.yml:
         task: tasks/tests/mulet_build_unit.yml
   gaia-js-integration:
     allowed_build_tasks:
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/mulet_build_test.yml
@@ -0,0 +1,40 @@
+---
+$inherits:
+  from: 'tasks/test.yml'
+task:
+  metadata:
+    name: '[TC] - Gaia Build Test'
+    description: Gaia Build Test test run
+
+  payload:
+    command:
+      - entrypoint # entrypoint ensures we are running in xvfb
+      - ./bin/pull_gaia.sh &&
+      - >
+        python ./mozharness/scripts/gaia_build_integration.py
+        --application firefox
+        --no-read-buildbot-config
+        --config-file ./mozharness/configs/b2g/gaia_integration_config.py
+        --config-file ./mozharness_configs/gaia_integration_override.py
+        --config-file ./mozharness_configs/remove_executables.py
+        --installer-url {{build_url}}
+        --no-pull
+        --test-packages-url {{test_packages_url}}
+        --download-symbols ondemand
+        --gaia-repo https://hg.mozilla.org/integration/gaia-central
+        --gaia-dir /home/worker
+        --xre-url https://queue.taskcluster.net/v1/task/wXAHAaxDQpqxoWF1iljJjg/runs/0/artifacts/public/cache/xulrunner-sdk-40.zip
+    artifacts:
+      'public/build':
+        type: directory
+        path: '/home/worker/artifacts/'
+        expires: '{{#from_now}}1 year{{/from_now}}'
+
+  extra:
+    treeherderEnv:
+      - production
+      - staging
+    treeherder:
+      groupSymbol: "?"
+      symbol: 'Gb'
+      productName: b2g