Bug 1349704 - set instance-size and e10s for linux64-ccov in test transform. r?jmaher
MozReview-Commit-ID: IvpDzLGApGj
--- a/taskcluster/ci/test/tests.yml
+++ b/taskcluster/ci/test/tests.yml
@@ -4,20 +4,16 @@
# for a description of the fields used here.
# Note that these are in lexical order
cppunit:
description: "CPP Unit Tests"
suite: cppunittest
treeherder-symbol: tc(Cpp)
- instance-size:
- by-test-platform:
- linux64-ccov/opt: xlarge
- default: default
e10s: false
docker-image: {"in-tree": "desktop1604-test"}
run-on-projects:
by-test-platform:
windows.*: ['mozilla-central', 'try']
linux64-qr/.*: ['graphics']
linux64-stylo/.*: [ 'stylo', 'autoland', 'mozilla-inbound', 'mozilla-central', 'try' ]
default: ['all']
@@ -63,17 +59,16 @@ crashtest:
chunks:
by-test-platform:
android-4.3-arm7-api-15/debug: 10
android.*: 4
default: 1
e10s:
by-test-platform:
windows.*: false # Bug 1304435
- linux64-ccov/opt: false
macosx64/debug: true
default: both
mozharness:
by-test-platform:
android.*:
script: android_emulator_unittest.py
no-read-buildbot-config: true
config:
@@ -172,51 +167,35 @@ external-media-tests-youtube:
- remove_executables.py
extra-options:
- "--suite=media-youtube-tests"
firefox-ui-functional-local:
description: "Firefox-ui-tests functional run"
suite: "firefox-ui/functional local"
treeherder-symbol: tc-Fxfn-l(en-US)
- instance-size:
- by-test-platform:
- linux64-ccov/opt: xlarge
- default: default
max-run-time: 5400
tier: 1
docker-image: {"in-tree": "desktop1604-test"}
- e10s:
- by-test-platform:
- linux64-ccov/opt: false
- default: both
mozharness:
script: firefox_ui_tests/functional.py
config:
- firefox_ui_tests/taskcluster.py
- remove_executables.py
extra-options:
- "--tag"
- "local"
firefox-ui-functional-remote:
description: "Firefox-ui-tests functional run"
suite: "firefox-ui/functional remote"
treeherder-symbol: tc-Fxfn-r(en-US)
- instance-size:
- by-test-platform:
- linux64-ccov/opt: xlarge
- default: default
max-run-time: 5400
tier: 2
docker-image: {"in-tree": "desktop1604-test"}
- e10s:
- by-test-platform:
- linux64-ccov/opt: false
- default: both
mozharness:
script: firefox_ui_tests/functional.py
config:
- firefox_ui_tests/taskcluster.py
- remove_executables.py
extra-options:
- "--tag"
- "remote"
@@ -247,20 +226,16 @@ gtest:
- remove_executables.py
extra-options:
- --gtest-suite=gtest
jittest:
description: "JIT Test run"
suite: jittest/jittest-chunked
treeherder-symbol: tc(Jit)
- instance-size:
- by-test-platform:
- linux64-ccov/opt: xlarge
- default: default
e10s: false
docker-image: {"in-tree": "desktop1604-test"}
run-on-projects:
by-test-platform:
linux64-qr/.*: ['graphics']
default: ['all']
chunks:
by-test-platform:
@@ -309,17 +284,16 @@ jsreftest:
linux64-qr/.*: 4
macosx.*: 2
default: 3
e10s:
by-test-platform:
# Bug 1321782
windows.*: false
android.*: false
- linux64-ccov/opt: false
macosx.*: true
default: both
max-run-time:
by-test-platform:
android.*: 7200
default: 3600
run-on-projects:
by-test-platform:
@@ -362,30 +336,28 @@ marionette:
treeherder-symbol: tc(Mn)
max-run-time:
by-test-platform:
android.*: 3600
default: 5400
instance-size:
by-test-platform:
android.*: xlarge
- linux64-ccov/opt: xlarge
default: default
docker-image: {"in-tree": "desktop1604-test"}
tier:
by-test-platform:
android.*: 2
default: default
chunks:
by-test-platform:
android.*: 10
default: 1
e10s:
by-test-platform:
- linux64-ccov/opt: false
macosx.*: true
default: both
mozharness:
by-test-platform:
android.*:
script: android_emulator_unittest.py
no-read-buildbot-config: true
config:
@@ -420,17 +392,16 @@ mochitest:
by-test-platform:
android-4.3-arm7-api-15/debug: 48
android.*: 20
macosx.*: 5
windows.*: 5
linux.*: 10
e10s:
by-test-platform:
- linux64-ccov/opt: false
linux64-jsdcov/opt: false
android.*: false
macosx64/debug: true
default: both
max-run-time:
by-test-platform:
android-4.3-arm7-api-15/debug: 10800
linux64-jsdcov/opt: 10800
@@ -467,20 +438,16 @@ mochitest:
- --mochitest-suite=plain-chunked-coverage
default:
- --mochitest-suite=plain-chunked
mochitest-a11y:
description: "Mochitest a11y run"
suite: mochitest/a11y
treeherder-symbol: tc-M(a11y)
- instance-size:
- by-test-platform:
- linux64-ccov/opt: xlarge
- default: default
loopback-video: true
e10s: false
docker-image: {"in-tree": "desktop1604-test"}
run-on-projects:
by-test-platform:
linux64-qr/.*: ['graphics']
default: ['all']
mozharness:
@@ -514,17 +481,16 @@ mochitest-browser-chrome:
linux64-jsdcov/opt: 35
linux64/debug: 12
linux32/debug: 12
linux64-asan/opt: 10
default: 7
e10s:
by-test-platform:
linux64-jsdcov/opt: false
- linux64-ccov/opt: false
macosx64/debug: true
default: both
max-run-time:
by-test-platform:
linux64-jsdcov/opt: 7200
linux64-ccov/opt: 7200
linux64/debug: 5400
linux32/debug: 5400
@@ -549,17 +515,16 @@ mochitest-browser-chrome:
linux64-jsdcov/opt:
- --mochitest-suite=browser-chrome-coverage
default:
- --mochitest-suite=browser-chrome-chunked
# Bug 1281241: migrating to m3.large instances
instance-size:
by-test-platform:
linux64-jsdcov/opt: xlarge
- linux64-ccov/opt: xlarge
default: legacy
allow-software-gl-layers: false
mochitest-browser-screenshots:
description: "Mochitest Browser Screenshots"
suite: mochitest/browser-chrome-screenshots
treeherder-symbol: tc-M(ss)
loopback-video: true
@@ -592,17 +557,16 @@ mochitest-browser-screenshots:
mochitest-chrome:
description: "Mochitest chrome run"
suite: mochitest/chrome
treeherder-symbol: tc-M(c)
loopback-video: true
instance-size:
by-test-platform:
android.*: xlarge
- linux64-ccov/opt: xlarge
default: default
chunks:
by-test-platform:
android-4.3-arm7-api-15/debug: 4
android.*: 2
default: 3
max-run-time: 3600
e10s: false
@@ -642,17 +606,16 @@ mochitest-clipboard:
description: "Mochitest clipboard run"
suite: mochitest/clipboard
treeherder-symbol: tc-M(cl)
loopback-video: true
instance-size: xlarge
e10s:
by-test-platform:
macosx64/debug: true
- linux64-ccov/opt: false
default: both
mozharness:
by-test-platform:
android.*:
mochitest-flavor: plain
script: android_emulator_unittest.py
no-read-buildbot-config: true
config:
@@ -693,17 +656,16 @@ mochitest-devtools-chrome:
macosx.*: 8
default: 10
run-on-projects:
by-test-platform:
windows.*: ['mozilla-central', 'try']
default: ['all']
e10s:
by-test-platform:
- linux64-ccov/opt: false
linux64-jsdcov/opt: false
# Bug 1304433: mochitest-devtools-chrome (e10s) not greened on windows
windows.*: false
macosx64/debug: true
default: both
mozharness:
mochitest-flavor: chrome
script: desktop_unittest.py
@@ -732,32 +694,27 @@ mochitest-devtools-chrome:
default: default
# Bug 1296086: high number of intermittents observed with software GL and large instances
allow-software-gl-layers: false
mochitest-gpu:
description: "Mochitest GPU run"
suite: mochitest/gpu
treeherder-symbol: tc-M(gpu)
- instance-size:
- by-test-platform:
- linux64-ccov/opt: xlarge
- default: default
loopback-video: true
docker-image: {"in-tree": "desktop1604-test"}
run-on-projects:
by-test-platform:
linux64-qr/.*: ['graphics']
default: ['all']
e10s:
by-test-platform:
windows.*: both
android.*: false
macosx64/opt: both
- linux64-ccov/opt: false
default: true
mozharness:
by-test-platform:
android.*:
mochitest-flavor: plain
script: android_emulator_unittest.py
no-read-buildbot-config: true
config:
@@ -782,20 +739,16 @@ mochitest-gpu:
- remove_executables.py
extra-options:
- --mochitest-suite=plain-gpu,chrome-gpu,browser-chrome-gpu
mochitest-jetpack:
description: "Mochitest jetpack run"
suite: mochitest/jetpack-package
treeherder-symbol: tc-M(JP)
- instance-size:
- by-test-platform:
- linux64-ccov/opt: xlarge
- default: default
loopback-video: true
e10s: false
max-run-time: 5400
docker-image: {"in-tree": "desktop1604-test"}
run-on-projects:
by-test-platform:
windows.*: ['mozilla-central', 'try']
default: ['all']
@@ -822,22 +775,20 @@ mochitest-media:
description: "Mochitest media run"
suite: mochitest/mochitest-media
treeherder-symbol: tc-M(mda)
max-run-time: 5400
loopback-video: true
e10s:
by-test-platform:
macosx64/debug: true
- linux64-ccov/opt: false
default: both
instance-size:
by-test-platform:
android.*: xlarge
- linux64-ccov/opt: xlarge
default: large
chunks:
by-test-platform:
android.*: 3
macosx64.*: 1
default: 3
docker-image: {"in-tree": "desktop1604-test"}
mozharness:
@@ -909,27 +860,25 @@ mochitest-webgl:
default: ['all']
chunks:
by-test-platform:
android.*: 10
default: 3
e10s:
by-test-platform:
macosx.*: true
- linux64-ccov/opt: false
default: both
loopback-video: true
max-run-time:
by-test-platform:
android.*: 7200
default: 3600
instance-size:
by-test-platform:
android.*: xlarge
- linux64-ccov/opt: xlarge
default: default
# Bug 1296733: llvmpipe with mesa 9.2.1 lacks thread safety
allow-software-gl-layers: false
mozharness:
by-test-platform:
android.*:
mochitest-flavor: plain
script: android_emulator_unittest.py
@@ -1021,17 +970,16 @@ reftest:
macosx64/debug: 2
default: 8
max-run-time:
by-test-platform:
android.*: 10800
default: 3600
e10s:
by-test-platform:
- linux64-ccov/opt: false
macosx.*: true
default: both
mozharness:
by-test-platform:
android.*:
script: android_emulator_unittest.py
no-read-buildbot-config: true
config:
@@ -1057,33 +1005,25 @@ reftest:
- remove_executables.py
extra-options:
- --reftest-suite=reftest
reftest-no-accel:
description: "Reftest not accelerated run"
suite: reftest/reftest-no-accel
treeherder-symbol: tc-R(Ru)
- instance-size:
- by-test-platform:
- linux64-ccov/opt: xlarge
- default: default
docker-image: {"in-tree": "desktop1604-test"}
run-on-projects:
by-test-platform:
linux64-qr/.*: ['graphics', 'mozilla-central']
default: ['all']
chunks:
by-test-platform:
macosx.*: 1
default: 8
- e10s:
- by-test-platform:
- linux64-ccov/opt: false
- default: both
mozharness:
script: desktop_unittest.py
no-read-buildbot-config: true
config:
by-test-platform:
windows.*:
- unittests/win_taskcluster_unittest.py
macosx.*:
@@ -1364,17 +1304,16 @@ web-platform-tests:
treeherder-symbol: tc-W(wpt)
chunks:
by-test-platform:
macosx64/opt: 5
macosx64/debug: 10
default: 12
e10s:
by-test-platform:
- linux64-ccov/opt: false
macosx.*: true
default: both
max-run-time: 7200
instance-size: xlarge
docker-image: {"in-tree": "desktop1604-test"}
checkout: true
run-on-projects:
by-test-platform:
--- a/taskcluster/taskgraph/transforms/tests.py
+++ b/taskcluster/taskgraph/transforms/tests.py
@@ -481,16 +481,18 @@ def handle_keyed_by(config, tests):
@transforms.add
def enable_code_coverage(config, tests):
"""Enable code coverage for the linux64-ccov/opt & linux64-jsdcov/opt build-platforms"""
for test in tests:
if test['build-platform'] == 'linux64-ccov/opt':
test['mozharness'].setdefault('extra-options', []).append('--code-coverage')
+ test['instance-size'] = 'xlarge'
+ test['e10s'] = False
test['run-on-projects'] = []
elif test['build-platform'] == 'linux64-jsdcov/opt':
test['run-on-projects'] = []
yield test
@transforms.add
def split_e10s(config, tests):