Bug 1237182: Removing unused buildbot support r=Callek

MozReview-Commit-ID: EjclZgc864L

--HG--
extra : rebase_source : 18ceefd30a5e5df3be7dc4152256b4407f61e8eb
This commit is contained in:
Chris AtLee 2018-05-04 13:51:35 -04:00
Родитель 08e845d5e5
Коммит 714c7498fd
109 изменённых файлов: 29 добавлений и 1100 удалений

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

@ -1,7 +1,6 @@
job-defaults:
e10s: false
mozharness:
no-read-buildbot-config: true
script:
by-test-platform:
android.*: android_emulator_unittest.py

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

@ -1,7 +1,6 @@
job-defaults:
suite: marionette
mozharness:
no-read-buildbot-config: true
script:
by-test-platform:
android.*: android_emulator_unittest.py

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

@ -8,7 +8,6 @@ geckoview:
target: geckoview_example.apk
mozharness:
script: android_emulator_unittest.py
no-read-buildbot-config: true
config:
by-test-platform:
android-4.2-x86/opt:
@ -35,7 +34,6 @@ geckoview-junit:
default: 1
mozharness:
script: android_emulator_unittest.py
no-read-buildbot-config: true
config:
by-test-platform:
android-4.2-x86/opt:
@ -60,7 +58,6 @@ robocop:
e10s: false
mozharness:
script: android_emulator_unittest.py
no-read-buildbot-config: true
config:
- android/android_common.py
- android/androidarm_4_3.py
@ -121,7 +118,6 @@ test-verify:
- unittests/mac_unittest.py
windows.*:
- unittests/win_taskcluster_unittest.py
no-read-buildbot-config: true
extra-options:
- --verify
@ -165,7 +161,6 @@ test-verify-gpu:
- unittests/mac_unittest.py
windows.*:
- unittests/win_taskcluster_unittest.py
no-read-buildbot-config: true
extra-options:
- --verify
- --gpu-required
@ -205,6 +200,5 @@ test-coverage:
- unittests/mac_unittest.py
windows.*:
- unittests/win_taskcluster_unittest.py
no-read-buildbot-config: true
extra-options:
- --per-test-coverage

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

@ -1,6 +1,5 @@
job-defaults:
mozharness:
no-read-buildbot-config: true
script:
by-test-platform:
android.*: android_emulator_unittest.py

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

@ -1,6 +1,5 @@
job-defaults:
mozharness:
no-read-buildbot-config: true
script:
by-test-platform:
android.*: android_emulator_unittest.py

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

@ -12,7 +12,6 @@ job-defaults:
default: hardware
mozharness:
script: talos_script.py
no-read-buildbot-config: true
config:
by-test-platform:
macosx.*:

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

@ -3,7 +3,6 @@ job-defaults:
max-run-time: 5400
mozharness:
script: web_platform_tests.py
no-read-buildbot-config: true
config:
by-test-platform:
windows.*:

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

@ -1,6 +1,5 @@
job-defaults:
mozharness:
no-read-buildbot-config: true
script:
by-test-platform:
android.*: android_emulator_unittest.py

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

@ -181,8 +181,6 @@ def mozharness_test_on_docker(config, job, taskdesc):
'/builds/worker/bin/test-linux.sh',
])
if mozharness.get('no-read-buildbot-config'):
command.append("--no-read-buildbot-config")
command.extend([
{"task-reference": "--installer-url=" + installer_url},
{"task-reference": "--test-packages-url=" + test_packages_url(taskdesc)},
@ -291,8 +289,6 @@ def mozharness_test_on_generic_worker(config, job, taskdesc):
cfg_path = normpath(cfg_path)
mh_command.extend(['--cfg', cfg_path])
mh_command.extend(mozharness.get('extra-options', []))
if mozharness.get('no-read-buildbot-config'):
mh_command.append('--no-read-buildbot-config')
mh_command.extend(['--installer-url', installer_url])
mh_command.extend(['--test-packages-url', test_packages_url(taskdesc)])
if mozharness.get('download-symbols'):
@ -397,8 +393,6 @@ def mozharness_test_on_native_engine(config, job, taskdesc):
)
command = worker['command'] = ["./{}".format(script)]
if mozharness.get('no-read-buildbot-config'):
command.append("--no-read-buildbot-config")
command.extend([
{"task-reference": "--installer-url=" + installer_url},
{"task-reference": "--test-packages-url=" + test_packages_url(taskdesc)},

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

@ -283,10 +283,6 @@ test_description_schema = Schema({
# If true, tooltool downloads will be enabled via relengAPIProxy.
Required('tooltool-downloads'): bool,
# This mozharness script also runs in Buildbot and tries to read a
# buildbot config file, so tell it not to do so in TaskCluster
Required('no-read-buildbot-config'): bool,
# Add --blob-upload-branch=<project> mozharness parameter
Optional('include-blob-upload-branch'): bool,
@ -449,7 +445,6 @@ def set_defaults(config, tests):
test['mozharness'].setdefault('extra-options', [])
test['mozharness'].setdefault('requires-signed-builds', False)
test['mozharness'].setdefault('tooltool-downloads', False)
test['mozharness'].setdefault('no-read-buildbot-config', False)
test['mozharness'].setdefault('set-moz-node-path', False)
test['mozharness'].setdefault('chunked', False)
test['mozharness'].setdefault('chunking-args', 'this-chunk')

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

@ -8,7 +8,6 @@ import os
config = {
"default_actions": [
'clobber',
'read-buildbot-config',
'setup-avds',
'start-emulator',
'download-and-extract',

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

@ -11,7 +11,6 @@ config = {
'multi-l10n',
'update', # decided by query_is_nightly()
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
'max_build_output_timeout': 0,
# decides whether we want to use moz_sign_cmd in env

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

@ -15,7 +15,6 @@ config = {
'check-test',
'update', # decided by query_is_nightly()
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'secret_files': [

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

@ -14,7 +14,6 @@ config = {
'check-test',
'update', # decided by query_is_nightly()
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'secret_files': [

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

@ -10,7 +10,6 @@ config = {
'build',
'update', # decided by query_is_nightly()
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'secret_files': [

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

@ -8,7 +8,6 @@ config = {
# code block and also make sure this is synced with
# releng_base_linux_64_builds.py
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'secret_files': [

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

@ -13,11 +13,10 @@ config = {
'clobber',
'build',
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'vcs_share_base': '/builds/hg-shared',
# allows triggering of dependent jobs when --artifact try syntax is detected on buildbot
# allows triggering of dependent jobs when --artifact try syntax is detected
'perfherder_extra_options': ['artifact'],
#########################################################################

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

@ -13,13 +13,12 @@ config = {
'clobber',
'build',
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'vcs_share_base': '/builds/hg-shared',
# debug specific
'debug_build': True,
# allows triggering of test jobs when --artifact try syntax is detected on buildbot
# allows triggering of test jobs when --artifact try syntax is detected
'perfherder_extra_options': ['artifact'],
#########################################################################

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

@ -6,7 +6,6 @@ config = {
'clobber',
'build',
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'secret_files': [
@ -18,7 +17,7 @@ config = {
'min_scm_level': 2, 'default': 'try-build-has-no-secrets'},
],
'vcs_share_base': '/builds/hg-shared',
# allows triggering of dependent jobs when --artifact try syntax is detected on buildbot
# allows triggering of dependent jobs when --artifact try syntax is detected
'perfherder_extra_options': ['artifact'],
#########################################################################

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

@ -6,13 +6,12 @@ config = {
'clobber',
'build',
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
'vcs_share_base': '/builds/hg-shared',
# debug specific
'debug_build': True,
# decides whether we want to use moz_sign_cmd in env
# allows triggering of test jobs when --artifact try syntax is detected on buildbot
# allows triggering of test jobs when --artifact try syntax is detected
'perfherder_extra_options': ['artifact'],
#########################################################################

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

@ -20,7 +20,7 @@ config = {
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'LC_ALL': 'C',
## 64 bit specific
'PATH': '/tools/buildbot/bin:/usr/local/bin:/bin:\
'PATH': ':/usr/local/bin:/bin:\
/usr/bin:/usr/local/sbin:/usr/sbin:/sbin',
},
'mozconfig_variant': 'rusttests',

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

@ -17,7 +17,7 @@ config = {
'LC_ALL': 'C',
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
# 64 bit specific
'PATH': '/tools/buildbot/bin:/usr/local/bin:/bin:\
'PATH': '/usr/local/bin:/bin:\
/usr/bin:/usr/local/sbin:/usr/sbin:/sbin',
'LD_LIBRARY_PATH': '%(abs_obj_dir)s/dist/bin',
'TINDERBOX_OUTPUT': '1',

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

@ -6,7 +6,6 @@ config = {
'clobber',
'build',
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'vcs_share_base': '/builds/hg-shared',

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

@ -2,7 +2,6 @@ config = {
'default_actions': ['package-source'],
'objdir': 'obj-firefox',
'stage_platform': 'source', # Not used, but required by the script
'buildbot_json_path': 'buildprops.json',
'app_ini_path': 'FAKE', # Not used, but required by the script
'env': {
'HG_SHARE_BASE_DIR': '/builds/hg-shared',

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

@ -6,7 +6,6 @@ config = {
'clobber',
'build',
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'vcs_share_base': '/builds/hg-shared',

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

@ -6,7 +6,6 @@ config = {
'clobber',
'build',
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'vcs_share_base': '/builds/hg-shared',

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

@ -8,11 +8,10 @@ config = {
'clobber',
'build',
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'vcs_share_base': '/builds/hg-shared',
# allows triggering of dependent jobs when --artifact try syntax is detected on buildbot
# allows triggering of dependent jobs when --artifact try syntax is detected
'perfherder_extra_options': ['artifact'],
#########################################################################

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

@ -8,13 +8,12 @@ config = {
'clobber',
'build',
],
"buildbot_json_path": "buildprops.json",
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'vcs_share_base': '/builds/hg-shared',
# debug specific
'debug_build': True,
# allows triggering of test jobs when --artifact try syntax is detected on buildbot
# allows triggering of test jobs when --artifact try syntax is detected
'perfherder_extra_options': ['artifact'],
#########################################################################

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

@ -15,7 +15,6 @@ config = {
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'MOZ_OBJDIR': '%(abs_obj_dir)s',
'PATH': 'C:/mozilla-build/nsis-3.01;C:/mozilla-build/python27;'
'C:/mozilla-build/buildbotve/scripts;'
'%s' % (os.environ.get('path')),
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
'TINDERBOX_OUTPUT': '1',

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

@ -16,7 +16,6 @@ config = {
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'MOZ_OBJDIR': '%(abs_obj_dir)s',
'PATH': 'C:/mozilla-build/nsis-3.01;C:/mozilla-build/python27;'
'C:/mozilla-build/buildbotve/scripts;'
'%s' % (os.environ.get('path')),
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
'TINDERBOX_OUTPUT': '1',

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

@ -18,7 +18,6 @@ releng.manifest",
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'MOZ_OBJDIR': '%(abs_obj_dir)s',
'PATH': 'C:/mozilla-build/nsis-3.01;C:/mozilla-build/python27;'
'C:/mozilla-build/buildbotve/scripts;'
'%s' % (os.environ.get('path')),
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
'TINDERBOX_OUTPUT': '1',

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

@ -14,7 +14,6 @@ config = {
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'MOZ_OBJDIR': '%(abs_obj_dir)s',
'PATH': 'C:/mozilla-build/nsis-3.01;C:/mozilla-build/python27;'
'C:/mozilla-build/buildbotve/scripts;'
'%s' % (os.environ.get('path')),
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
'TINDERBOX_OUTPUT': '1',

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

@ -15,7 +15,6 @@ config = {
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'MOZ_OBJDIR': '%(abs_obj_dir)s',
'PATH': 'C:/mozilla-build/nsis-3.01;C:/mozilla-build/python27;'
'C:/mozilla-build/buildbotve/scripts;'
'%s' % (os.environ.get('path')),
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
'TINDERBOX_OUTPUT': '1',

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

@ -10,11 +10,8 @@ config = {
"vcs_share_base": HG_SHARE_BASE_DIR,
"buildbot_json_path": "buildprops.json",
"default_actions": [
'clobber',
'read-buildbot-config',
'download-and-extract',
'create-virtualenv',
'install',

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

@ -12,11 +12,8 @@ config = {
'hg': 'c:/mozilla-build/hg/hg',
},
"buildbot_json_path": "buildprops.json",
"default_actions": [
'clobber',
'read-buildbot-config',
'download-and-extract',
'create-virtualenv',
'install',

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/projects/ash",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/projects/ash",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -9,10 +9,6 @@
"repo": "https://hg.mozilla.org/jamun",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -9,10 +9,6 @@
"repo": "https://hg.mozilla.org/jamun",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -9,10 +9,6 @@
"repo": "https://hg.mozilla.org/jamun",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/releases/mozilla-aurora",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/releases/mozilla-aurora",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/releases/mozilla-aurora",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/releases/mozilla-beta",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/releases/mozilla-beta",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/releases/mozilla-beta",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/mozilla-central",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/mozilla-central",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/mozilla-central",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/releases/mozilla-release",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/releases/mozilla-release",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,10 +10,6 @@
"repo": "https://hg.mozilla.org/releases/mozilla-release",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",

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

@ -10,20 +10,11 @@
"repo": "https://hg.mozilla.org/releases/mozilla-beta",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",
"dest": "tools"
}],
"l10n_repos": [{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "default",
"dest": "build/configs"
}],
"vcs_share_base": "/builds/hg-shared",
"hg_l10n_base": "https://hg.mozilla.org/l10n-central",
"required_config_vars": ["tag_override"],

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

@ -10,20 +10,11 @@
"repo": "https://hg.mozilla.org/releases/mozilla-beta",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",
"dest": "tools"
}],
"l10n_repos": [{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "default",
"dest": "build/configs"
}],
"vcs_share_base": "/builds/hg-shared",
"hg_l10n_base": "https://hg.mozilla.org/l10n-central",
"required_config_vars": ["tag_override"],

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

@ -10,20 +10,11 @@
"repo": "https://hg.mozilla.org/releases/mozilla-beta",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",
"dest": "tools"
}],
"l10n_repos": [{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "default",
"dest": "build/configs"
}],
"vcs_share_base": "/builds/hg-shared",
"hg_l10n_base": "https://hg.mozilla.org/l10n-central",
"required_config_vars": ["tag_override"],

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

@ -10,20 +10,11 @@
"repo": "https://hg.mozilla.org/releases/mozilla-release",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",
"dest": "tools"
}],
"l10n_repos": [{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "default",
"dest": "build/configs"
}],
"vcs_share_base": "/builds/hg-shared",
"hg_l10n_base": "https://hg.mozilla.org/l10n-central",
"required_config_vars": ["tag_override"],

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

@ -10,20 +10,11 @@
"repo": "https://hg.mozilla.org/releases/mozilla-release",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",
"dest": "tools"
}],
"l10n_repos": [{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "default",
"dest": "build/configs"
}],
"vcs_share_base": "/builds/hg-shared",
"hg_l10n_base": "https://hg.mozilla.org/l10n-central",
"required_config_vars": ["tag_override"],

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

@ -10,20 +10,11 @@
"repo": "https://hg.mozilla.org/releases/mozilla-release",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "production",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/build/tools",
"branch": "default",
"dest": "tools"
}],
"l10n_repos": [{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "default",
"dest": "build/configs"
}],
"vcs_share_base": "/builds/hg-shared",
"hg_l10n_base": "https://hg.mozilla.org/l10n-central",
"required_config_vars": ["tag_override"],

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

@ -10,20 +10,11 @@
"repo": "https://hg.mozilla.org/%(user_repo_override)s/mozilla-beta",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/buildbot-configs",
"branch": "default",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/tools",
"branch": "default",
"dest": "tools"
}],
"l10n_repos": [{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/buildbot-configs",
"branch": "default",
"dest": "build/configs"
}],
"vcs_share_base": "/builds/hg-shared",
"hg_l10n_base": "https://hg.mozilla.org/%(user_repo_override)s",
"required_config_vars": ["tag_override", "user_repo_override"],

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

@ -10,20 +10,11 @@
"repo": "https://hg.mozilla.org/%(user_repo_override)s/mozilla-beta",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/buildbot-configs",
"branch": "default",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/tools",
"branch": "default",
"dest": "tools"
}],
"l10n_repos": [{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/buildbot-configs",
"branch": "default",
"dest": "build/configs"
}],
"vcs_share_base": "/builds/hg-shared",
"hg_l10n_base": "https://hg.mozilla.org/%(user_repo_override)s",
"required_config_vars": ["tag_override", "user_repo_override"],

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

@ -10,20 +10,11 @@
"repo": "https://hg.mozilla.org/%(user_repo_override)s/mozilla-beta",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/buildbot-configs",
"branch": "default",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/tools",
"branch": "default",
"dest": "tools"
}],
"l10n_repos": [{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/buildbot-configs",
"branch": "default",
"dest": "build/configs"
}],
"vcs_share_base": "/builds/hg-shared",
"hg_l10n_base": "https://hg.mozilla.org/%(user_repo_override)s",
"required_config_vars": ["tag_override", "user_repo_override"],

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

@ -10,20 +10,11 @@
"repo": "https://hg.mozilla.org/%(user_repo_override)s/mozilla-release",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/buildbot-configs",
"branch": "default",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/tools",
"branch": "default",
"dest": "tools"
}],
"l10n_repos": [{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/buildbot-configs",
"branch": "default",
"dest": "build/configs"
}],
"vcs_share_base": "/builds/hg-shared",
"hg_l10n_base": "https://hg.mozilla.org/%(user_repo_override)s",
"required_config_vars": ["tag_override", "user_repo_override"],

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

@ -10,20 +10,11 @@
"repo": "https://hg.mozilla.org/%(user_repo_override)s/mozilla-release",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/buildbot-configs",
"branch": "default",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/tools",
"branch": "default",
"dest": "tools"
}],
"l10n_repos": [{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/buildbot-configs",
"branch": "default",
"dest": "build/configs"
}],
"vcs_share_base": "/builds/hg-shared",
"hg_l10n_base": "https://hg.mozilla.org/%(user_repo_override)s",
"required_config_vars": ["tag_override", "user_repo_override"],

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

@ -10,20 +10,11 @@
"repo": "https://hg.mozilla.org/%(user_repo_override)s/mozilla-release",
"branch": "default",
"dest": "build"
},{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/buildbot-configs",
"branch": "default",
"dest": "build/configs"
},{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/tools",
"branch": "default",
"dest": "tools"
}],
"l10n_repos": [{
"repo": "https://hg.mozilla.org/%(user_repo_override)s/buildbot-configs",
"branch": "default",
"dest": "build/configs"
}],
"vcs_share_base": "/builds/hg-shared",
"hg_l10n_base": "https://hg.mozilla.org/%(user_repo_override)s",
"required_config_vars": ["tag_override", "user_repo_override"],

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

@ -1,47 +0,0 @@
FTP_SERVER = "stage.mozilla.org"
FTP_USER = "ffxbld"
FTP_SSH_KEY = "~/.ssh/ffxbld_rsa"
FTP_UPLOAD_BASE_DIR = "/pub/mozilla.org/mobile/candidates/%(version)s-candidates/build%(buildnum)d"
DOWNLOAD_BASE_URL = "http://%s%s" % (FTP_SERVER, FTP_UPLOAD_BASE_DIR)
APK_BASE_NAME = "fennec-%(version)s.%(locale)s.android-arm.apk"
HG_SHARE_BASE_DIR = "/builds/hg-shared"
KEYSTORE = "/home/cltsign/.android/android-release.keystore"
KEY_ALIAS = "release"
config = {
"log_name": "partner_repack",
"locales_file": "buildbot-configs/mozilla/l10n-changesets_mobile-release.json",
"additional_locales": ['en-US'],
"platforms": ["android"],
"repos": [{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "default",
}],
'vcs_share_base': HG_SHARE_BASE_DIR,
"ftp_upload_base_dir": FTP_UPLOAD_BASE_DIR,
"ftp_ssh_key": FTP_SSH_KEY,
"ftp_user": FTP_USER,
"ftp_server": FTP_SERVER,
"installer_base_names": {
"android": APK_BASE_NAME,
},
"partner_config": {
"google-play": {},
},
"download_unsigned_base_subdir": "unsigned/%(platform)s/%(locale)s",
"download_base_url": DOWNLOAD_BASE_URL,
"release_config_file": "buildbot-configs/mozilla/release-fennec-mozilla-release.py",
"default_actions": ["clobber", "pull", "download", "repack", "upload-unsigned-bits", "summary"],
# signing (optional)
"keystore": KEYSTORE,
"key_alias": KEY_ALIAS,
"exes": {
# This path doesn't exist and this file probably doesn't work
# Comment out to avoid confusion
# "jarsigner": "/tools/jdk-1.6.0_17/bin/jarsigner",
"zipalign": "/tools/android-sdk-r8/tools/zipalign",
},
}

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

@ -1,52 +0,0 @@
FTP_SERVER = "dev-stage01.srv.releng.scl3.mozilla.com"
FTP_USER = "ffxbld"
FTP_SSH_KEY = "~/.ssh/ffxbld_rsa"
FTP_UPLOAD_BASE_DIR = "/pub/mozilla.org/mobile/candidates/%(version)s-candidates/build%(buildnum)d"
#DOWNLOAD_BASE_URL = "http://%s%s" % (FTP_SERVER, FTP_UPLOAD_BASE_DIR)
DOWNLOAD_BASE_URL = "https://ftp-ssl.mozilla.org/pub/mozilla.org/mobile/candidates/%(version)s-candidates/build%(buildnum)d"
#DOWNLOAD_BASE_URL = "http://dev-stage01.build.mozilla.org/pub/mozilla.org/mobile/candidates/11.0b1-candidates/build1/"
APK_BASE_NAME = "fennec-%(version)s.%(locale)s.android-arm.apk"
#APK_BASE_NAME = "fennec-11.0b1.%(locale)s.android-arm.apk"
HG_SHARE_BASE_DIR = "/builds/hg-shared"
#KEYSTORE = "/home/cltsign/.android/android-release.keystore"
KEYSTORE = "/home/cltbld/.android/android.keystore"
#KEY_ALIAS = "release"
KEY_ALIAS = "nightly"
config = {
"log_name": "partner_repack",
"locales_file": "buildbot-configs/mozilla/l10n-changesets_mobile-release.json",
"additional_locales": ['en-US'],
"platforms": ["android"],
"repos": [{
"repo": "https://hg.mozilla.org/build/buildbot-configs",
"branch": "default",
}],
'vcs_share_base': HG_SHARE_BASE_DIR,
"ftp_upload_base_dir": FTP_UPLOAD_BASE_DIR,
"ftp_ssh_key": FTP_SSH_KEY,
"ftp_user": FTP_USER,
"ftp_server": FTP_SERVER,
"installer_base_names": {
"android": APK_BASE_NAME,
},
"partner_config": {
"google-play": {},
},
"download_unsigned_base_subdir": "unsigned/%(platform)s/%(locale)s",
"download_base_url": DOWNLOAD_BASE_URL,
"release_config_file": "buildbot-configs/mozilla/release-fennec-mozilla-release.py",
"default_actions": ["clobber", "pull", "download", "repack", "upload-unsigned-bits", "summary"],
# signing (optional)
"keystore": KEYSTORE,
"key_alias": KEY_ALIAS,
"exes": {
# This path doesn't exist and this file probably doesn't work
# Comment out to avoid confusion
# "jarsigner": "/tools/jdk-1.6.0_17/bin/jarsigner",
"zipalign": "/tools/android-sdk-r8/tools/zipalign",
},
}

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

@ -15,7 +15,6 @@ INSTALLER_PATH = os.path.join(ABS_WORK_DIR, "installer.tar.bz2")
config = {
"log_name": "raptor",
"buildbot_json_path": "buildprops.json",
"installer_path": INSTALLER_PATH,
"virtualenv_path": VENV_PATH,
"find_links": [
@ -27,7 +26,6 @@ config = {
"title": os.uname()[1].lower().split('.')[0],
"default_actions": [
"clobber",
"read-buildbot-config",
"download-and-extract",
"populate-webroot",
"create-virtualenv",

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

@ -11,7 +11,6 @@ else:
config = {
"log_name": "raptor",
"buildbot_json_path": "buildprops.json",
"installer_path": "installer.exe",
"virtualenv_path": VENV_PATH,
"find_links": [
@ -22,7 +21,6 @@ config = {
"title": os.uname()[1].lower().split('.')[0],
"default_actions": [
"clobber",
"read-buildbot-config",
"download-and-extract",
"populate-webroot",
"create-virtualenv",

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

@ -14,7 +14,6 @@ VENV_PATH = '%s/build/venv' % os.getcwd()
config = {
"log_name": "raptor",
"buildbot_json_path": "buildprops.json",
"installer_path": "installer.exe",
"virtualenv_path": VENV_PATH,
"find_links": [
@ -25,7 +24,6 @@ config = {
"title": os.uname()[1].lower().split('.')[0],
"default_actions": [
"clobber",
"read-buildbot-config",
"download-and-extract",
"populate-webroot",
"create-virtualenv",

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

@ -8,7 +8,6 @@ VENV_PATH = os.path.join(os.getcwd(), 'build/venv')
config = {
"log_name": "raptor",
"buildbot_json_path": "buildprops.json",
"installer_path": "installer.exe",
"virtualenv_path": VENV_PATH,
"pip_index": False,
@ -29,7 +28,6 @@ config = {
"title": socket.gethostname().split('.')[0],
"default_actions": [
"clobber",
"read-buildbot-config",
"download-and-extract",
"populate-webroot",
"create-virtualenv",

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

@ -8,7 +8,6 @@ VENV_PATH = os.path.join(os.getcwd(), 'build/venv')
config = {
"log_name": "raptor",
"buildbot_json_path": "buildprops.json",
"installer_path": "installer.exe",
"virtualenv_path": VENV_PATH,
"pip_index": False,
@ -28,7 +27,6 @@ config = {
"title": socket.gethostname().split('.')[0],
"default_actions": [
"clobber",
"read-buildbot-config",
"download-and-extract",
"populate-webroot",
"create-virtualenv",

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

@ -24,8 +24,7 @@ config = {
"version_regex": r"^.*$",
"requires_mirrors": True,
"patcher_config": "mozDevedition-branch-patcher2.cfg",
# Allow to override the patcher config product name, regardless
# the value set by buildbot properties
# Allow to override the patcher config product name
"patcher_config_product_override": "firefox",
"update_verify_channel": "aurora-localtest",
"mar_channel_ids": [],

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

@ -10,7 +10,6 @@ config = {
"log_name": "single_locale",
"objdir": OBJDIR,
"is_automation": True,
"buildbot_json_path": "buildprops.json",
"force_clobber": True,
"clobberer_url": "https://api.pub.build.mozilla.org/clobberer/lastclobber",
"locales_file": "%s/mobile/locales/l10n-changesets.json" % MOZILLA_DIR,

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

@ -9,7 +9,6 @@ config = {
"log_name": "single_locale",
"objdir": "obj-firefox",
"is_automation": True,
"buildbot_json_path": "buildprops.json",
"force_clobber": True,
"clobberer_url": "https://api.pub.build.mozilla.org/clobberer/lastclobber",
"locales_file": "%s/mobile/locales/l10n-changesets.json" % MOZILLA_DIR,

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

@ -10,7 +10,6 @@ config = {
"log_name": "single_locale",
"objdir": "obj-firefox",
"is_automation": True,
"buildbot_json_path": "buildprops.json",
"force_clobber": True,
"clobberer_url": "https://api.pub.build.mozilla.org/clobberer/lastclobber",
"locales_file": "%s/mobile/locales/l10n-changesets.json" % MOZILLA_DIR,

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

@ -12,7 +12,6 @@ config = {
"log_name": "single_locale",
"objdir": OBJDIR,
"is_automation": True,
"buildbot_json_path": "buildprops.json",
"force_clobber": True,
"clobberer_url": "https://api.pub.build.mozilla.org/clobberer/lastclobber",
"locales_file": "%s/mobile/locales/l10n-changesets.json" % MOZILLA_DIR,

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

@ -11,7 +11,6 @@ config = {
"log_name": "single_locale",
"objdir": OBJDIR,
"is_automation": True,
"buildbot_json_path": "buildprops.json",
"force_clobber": True,
"clobberer_url": "https://api.pub.build.mozilla.org/clobberer/lastclobber",
"locales_file": "%s/mobile/locales/l10n-changesets.json" % MOZILLA_DIR,

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

@ -12,7 +12,6 @@ config = {
"log_name": "single_locale",
"objdir": OBJDIR,
"is_automation": True,
"buildbot_json_path": "buildprops.json",
"force_clobber": True,
"clobberer_url": "https://api.pub.build.mozilla.org/clobberer/lastclobber",
"locales_file": "%s/mobile/locales/l10n-changesets.json" % MOZILLA_DIR,

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

@ -11,7 +11,6 @@ config = {
"log_name": "single_locale",
"objdir": OBJDIR,
"is_automation": True,
"buildbot_json_path": "buildprops.json",
"force_clobber": True,
"clobberer_url": "https://api.pub.build.mozilla.org/clobberer/lastclobber",
"locales_file": "%s/mobile/locales/l10n-changesets.json" % MOZILLA_DIR,

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

@ -1,7 +1,4 @@
config = {
"mozilla_dir": "src/",
"simple_name_move": True,
# Override the buildbot path to not read it
"buildbot_json_path": None,
}

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

@ -10,7 +10,6 @@ config = {
"log_name": "single_locale",
"objdir": "obj-firefox",
"is_automation": True,
"buildbot_json_path": "buildprops.json",
"force_clobber": True,
"clobberer_url": "https://api.pub.build.mozilla.org/clobberer/lastclobber",
"locales_file": "%s/mobile/locales/l10n-changesets.json" % MOZILLA_DIR,

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

@ -20,14 +20,12 @@ INSTALLER_PATH = os.path.join(ABS_WORK_DIR, "installer.tar.bz2")
config = {
"log_name": "talos",
"buildbot_json_path": "buildprops.json",
"installer_path": INSTALLER_PATH,
"virtualenv_path": VENV_PATH,
"exes": exes,
"title": os.uname()[1].lower().split('.')[0],
"default_actions": [
"clobber",
"read-buildbot-config",
"download-and-extract",
"populate-webroot",
"create-virtualenv",

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

@ -11,13 +11,11 @@ else:
config = {
"log_name": "talos",
"buildbot_json_path": "buildprops.json",
"installer_path": "installer.exe",
"virtualenv_path": VENV_PATH,
"title": os.uname()[1].lower().split('.')[0],
"default_actions": [
"clobber",
"read-buildbot-config",
"download-and-extract",
"populate-webroot",
"create-virtualenv",

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

@ -14,13 +14,11 @@ VENV_PATH = '%s/build/venv' % os.getcwd()
config = {
"log_name": "talos",
"buildbot_json_path": "buildprops.json",
"installer_path": "installer.exe",
"virtualenv_path": VENV_PATH,
"title": os.uname()[1].lower().split('.')[0],
"default_actions": [
"clobber",
"read-buildbot-config",
"download-and-extract",
"populate-webroot",
"create-virtualenv",

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

@ -8,7 +8,6 @@ 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,
"exes": {
@ -19,7 +18,6 @@ config = {
"title": socket.gethostname().split('.')[0],
"default_actions": [
"clobber",
"read-buildbot-config",
"download-and-extract",
"populate-webroot",
"create-virtualenv",

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

@ -8,7 +8,6 @@ VENV_PATH = os.path.join(os.getcwd(), 'venv')
config = {
"log_name": "talos",
"buildbot_json_path": "buildprops.json",
"installer_path": "installer.exe",
"virtualenv_path": VENV_PATH,
"exes": {

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

@ -8,7 +8,6 @@ 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,
"exes": {
@ -18,7 +17,6 @@ config = {
"title": socket.gethostname().split('.')[0],
"default_actions": [
"clobber",
"read-buildbot-config",
"download-and-extract",
"populate-webroot",
"create-virtualenv",

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

@ -34,7 +34,6 @@ else:
#####
config = {
"buildbot_json_path": "buildprops.json",
###
"installer_path": INSTALLER_PATH,
"binary_path": BINARY_PATH,
@ -280,7 +279,6 @@ config = {
],
"vcs_output_timeout": 1000,
"minidump_save_path": "%(abs_work_dir)s/../minidumps",
"buildbot_max_log_size": 209715200,
"default_blob_upload_servers": [
"https://blobupload.elasticbeanstalk.com",
],

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

@ -8,7 +8,6 @@ DISABLE_SCREEN_SAVER = False
ADJUST_MOUSE_AND_SCREEN = False
#####
config = {
"buildbot_json_path": "buildprops.json",
###
"installer_path": INSTALLER_PATH,
"xpcshell_name": XPCSHELL_NAME,
@ -222,7 +221,6 @@ config = {
],
"vcs_output_timeout": 1000,
"minidump_save_path": "%(abs_work_dir)s/../minidumps",
"buildbot_max_log_size": 52428800,
"default_blob_upload_servers": [
"https://blobupload.elasticbeanstalk.com",
],

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

@ -307,7 +307,6 @@ config = {
],
"vcs_output_timeout": 1000,
"minidump_save_path": "%(abs_work_dir)s/../minidumps",
"buildbot_max_log_size": 52428800,
"default_blob_upload_servers": [
"https://blobupload.elasticbeanstalk.com",
],

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

@ -11,7 +11,6 @@ DISABLE_SCREEN_SAVER = False
ADJUST_MOUSE_AND_SCREEN = True
#####
config = {
"buildbot_json_path": "buildprops.json",
"exes": {
'python': sys.executable,
'hg': 'c:/mozilla-build/hg/hg',
@ -246,7 +245,6 @@ config = {
],
"vcs_output_timeout": 1000,
"minidump_save_path": "%(abs_work_dir)s/../minidumps",
"buildbot_max_log_size": 52428800,
"default_blob_upload_servers": [
"https://blobupload.elasticbeanstalk.com",
],

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

@ -16,8 +16,6 @@ config = {
"--certutil-binary=%(test_install_path)s/bin/certutil",
],
"buildbot_json_path": "buildprops.json",
"default_blob_upload_servers": [
"https://blobupload.elasticbeanstalk.com",
],

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

@ -25,8 +25,6 @@ config = {
'hg': 'c:/mozilla-build/hg/hg',
},
"buildbot_json_path": "buildprops.json",
"default_blob_upload_servers": [
"https://blobupload.elasticbeanstalk.com",
],

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

@ -12,14 +12,6 @@ mozharness.mozilla.testing.errors module
:undoc-members:
:show-inheritance:
mozharness.mozilla.testing.mozpool module
-----------------------------------------
.. automodule:: mozharness.mozilla.testing.mozpool
:members:
:undoc-members:
:show-inheritance:
mozharness.mozilla.testing.talos module
---------------------------------------

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

@ -47,8 +47,7 @@ class MozharnessRunner(MozbuildObject):
self.config = {
"__defaults__": {
"config": ["--no-read-buildbot-config",
"--download-symbols", "ondemand",
"config": ["--download-symbols", "ondemand",
"--installer-url", self.installer_url,
"--test-packages-url", self.test_packages_url]
},

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

@ -14,7 +14,6 @@ import json
import os
import pprint
import subprocess
import time
import uuid
import copy
@ -57,8 +56,7 @@ Please add this to your config."
ERROR_MSGS = {
'undetermined_repo_path': 'The repo could not be determined. \
Please make sure that either "repo" is in your config or, if \
you are running this in buildbot, "repo_path" is in your buildbot_config.',
Please make sure that "repo" is in your config.',
'comments_undetermined': '"comments" could not be determined. This may be \
because it was a forced build.',
'tooltool_manifest_undetermined': '"tooltool_manifest_src" not set, \
@ -833,17 +831,10 @@ or run without that action (ie: --no-{action})"
if self.buildid:
return self.buildid
buildid = None
if c.get("is_automation") and self.buildbot_config['properties'].get('buildid'):
self.info("Determining buildid from buildbot properties")
buildid = self.buildbot_config['properties']['buildid'].encode(
'ascii', 'replace'
)
else:
# for taskcluster, there are no buildbot properties, and we pass
# MOZ_BUILD_DATE into mozharness as an environment variable, only
# to have it pass the same value out with the same name.
buildid = os.environ.get('MOZ_BUILD_DATE')
# for taskcluster, we pass MOZ_BUILD_DATE into mozharness as an
# environment variable, only to have it pass the same value out with
# the same name.
buildid = os.environ.get('MOZ_BUILD_DATE')
if not buildid:
self.info("Creating buildid through current time")
@ -1085,32 +1076,20 @@ or run without that action (ie: --no-{action})"
def query_revision(self, source_path=None):
""" returns the revision of the build
first will look for it in buildbot_properties and then in
buildbot_config. Failing that, it will actually poll the source of
the repo if it exists yet.
This method is used both to figure out what revision to check out and
to figure out what revision *was* checked out.
"""
revision = None
if 'revision' in self.buildbot_properties:
revision = self.buildbot_properties['revision']
elif (self.buildbot_config and
self.buildbot_config.get('sourcestamp', {}).get('revision')):
revision = self.buildbot_config['sourcestamp']['revision']
elif self.buildbot_config and self.buildbot_config.get('revision'):
revision = self.buildbot_config['revision']
else:
if not source_path:
dirs = self.query_abs_dirs()
source_path = dirs['abs_src_dir'] # let's take the default
if not source_path:
dirs = self.query_abs_dirs()
source_path = dirs['abs_src_dir'] # let's take the default
# Look at what we have checked out
if os.path.exists(source_path):
hg = self.query_exe('hg', return_type='list')
revision = self.get_output_from_command(
hg + ['parent', '--template', '{node}'], cwd=source_path
)
# Look at what we have checked out
if os.path.exists(source_path):
hg = self.query_exe('hg', return_type='list')
revision = self.get_output_from_command(
hg + ['parent', '--template', '{node}'], cwd=source_path
)
return revision.encode('ascii', 'replace') if revision else None
def _count_ctors(self):
@ -1326,14 +1305,8 @@ or run without that action (ie: --no-{action})"
if branch == 'try':
branch = 'mozilla-central'
# Some android versions share the same .json config - if
# multi_locale_config_platform is set, use that the .json name;
# otherwise, use the buildbot platform.
default_platform = self.buildbot_config['properties'].get('platform',
'android')
multi_config_pf = self.config.get('multi_locale_config_platform',
default_platform)
'android')
# The l10n script location differs on buildbot and taskcluster
if self.config.get('taskcluster_nightly'):

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

@ -1,113 +0,0 @@
#!/usr/bin/env python
# ***** BEGIN LICENSE BLOCK *****
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
# ***** END LICENSE BLOCK *****
'''Interact with mozpool/lifeguard/bmm.
'''
import os
import socket
import sys
from time import sleep
from mozharness.mozilla.buildbot import TBPL_RETRY, TBPL_EXCEPTION
#TODO - adjust these values
MAX_RETRIES = 20
RETRY_INTERVAL = 60
# MozpoolMixin {{{1
class MozpoolMixin(object):
mozpool_handler = None
mobile_imaging_format= "http://mobile-imaging"
def determine_mozpool_host(self, device):
if "mobile_imaging_format" in self.config:
self.mobile_imaging_format = self.config["mobile_imaging_format"]
hostname = str(self.mobile_imaging_format)[7:]
fqdn = socket.getfqdn(hostname)
imaging_server_fqdn = (str(self.mobile_imaging_format)).replace(hostname, fqdn)
return imaging_server_fqdn
def query_mozpool_handler(self, device=None, mozpool_api_url=None):
if self.mozpool_handler != None:
return self.mozpool_handler
else:
self.mozpool_api_url = self.determine_mozpool_host(device) if device else mozpool_api_url
assert self.mozpool_api_url != None, \
"query_mozpool_handler() requires either a device or mozpool_api_url!"
site_packages_path = self.query_python_site_packages_path()
mph_path = os.path.join(site_packages_path, 'mozpoolclient')
sys.path.append(mph_path)
sys.path.append(site_packages_path)
try:
from mozpoolclient import MozpoolHandler, MozpoolException, MozpoolConflictException
self.MozpoolException = MozpoolException
self.MozpoolConflictException = MozpoolConflictException
self.mozpool_handler = MozpoolHandler(self.mozpool_api_url, log_obj=self)
except ImportError, e:
self.fatal("Can't instantiate MozpoolHandler until mozpoolclient python "
"package is installed! (VirtualenvMixin?): \n%s" % str(e))
return self.mozpool_handler
def retrieve_android_device(self, b2gbase):
mph = self.query_mozpool_handler(self.mozpool_device)
for retry in self._retry_sleep(
error_message="INFRA-ERROR: Could not request device '%s'" % self.mozpool_device,
tbpl_status=TBPL_RETRY):
try:
image = 'panda-android-4.0.4_v3.3'
duration = 4 * 60 * 60 # request valid for 14400 seconds == 4 hours
response = mph.request_device(self.mozpool_device, image, assignee=self.mozpool_assignee, \
b2gbase=b2gbase, pxe_config=None, duration=duration)
break
except self.MozpoolConflictException:
self.warning("Device unavailable. Retry#%i.." % retry)
except self.MozpoolException, e:
self.buildbot_status(TBPL_RETRY)
self.fatal("We could not request the device: %s" % str(e))
self.request_url = response['request']['url']
self.info("Got request, url=%s" % self.request_url)
self._wait_for_request_ready()
def _retry_job_and_close_request(self, message, exception=None):
mph = self.query_mozpool_handler(self.mozpool_device)
exception_message = str(exception) if exception!=None and str(exception) != None else ""
self.error("%s -> %s" % (message, exception_message))
if self.request_url:
mph.close_request(self.request_url)
self.buildbot_status(TBPL_RETRY)
self.fatal(message)
def _retry_sleep(self, sleep_time=RETRY_INTERVAL, max_retries=MAX_RETRIES,
error_message=None, tbpl_status=None, fail_cb=None):
for x in range(1, max_retries + 1):
yield x
sleep(sleep_time)
if error_message:
self.error(error_message)
if tbpl_status:
self.buildbot_status(tbpl_status)
if fail_cb:
assert callable(fail_cb)
fail_cb()
self.fatal('Retries limit exceeded')
def _wait_for_request_ready(self):
mph = self.query_mozpool_handler(self.mozpool_device)
def on_fail():
# Device is not ready after retries...
self.info("Aborting mozpool request.")
self.close_request()
for retry in self._retry_sleep(sleep_time=RETRY_INTERVAL, max_retries=MAX_RETRIES,
error_message="INFRA-ERROR: Request did not become ready in time",
tbpl_status=TBPL_EXCEPTION, fail_cb=on_fail):
response = mph.query_request_status(self.request_url)
state = response['state']
if state == 'ready':
return
self.info("Waiting for request 'ready' stage. Current state: '%s'" % state)

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

@ -66,7 +66,6 @@ class Raptor(TestingMixin, MercurialScript, Python3Virtualenv, CodeCoverageMixin
def __init__(self, **kwargs):
kwargs.setdefault('config_options', self.config_options)
kwargs.setdefault('all_actions', ['clobber',
'read-buildbot-config',
'download-and-extract',
'populate-webroot',
'create-virtualenv',
@ -209,7 +208,6 @@ class Raptor(TestingMixin, MercurialScript, Python3Virtualenv, CodeCoverageMixin
# Action methods. {{{1
# clobber defined in BaseScript
# read_buildbot_config defined in BuildbotMixin
def download_and_extract(self, extract_dirs=None, suite_categories=None):
return super(Raptor, self).download_and_extract(

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

@ -161,7 +161,6 @@ class Talos(TestingMixin, MercurialScript, BlobUploadMixin, TooltoolMixin,
def __init__(self, **kwargs):
kwargs.setdefault('config_options', self.config_options)
kwargs.setdefault('all_actions', ['clobber',
'read-buildbot-config',
'download-and-extract',
'populate-webroot',
'create-virtualenv',
@ -204,34 +203,6 @@ class Talos(TestingMixin, MercurialScript, BlobUploadMixin, TooltoolMixin,
# mozharness: --geckoProfile try: <stuff>
def query_gecko_profile_options(self):
gecko_results = []
if self.buildbot_config:
# this is inside automation
# now let's see if we added GeckoProfile specs in the commit message
try:
junk, junk, opts = self.buildbot_config['sourcestamp']['changes'][-1]['comments'].partition('mozharness:')
except IndexError:
# when we don't have comments on changes (bug 1255187)
opts = None
if opts:
# In the case of a multi-line commit message, only examine
# the first line for mozharness options
opts = opts.split('\n')[0]
opts = re.sub(r'\w+:.*', '', opts).strip().split(' ')
if "--geckoProfile" in opts:
# overwrite whatever was set here.
self.gecko_profile = True
try:
idx = opts.index('--geckoProfileInterval')
if len(opts) > idx + 1:
self.gecko_profile_interval = opts[idx + 1]
except ValueError:
pass
else:
# no opts, check for '--geckoProfile' in try message text directly
if self.try_message_has_flag('geckoProfile'):
self.gecko_profile = True
# finally, if gecko_profile is set, we add that to the talos options
if self.gecko_profile:
gecko_results.append('--geckoProfile')
@ -578,7 +549,6 @@ class Talos(TestingMixin, MercurialScript, BlobUploadMixin, TooltoolMixin,
# Action methods. {{{1
# clobber defined in BaseScript
# read_buildbot_config defined in BuildbotMixin
def download_and_extract(self, extract_dirs=None, suite_categories=None):
return super(Talos, self).download_and_extract(
@ -707,15 +677,6 @@ class Talos(TestingMixin, MercurialScript, BlobUploadMixin, TooltoolMixin,
# TODO: consider getting rid of this as we should be default to stylo now
env['STYLO_FORCE_ENABLED'] = '1'
# Remove once Talos is migrated away from buildbot
if self.buildbot_config:
platform = self.buildbot_config.get('properties', {}).get('platform', '')
if 'qr' in platform:
env['MOZ_WEBRENDER'] = '1'
env['MOZ_ACCELERATED'] = '1'
if 'styloseq' in platform:
env['STYLO_THREADS'] = '1'
# sets a timeout for how long talos should run without output
output_timeout = self.config.get('talos_output_timeout', 3600)
# run talos tests

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

@ -205,7 +205,6 @@ class TestingMixin(VirtualenvMixin, BuildbotMixin, ResourceMonitoringMixin,
outside of the Release Engineering infrastructure.
What this functions accomplishes is:
* read-buildbot-config is removed from the list of actions
* --installer-url is set
* --test-url is set if needed
* every url is substituted by another external to the
@ -213,10 +212,6 @@ class TestingMixin(VirtualenvMixin, BuildbotMixin, ResourceMonitoringMixin,
"""
c = self.config
orig_config = copy.deepcopy(c)
self.warning("When you use developer_config.py, we drop "
"'read-buildbot-config' from the list of actions.")
if "read-buildbot-config" in rw_config.actions:
rw_config.actions.remove("read-buildbot-config")
self.actions = tuple(rw_config.actions)
def _replace_url(url, changes):
@ -276,87 +271,6 @@ class TestingMixin(VirtualenvMixin, BuildbotMixin, ResourceMonitoringMixin,
else:
return urllib2.urlopen(url, **kwargs)
# read_buildbot_config is in BuildbotMixin.
def find_artifacts_from_buildbot_changes(self):
c = self.config
try:
files = self.buildbot_config['sourcestamp']['changes'][-1]['files']
buildbot_prop_branch = self.buildbot_config['properties']['branch']
# Bug 868490 - Only require exactly two files if require_test_zip;
# otherwise accept either 1 or 2, since we'll be getting a
# test_zip url that we don't need.
expected_length = [1, 2, 3]
if c.get("require_test_zip") and not self.test_url:
expected_length = [2, 3]
actual_length = len(files)
if actual_length not in expected_length:
self.fatal("Unexpected number of files in buildbot config %s.\nExpected these number(s) of files: %s, but got: %d" %
(c['buildbot_json_path'], str(expected_length), actual_length))
for f in files:
if f['name'].endswith('tests.zip'): # yuk
if not self.test_url:
# str() because of unicode issues on mac
self.test_url = str(f['name'])
self.info("Found test url %s." % self.test_url)
elif f['name'].endswith('crashreporter-symbols.zip'): # yuk
self.symbols_url = str(f['name'])
self.info("Found symbols url %s." % self.symbols_url)
elif f['name'].endswith('test_packages.json'):
self.test_packages_url = str(f['name'])
self.info("Found a test packages url %s." % self.test_packages_url)
elif not any(f['name'].endswith(s) for s in ('code-coverage-gcno.zip', 'stylo-bindings.zip')):
if not self.installer_url:
self.installer_url = str(f['name'])
self.info("Found installer url %s." % self.installer_url)
except IndexError, e:
self.error(str(e))
def find_artifacts_from_taskcluster(self):
self.info("Finding installer, test and symbols from parent task. ")
task_id = self.buildbot_config['properties']['taskId']
self.set_parent_artifacts(task_id)
def postflight_read_buildbot_config(self):
"""
Determine which files to download from the buildprops.json file
created via the buildbot ScriptFactory.
"""
if self.buildbot_config:
c = self.config
message = "Unable to set %s from the buildbot config"
if c.get("installer_url"):
self.installer_url = c['installer_url']
if c.get("test_url"):
self.test_url = c['test_url']
if c.get("test_packages_url"):
self.test_packages_url = c['test_packages_url']
# This supports original Buildbot to Buildbot mode
if self.buildbot_config['sourcestamp']['changes']:
self.find_artifacts_from_buildbot_changes()
# This supports TaskCluster/BBB task to Buildbot job
elif 'testPackagesUrl' in self.buildbot_config['properties'] and \
'packageUrl' in self.buildbot_config['properties']:
self.installer_url = self.buildbot_config['properties']['packageUrl']
self.test_packages_url = self.buildbot_config['properties']['testPackagesUrl']
# This supports TaskCluster/BBB task to TaskCluster/BBB task
elif 'taskId' in self.buildbot_config['properties']:
self.find_artifacts_from_taskcluster()
missing = []
if not self.installer_url:
missing.append("installer_url")
if c.get("require_test_zip") and not self.test_url and not self.test_packages_url:
missing.append("test_url")
if missing:
self.fatal("%s!" % (message % ('+'.join(missing))))
else:
self.fatal("self.buildbot_config isn't set after running read_buildbot_config!")
def _query_binary_version(self, regex, cmd):
output = self.get_output_from_command(cmd, silent=False)
return regex.search(output).group(0)
@ -366,20 +280,12 @@ class TestingMixin(VirtualenvMixin, BuildbotMixin, ResourceMonitoringMixin,
if not self.installer_url:
message += """installer_url isn't set!
You can set this by:
1. specifying --installer-url URL, or
2. running via buildbot and running the read-buildbot-config action
You can set this by specifying --installer-url URL
"""
if self.config.get("require_test_zip") and not self.test_url and not self.test_packages_url:
message += """test_url isn't set!
You can set this by:
1. specifying --test-url URL, or
2. running via buildbot and running the read-buildbot-config action
You can set this by specifying --test-url URL
"""
if message:
self.fatal(message + "Can't run download-and-extract... exiting")

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше