Bug 1228632 - Add TaskCluster task test definitions for Linux64 (it won't schedule). r=ahal

You need other changes to schedule these tasks but this patch lays down the ground for it.

--HG--
rename : testing/taskcluster/tasks/tests/fx_unittest_base.yml => testing/taskcluster/tasks/tests/fx_test_base.yml
extra : commitid : 8ZJ2OXFkr4b
extra : rebase_source : 7ab6dec3c7c19b6f9d251913245b6e0e84904468
This commit is contained in:
Armen Zambrano Gasparnian 2015-12-04 16:44:51 -05:00
Родитель 45dd67c79a
Коммит c4d60c597c
30 изменённых файлов: 550 добавлений и 42 удалений

Просмотреть файл

@ -26,26 +26,44 @@ flags:
# with "foobar-7". Note that a few aliases allowed chunks to be specified
# without a leading `-`, for example 'mochitest-dt1'. That's no longer
# supported.
mochitest: /mochitest.*/
mochitests: /mochitest.*/
jittest: /jittest.*/
jittests: /jittest.*/
mochitest-debug: /mochitest-debug-.*/
mochitest-o: /.*mochitest-o.*/
mochitest-a11y: /.*mochitest-o.*/
xpcshell: /xpcshell.*/
robocop: /robocop.*/
mochitest-dt: /mochitest-devtools-chrome.*/
mochitest-gl: /mochitest-webgl.*/
mochitest-bc: /mochitest-browser-chrome.*/
mochitest-browser: /mochitest-browser-chrome.*/
reftest: /(plain-)?reftest.*/
reftests: /(plain-)?reftest.*/
web-platform-test: /web-platform-tests.*/
web-platform-tests: /web-platform-tests.*/
cppunit: /cppunit.*/
crashtest: /crashtest.*/
crashtest-e10s: /crashtest-e10s.*/
e10s: /.*e10s.*/
gaia-js-integration: /.*gaia-js-integration.*/
gaia-ui-test: /.*gaia-ui-test.*/
jittest: /jittest.*/
jittests: /jittest.*/
jsreftest: /jsreftest.*/
jsreftest-e10s: /jsreftest-e10s.*/
luciddream: /luciddream.*/
marionette: /marionette.*/
mochitest: /mochitest.*/
mochitests: /mochitest.*/
mochitest-e10s: /mochitest-e10s.*/
mochitests-e10s: /mochitest-e10s.*/
mochitest-debug: /mochitest-debug-.*/
mochitest-a11y: /.*mochitest-o.*/
mochitest-bc: /mochitest-browser-chrome.*/
mochitest-browser-chrome: /mochitest-browser-chrome.*/
mochitest-bc-e10s: /mochitest-browser-chrome-e10s.*/
mochitest-browser-chrome-e10s: /mochitest-browser-chrome-e10s.*/
mochitest-dt: /mochitest-devtools-chrome.*/
mochitest-dt-e10s: /mochitest-devtools-chrome-e10s.*/
mochitest-gl: /mochitest-webgl.*/
mochitest-o: /.*mochitest-o.*/
mochitest-other: /mochitest-other.*/
mochitest-push: /mochitest-push.*/
reftest: /(plain-)?reftest.*/
reftest-no-accel: /(plain-)?reftest-no-accel.*/
reftests: /(plain-)?reftest.*/
reftests-e10s: /(plain-)?reftest-e10s.*/
robocop: /robocop.*/
web-platform-test: /web-platform-tests.*/
web-platform-tests: /web-platform-tests.*/
web-platform-tests-e10s: /web-platform-tests-e10s.*/
web-platform-tests-reftests: /web-platform-tests-reftests.*/
xpcshell: /xpcshell.*/
builds:
- emulator
@ -90,6 +108,7 @@ flags:
tests:
- cppunit
- crashtest
- crashtest-e10s
- crashtest-ipc
- gaia-build
- gaia-build-unit
@ -104,17 +123,31 @@ flags:
- jetpack
- jittests
- jsreftest
- jsreftest-e10s
- luciddream
- marionette
- marionette-webapi
- mochitest
- mochitest-browser-chrome
- mochitest-browser-chrome-e10s
- mochitest-devtools-chrome
- mochitest-devtools-chrome-e10s
- mochitest-e10s
- mochitest-jetpack
- mochitest-media
- mochitest-oop
- mochitest-other
- mochitest-push
- mochitest-webgl
#- mochitest-webgl -- disabled per bug 1227637 / bug 1220658
- mozmill
- reftest
- reftest-e10s
- reftest-ipc
- reftest-no-accel
- reftest-sanity-oop
- web-platform-tests
- web-platform-tests-e10s
- web-platform-tests-reftests
- xpcshell

Просмотреть файл

@ -0,0 +1,8 @@
---
$inherits:
from: 'tasks/tests/fx_test_base.yml'
task:
payload:
command:
- bash
- /home/worker/bin/test.sh

Просмотреть файл

@ -1,9 +1,8 @@
---
$inherits:
from: 'tasks/test.yml'
from: 'tasks/tests/fx_test_base.yml'
task:
payload:
image: '{{#docker_image}}desktop-test{{/docker_image}}'
command:
- bash
- /home/worker/bin/test.sh
@ -15,22 +14,8 @@ task:
- --total-chunk={{total_chunks}}
- --this-chunk={{chunk}}
env:
NEED_WINDOW_MANAGER: true
NEED_PULSEAUDIO: true
GECKO_HEAD_REPOSITORY: '{{{head_repository}}}'
GECKO_HEAD_REV: '{{{head_rev}}}'
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
artifacts:
'public/build':
type: directory
path: '/home/worker/artifacts/'
expires: '{{#from_now}}1 year{{/from_now}}'
extra:
treeherderEnv:
- production
- staging

Просмотреть файл

@ -0,0 +1,26 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_generic.yml'
task:
payload:
command:
- --no-read-buildbot-config
- --installer-url={{build_url}}
- --test-packages-url={{test_packages_url}}
- --download-symbols=ondemand
- --cppunittest-suite=cppunittest
env:
MOZHARNESS_SCRIPT: 'mozharness/scripts/desktop_unittest.py'
MOZHARNESS_CONFIG: >
mozharness/configs/unittests/linux_unittest.py
mozharness/configs/remove_executables.py
metadata:
name: '[TC] Linux64 cppunit'
description: CPP unit tests
extra:
suite:
name: cppunittest
flavor: cppunittest
treeherder:
groupName: Desktop cppunit
symbol: Cpp

Просмотреть файл

@ -0,0 +1,15 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
metadata:
name: '[TC] Linux64 crashtest'
description: Crashtest run
extra:
suite:
name: reftest
flavor: crashtest
treeherder:
groupName: Desktop crashtest
groupSymbol: tc-R
symbol: C

Просмотреть файл

@ -0,0 +1,18 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
payload:
command:
- --e10s
metadata:
name: '[TC] Linux64 crashtest e10s'
description: Crashtest e10s run
extra:
suite:
name: reftest
flavor: crashtest
treeherder:
groupName: Desktop crashtest e10s
groupSymbol: tc-R-e10s
symbol: C

Просмотреть файл

@ -0,0 +1,16 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
metadata:
name: '[TC] Linux64 jittests {{chunk}}'
description: Jittests run {{chunk}}
extra:
chunks:
total: 2
suite:
name: jittest
flavor: jittests-chunked
treeherder:
groupName: Desktop jittests
symbol: Jit{{chunk}}

Просмотреть файл

@ -0,0 +1,15 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
metadata:
name: '[TC] Linux64 jsreftest'
description: Jsreftest run
extra:
suite:
name: reftest
flavor: jsreftest
treeherder:
groupName: Desktop jsreftest
groupSymbol: tc-R
symbol: J

Просмотреть файл

@ -0,0 +1,18 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
payload:
command:
- --e10s
metadata:
name: '[TC] Linux64 jsreftest e10s'
description: Jsreftest e10s run
extra:
suite:
name: reftest
flavor: jsreftest
treeherder:
groupName: Desktop jsreftest
groupSymbol: tc-R-e10s
symbol: J

Просмотреть файл

@ -0,0 +1,19 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_generic.yml'
task:
payload:
command:
- --no-read-buildbot-config
- --installer-url={{build_url}}
- --test-packages-url={{test_packages_url}}
env:
MOZHARNESS_SCRIPT: 'mozharness/scripts/luciddream_unittest.py'
MOZHARNESS_CONFIG: >
mozharness/configs/luciddream/linux_config.py
metadata:
name: '[TC] Linux64 luciddream'
description: Luciddream run
extra:
treeherder:
symbol: Ld

Просмотреть файл

@ -0,0 +1,25 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_generic.yml'
task:
payload:
command:
- --no-read-buildbot-config
- --installer-url={{build_url}}
- --test-packages-url={{test_packages_url}}
- --download-symbols=ondemand
env:
MOZHARNESS_SCRIPT: 'mozharness/scripts/marionette.py'
MOZHARNESS_CONFIG: >
mozharness/configs/marionette/prod_config.py
mozharness/configs/remove_executables.py
metadata:
name: '[TC] Linux64 marionette'
description: Marionette unittest run
extra:
suite:
name: marionette
flavor: marionette
treeherder:
groupName: Desktop marionette
symbol: Mn

Просмотреть файл

@ -1,6 +1,6 @@
---
$inherits:
from: 'tasks/tests/fx_unittest_base.yml'
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
scopes:
- 'docker-worker:capability:device:loopbackVideo'

Просмотреть файл

@ -0,0 +1,29 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
payload:
command:
- --e10s
scopes:
- 'docker-worker:capability:device:loopbackVideo'
- 'docker-worker:capability:device:loopbackAudio'
metadata:
name: '[TC] Linux64 mochitest-browser-chrome e10s M(bc{{chunk}})'
description: Mochitest browser-chrome e10s run {{chunk}}
payload:
capabilities:
devices:
loopbackVideo: true
loopbackAudio: true
extra:
chunks:
total: 7
suite:
name: mochitest
flavor: browser-chrome-chunked
treeherder:
groupName: Desktop mochitests
groupSymbol: tc-M-e10s
symbol: bc{{chunk}}

Просмотреть файл

@ -1,6 +1,6 @@
---
$inherits:
from: 'tasks/tests/fx_unittest_base.yml'
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
scopes:
- 'docker-worker:capability:device:loopbackVideo'
@ -15,7 +15,7 @@ task:
loopbackAudio: true
extra:
chunks:
total: 2
total: 8
suite:
name: mochitest
flavor: mochitest-devtools-chrome

Просмотреть файл

@ -0,0 +1,28 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
payload:
command:
- --e10s
scopes:
- 'docker-worker:capability:device:loopbackVideo'
- 'docker-worker:capability:device:loopbackAudio'
metadata:
name: '[TC] Linux64 mochitest-devtools-chrome e10s M(dt{{chunk}})'
description: Mochitest devtools-chrome e10s run {{chunk}}
payload:
capabilities:
devices:
loopbackVideo: true
loopbackAudio: true
extra:
chunks:
total: 8
suite:
name: mochitest
flavor: mochitest-devtools-chrome
treeherder:
groupName: Desktop mochitests
groupSymbol: tc-M-e10s
symbol: dt{{chunk}}

Просмотреть файл

@ -1,5 +1,5 @@
$inherits:
from: 'tasks/tests/fx_unittest_base.yml'
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
scopes:
- 'docker-worker:capability:device:loopbackVideo'

Просмотреть файл

@ -0,0 +1,26 @@
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
payload:
command:
- --mochitesttest-suite=jetpack-addon
env:
scopes:
- 'docker-worker:capability:device:loopbackVideo'
- 'docker-worker:capability:device:loopbackAudio'
metadata:
name: '[TC] Linux64 mochitest-jetpack'
description: Mochitest jetpack run
payload:
capabilities:
devices:
loopbackVideo: true
loopbackAudio: true
extra:
suite:
name: mochitest
flavor: jetpack-package
treeherder:
groupName: Desktop mochitests
groupSymbol: tc-M
symbol: J

Просмотреть файл

@ -0,0 +1,22 @@
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
scopes:
- 'docker-worker:capability:device:loopbackVideo'
- 'docker-worker:capability:device:loopbackAudio'
metadata:
name: '[TC] Linux64 mochitest-other'
description: Mochitest other run
payload:
capabilities:
devices:
loopbackVideo: true
loopbackAudio: true
extra:
suite:
name: mochitest
flavor: mochitest-other
treeherder:
groupName: Desktop mochitests
groupSymbol: tc-M
symbol: oth

Просмотреть файл

@ -1,6 +1,6 @@
---
$inherits:
from: 'tasks/tests/fx_unittest_base.yml'
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
scopes:
- 'docker-worker:capability:device:loopbackVideo'

Просмотреть файл

@ -0,0 +1,28 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
payload:
command:
- --e10s
scopes:
- 'docker-worker:capability:device:loopbackVideo'
- 'docker-worker:capability:device:loopbackAudio'
metadata:
name: '[TC] Linux64 mochitest-plain e10s {{chunk}}'
description: Mochitest plain e10s run {{chunk}}
payload:
capabilities:
devices:
loopbackVideo: true
loopbackAudio: true
extra:
chunks:
total: 5
suite:
name: mochitest
flavor: plain-chunked
treeherder:
groupName: Desktop mochitests
groupSymbol: tc-M-e10s
symbol: {{chunk}}

Просмотреть файл

@ -0,0 +1,22 @@
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
scopes:
- 'docker-worker:capability:device:loopbackVideo'
- 'docker-worker:capability:device:loopbackAudio'
metadata:
name: '[TC] Linux64 mochitest-push M(p)'
description: Mochitest push run
payload:
capabilities:
devices:
loopbackVideo: true
loopbackAudio: true
extra:
suite:
name: mochitest
flavor: mochitest-push
treeherder:
groupName: Desktop mochitests
groupSymbol: tc-M
symbol: p

Просмотреть файл

@ -1,6 +1,6 @@
---
$inherits:
from: 'tasks/tests/fx_unittest_base.yml'
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
metadata:
name: '[TC] Linux64 reftest {{chunk}}'
@ -14,4 +14,4 @@ task:
treeherder:
groupName: Desktop reftest
groupSymbol: tc-R
symbol: {{chunk}}
symbol: R{{chunk}}

Просмотреть файл

@ -0,0 +1,20 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
payload:
command:
- --e10s
metadata:
name: '[TC] Linux64 reftest e10s {{chunk}}'
description: Reftest e10s run {{chunk}}
extra:
chunks:
total: 2
suite:
name: reftest
flavor: reftest
treeherder:
groupName: Desktop reftest
groupSymbol: tc-R-e10s
symbol: R-e10s{{chunk}}

Просмотреть файл

@ -0,0 +1,17 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
metadata:
name: '[TC] Linux64 reftest {{chunk}}'
description: Reftest not accelerated run {{chunk}}
extra:
chunks:
total: 2
suite:
name: reftest
flavor: reftest-no-accel
treeherder:
groupName: Desktop reftest not accelerated
groupSymbol: tc-R
symbol: Ru{{chunk}}

Просмотреть файл

@ -0,0 +1,31 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_generic.yml'
task:
payload:
command:
- --no-read-buildbot-config
- --installer-url={{build_url}}
- --test-packages-url={{test_packages_url}}
- --download-symbols=ondemand
- --test-type=testharness
- --total-chunk={{total_chunks}}
- --this-chunk={{chunk}}
env:
MOZHARNESS_SCRIPT: 'mozharness/scripts/web_platform_tests.py'
MOZHARNESS_CONFIG: >
mozharness/configs/web_platform_tests/prod_config.py
mozharness/configs/remove_executables.py
metadata:
name: '[TC] Linux64 web-platform-tests {{chunk}}'
description: Web platform tests run {{chunk}}
extra:
chunks:
total: 8
suite:
name: web-platform-tests
flavor: web-platform-tests
treeherder:
groupName: Desktop web-platform-tests
groupSymbol: tc-W
symbol: {{chunk}}

Просмотреть файл

@ -0,0 +1,29 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_generic.yml'
task:
payload:
command:
- --no-read-buildbot-config
- --installer-url={{build_url}}
- --test-packages-url={{test_packages_url}}
- --download-symbols=ondemand
- --test-type=testharness
- --e10s
- --total-chunk={{total_chunks}}
- --this-chunk={{chunk}}
env:
MOZHARNESS_SCRIPT: 'mozharness/scripts/web_platform_tests.py'
MOZHARNESS_CONFIG: >
mozharness/configs/web_platform_tests/prod_config.py
mozharness/configs/remove_executables.py
metadata:
name: '[TC] Linux64 web-platform-tests-e10s {{chunk}}'
description: Web platform e10s tests run {{chunk}}
extra:
chunks:
total: 8
treeherder:
groupName: Desktop web-platform-tests
groupSymbol: tc-W-e10s
symbol: {{chunk}}

Просмотреть файл

@ -0,0 +1,27 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_generic.yml'
task:
payload:
command:
- --no-read-buildbot-config
- --installer-url={{build_url}}
- --test-packages-url={{test_packages_url}}
- --download-symbols=ondemand
- --test-type=reftest
env:
MOZHARNESS_SCRIPT: 'mozharness/scripts/web_platform_tests.py'
MOZHARNESS_CONFIG: >
mozharness/configs/web_platform_tests/prod_config.py
mozharness/configs/remove_executables.py
metadata:
name: '[TC] Linux64 web-platform-tests-reftests'
description: Web platform reftest tests run
extra:
suite:
name: web-platform-tests-reftests
flavor: web-platform-tests-reftests
treeherder:
groupName: Desktop web-platform-tests
groupSymbol: tc-W
symbol: Wr

Просмотреть файл

@ -0,0 +1,28 @@
---
$inherits:
from: 'tasks/tests/fx_desktop_generic.yml'
task:
payload:
command:
- --no-read-buildbot-config
- --installer-url={{build_url}}
- --test-packages-url={{test_packages_url}}
- --download-symbols=ondemand
- --test-type=reftest
- --e10s
env:
MOZHARNESS_SCRIPT: 'mozharness/scripts/web_platform_tests.py'
MOZHARNESS_CONFIG: >
mozharness/configs/web_platform_tests/prod_config.py
mozharness/configs/remove_executables.py
metadata:
name: '[TC] Linux64 web-platform-tests-reftests-e10s'
description: Web platform reftest e10s test run
extra:
suite:
name: web-platform-tests-reftests
flavor: web-platform-tests-reftests
treeherder:
groupName: Desktop web-platform-tests
groupSymbol: tc-W-e10s
symbol: Wr

Просмотреть файл

@ -1,13 +1,13 @@
---
$inherits:
from: 'tasks/tests/fx_unittest_base.yml'
from: 'tasks/tests/fx_desktop_unittest.yml'
task:
metadata:
name: '[TC] Linux64 xpcshell {{chunk}}'
description: XPCShell run {{chunk}}
extra:
chunks:
total: 2
total: 4
suite:
name: xpcshell
flavor: xpcshell

Просмотреть файл

@ -0,0 +1,23 @@
---
$inherits:
from: 'tasks/test.yml'
task:
payload:
image: '{{#docker_image}}desktop-test{{/docker_image}}'
env:
NEED_WINDOW_MANAGER: true
NEED_PULSEAUDIO: true
GECKO_HEAD_REPOSITORY: '{{{head_repository}}}'
GECKO_HEAD_REV: '{{{head_rev}}}'
artifacts:
'public/build':
type: directory
path: '/home/worker/artifacts/'
expires: '{{#from_now}}1 year{{/from_now}}'
extra:
treeherder:
tier: 2
treeherderEnv:
- production
- staging