There is a random disconnection between the controller and the agent with the error: “also cancelling shell steps.”
And Cannot contact <node_name>: java.io.IOException: cannot find current thread
The plugin kills the connection thread between the agent and the controller. It happens randomly in the builds.
As a workaround, I had to revert to version 371.vb_7cec8f3b_95e, which works fine. However, I’m currently blocked on this version due to this problem.
Could you please provide guidance or suggest a solution to resolve this issue?
Jenkins builds hang and fail with the error “Sending interrupt signal to process. Cannot contact <node_name>: java.io.IOException: cannot find current thread. After 20s process did not stop”. This error also appears randomly. It occurs in different pipelines and builds.
Errors started appearing after updating Jenkins and its plugins. Jenkins updated to version 2.492.3. Workflow-durable-task-step plugin updated from version 1371.vb_7cec8f3b_95e to 1405.v1fcd4a_d00096.
This error did not occur before updating Jenkins and its plugins.
Tell me, did you manage to find a solution to this problem?