To repro this locally, run the following line from the root of a 'infra' checkout:
./recipes.py run --properties-file - gcc_toolchain <<EOF
{
"$recipe_engine/path": {
"cache_dir": "/b/s/w/ir/cache",
"temp_dir": "/b/s/w/ir/tmp/rt"
},
"$recipe_engine/runtime": {
"is_experimental": false,
"is_luci": true
},
"gcs_bucket": "fuchsia-build",
"repository": "
https://gnu.googlesource.com/binutils-gdb",
"buildername": "gcc-x64-mac",
"recipe": "gcc_toolchain",
"project": "integration",
"buildbucket": {
"hostname": "cr-buildbucket.appspot.com",
"build": {
"created_ts": 1544068797514201,
"tags": [
"builder:gcc-x64-mac",
"buildset:commit/git/bf9201ee0e57faf02d4b4c3b45dbc0cd91653742",
"buildset:commit/gitiles/gnu.googlesource.com/binutils-gdb/+/bf9201ee0e57faf02d4b4c3b45dbc0cd91653742",
"gitiles_ref:refs/heads/binutils-2_31-branch",
"scheduler_invocation_id:9093350294612826032",
"scheduler_job_id:fuchsia/gcc-x64-mac",
"user_agent:luci-scheduler"
],
"bucket": "luci.fuchsia.ci",
"created_by": "user:luci-scheduler@appspot.gserviceaccount.com",
"project": "fuchsia",
"id": "8927920232535999328"
}
},
"branch": "refs/heads/binutils-2_31-branch",
"bot_id": "fuchsia-ci-mac-lab01-1004",
"path_config": "generic",
"packages": [
"topaz/packages/buildbot"
],
"remote": "
https://fuchsia.googlesource.com/integration",
"revision": "bf9201ee0e57faf02d4b4c3b45dbc0cd91653742"
}
EOF
To run on Windows, you can put the JSON in a file and redirect the
contents of the file into run_recipe.py, with the < operator.