blob: c3741bb71549c241b187034fe6c6a84bfc8da66a [file] [log] [blame]
[
{
"cmd": [
"python",
"-u",
"\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
"[BUILDER_CACHE]\\win_x64_clang_rel",
"511"
],
"name": "makedirs checkout path",
"~followup_annotations": [
"@@@STEP_LOG_LINE@python.inline@@@@",
"@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
"@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
"@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
"@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
"@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
"@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
"@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
"@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
"@@@STEP_LOG_END@python.inline@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::bot_update]\\resources\\bot_update.py",
"--spec",
"cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https://chrome-internal.googlesource.com/chrome/deps/webrtc-limited'}]",
"--patch_root",
"src",
"--revision_mapping_file",
"{\"src\": \"got_revision\"}",
"--git-cache-dir",
"[GIT_CACHE]",
"--issue",
"666666",
"--patchset",
"1",
"--rietveld_server",
"https://fake.rietveld.url",
"--output_json",
"/path/to/tmp/json",
"--revision",
"src@12345",
"--output_manifest"
],
"cwd": "[BUILDER_CACHE]\\win_x64_clang_rel",
"env": {
"PATH": "RECIPE_PACKAGE_REPO[depot_tools];%(PATH)s"
},
"name": "bot_update",
"~followup_annotations": [
"@@@STEP_TEXT@Some step text@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#170242}\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@",
"@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[build::webrtc]\\resources\\cleanup_files.py",
"[BUILDER_CACHE]\\win_x64_clang_rel\\src\\out"
],
"name": "clean test output files"
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[build]\\scripts\\tools\\runit.py",
"--show-path",
"python",
"RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\cleanup_temp.py"
],
"name": "cleanup_temp"
},
{
"cmd": [],
"name": "ensure_goma"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::cipd]\\resources\\bootstrap.py",
"--platform",
"windows-amd64",
"--dest-directory",
"[SLAVE_BUILD]\\cipd",
"--json-output",
"/path/to/tmp/json"
],
"name": "ensure_goma.install cipd",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]\\\\cipd\\\\cipd\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[SLAVE_BUILD]\\cipd\\cipd",
"ensure",
"--root",
"[CACHE]\\cipd\\goma",
"--list",
"infra/tools/cloudtail/windows-amd64 goma_recipe_module\ninfra_internal/goma/client/windows-amd64 release",
"--json-output",
"/path/to/tmp/json",
"--service-account-json",
"C:\\creds\\service_accounts\\service-account-goma-client.json"
],
"name": "ensure_goma.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-goma_recipe_modu\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/windows-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-release---------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/windows-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
"runhooks"
],
"cwd": "[BUILDER_CACHE]\\win_x64_clang_rel\\src",
"env": {
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json",
"GYP_DEFINES": "clang=1 component=static_library dcheck_always_on=1 fastbuild=1 ffmpeg_branding=Chrome gomadir='[CACHE]\\cipd\\goma' rtc_use_h264=1 target_arch=x64 use_goma=1",
"PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
},
"name": "gclient runhooks"
},
{
"cmd": [
"python",
"-u",
"[BUILDER_CACHE]\\win_x64_clang_rel\\src\\tools\\mb\\mb.py",
"gen",
"-m",
"tryserver.webrtc",
"-b",
"win_x64_clang_rel",
"--config-file",
"[BUILDER_CACHE]\\win_x64_clang_rel\\src\\webrtc\\build\\mb_config.pyl",
"--goma-dir",
"[CACHE]\\cipd\\goma",
"--gyp-script=[BUILDER_CACHE]\\win_x64_clang_rel\\src\\webrtc\\build\\gyp_webrtc.py",
"//out/Release_x64"
],
"cwd": "[BUILDER_CACHE]\\win_x64_clang_rel\\src",
"env": {
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json"
},
"name": "generate_build_files"
},
{
"allow_subannotations": true,
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\clang_revision.py",
"--src-dir",
"[BUILDER_CACHE]\\win_x64_clang_rel\\src",
"--output-json",
"/path/to/tmp/json"
],
"env": {
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json"
},
"name": "clang_revision",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_PACKAGE_REPO[build]\\scripts\\tools\\runit.py",
"--show-path",
"python",
"RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\compile.py",
"--gsutil-py-path",
"RECIPE_PACKAGE_REPO[depot_tools]\\gsutil.py",
"--ninja-path",
"RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe",
"--target",
"Release_x64",
"--src-dir",
"[BUILDER_CACHE]\\win_x64_clang_rel\\src",
"--goma-cache-dir",
"[GOMA_CACHE]",
"--buildbot-buildername",
"win_x64_clang_rel",
"--buildbot-mastername",
"tryserver.webrtc",
"--buildbot-slavename",
"slavename",
"--goma-deps-cache-dir",
"[GOMA_DEPS_CACHE]",
"--compiler",
"goma-clang",
"--goma-jsonstatus",
"/path/to/tmp/json",
"--goma-service-account-json-file",
"C:\\creds\\service_accounts\\service-account-goma-client.json",
"--goma-dir",
"[CACHE]\\cipd\\goma",
"--goma-fail-fast",
"--goma-disable-local-fallback",
"--"
],
"env": {
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json"
},
"name": "compile",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
"@@@STEP_LOG_END@json.output (invalid)@@@"
]
},
{
"name": "$result",
"recipe_result": null,
"status_code": 0
}
]