Since AE 12.2.1 the calculation of agent resources does not work correctly in the following scenario:
A JOBS resource consumption is not allocated because this information has not been sent to the agent (e.g. the job has ended for example with status: ENDED_INACTIVE or FAULT_OTHER, ENDED_EMPTY, etc. )
Under this circumstances, the AE erroneously releases the resources when it should not, which allows other JOBS that should be waiting for resources to be started when they should not.
Please note that the issue only appears when "Generate at Runtime" is activated
Release : 12.2.x, 12.3.x
Component : AUTOMATION ENGINE
This is a bug introduced on Automation Engine 12.2.1
Workaround:
Use agent groups instead of Agent as we could not reproduce the behavior when the Agent was put in a single hostgroup with ANY.
Solution:
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Automation.Engine
Automation.Engine 12.2.9 - Available
Automation.Engine 12.3.5HF1 - Available
Automation.Engine 12.3.6 - Available
Solution Description:
A problem has been fixed where the calculation of the agent resources was incorrect when a JOBS with a script function was canceled.