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

Port allocation duplicate on "Concurrent builds"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • port-allocator-plugin
    • None
    • Jenkins Version: 2.5
      OS: Ubuntu
      Guess it is introduced in Jenkins 2.0?
      Was there a rewrite in how plugins are loaded when running concurrent? Its own classloader?

      When configuring a "Pooled TCP port", the pool assignment is not unique when the build is performed concurrently (see "Execute concurrent builds if necessary").

      Never had an issue before and problem seems to be introduced after we updated to Jenkins 2.0.

      Easy repro:

      • create new job with "Pooled TCP port" and "Execute concurrent builds if necessary" options
      • execute build multiple times
      • see console output: same port is assigned multiple times

            andresrc Andres Rodriguez
            ricktw Rick Oosterholt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: