processStatus = "permanentFail"
if rcode == 137:
- logger.warning("%s job was killed on the compute instance. The most common reason is that it attempted to allocate too much RAM and was targeted by the Out Of Memory (OOM) killer. Try resubmitting with a higher 'ramMin'.",
+ logger.warning("%s This container was killed on the compute instance. The most common reason is that it attempted to allocate too much RAM and was targeted by the Out Of Memory (OOM) killer. Try resubmitting with a higher 'ramMin'.",
self.arvrunner.label(self))
else:
processStatus = "permanentFail"
# In case of status being an error, only report the first one.
if kind in ('error', 'warning', 'activity'):
updatemessage = runtime_status.get(kind, "")
- if updatemessage:
- updatemessage += "\n"
- updatemessage += message
+ if not updatemessage:
+ updatemessage = message;
- # Subsequent messages tacked on as detail
+ # Subsequent messages tacked on in detail
updatedetail = runtime_status.get(kind+'Detail', "")
if updatedetail:
- updatedetail += "\n"
+ updatedetail += "\n"
+ updatedetail += message + "\n"
if detail:
- updatedetail += message + "\n" + detail
+ updatedetail += detail + "\n"
runtime_status.update({
kind: updatemessage,
kind+'Detail': updatedetail,