-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Kubernetes plugin 4203.v1dd44f5b_1cf9
in PodUtils.cancelQueueItemFor(Pod pod, String reason),
all items in the Queue that have a url that matches the runUrl annotation of the pod that should be cancelled, are cancelled
BUT: in the same jenkins-build, all agents (not necessarily pods, can be VMs also) created in that build will have the same runUrl annotation => if one of those pods fail and should (legitimately) be cancelled/deleted, all other agents (not necessarily pods) of the same build that are waiting in the queue at the time PodUtils.cancelQueueItemFor() is called are also going to be cancelled, even if those pods are not related to the failing pod