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

use IP address when cannot resolve hostname for slaves


    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: p4-plugin
    • Labels:
    • Environment:
      Perforce plugin 1.3.35 (current latest for July 30 2015)
      Jenkins 1.580.3
    • Similar Issues:


      I'm running into these issues: JENKINS-6257 JENKINS-15698

      I'm using dynamic workers allocation in our private openstack cluster through Openstack Cloud plugin 1.8.

      I see Perforce Plugin cannot resolve host names of those new workers. I suspect it fails with NPE or something because it cannot checkout files to the new worker.
      I have to delete the old workspace (leftover from another worker) and restart the build. this time it will work.
      but if next build happens on a yet another new worker, I have to repeat this: delete the workspace and re-run the build.

      so.. why not use IP address if hostname cannot be resolved? or just always use IP address for perforce workspaces. maybe transform it to something Perforce-friendly like 192-168-1-123.

      this bug blocks us from using dynamic openstack workers with Perforce plugin


          Issue Links


            alskor Alex Java created issue -
            alskor Alex Java made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-6257 [ JENKINS-6257 ]
            alskor Alex Java made changes -
            Link This issue is related to JENKINS-15698 [ JENKINS-15698 ]
            alskor Alex Java made changes -
            Environment Perforce plugin 1.3.35 (current latest for July 30 2015)
            Jenkins 1.580.3
            Priority Minor [ 4 ] Major [ 3 ]
            rpetti Rob Petti made changes -
            Assignee Rob Petti [ rpetti ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 164717 ] JNJira + In-Review [ 181695 ]
            ircbot Jenkins IRC Bot made changes -
            Component/s p4-plugin [ 19224 ]
            Component/s perforce-plugin [ 15506 ]


              • Assignee:
                alskor Alex Java
              • Votes:
                0 Vote for this issue
                4 Start watching this issue


                • Created: