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

Jobs setup to run on same docker image are running in serial

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • docker-plugin
    • None
    • Cloudbees Jenkins Enterprise 2.7.20.2-rolling
      Docker plugin 0.16.2

      I defined a docker template with image name 'kkm' and label 'docker-slave'.
      I created two jenkins jobs (docker-test1 & docker-test2) to run on docker-slave.
      When I run 'build now' simultaneously on both jobs sometimes the jobs will
      execute in parallel sometimes only one job will run while the other waits.

      See the attached jenkins logs. What is the expected behavior? These should run in parallel.

          [JENKINS-39519] Jobs setup to run on same docker image are running in serial

          Sounds weird. Don't you have your docker template configured with max cap = 1 (default value) by chance ?

          Nicolas De Loof added a comment - Sounds weird. Don't you have your docker template configured with max cap = 1 (default value) by chance ?

          This might be a side effect of the NodProvisioner delay to provision a new agent, fixed in 1.0.x. Please give it a try and re-open this issue if still relevant.

          Nicolas De Loof added a comment - This might be a side effect of the NodProvisioner delay to provision a new agent, fixed in 1.0.x. Please give it a try and re-open this issue if still relevant.

            ndeloof Nicolas De Loof
            jhavero Alex Raguero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: