To repro this locally, run the following line from the root of a 'infra' checkout:
./recipes.py run --properties-file - infra <<EOF
{
"tryjob": true,
"$recipe_engine/swarming": {
"server": "
https://chromium-swarm.appspot.com"
},
"recipe": "infra",
"patch_project": "infra/infra",
"category": "cq",
"patch_gerrit_url": "
https://fuchsia-review.googlesource.com",
"patch_repository_url": "
https://fuchsia.googlesource.com/infra/infra",
"patch_ref": "refs/changes/14/248614/8",
"attempt_start_ts": 1548883189000000,
"blamelist": [
"kjharland@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": 8,
"repository": "
https://fuchsia.googlesource.com/infra/infra",
"buildername": "infra",
"patch_storage": "gerrit",
"$recipe_engine/runtime": {
"is_experimental": false,
"is_luci": true
},
"buildbucket": {
"hostname": "cr-buildbucket.appspot.com",
"build": {
"created_ts": 1548883207191464,
"tags": [
"builder:infra",
"buildset:patch/gerrit/fuchsia-review.googlesource.com/248614/8",
"cq_experimental:false",
"user_agent:cq"
],
"bucket": "luci.fuchsia.try",
"created_by": "user:5071639625-1lppvbtck1morgivc6sq4dul7klu27sd@developer.gserviceaccount.com",
"project": "fuchsia",
"id": "8922871958095033936"
}
},
"reason": "CQ",
"patch_issue": 248614,
"packages": [
"topaz/packages/buildbot"
],
"remote": "
https://fuchsia.googlesource.com/infra/infra",
"manifest": "manifest",
"project": "infra/infra",
"$recipe_engine/buildbucket": {
"build": {
"tags": [
{
"key": "builder",
"value": "infra"
},
{
"key": "buildset",
"value": "patch/gerrit/fuchsia-review.googlesource.com/248614/8"
},
{
"key": "cq_experimental",
"value": "false"
},
{
"key": "user_agent",
"value": "cq"
}
],
"builder": {
"project": "fuchsia",
"builder": "infra",
"bucket": "try"
},
"createTime": "2019-01-30T21:20:07.191464Z",
"infra": {
"buildbucket": {
"serviceConfigRevision": "01134cf47e8a2d5d7cea5ec1232ca64ed2f16a5c"
},
"recipe": {
"name": "infra",
"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": "infra/infra",
"host": "fuchsia-review.googlesource.com",
"patchset": "8",
"change": "248614"
}
]
},
"id": "8922871958095033936"
}
},
"path_config": "generic",
"bot_id": "fuchsia-debian-16-c4acfc8a-us-central1-b-cqnl"
}
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.