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

Maven agent needs a fix for the 'hardcoded' socket connection to localhost, perhaps a fallback mechanism when it fails to connect through the loopback interface can solve this pesky issue?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None
    • CentOS release 5.5 x86_64, linux-vserver, Maven 2.2+, jdk 1.6. I might affect any other linux-vserver

      We ran into a problem with Hudson as detailed here, this is happening in a virtualized environment as the one described above (linux-vserver)

      It's well know that vserver has some restrictions, and that it doesn't play well with the loopback interface as described here and here.

      We tested hudson+vserver (this might happen in other virtualized environment as well) and found out that it's not listening in all interfaces (perhaps due to the vserver restrictions), but also, after some debugging we found out that maven-agent has a hardcoded socket connection to use only the loopback interface as it's shown here.

      Shouldn't it be fixed so it add some means of fallback mechanism that makes hudson first try the loopback interface, then try with the ethernet ones?

      Indeed the virtualization layer should offer a fully functional and non-restrictive environment to the upper laying processes, but unfortunately this is not the case.

      Thx

      UPDATE 04/18/2011

      Same bug was present with maven3 under the same conditions.

            olamy Olivier Lamy
            davidwbb8 davidwbb8
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: