Execution failures
Runner exits with a nonzero code
When a Runner exits with a nonzero code, the Trial fails with RUNNER_COMMAND_FAILED. The error message gives the exit code. For a trusted agent Runner:
RUNNER_COMMAND_FAILED: Trusted agent command exited with code 2; read its redacted stdout and stderr with el job log and this Job ID
For an ordinary Runner run by the sandbox Supervisor, the message starts with Runner command exited with code 2 and has the same log pointer.
The platform does not put Runner stderr into the error. Runner output can contain credentials and private data, so the error has only the exit code. To read the Runner's stdout and stderr, use the Job log. Known secrets are redacted from it:
el job log <job_id>
The platform does not sort a nonzero exit into a finer category such as a model API error or a Runner crash. Only the Runner knows why it exited, so print the reason to stderr and read it in the Job log.
Outputs and reward after a nonzero exit
- A trusted agent Runner's output files written before it exited, such as
result.jsonand the trajectory, are still collected. Missing declared outputs are skipped and do not hide the original failure. - For an ordinary Supervisor Runner, the platform tries to publish output files only after it has verified that the worker process stopped. The files are available only if that publication succeeds. If publication fails, no outputs are guaranteed.
- A nonzero exit always leaves the Trial failed. The platform does not read
reward.txt, and a reward insideresult.jsondoes not turn the Trial into a success. The Trial has no reward and no partial score.
A Trial is scored only when it completes successfully and its reward follows the normal Runner or Verifier reward contract. Having some file present is not enough. If a Runner should report a score after a handled error, it must write its reward through that contract and exit with code 0.
Job error
When a Job fails and has no error of its own, el job get shows the error of the most recently finished failed Trial: error (the Trial's code), error_message (its one-line public message, when it has one), error_exit_code (when the Runner reported one) and error_trial_id. A Job error of its own, such as JOB_INTERRUPTED or a template preparation failure, takes precedence. Cancelled and completed Jobs do not show a Trial error. For Train Jobs, the same rule fills training.error_code and training.error_detail.