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

Build cannot be aborted when plugin is in waitUntilContainerIsReady

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: kubernetes-plugin
    • Labels:
      None
    • Environment:
      kubernetes plugin version 0.11
    • Similar Issues:

      Description

      We run into this when e.g. specifying a non-existing image in containerTemplate.

      The pod will be stuck in Waiting: ImagePullBackOff (without the build log showing that problem).
      The build will be waiting at

      at org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1.waitUntilContainerIsReady(ContainerExecDecorator.java:183)
      

      (code at tag 0.11).

      If the user tries to abort the build (which they will), the ONLY option that works is "forcibly abort the whole build". This has the downside that

      • the pod will not be deleted in kubernetes
      • the podTemplate will stay around in the global Jenkins configuration ($JENKINS_URL/configure)

        Attachments

          Issue Links

            Activity

            0x89 Martin Sander created issue -
            0x89 Martin Sander made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-32986 [ JENKINS-32986 ]
            jglick Jesse Glick made changes -
            Assignee Carlos Sanchez [ csanchez ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              0x89 Martin Sander
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: