Bug 1330412 - Convert Stylo jobs to Stylo disabled. r=jmaher

Convert all jobs that were exercising Stylo enabled to Stylo disabled instead.

Stylo enabled is now handled by the default jobs.

In Perfherder, Stylo enabled jobs will be untagged and take over the existing
Gecko series.  Stylo disabled jobs will have a new `stylo-disabled` tag and
create a new series.

MozReview-Commit-ID: BMXBRg3A95j
This commit is contained in:
J. Ryan Stinnett
2017-08-31 11:18:46 -05:00
parent 09698d92fd
commit 01b2168ab5
7 changed files with 204 additions and 204 deletions

View File

@@ -66,7 +66,7 @@ WINDOWS_WORKER_TYPES = {
'virtual-with-gpu': 'aws-provisioner-v1/gecko-t-win7-32-gpu',
'hardware': 'releng-hardware/gecko-t-win7-32-hw',
},
'windows7-32-stylo': {
'windows7-32-stylo-disabled': {
'virtual': 'aws-provisioner-v1/gecko-t-win7-32',
'virtual-with-gpu': 'aws-provisioner-v1/gecko-t-win7-32-gpu',
'hardware': 'releng-hardware/gecko-t-win7-32-hw',
@@ -91,7 +91,7 @@ WINDOWS_WORKER_TYPES = {
'virtual-with-gpu': 'aws-provisioner-v1/gecko-t-win10-64-gpu',
'hardware': 'releng-hardware/gecko-t-win10-64-hw',
},
'windows10-64-stylo': {
'windows10-64-stylo-disabled': {
'virtual': 'aws-provisioner-v1/gecko-t-win10-64',
'virtual-with-gpu': 'aws-provisioner-v1/gecko-t-win10-64-gpu',
'hardware': 'releng-hardware/gecko-t-win10-64-hw',
@@ -506,7 +506,7 @@ def set_treeherder_machine_platform(config, tests):
# platform based on regular macOS builds, such as for Stylo.
# Since it's unclear if the regular macOS builds can be removed from
# the table, workaround the issue for Stylo.
if '-stylo' in test['test-platform']:
if '-stylo-disabled' in test['test-platform']:
test['treeherder-machine-platform'] = test['test-platform']
else:
test['treeherder-machine-platform'] = translation.get(
@@ -528,24 +528,34 @@ def set_tier(config, tests):
'linux32/debug',
'linux32-nightly/opt',
'linux32-devedition/opt',
'linux32-stylo-disabled/debug',
'linux32-stylo-disabled/opt',
'linux64/opt',
'linux64-nightly/opt',
'linux64/debug',
'linux64-pgo/opt',
'linux64-devedition/opt',
'linux64-asan/opt',
'linux64-stylo-disabled/debug',
'linux64-stylo-disabled/opt',
'windows7-32/debug',
'windows7-32/opt',
'windows7-32-pgo/opt',
'windows7-32-devedition/opt',
'windows7-32-nightly/opt',
'windows7-32-stylo-disabled/debug',
'windows7-32-stylo-disabled/opt',
'windows10-64/debug',
'windows10-64/opt',
'windows10-64-pgo/opt',
'windows10-64-devedition/opt',
'windows10-64-nightly/opt',
'windows10-64-stylo-disabled/debug',
'windows10-64-stylo-disabled/opt',
'macosx64/opt',
'macosx64/debug',
'macosx64-stylo-disabled/debug',
'macosx64-stylo-disabled/opt',
'android-4.3-arm7-api-16/opt',
'android-4.3-arm7-api-16/debug',
'android-4.2-x86/opt']:
@@ -770,16 +780,16 @@ def set_test_type(config, tests):
@transforms.add
def enable_stylo(config, tests):
def disable_stylo(config, tests):
"""
Force Stylo on for all its tests.
Disable Stylo for all jobs on `-stylo-disabled` platforms.
"""
for test in tests:
if '-stylo' not in test['test-platform']:
if '-stylo-disabled' not in test['test-platform']:
yield test
continue
test['mozharness'].setdefault('extra-options', []).append('--enable-stylo')
test['mozharness'].setdefault('extra-options', []).append('--disable-stylo')
yield test