Bug 1269872 - add taskcluster definitions for gpu/clipboard. r=gbrown
authorJoel Maher <jmaher@mozilla.com>
Fri, 27 May 2016 05:14:21 -0400
changeset 372105 605b0b7d5feda5382c01e5e504119a5092a4e272
parent 372104 59ce575d21f13a723f0c7610b13fd597f36736d2
child 372106 3098ba832e42bb289a3951c5b7a9b3147b59aab5
child 372113 2d977c9e8e3d28b93594db8d495a006fe85c768e
child 372114 aaee32007483a7615aa6013a40cb7608e754ae27
child 372269 ae4edc34f3d140f39baa888d8e54c25a045ecc7b
child 373493 bef63b0fc90563916aa145f3d79ce98616baaf72
push id19437
push userdburns@mozilla.com
push dateFri, 27 May 2016 11:32:28 +0000
reviewersgbrown
bugs1269872
milestone49.0a1
Bug 1269872 - add taskcluster definitions for gpu/clipboard. r=gbrown MozReview-Commit-ID: HRklImbGwZx
testing/taskcluster/tasks/branches/base_job_flags.yml
testing/taskcluster/tasks/branches/base_jobs.yml
testing/taskcluster/tasks/tests/fx_linux64_mochitest_clipboard.yml
testing/taskcluster/tasks/tests/fx_linux64_mochitest_clipboard_dbg.yml
testing/taskcluster/tasks/tests/fx_linux64_mochitest_clipboard_e10s.yml
testing/taskcluster/tasks/tests/fx_linux64_mochitest_clipboard_e10s_dbg.yml
testing/taskcluster/tasks/tests/fx_linux64_mochitest_clipboard_e10s_opt.yml
testing/taskcluster/tasks/tests/fx_linux64_mochitest_clipboard_opt.yml
testing/taskcluster/tasks/tests/fx_linux64_mochitest_gpu.yml
testing/taskcluster/tasks/tests/fx_linux64_mochitest_gpu_dbg.yml
testing/taskcluster/tasks/tests/fx_linux64_mochitest_gpu_e10s.yml
testing/taskcluster/tasks/tests/fx_linux64_mochitest_gpu_e10s_dbg.yml
testing/taskcluster/tasks/tests/fx_linux64_mochitest_gpu_e10s_opt.yml
testing/taskcluster/tasks/tests/fx_linux64_mochitest_gpu_opt.yml
--- a/testing/taskcluster/tasks/branches/base_job_flags.yml
+++ b/testing/taskcluster/tasks/branches/base_job_flags.yml
@@ -52,16 +52,20 @@ flags:
     mochitest-bc-e10s: /mochitest-browser-chrome-e10s.*/
     mochitest-browser-chrome: /mochitest-browser-chrome.*/
     mochitest-browser-chrome-e10s: /mochitest-browser-chrome-e10s.*/
     mochitest-chrome: /.*mochitest-chrome.*/
     mochitest-dt: /mochitest-devtools-chrome.*/
     mochitest-dt-e10s: /mochitest-devtools-chrome-e10s.*/
     mochitest-gl: /mochitest-webgl.*/
     mochitest-gl-e10s: /mochitest-webgl-e10s.*/
+    mochitest-gpu: /mochitest-gpu.*/
+    mochitest-gpu-e10s: /mochitest-gpu-e10s.*/
+    mochitest-clipboard: /mochitest-clipboard.*/
+    mochitest-clipboard-e10s: /mochitest-clipboard-e10s.*/
     mochitest-jetpack: /mochitest-jetpack.*/
     mochitest-media: /mochitest-media.*/
     mochitest-media-e10s: /mochitest-media-e10s.*/
     mochitest-vg: /mochitest-valgrind.*/
     reftest: /(plain-)?reftest.*/
     reftest-no-accel: /(plain-)?reftest-no-accel.*/
     reftests: /(plain-)?reftest.*/
     reftests-e10s: /(plain-)?reftest-e10s.*/
@@ -126,16 +130,20 @@ flags:
     - mochitest-devtools-chrome
     - mochitest-devtools-chrome-e10s
     - mochitest-e10s
     - mochitest-jetpack
     - mochitest-media
     - mochitest-media-e10s
     - mochitest-webgl
     - mochitest-webgl-e10s
+    - mochitest-gpu
+    - mochitest-gpu-e10s
+    - mochitest-clipboard
+    - mochitest-clipboard-e10s
     - mochitest-valgrind
     - mozmill
     - reftest
     - reftest-e10s
     - reftest-no-accel
     - reftest-no-accel-e10s
     - web-platform-tests
     - web-platform-tests-e10s
--- a/testing/taskcluster/tasks/branches/base_jobs.yml
+++ b/testing/taskcluster/tasks/branches/base_jobs.yml
@@ -377,16 +377,48 @@ tests:
   mochitest-webgl-e10s:
     allowed_build_tasks:
       tasks/builds/opt_linux64.yml:
         task: tasks/tests/fx_linux64_mochitest_gl_e10s_opt.yml
       tasks/builds/dbg_linux64.yml:
         task: tasks/tests/fx_linux64_mochitest_gl_e10s_dbg.yml
       tasks/builds/opt_linux64_pgo.yml:
         task: tasks/tests/fx_linux64_mochitest_gl_e10s_opt.yml
+  mochitest-gpu:
+    allowed_build_tasks:
+      tasks/builds/opt_linux64.yml:
+        task: tasks/tests/fx_linux64_mochitest_gpu_opt.yml
+      tasks/builds/dbg_linux64.yml:
+        task: tasks/tests/fx_linux64_mochitest_gpu_dbg.yml
+      tasks/builds/opt_linux64_pgo.yml:
+        task: tasks/tests/fx_linux64_mochitest_gpu_opt.yml
+  mochitest-gpu-e10s:
+    allowed_build_tasks:
+      tasks/builds/opt_linux64.yml:
+        task: tasks/tests/fx_linux64_mochitest_gpu_e10s_opt.yml
+      tasks/builds/dbg_linux64.yml:
+        task: tasks/tests/fx_linux64_mochitest_gpu_e10s_dbg.yml
+      tasks/builds/opt_linux64_pgo.yml:
+        task: tasks/tests/fx_linux64_mochitest_gpu_e10s_opt.yml
+  mochitest-clipboard:
+    allowed_build_tasks:
+      tasks/builds/opt_linux64.yml:
+        task: tasks/tests/fx_linux64_mochitest_clipboard_opt.yml
+      tasks/builds/dbg_linux64.yml:
+        task: tasks/tests/fx_linux64_mochitest_clipboard_dbg.yml
+      tasks/builds/opt_linux64_pgo.yml:
+        task: tasks/tests/fx_linux64_mochitest_clipboard_opt.yml
+  mochitest-clipboard-e10s:
+    allowed_build_tasks:
+      tasks/builds/opt_linux64.yml:
+        task: tasks/tests/fx_linux64_mochitest_clipboard_e10s_opt.yml
+      tasks/builds/dbg_linux64.yml:
+        task: tasks/tests/fx_linux64_mochitest_clipboard_e10s_dbg.yml
+      tasks/builds/opt_linux64_pgo.yml:
+        task: tasks/tests/fx_linux64_mochitest_clipboard_e10s_opt.yml
   reftest:
     allowed_build_tasks:
       tasks/builds/mulet_linux.yml:
         task: tasks/tests/mulet_reftests.yml
       tasks/builds/opt_linux64.yml:
         task: tasks/tests/fx_linux64_reftest_opt.yml
       tasks/builds/dbg_linux64.yml:
         task: tasks/tests/fx_linux64_reftest_dbg.yml
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/fx_linux64_mochitest_clipboard.yml
@@ -0,0 +1,34 @@
+---
+$inherits:
+  from: 'tasks/tests/fx_desktop_generic.yml'
+task:
+  payload:
+    capabilities:
+      devices:
+        loopbackVideo: true
+    command:
+      - --no-read-buildbot-config
+      - --installer-url={{build_url}}
+      - --test-packages-url={{test_packages_url}}
+      - --{{suite}}-suite={{flavor}}
+      - --total-chunk={{total_chunks}}
+      - --this-chunk={{chunk}}
+    env:
+        MOZHARNESS_SCRIPT: 'mozharness/scripts/desktop_unittest.py'
+        # TODO move linux_unittest.py to a platform specific config
+        MOZHARNESS_CONFIG: >
+          mozharness/configs/unittests/linux_unittest.py
+          mozharness/configs/remove_executables.py
+  scopes:
+    - 'docker-worker:capability:device:loopbackVideo'
+  metadata:
+    name: '[TC] Linux64 mochitest-clipboard'
+    description: Mochitest clipboard run
+  extra:
+    suite:
+      name: mochitest
+      flavor: plain-clipboard,chrome-clipboard,browser-chrome-clipboard,jetpack-package-clipboard
+    treeherder:
+      groupName: Desktop mochitests
+      groupSymbol: tc-M
+      symbol: cl
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/fx_linux64_mochitest_clipboard_dbg.yml
@@ -0,0 +1,6 @@
+$inherits:
+  from: 'tasks/tests/fx_linux64_mochitest_clipboard.yml'
+task:
+  payload:
+    command:
+      - --download-symbols=true
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/fx_linux64_mochitest_clipboard_e10s.yml
@@ -0,0 +1,35 @@
+---
+$inherits:
+  from: 'tasks/tests/fx_desktop_generic.yml'
+task:
+  payload:
+    capabilities:
+      devices:
+        loopbackVideo: true
+    command:
+      - --no-read-buildbot-config
+      - --installer-url={{build_url}}
+      - --test-packages-url={{test_packages_url}}
+      - --{{suite}}-suite={{flavor}}
+      - --total-chunk={{total_chunks}}
+      - --this-chunk={{chunk}}
+      - --e10s
+    env:
+        MOZHARNESS_SCRIPT: 'mozharness/scripts/desktop_unittest.py'
+        # TODO move linux_unittest.py to a platform specific config
+        MOZHARNESS_CONFIG: >
+          mozharness/configs/unittests/linux_unittest.py
+          mozharness/configs/remove_executables.py
+  scopes:
+    - 'docker-worker:capability:device:loopbackVideo'
+  metadata:
+    name: '[TC] Linux64 mochitest-clipboard-e10s'
+    description: Mochitest clipboard e10s run
+  extra:
+    suite:
+      name: mochitest
+      flavor: plain-clipboard,chrome-clipboard,browser-chrome-clipboard,jetpack-package-clipboard
+    treeherder:
+      groupName: Desktop mochitests
+      groupSymbol: tc-M-e10s
+      symbol: cl
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/fx_linux64_mochitest_clipboard_e10s_dbg.yml
@@ -0,0 +1,7 @@
+$inherits:
+  from: 'tasks/tests/fx_linux64_mochitest_clipboard_e10s.yml'
+task:
+  payload:
+    command:
+      - --download-symbols=true
+
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/fx_linux64_mochitest_clipboard_e10s_opt.yml
@@ -0,0 +1,10 @@
+---
+$inherits:
+  from: 'tasks/tests/fx_linux64_mochitest_clipboard_e10s.yml'
+task:
+  payload:
+    command:
+      - --download-symbols=ondemand
+  extra:
+    treeherder:
+      tier: 2
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/fx_linux64_mochitest_clipboard_opt.yml
@@ -0,0 +1,9 @@
+$inherits:
+  from: 'tasks/tests/fx_linux64_mochitest_clipboard.yml'
+task:
+  payload:
+    command:
+      - --download-symbols=ondemand
+  extra:
+    treeherder:
+      tier: 2
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/fx_linux64_mochitest_gpu.yml
@@ -0,0 +1,33 @@
+$inherits:
+  from: 'tasks/tests/fx_desktop_generic.yml'
+task:
+  payload:
+    capabilities:
+      devices:
+        loopbackVideo: true
+    command:
+      - --no-read-buildbot-config
+      - --installer-url={{build_url}}
+      - --test-packages-url={{test_packages_url}}
+      - --{{suite}}-suite={{flavor}}
+      - --total-chunk={{total_chunks}}
+      - --this-chunk={{chunk}}
+    env:
+        MOZHARNESS_SCRIPT: 'mozharness/scripts/desktop_unittest.py'
+        # TODO move linux_unittest.py to a platform specific config
+        MOZHARNESS_CONFIG: >
+          mozharness/configs/unittests/linux_unittest.py
+          mozharness/configs/remove_executables.py
+  scopes:
+    - 'docker-worker:capability:device:loopbackVideo'
+  metadata:
+    name: '[TC] Linux64 mochitest-gpu'
+    description: Mochitest GPU run
+  extra:
+    suite:
+      name: mochitest
+      flavor: plain-gpu,chrome-gpu,browser-chrome-gpu
+    treeherder:
+      groupName: Desktop mochitests
+      groupSymbol: tc-M
+      symbol: gpu
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/fx_linux64_mochitest_gpu_dbg.yml
@@ -0,0 +1,6 @@
+$inherits:
+  from: 'tasks/tests/fx_linux64_mochitest_gpu.yml'
+task:
+  payload:
+    command:
+      - --download-symbols=true
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/fx_linux64_mochitest_gpu_e10s.yml
@@ -0,0 +1,34 @@
+$inherits:
+  from: 'tasks/tests/fx_desktop_generic.yml'
+task:
+  payload:
+    capabilities:
+      devices:
+        loopbackVideo: true
+    command:
+      - --no-read-buildbot-config
+      - --installer-url={{build_url}}
+      - --test-packages-url={{test_packages_url}}
+      - --{{suite}}-suite={{flavor}}
+      - --total-chunk={{total_chunks}}
+      - --this-chunk={{chunk}}
+      - --e10s
+    env:
+        MOZHARNESS_SCRIPT: 'mozharness/scripts/desktop_unittest.py'
+        # TODO move linux_unittest.py to a platform specific config
+        MOZHARNESS_CONFIG: >
+          mozharness/configs/unittests/linux_unittest.py
+          mozharness/configs/remove_executables.py
+  scopes:
+    - 'docker-worker:capability:device:loopbackVideo'
+  metadata:
+    name: '[TC] Linux64 mochitest-gpu-e10s'
+    description: Mochitest GPU e10s run
+  extra:
+    suite:
+      name: mochitest
+      flavor: plain-gpu,chrome-gpu,browser-chrome-gpu
+    treeherder:
+      groupName: Desktop mochitests
+      groupSymbol: tc-M-e10s
+      symbol: gpu
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/fx_linux64_mochitest_gpu_e10s_dbg.yml
@@ -0,0 +1,7 @@
+$inherits:
+  from: 'tasks/tests/fx_linux64_mochitest_gpu_e10s.yml'
+task:
+  payload:
+    command:
+      - --download-symbols=true
+
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/fx_linux64_mochitest_gpu_e10s_opt.yml
@@ -0,0 +1,9 @@
+$inherits:
+  from: 'tasks/tests/fx_linux64_mochitest_gpu_e10s.yml'
+task:
+  payload:
+    command:
+      - --download-symbols=ondemand
+  extra:
+    treeherder:
+      tier: 2
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/fx_linux64_mochitest_gpu_opt.yml
@@ -0,0 +1,9 @@
+$inherits:
+  from: 'tasks/tests/fx_linux64_mochitest_gpu.yml'
+task:
+  payload:
+    command:
+      - --download-symbols=ondemand
+  extra:
+    treeherder:
+      tier: 2