Bug 1333003 part 2 - Enable ASan builds and tests on Windows x64. r=dustin

MozReview-Commit-ID: GEYKhhuTNRD

--HG--
extra : rebase_source : d1cbd0f56795a87fecc527ebec1602682084ade6
This commit is contained in:
Ting-Yu Chou 2017-03-10 12:03:05 +08:00
Родитель 334e9c13ad
Коммит 3cf5b9cc25
4 изменённых файлов: 52 добавлений и 2 удалений

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

@ -235,3 +235,43 @@ win32-qr/opt:
config:
- builds/taskcluster_firefox_win32_qr_opt.py
run-on-projects: [ 'graphics' ]
win64-asan/debug:
description: "Win64 Debug ASAN"
index:
product: firefox
job-name: win64-asan-debug
treeherder:
platform: windows2012-64/asan
symbol: tc(Bd)
tier: 3
worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
worker:
implementation: generic-worker
max-run-time: 7200
run:
using: mozharness
script: mozharness/scripts/fx_desktop_build.py
config:
- builds/taskcluster_firefox_win64_asan_debug.py
run-on-projects: []
win64-asan/opt:
description: "Win64 Opt ASAN"
index:
product: firefox
job-name: win64-asan-opt
treeherder:
platform: windows2012-64/asan
symbol: tc(Bo)
tier: 3
worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
worker:
implementation: generic-worker
max-run-time: 7200
run:
using: mozharness
script: mozharness/scripts/fx_desktop_build.py
config:
- builds/taskcluster_firefox_win64_asan_opt.py
run-on-projects: []

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

@ -150,6 +150,11 @@ windows10-64-vm/opt:
# test-sets:
# - windows-gpu-tests
windows10-64-asan/opt:
build-platform: win64-asan/opt
test-sets:
- common-tests
##
# MacOS X platforms (matching /macosx.*/)

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

@ -84,6 +84,8 @@ JOB_NAME_WHITELIST = set([
'win64-st-an-opt',
'win64-qr-debug',
'win64-qr-opt',
'win64-asan-debug',
'win64-asan-opt',
])
JOB_NAME_WHITELIST_ERROR = """\

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

@ -46,7 +46,8 @@ WORKER_TYPE = {
'windows7-32-vm': 'aws-provisioner-v1/gecko-t-win7-32',
'windows7-32': 'aws-provisioner-v1/gecko-t-win7-32-gpu',
'windows10-64-vm': 'aws-provisioner-v1/gecko-t-win10-64',
'windows10-64': 'aws-provisioner-v1/gecko-t-win10-64-gpu'
'windows10-64': 'aws-provisioner-v1/gecko-t-win10-64-gpu',
'windows10-64-asan': 'aws-provisioner-v1/gecko-t-win10-64-gpu'
}
logger = logging.getLogger(__name__)
@ -356,6 +357,7 @@ def set_treeherder_machine_platform(config, tests):
'linux64-pgo/opt': 'linux64/pgo',
'macosx64/debug': 'osx-10-10/debug',
'macosx64/opt': 'osx-10-10/opt',
'win64-asan/opt': 'windows10-64/asan',
# The build names for Android platforms have partially evolved over the
# years and need to be translated.
'android-api-15/debug': 'android-4-3-armv7-api15/debug',
@ -449,7 +451,8 @@ def set_download_symbols(config, tests):
for test in tests:
if test['test-platform'].split('/')[-1] == 'debug':
test['mozharness']['download-symbols'] = True
elif test['build-platform'] == 'linux64-asan/opt':
elif test['build-platform'] == 'linux64-asan/opt' or \
test['build-platform'] == 'windows10-64-asan/opt':
if 'download-symbols' in test['mozharness']:
del test['mozharness']['download-symbols']
else: