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

Jenkins builds not starting - getting namespace cannot be null error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • kubernetes-plugin
    • None

      Disconnecting ature-2fdc-4388-pd-placeholder-for-new-tile-development-5-tzmbh
      Nov 07, 2023 5:16:37 AM INFO org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave _terminate
      Terminating Kubernetes instance for agent ature-2fdc-4388-pd-placeholder-for-new-tile-development-5-tzmbh
      Nov 07, 2023 5:16:37 AM WARNING org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave deleteSlavePod
      Failed to delete pod for agent null/ature-2fdc-4388-pd-placeholder-for-new-tile-development-5-tzmbh: namespace cannot be null io.fabric8.kubernetes.client.KubernetesClientException: namespace cannot be null at

      io.fabric8.kubernetes.client.dsl.internal.BaseOperation.inNamespace(BaseOperation.java:245) at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.inNamespace(BaseOperation.java:92) at org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave.deleteSlavePod(KubernetesSlave.java:395) at org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave._terminate(KubernetesSlave.java:381) at hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:88) at hudson.slaves.CloudRetentionStrategy.check(CloudRetentionStrategy.java:61) at hudson.slaves.CloudRetentionStrategy.check(CloudRetentionStrategy.java:45) at hudson.slaves.SlaveComputer$3.run(SlaveComputer.java:960) at hudson.model.Queue._withLock(Queue.java:1397) at hudson.model.Queue.withLock(Queue.java:1271) at hudson.slaves.SlaveComputer.setNode(SlaveComputer.java:957) at hudson.model.AbstractCIBase.updateComputer(AbstractCIBase.java:147) at hudson.model.AbstractCIBase$1.run(AbstractCIBase.java:255) at hudson.model.Queue._withLock(Queue.java:1397) at hudson.model.Queue.withLock(Queue.java:1271) at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:238) at 

      ..... continue track back to till thread.run so its a long stack

       

       

      Jobs will be in the deadlock , like this one (Its in the same state )

       

      Kubernates plugin installed:

      kubernates credentials = 0.11

      kubernates =  4029.v5712230ccb_f8

      kubernates cli = 1.12.0

      kubernates client api = 6.8.1-224.vd388fca_4db_3b_

      Jenkins version=2.414.3

      Thank you in advance

            macdrega Joerg Schwaerzler
            chetan_b_b Chetan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: