We've found that when running the Kill() on the process before the Wait() we quite often run into the unexplained jq failure. After some playing with it and enhancing the error message we noticed that the program had an io.EOF error and should have exited normally.
We suspect that in some cases the program gets killed prematurely so that instead of Success(), it gets Killed() as its process status when things otherwise finish without problems.
After removing the Kill() we don't see the unexplained errors anymore.
We've found that when running the
Kill()
on the process before theWait()
we quite often run into theunexplained jq failure
. After some playing with it and enhancing the error message we noticed that the program had anio.EOF
error and should have exited normally. We suspect that in some cases the program gets killed prematurely so that instead ofSuccess()
, it getsKilled()
as its process status when things otherwise finish without problems. After removing theKill()
we don't see theunexplained
errors anymore.