api/exec may return "unexpected EOF" #9892
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/api
HTTP API and SDK issues
type/bug
Our private nightly e2e indicate that the exec API returns "unexpected EOF". This should signal that the exec api client, has gotten an EOF before it receives the exit code. These failures are user visible and disproportionately impact scripted usage of
nomad alloc exec
.In a sample of 345 e2e builds, 10 have failed and surfaced this error. The tests in these instances used the api/ package directly, but there were more cases where the
nomad alloc exec
fails for the same reason but get reported as opaque "status code: ...".Relevant build output
The text was updated successfully, but these errors were encountered: