Bug 1048446 - [taskcluster] Add a 'mochitest selftest' task that depends on a build, r=dustin
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Wed, 31 May 2017 13:52:29 -0400
changeset 411398 c7bcf4a7e382c840f26031f5507b04e7d695b356
parent 411397 b2d113409e2195b5e70b17c52364acdf72dd575c
child 411399 913b05b92f32cdb3ab15a39303eaf3d312aad1e3
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)
reviewersdustin
bugs1048446
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 1048446 - [taskcluster] Add a 'mochitest selftest' task that depends on a build, r=dustin These are integration tests for testing the mochitest framework itself. MozReview-Commit-ID: Jqyhbj7nC6z
taskcluster/ci/source-test/python-tests.yml
--- a/taskcluster/ci/source-test/python-tests.yml
+++ b/taskcluster/ci/source-test/python-tests.yml
@@ -45,16 +45,52 @@ marionette-harness:
     when:
         files-changed:
           - 'testing/marionette/harness/**'
           - 'testing/mozbase/mozlog/mozlog/**'
           - 'testing/mozbase/mozlog/setup.py'
           - 'testing/mozbase/packages.txt'
           - 'python/mach_commands.py'
 
+mochitest-harness:
+    description: testing/mochitest unittests
+    platform: linux64/opt
+    require-build: true
+    treeherder:
+        symbol: py(mch)
+        kind: test
+        tier: 2
+    worker-type:
+        by-platform:
+            linux64.*: aws-provisioner-v1/gecko-t-linux-xlarge
+    worker:
+        by-platform:
+            linux64.*:
+                docker-image: {in-tree: "desktop1604-test"}
+                max-run-time: 3600
+    run:
+        using: run-task
+        command: >
+            source /home/worker/scripts/xvfb.sh &&
+            start_xvfb '1600x1200x24' 0 &&
+            cd /home/worker/checkouts/gecko &&
+            ./mach python-test --subsuite mochitest
+    run-on-projects:
+        - integration
+        - release
+    when:
+        files-changed:
+            - 'config/mozunit.py'
+            - 'python/mach_commands.py'
+            - 'testing/mochitest/**'
+            - 'testing/mozharness/mozharness/base/log.py'
+            - 'testing/mozharness/mozharness/mozilla/structuredlog.py'
+            - 'testing/mozharness/mozharness/mozilla/testing/errors.py'
+            - 'testing/profiles/prefs_general.js'
+
 mozbase:
     description: testing/mozbase unit tests
     platform:
         - linux64/opt
     treeherder:
         symbol: py(mb)
         kind: test
         tier: 2