Precise if the agent is busy or unreachable when requesting agent
When requesting the environment, if the agent is "unreachable" or "busy" the log is the same:
Workflow Squash TM API tests
(running in namespace 'default')
[2023-04-20T17:50:49] [job 029fcf60-3c2c-4c00-84cc-a28f983f4048] Running function end-to-end-execution
[2023-04-20T18:17:40] [job 3b38e0bb-eca9-4ae5-a6da-f9881ed76d86] Requesting execution environment providing ['api', 'linux', 'soapui'] in namespace 'default' for job 'squashTMJob-0'
[2023-04-20T18:18:10] [job 3b38e0bb-eca9-4ae5-a6da-f9881ed76d86] Requesting execution environment providing ['api', 'linux', 'soapui'] in namespace 'default' for job 'squashTMJob-0'
[2023-04-20T18:18:40] [job 3b38e0bb-eca9-4ae5-a6da-f9881ed76d86] Requesting execution environment providing ['api', 'linux', 'soapui'] in namespace 'default' for job 'squashTMJob-0'
[2023-04-20T18:19:10] [job 3b38e0bb-eca9-4ae5-a6da-f9881ed76d86] Requesting execution environment providing ['api', 'linux', 'soapui'] in namespace 'default' for job 'squashTMJob-0'
Regarding "network" and testing this is not the same. In one case a admin is needed in the other not.
Suggestions:
- If the agent is unreachable add a log about it and kill the process faster.
- If the agent busy keeping the log as it is.
Edited by Laurent Mazuré