[scripts] Fail edit-recipe-wrapper if input comes from `led get-builder`
`led get-builder <builder> | ./scripts/led-edit-recipe-wrapper.py | led
launch` produces failing jobs, e.g.:
https://chrome-swarming.appspot.com/task?id=65335344c6660510
Error message:
could not invoke luciexe: launching luciexe: fork/exec /b/s/w/ir/kitchen-checkout/luciexe: no such file or directory
It has probably always been broken, since I don't think I tested with
`led get-builder` when I first wrote this script. I think there might be
an upstream bug in `led edit-isolated` that makes it not work properly
for job definitions fetched with `led get-build`, but I didn't feel like
debugging upstream code at the moment, so for now we can just emit a
warning from `led-edit-recipe-wrapper.py` if the input comes from `led
get-builder`.
Change-Id: Ib9e1b5ef0587c3054a5e8db7127787cfe50ed77c
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/929653
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Reviewed-by: Chris Lewis <cflewis@google.com>
Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com>
1 file changed