To repro this locally, run the following line from the root of a 'infra' checkout:
./recipes.py run --properties-file - clang_toolchain <<EOF
{
"$recipe_engine/path": {
"cache_dir": "/b/s/w/ir/cache",
"temp_dir": "/b/s/w/ir/tmp/rt"
},
"$recipe_engine/swarming": {
"server": "
https://chromium-swarm.appspot.com"
},
"buildername": "clang-mac-x64",
"recipe": "clang_toolchain",
"$recipe_engine/runtime": {
"is_experimental": false,
"is_luci": true
},
"buildbucket": {
"hostname": "cr-buildbucket.appspot.com",
"build": {
"created_ts": 1558215785981570,
"tags": [
"builder:clang-mac-x64",
"buildset:commit/git/4b105f53082bba3a34d4b4585cdd4da13fc0be81",
"buildset:commit/gitiles/fuchsia.googlesource.com/third_party/llvm-project/+/4b105f53082bba3a34d4b4585cdd4da13fc0be81",
"gitiles_ref:refs/heads/master",
"user_agent:recipe"
],
"bucket": "luci.fuchsia.prod",
"created_by": "user:fuchsia-prod-builder@fuchsia-infra.iam.gserviceaccount.com",
"project": "fuchsia",
"id": "8913086039957889264"
}
},
"platform": "mac-amd64",
"$recipe_engine/buildbucket": {
"hostname": "cr-buildbucket.appspot.com",
"build": {
"tags": [
{
"key": "buildset",
"value": "commit/git/4b105f53082bba3a34d4b4585cdd4da13fc0be81"
},
{
"key": "buildset",
"value": "commit/gitiles/fuchsia.googlesource.com/third_party/llvm-project/+/4b105f53082bba3a34d4b4585cdd4da13fc0be81"
},
{
"key": "user_agent",
"value": "recipe"
}
],
"builder": {
"project": "fuchsia",
"builder": "clang-mac-x64",
"bucket": "prod"
},
"createTime": "2019-05-18T21:43:05.981570Z",
"infra": {
"buildbucket": {
"serviceConfigRevision": "8033568d125f3786488e25d230c57719d357d496"
},
"recipe": {
"name": "clang_toolchain",
"cipdPackage": "fuchsia/infra/recipe_bundles/fuchsia.googlesource.com/infra/recipes"
},
"swarming": {
"priority": 30,
"hostname": "chromium-swarm.appspot.com",
"taskServiceAccount": "fuchsia-prod-builder@fuchsia-infra.iam.gserviceaccount.com"
}
},
"createdBy": "user:fuchsia-prod-builder@fuchsia-infra.iam.gserviceaccount.com",
"input": {
"gitilesCommit": {
"project": "third_party/llvm-project",
"host": "fuchsia.googlesource.com",
"ref": "refs/heads/master",
"id": "4b105f53082bba3a34d4b4585cdd4da13fc0be81"
}
},
"id": "8913086039957889264"
}
},
"path_config": "generic",
"$recipe_engine/isolated": {
"server": "
https://isolateserver.appspot.com"
},
"bot_id": "build386-a9"
}
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.