Hi all,
I just wrote a custom Deadline plugin, based off of the stock PythonSubmission plugin for Deadline (but modified to pass along task start and end frames for handling frame chunks within tasks of the same job, instead of using a separate job per frame chunk).
I’ve got things working pretty well … my submission will submit only one job, but with multiple tasks if frame chunks are specified … and I can resubmit and change the frame list range and chunk size, and the task renders pick up the new correct frames to render. So that’s all good.
But, I’ve noticed behaviour where all tasks for the job are marked as failed, even if they actually completed (and returned 0), if one of them ended up failing (i.e. returned non-zero).
The desired behaviour I need to get working is to have any actually failed tasks to be marked as failed, have any actually completed tasks to be marked as complete, and then to have the job marked as failed if any one of its tasks failed … otherwise marking the job as complete if all tasks completed.
Anyone know of a way for me to accomplish this? Some task settings or configuration that I can specify for my plugin? Or some job info setting?
Any help on this would be greatly appreciated!
Many thanks,
Mike