To repro this locally, run the following line from the root of a 'build' checkout:
./scripts/slave/recipes.py run --properties-file - art <<EOF
{
"$recipe_engine/path": {
"cache_dir": "/b/s/w/ir/cache",
"temp_dir": "/b/s/w/ir/tmp/rt"
},
"$recipe_engine/runtime": {
"is_experimental": true,
"is_luci": true
},
"branch": "refs/heads/master",
"repository": "https://android.googlesource.com/platform/art",
"buildername": "host-x86_64-cms",
"recipe": "art",
"mastername": "client.art",
"buildnumber": 769,
"buildbucket": {
"hostname": "cr-buildbucket.appspot.com",
"build": {
"created_ts": 1553592003781795,
"tags": [
"build_address:luci.art.ci/host-x86_64-cms/769",
"builder:host-x86_64-cms",
"buildset:commit/git/79f5662900190a5c59758c02d666c6429b2e07b5",
"buildset:commit/gitiles/android.googlesource.com/platform/art/+/79f5662900190a5c59758c02d666c6429b2e07b5",
"gitiles_ref:refs/heads/master",
"scheduler_invocation_id:9083364488994082992",
"scheduler_job_id:art/host-x86_64-cms",
"user_agent:luci-scheduler"
],
"bucket": "luci.art.ci",
"created_by": "project:art",
"project": "art",
"id": "8917934427001265280"
}
},
"$recipe_engine/buildbucket": {
"hostname": "cr-buildbucket.appspot.com",
"build": {
"tags": [
{
"key": "buildset",
"value": "commit/git/79f5662900190a5c59758c02d666c6429b2e07b5"
},
{
"key": "buildset",
"value": "commit/gitiles/android.googlesource.com/platform/art/+/79f5662900190a5c59758c02d666c6429b2e07b5"
},
{
"key": "scheduler_invocation_id",
"value": "9083364488994082992"
},
{
"key": "scheduler_job_id",
"value": "art/host-x86_64-cms"
},
{
"key": "user_agent",
"value": "luci-scheduler"
}
],
"builder": {
"project": "art",
"builder": "host-x86_64-cms",
"bucket": "ci"
},
"number": 769,
"createTime": "2019-03-26T09:20:03.781795Z",
"infra": {
"buildbucket": {
"serviceConfigRevision": "80aefcf1d2f6c25894a968312eca86ba0f80737c"
},
"recipe": {
"name": "art",
"cipdPackage": "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
},
"swarming": {
"hostname": "chromium-swarm.appspot.com",
"taskServiceAccount": "art-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
}
},
"createdBy": "project:art",
"input": {
"gitilesCommit": {
"project": "platform/art",
"host": "android.googlesource.com",
"ref": "refs/heads/master",
"id": "79f5662900190a5c59758c02d666c6429b2e07b5"
},
"experimental": true
},
"id": "8917934427001265280"
}
},
"path_config": "generic",
"bot_id": "gce-trusty-e833d7b0-us-west1-b-1f8h",
"revision": "79f5662900190a5c59758c02d666c6429b2e07b5"
}
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.