To repro this locally, run the following line from the root of a 'infra' checkout:
./recipes.py run --properties-file - jiri <<EOF
{
"tryjob": true,
"$recipe_engine/swarming": {
"server": "
https://chromium-swarm.appspot.com"
},
"recipe": "jiri",
"patch_project": "jiri",
"category": "cq",
"patch_gerrit_url": "
https://fuchsia-review.googlesource.com",
"patch_repository_url": "
https://fuchsia.googlesource.com/jiri",
"patch_ref": "refs/changes/62/252662/1",
"attempt_start_ts": 1549915863000000,
"blamelist": [
"haowei@google.com"
],
"$recipe_engine/isolated": {
"server": "
https://isolateserver.appspot.com"
},
"revision": "HEAD",
"$recipe_engine/path": {
"cache_dir": "/b/s/w/ir/cache",
"temp_dir": "/b/s/w/ir/tmp/rt"
},
"patch_set": 1,
"repository": "
https://fuchsia.googlesource.com/jiri",
"buildername": "jiri",
"patch_storage": "gerrit",
"$recipe_engine/runtime": {
"is_experimental": false,
"is_luci": true
},
"buildbucket": {
"hostname": "cr-buildbucket.appspot.com",
"build": {
"created_ts": 1549915877569488,
"tags": [
"builder:jiri",
"buildset:patch/gerrit/fuchsia-review.googlesource.com/252662/1",
"cq_experimental:false",
"user_agent:cq"
],
"bucket": "luci.fuchsia.try",
"created_by": "user:5071639625-1lppvbtck1morgivc6sq4dul7klu27sd@developer.gserviceaccount.com",
"project": "fuchsia",
"id": "8921789124720293024"
}
},
"reason": "CQ",
"patch_issue": 252662,
"packages": [
"topaz/packages/buildbot"
],
"remote": "
https://fuchsia.googlesource.com/jiri",
"manifest": "manifest",
"project": "jiri",
"$recipe_engine/buildbucket": {
"build": {
"tags": [
{
"key": "builder",
"value": "jiri"
},
{
"key": "buildset",
"value": "patch/gerrit/fuchsia-review.googlesource.com/252662/1"
},
{
"key": "cq_experimental",
"value": "false"
},
{
"key": "user_agent",
"value": "cq"
}
],
"builder": {
"project": "fuchsia",
"builder": "jiri",
"bucket": "try"
},
"createTime": "2019-02-11T20:11:17.569488Z",
"infra": {
"buildbucket": {
"serviceConfigRevision": "ef156230f5cd7f8c23f689fa4dc7f92742cd904d"
},
"recipe": {
"name": "jiri",
"cipdPackage": "fuchsia/infra/recipe_bundles/fuchsia.googlesource.com/infra/recipes"
},
"swarming": {
"hostname": "chromium-swarm.appspot.com"
}
},
"createdBy": "user:5071639625-1lppvbtck1morgivc6sq4dul7klu27sd@developer.gserviceaccount.com",
"input": {
"gerritChanges": [
{
"project": "jiri",
"host": "fuchsia-review.googlesource.com",
"patchset": "1",
"change": "252662"
}
]
},
"id": "8921789124720293024"
}
},
"path_config": "generic",
"bot_id": "fuchsia-debian-16-c4acfc8a-us-central1-c-3j1f"
}
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.