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

Provisioned slaves cannot reconnect following a Jenkins restart

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • kubernetes-plugin
    • kubernetes-plugin 1.1
      jenkins 2.73.2

      If a jenkins master is restarted while a build is running on a provisioned slave, when the master is back online, the connection to the existing slave cannot be made.

      I used the file src/test/resources/org/csanchez/jenkins/plugins/kubernetes/pipeline/runInPodWithRestart.groovy for my pipeline.

      Attached is the pod log from the jnlp container and a snippet from the master's log.

          [JENKINS-47476] Provisioned slaves cannot reconnect following a Jenkins restart

          Scott Hebert created issue -
          Scott Hebert made changes -
          Description Original: If a jenkins master is restarted while a build is running on a provisioned slave, when the master is back online, the connection to the existing slave cannot be made.

          I used the file *src/test/resources/org/csanchez/jenkins/plugins/kubernetes/pipeline/runInPodWithRestart.groovy * for my pipeline.

          Attached is the pod log from the jnlp container.

          New: If a jenkins master is restarted while a build is running on a provisioned slave, when the master is back online, the connection to the existing slave cannot be made.

          I used the file *src/test/resources/org/csanchez/jenkins/plugins/kubernetes/pipeline/runInPodWithRestart.groovy* for my pipeline.

          Attached is the pod log from the jnlp container.

          Scott Hebert made changes -
          Attachment New: master-snippet-log.txt [ 40046 ]
          Scott Hebert made changes -
          Description Original: If a jenkins master is restarted while a build is running on a provisioned slave, when the master is back online, the connection to the existing slave cannot be made.

          I used the file *src/test/resources/org/csanchez/jenkins/plugins/kubernetes/pipeline/runInPodWithRestart.groovy* for my pipeline.

          Attached is the pod log from the jnlp container.

          New: If a jenkins master is restarted while a build is running on a provisioned slave, when the master is back online, the connection to the existing slave cannot be made.

          I used the file *src/test/resources/org/csanchez/jenkins/plugins/kubernetes/pipeline/runInPodWithRestart.groovy* for my pipeline.

          Attached is the pod log from the jnlp container and a snippet from the master's log.

          Martin Sander made changes -
          Description Original: If a jenkins master is restarted while a build is running on a provisioned slave, when the master is back online, the connection to the existing slave cannot be made.

          I used the file *src/test/resources/org/csanchez/jenkins/plugins/kubernetes/pipeline/runInPodWithRestart.groovy* for my pipeline.

          Attached is the pod log from the jnlp container and a snippet from the master's log.

          New: If a jenkins master is restarted while a build is running on a provisioned slave, when the master is back online, the connection to the existing slave cannot be made.

          I used the file [{{src/test/resources/org/csanchez/jenkins/plugins/kubernetes/pipeline/runInPodWithRestart.groovy}}|https://github.com/jenkinsci/kubernetes-plugin/blob/ecb8779f09438aef37490ed5cbac58fab7d2ee25/src/test/resources/org/csanchez/jenkins/plugins/kubernetes/pipeline/runInPodWithRestart.groovy] for my pipeline.

          Attached is the pod log from the jnlp container and a snippet from the master's log.

          Carlos Sanchez made changes -
          Link New: This issue is duplicated by JENKINS-47561 [ JENKINS-47561 ]
          Scott Hebert made changes -
          Assignee Original: Carlos Sanchez [ csanchez ] New: Scott Hebert [ scoheb ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Jesse Glick made changes -
          Labels New: pipeline
          Scott Hebert made changes -
          Status Original: In Review [ 10005 ] New: In Progress [ 3 ]

            scoheb Scott Hebert
            scoheb Scott Hebert
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: