Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71097

Jenkins Jobs spwaned by Kubernetes plugin do not restart/continue when there is a Jenkins controller restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • kubernetes-plugin
    • None
    • Jenkins 2.361.3
      EKS
      Kubernetes plugin: Kubernetes
      Version3734.v562b_b_a_627ea_c

      The Jenkins run on EKS and we use kubernetes jenkins plugin to spwan the pods.

      Whenever a jenkins pods restarts and if the job were running as pods spawned by kubernetes plugin , the already running pods do not restart  when jenkins pod comes up again,  and are stuck and need to be terminated 

      Ideally running Jenkins job should pick up execution from the state when jenkins controller comes back online after restart.

      Currently job does not proceed and get stuck and have to be terminated manually.

      Resuming build at Thu Jan 12 00:17:37 MST 2023 after Jenkins restart
      Waiting for reconnection of prjs-rigorous-build-options-84-nmrbq before proceeding with build prjs-rigorous-build-options-84-nmrbq has been removed for 5 min 0 sec, assuming it is not coming back
      Waiting for reconnection ofprjs-rigorous-build-options-84-ztbff before proceeding with build
      Waiting for reconnection of prjs-rigorous-build-options-84-fcbdr before proceeding with build
      Waiting for reconnection of prjs-rigorous-build-options-84-tjmg1 before proceeding with build
      Waiting for reconnection of prjs-rigorous-build-options-84-mqt5h before proceeding with build
      Waiting for reconnection of prjs-rigorous-build-options-84-6qdcp before proceeding with build
      Resuming build at Thu Jan 12 00:26:17 MST 2023 after Jenkins restart

            vlatombe Vincent Latombe
            touseef Touseef
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: