To repro this locally, run the following line from the root of a 'infra' checkout:
./recipes.py run --properties-file - tools <<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"
},
"remote": "
https://fuchsia.googlesource.com/tools",
"$recipe_engine/buildbucket": {
"hostname": "cr-buildbucket.appspot.com",
"build": {
"tags": [
{
"key": "buildset",
"value": "commit/git/44f018a1002a37eef79eec672ea9f9d11ccd9d49"
},
{
"key": "buildset",
"value": "commit/gitiles/fuchsia.googlesource.com/tools/+/44f018a1002a37eef79eec672ea9f9d11ccd9d49"
},
{
"key": "scheduler_invocation_id",
"value": "9083339407491364544"
},
{
"key": "scheduler_job_id",
"value": "fuchsia/prod-tools"
},
{
"key": "user_agent",
"value": "luci-scheduler"
}
],
"builder": {
"project": "fuchsia",
"builder": "tools",
"bucket": "prod"
},
"createTime": "2019-03-26T15:58:43.364998Z",
"infra": {
"buildbucket": {
"serviceConfigRevision": "80aefcf1d2f6c25894a968312eca86ba0f80737c"
},
"recipe": {
"name": "tools",
"cipdPackage": "fuchsia/infra/recipe_bundles/fuchsia.googlesource.com/infra/recipes"
},
"swarming": {
"hostname": "chromium-swarm.appspot.com",
"taskServiceAccount": "fuchsia-prod-builder@fuchsia-infra.iam.gserviceaccount.com"
}
},
"createdBy": "project:fuchsia",
"input": {
"gitilesCommit": {
"project": "tools",
"host": "fuchsia.googlesource.com",
"ref": "refs/heads/master",
"id": "44f018a1002a37eef79eec672ea9f9d11ccd9d49"
}
},
"id": "8917909345501143312"
}
},
"repository": "
https://fuchsia.googlesource.com/tools",
"buildername": "tools",
"recipe": "tools",
"manifest": "manifest",
"project": "tools",
"buildbucket": {
"hostname": "cr-buildbucket.appspot.com",
"build": {
"created_ts": 1553615923364998,
"tags": [
"builder:tools",
"buildset:commit/git/44f018a1002a37eef79eec672ea9f9d11ccd9d49",
"buildset:commit/gitiles/fuchsia.googlesource.com/tools/+/44f018a1002a37eef79eec672ea9f9d11ccd9d49",
"gitiles_ref:refs/heads/master",
"scheduler_invocation_id:9083339407491364544",
"scheduler_job_id:fuchsia/prod-tools",
"user_agent:luci-scheduler"
],
"bucket": "luci.fuchsia.prod",
"created_by": "project:fuchsia",
"project": "fuchsia",
"id": "8917909345501143312"
}
},
"$recipe_engine/runtime": {
"is_experimental": false,
"is_luci": true
},
"branch": "refs/heads/master",
"bot_id": "fuchsia-debian-16-6907d2bd-us-central1-c-qtd8",
"path_config": "generic",
"packages": [
"fuchsia.googlesource.com/tools/cmd/bloatalyzer",
"fuchsia.googlesource.com/tools/cmd/botanist",
"fuchsia.googlesource.com/tools/cmd/covargs",
"fuchsia.googlesource.com/tools/cmd/dump_breakpad_symbols",
"fuchsia.googlesource.com/tools/cmd/gndoc",
"fuchsia.googlesource.com/tools/cmd/health_checker",
"fuchsia.googlesource.com/tools/cmd/ninjatrace",
"fuchsia.googlesource.com/tools/cmd/symbolize",
"fuchsia.googlesource.com/tools/cmd/testrunner",
"fuchsia.googlesource.com/tools/cmd/testsharder"
],
"$recipe_engine/isolated": {
"server": "
https://isolateserver.appspot.com"
},
"revision": "44f018a1002a37eef79eec672ea9f9d11ccd9d49"
}
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.