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

Milestones preventing jobs from running

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: core, pipeline
    • Labels:
      None
    • Environment:
      Jenkins 2.150.1
      Unbuntu 16.04
      Jenkins running docker container (Docker version 17.05.0-ce, build 89658be)
    • Similar Issues:

      Description

      Jobs with milestones configured seem to randomly hang and never get past the first milestone.  Most are configured with a timeout and so they eventually fail with an output like 

      Started by user Elikem Gbanaglo (elikemg)
      Resume disabled by user, switching to high-performance, low-durability mode.
      [Pipeline] timeout
      Timeout set to expire in 2 hr 10 min
      [Pipeline]

      { [Pipeline] echo trying to get past milestone 0 [Pipeline] milestone Trying to pass milestone 0 [Pipeline] }

      [Pipeline] // timeout
      [Pipeline] echo
      [Pipeline] End of Pipeline

      The typical pattern being used by jobs is:

      timeout(time: 10, unit: 'MINUTES'){ 
        milestone()  
        lock(resource: "${env.JOB_NAME}", inversePrecedence: true) {
          node('master')

      {           // do something             }

           milestone()
         }
      }

      When we comment out the milestone steps, the jobs consistently run

      We have seen this error in the log, but are unsure if it is related

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              mmresnick Matthew Resnick
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: