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

p4.exe where -G consumes all ports on large changelists

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Windows slave, but 79000 connections will exhaust all ports on any system that I know of
    • Similar Issues:

      Description

      For each file in the given changelist used for sync - a connection is created through p4.exe. The object of this less that optimal solution is issue #7618 where a 'p4 where' command is issued for ever file in the changelist and that quickly yields an error:
      P4 Where Parsing Error: TCP connect to perforce:1666 failed.
      connect: perforce:1666: WSAEADDRINUSE
      com.tek42.perforce.PerforceException: P4 Where Parsing Error: TCP connect to perforce:1666 failed.
      connect: perforce:1666: WSAEADDRINUSE
      Because all ports have been used

      We reverted to perforce plugin version 1.2.5 - that seem to have solved the problem as no where -G's are issued

        Attachments

          Activity

          Hide
          rpetti Rob Petti added a comment -

          This should be fixed now if someone wants to test it: http://files.robpetti.com/perforce-plugin/target/perforce.hpi

          Show
          rpetti Rob Petti added a comment - This should be fixed now if someone wants to test it: http://files.robpetti.com/perforce-plugin/target/perforce.hpi
          Hide
          barnish Andrew Barnish added a comment -

          @Rob: The perforce.hpi snapshot from 18/Aug/11 seems to fix the issue for us.
          I'll upgrade to the later one as soon as there is an opportunity on our server.
          Thanks for fixing this. It is nice that the changelog now works with labels.
          Doesn't that mean JENKINS-4928 is at least partially fixed?

          Show
          barnish Andrew Barnish added a comment - @Rob: The perforce.hpi snapshot from 18/Aug/11 seems to fix the issue for us. I'll upgrade to the later one as soon as there is an opportunity on our server. Thanks for fixing this. It is nice that the changelog now works with labels. Doesn't that mean JENKINS-4928 is at least partially fixed?
          Hide
          rpetti Rob Petti added a comment -

          Yeah it should be fine for automatic labels, or labels made against a single changeset. There will probably still be discrepancies when using more complex labels, however.

          Show
          rpetti Rob Petti added a comment - Yeah it should be fine for automatic labels, or labels made against a single changeset. There will probably still be discrepancies when using more complex labels, however.
          Hide
          jonasb Jonas Bovin added a comment -

          We also do not experience the problem after installing the above mentioned perforce.hpi - Thanks for the quick responses...

          Show
          jonasb Jonas Bovin added a comment - We also do not experience the problem after installing the above mentioned perforce.hpi - Thanks for the quick responses...
          Hide
          rpetti Rob Petti added a comment -

          Resolving.

          Show
          rpetti Rob Petti added a comment - Resolving.

            People

            • Assignee:
              rpetti Rob Petti
              Reporter:
              jonasb Jonas Bovin
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: