Bug 1517298 - TB Mochhitest configuration for taskcluster. r=darktrojan
authorRob Lemley <rob@thunderbird.net>
Wed, 16 Jan 2019 20:56:17 +0000
changeset 33450 3c26a13818d0
parent 33449 655c34c266f6
child 33451 bfa78ee4ab64
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdarktrojan
bugs1517298
Bug 1517298 - TB Mochhitest configuration for taskcluster. r=darktrojan Adds the necessary taskcluster and mozharness configuration for Thunderbird Mochitests. Note that the addition of "all_mochitest_suites" in thunderbird_extra.py will replace the inherited list of mochitests from "*_taskcluster_unittest.py". Differential Revision: https://phabricator.services.mozilla.com/D16376
mozharness/unittests/thunderbird_extra.py
taskcluster/ci/config.yml
taskcluster/ci/test/kind.yml
taskcluster/ci/test/test-sets.yml
taskcluster/ci/test/tests.yml
--- a/mozharness/unittests/thunderbird_extra.py
+++ b/mozharness/unittests/thunderbird_extra.py
@@ -13,9 +13,13 @@ config = {
         "marionette/*",
         "modules/*",
         "mozbase/*",
         "tools/*",
     ],
     "all_mozmill_suites": {
         "mozmill": ["--list=tests/mozmill/mozmilltests.list"],
     },
+    "all_mochitest_suites": {
+        "browser-chrome-thunderbird": ["--flavor=browser",
+                                       "--subsuite=thunderbird"],
+    },
 }
--- a/taskcluster/ci/config.yml
+++ b/taskcluster/ci/config.yml
@@ -13,16 +13,20 @@ treeherder:
         'TW32': 'Toolchain builds for Windows 32-bits'
         'TW64': 'Toolchain builds for Windows 64-bits'
         'Deb7': 'Packages for Debian 7'
         'Deb7-32': 'Packages for Debian 7 32-bits'
         'Deb9': 'Packages for Debian 9'
         'Fetch-URL': 'Fetch and store content'
         'L10n': 'Localised Repacks'
         'L10n-Rpk': 'Localized Repackaged Repacks'
+        'M': 'Mochitests'
+        'M-sw': 'Mochitests with serviceworker redesign'
+        'M-e10s': 'Mochitests with e10s'
+        'M-sw-e10s': 'Mochitests with serviceworker redesign and e10s'
         'ms': 'Complete MAR signing'
         'MSI': 'Repack installers into MSIs'
         'MSIs': 'Signing of Repacked installers of MSIs'
         'rs': 'Repackage signing'
         'BM': 'Beetmover'
         'BMR': 'Beetmover repackages'
         'c-Up': 'Balrog submission of complete updates'
         'cs': 'Checksum signing'
--- a/taskcluster/ci/test/kind.yml
+++ b/taskcluster/ci/test/kind.yml
@@ -2,16 +2,18 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 loader: taskgraph.loader.test:loader
 
 kind-dependencies:
     - build
     - build-signing
+    - fetch
+    - toolchain
 
 transforms:
     - taskgraph.transforms.tests:transforms
     - taskgraph.transforms.job:transforms
     - taskgraph.transforms.task:transforms
 
 jobs-from:
     - tests.yml
--- a/taskcluster/ci/test/test-sets.yml
+++ b/taskcluster/ci/test/test-sets.yml
@@ -13,8 +13,9 @@
 # Universal tests
 #
 # Tests that run just about everywhere; common-tests is the shared core, with
 # a few add-on test sets that are included or omitted on some platforms.
 
 common-tests:
     - xpcshell
     - mozmill
+    - mochitest-thunderbird
--- a/taskcluster/ci/test/tests.yml
+++ b/taskcluster/ci/test/tests.yml
@@ -100,8 +100,35 @@ mozmill:
                     - unittests/thunderbird_extra.py
                 linux.*:
                     - unittests/linux_unittest.py
                     - remove_executables.py
                     - unittests/thunderbird_extra.py
         extra-options:
             - "--mozmill-suite=mozmill"
         requires-signed-builds: false
+
+mochitest-thunderbird:
+    description: "Mochitest browser-chrome-thunderbird run"
+    suite: mochitest/browser-chrome-thunderbird
+    treeherder-symbol: M(bct)
+    run-on-projects: []  # Don't run during testing phase
+    loopback-video: true
+    max-run-time: 3600
+    e10s: true
+    serviceworker-e10s: false
+    mozharness:
+        script: desktop_unittest.py
+        mochitest-flavor: browser
+        config:
+            by-test-platform:
+                windows.*:
+                    - unittests/win_taskcluster_unittest.py
+                    - unittests/thunderbird_extra.py
+                macosx64.*:
+                    - unittests/mac_unittest.py
+                    - unittests/thunderbird_extra.py
+                linux.*:
+                    - unittests/linux_unittest.py
+                    - remove_executables.py
+                    - unittests/thunderbird_extra.py
+    instance-size: default
+    allow-software-gl-layers: false