OnSlaveStartingJobCallback works weirdly on a Deadline job

Hello Deadline users and the team,
currently we have some issue with the Deadline event called OnSlaveStartingJobCallback.
As you can see on the picture, the Event Log starts later which is wrong. We could not figured out why is it happening.
I am wondering if it’s a Deadline bug, or if I have to change something or enable/disable?
Thanks for any help in advance.

Hello!

I tried reproducing the issue locally on my local farm with an example event plugin and was unsuccessful. I can see that the OnSlaveStartingJobCallback() is triggering at the worker starting the job. I have also seen in my local test that if you have an event plugin which is failing to load may cause issues with other event plugins.

What version of Deadline are you running? Also, it will be helpful to get the archive of the job from the Monitor and the event script. Feel free to share the archive job and event script to the thread or you can open a ticket with Thinkbox Support.

@karpreet Hi, currently I cannot send the code. Anyway, the issue is that, when I start rendering the job, it takes a couple of rendered frames to update the code on Deadline as you can see on the picture on top. It looks like the Deadline has a problem to take an updated code directly.
Of course, I do sync the code before job start. (and even after)

Currently we have a Deadline version:
Deadline Monitor 10.1
Deadline Client Version: 10.1.10.6 Release (1a2a926fa)

Do you know what could be wrong? … or is it a bug?

Many thanks for help.

Lukas B.

@karpreet here is the event plugin. Sometimes it’s working and sometimes not. I could not figure out what is going wrong with it.
Thanks for help.
DeadProcessCleanup.py (4.1 KB)

It might be an issue that we’ve resolved since the 10.1.10 release, as I’ve not been able to re-create this on any of the Deadline installs I’ve got handy (10.2 and 10.3). I could swear we resolved an issue with event plugin scripts failing to be loaded or applied in a timely fashion but I’m not finding anything obvious in the release notes over the last 3ish years that I can point to as a fix.

I want to chalk this up to a Deadline bug that could be resolved by an upgrade, just based on my inability to re-create this failure mode.

I’d also test disabling your other event plugins, just in case one of them failing to load is causing issues with DeadProcessCleanup loading.