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

Cant run more than 2 runs in parallel using the plugin

      When triggering more than 2 concurrent jobs with the Operations orchestation plugin, only 2 run at the same time.
      i went over the code in github and i think this class is causing it:

      https://github.com/jenkinsci/hp-operations-orchestration-plugin/blob/master/src/main/java/com/hp/mercury/ci/jenkins/plugins/OOBuildStep.java

      line 40 : import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
      line 111 : httpClient = new DefaultHttpClient(new ThreadSafeClientConnManager());

      the "ThreadSafeClientConnManager" is limited by default to creating only 2 connections to a host at the same time.

      you might want to try something like :
      line 111 : httpClient = new DefaultHttpClient(new ThreadSafeClientConnManager().setDefaultMaxPerRoute(10));

          [JENKINS-29241] Cant run more than 2 runs in parallel using the plugin

          Or Ben-zeev created issue -

          Dan Albu added a comment -

          Can you please give me more details.
          What version of Operations Orchestration did you try to run?

          Dan Albu added a comment - Can you please give me more details. What version of Operations Orchestration did you try to run?

          Or Ben-zeev added a comment -

          it happened on OO 9.07. plugin version 1.11

          Or Ben-zeev added a comment - it happened on OO 9.07. plugin version 1.11

          Remus Golgot added a comment -

          the issue DOES reproduce on 9.x with the latest version of the plugin, but DOES NOT reproduce on 10.x. The solution pointed above ( in the description ) does not solve the issue ( which may very well be on the OO 9.x side )

          Since 9.x is approaching end of life as a supported OO version, the recommendation is to migrate to 10.x since this version does not have the faulty behavior.

          Remus Golgot added a comment - the issue DOES reproduce on 9.x with the latest version of the plugin, but DOES NOT reproduce on 10.x. The solution pointed above ( in the description ) does not solve the issue ( which may very well be on the OO 9.x side ) Since 9.x is approaching end of life as a supported OO version, the recommendation is to migrate to 10.x since this version does not have the faulty behavior.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 164110 ] New: JNJira + In-Review [ 181510 ]

            Unassigned Unassigned
            orbenzeev Or Ben-zeev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: