Closed dankwart-de closed 6 years ago
In addition, the logs are not very clear and helpful.
[[ ${WRAPPED_SCRIPT-false} == false || ! -f ${WRAPPED_SCRIPT} ]] && startCode=ABORTED && echo "The wrapped script is not defined or not existing."
# Put in start in Leetcode
${lockCommand} $_lock;
echo "${RODDY_JOBID}:${startCode}:"`date +"%s"`":${TOOL_ID}" >> ${jobStateLogFile};
${unlockCommand} $_lock
[[ ${startCode} == 60000 || ${startCode} == "ABORTED" ]] && echo "Exitting because a former job died." && exit 250
the job status is set to ABORTED, when the wrapped script is missing. Afterwards the wrong message is echoed: "Exitting because a former job died."
This can be closed. We implemented checks for tool availability and accessibility. They will force Roddy to abort, when the tools don't exist or cannot be executed.