From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- testing/mozharness/configs/talos/linux_config.py | 46 ++++++++++++++++++ testing/mozharness/configs/talos/mac_config.py | 56 ++++++++++++++++++++++ testing/mozharness/configs/talos/windows_config.py | 48 +++++++++++++++++++ 3 files changed, 150 insertions(+) create mode 100644 testing/mozharness/configs/talos/linux_config.py create mode 100644 testing/mozharness/configs/talos/mac_config.py create mode 100644 testing/mozharness/configs/talos/windows_config.py (limited to 'testing/mozharness/configs/talos') diff --git a/testing/mozharness/configs/talos/linux_config.py b/testing/mozharness/configs/talos/linux_config.py new file mode 100644 index 000000000..192de17c6 --- /dev/null +++ b/testing/mozharness/configs/talos/linux_config.py @@ -0,0 +1,46 @@ +import os +import platform + +PYTHON = '/tools/buildbot/bin/python' +VENV_PATH = '%s/build/venv' % os.getcwd() +if platform.architecture()[0] == '64bit': + TOOLTOOL_MANIFEST_PATH = "config/tooltool-manifests/linux64/releng.manifest" + MINIDUMP_STACKWALK_PATH = "linux64-minidump_stackwalk" +else: + TOOLTOOL_MANIFEST_PATH = "config/tooltool-manifests/linux32/releng.manifest" + MINIDUMP_STACKWALK_PATH = "linux32-minidump_stackwalk" + +config = { + "log_name": "talos", + "buildbot_json_path": "buildprops.json", + "installer_path": "installer.exe", + "virtualenv_path": VENV_PATH, + "find_links": [ + "http://pypi.pvt.build.mozilla.org/pub", + "http://pypi.pub.build.mozilla.org/pub", + ], + "pip_index": False, + "exes": { + 'python': PYTHON, + 'virtualenv': [PYTHON, '/tools/misc-python/virtualenv.py'], + 'tooltool.py': "/tools/tooltool.py", + }, + "title": os.uname()[1].lower().split('.')[0], + "default_actions": [ + "clobber", + "read-buildbot-config", + "download-and-extract", + "populate-webroot", + "create-virtualenv", + "install", + "run-tests", + ], + "default_blob_upload_servers": [ + "https://blobupload.elasticbeanstalk.com", + ], + "blob_uploader_auth_file": os.path.join(os.getcwd(), "oauth.txt"), + "download_minidump_stackwalk": True, + "minidump_stackwalk_path": MINIDUMP_STACKWALK_PATH, + "minidump_tooltool_manifest_path": TOOLTOOL_MANIFEST_PATH, + "tooltool_cache": "/builds/tooltool_cache", +} diff --git a/testing/mozharness/configs/talos/mac_config.py b/testing/mozharness/configs/talos/mac_config.py new file mode 100644 index 000000000..56876dbdd --- /dev/null +++ b/testing/mozharness/configs/talos/mac_config.py @@ -0,0 +1,56 @@ +ENABLE_SCREEN_RESOLUTION_CHECK = True + +SCREEN_RESOLUTION_CHECK = { + "name": "check_screen_resolution", + "cmd": ["bash", "-c", "screenresolution get && screenresolution list && system_profiler SPDisplaysDataType"], + "architectures": ["32bit", "64bit"], + "halt_on_failure": False, + "enabled": ENABLE_SCREEN_RESOLUTION_CHECK +} + +import os + +PYTHON = '/tools/buildbot/bin/python' +VENV_PATH = '%s/build/venv' % os.getcwd() + +config = { + "log_name": "talos", + "buildbot_json_path": "buildprops.json", + "installer_path": "installer.exe", + "virtualenv_path": VENV_PATH, + "find_links": [ + "http://pypi.pvt.build.mozilla.org/pub", + "http://pypi.pub.build.mozilla.org/pub", + ], + "pip_index": False, + "exes": { + 'python': PYTHON, + 'virtualenv': [PYTHON, '/tools/misc-python/virtualenv.py'], + 'tooltool.py': "/tools/tooltool.py", + }, + "title": os.uname()[1].lower().split('.')[0], + "default_actions": [ + "clobber", + "read-buildbot-config", + "download-and-extract", + "populate-webroot", + "create-virtualenv", + "install", + "run-tests", + ], + "run_cmd_checks_enabled": True, + "preflight_run_cmd_suites": [ + SCREEN_RESOLUTION_CHECK, + ], + "postflight_run_cmd_suites": [ + SCREEN_RESOLUTION_CHECK, + ], + "default_blob_upload_servers": [ + "https://blobupload.elasticbeanstalk.com", + ], + "blob_uploader_auth_file": os.path.join(os.getcwd(), "oauth.txt"), + "download_minidump_stackwalk": True, + "minidump_stackwalk_path": "macosx64-minidump_stackwalk", + "minidump_tooltool_manifest_path": "config/tooltool-manifests/macosx64/releng.manifest", + "tooltool_cache": "/builds/tooltool_cache", +} diff --git a/testing/mozharness/configs/talos/windows_config.py b/testing/mozharness/configs/talos/windows_config.py new file mode 100644 index 000000000..50c924c44 --- /dev/null +++ b/testing/mozharness/configs/talos/windows_config.py @@ -0,0 +1,48 @@ +import os +import socket + +PYTHON = 'c:/mozilla-build/python27/python.exe' +PYTHON_DLL = 'c:/mozilla-build/python27/python27.dll' +VENV_PATH = os.path.join(os.getcwd(), 'build/venv') + +config = { + "log_name": "talos", + "buildbot_json_path": "buildprops.json", + "installer_path": "installer.exe", + "virtualenv_path": VENV_PATH, + "virtualenv_python_dll": PYTHON_DLL, + "pip_index": False, + "find_links": [ + "http://pypi.pvt.build.mozilla.org/pub", + "http://pypi.pub.build.mozilla.org/pub", + ], + "virtualenv_modules": ['pywin32', 'talos', 'mozinstall'], + "exes": { + 'python': PYTHON, + 'virtualenv': [PYTHON, 'c:/mozilla-build/buildbotve/virtualenv.py'], + 'easy_install': ['%s/scripts/python' % VENV_PATH, + '%s/scripts/easy_install-2.7-script.py' % VENV_PATH], + 'mozinstall': ['%s/scripts/python' % VENV_PATH, + '%s/scripts/mozinstall-script.py' % VENV_PATH], + 'hg': 'c:/mozilla-build/hg/hg', + 'tooltool.py': [PYTHON, 'C:/mozilla-build/tooltool.py'], + }, + "title": socket.gethostname().split('.')[0], + "default_actions": [ + "clobber", + "read-buildbot-config", + "download-and-extract", + "populate-webroot", + "create-virtualenv", + "install", + "run-tests", + ], + "default_blob_upload_servers": [ + "https://blobupload.elasticbeanstalk.com", + ], + "blob_uploader_auth_file": os.path.join(os.getcwd(), "oauth.txt"), + "metro_harness_path_frmt": "%(metro_base_path)s/metro/metrotestharness.exe", + "download_minidump_stackwalk": True, + "minidump_stackwalk_path": "win32-minidump_stackwalk.exe", + "minidump_tooltool_manifest_path": "config/tooltool-manifests/win32/releng.manifest", +} -- cgit v1.2.3