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

WSAECONNRESET failure on sync causes build to be marked as failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • p4-plugin
    • Windows 7 64-bit, Jenkins 1.613, Perforce Plugin 1.3.34, P4V 2014.2/951414, P4 2014.2/943801

      Occasionally our project reports build failures, but when we go to look at the build output it appears that the only thing that failed was the p4 sync command. Upon running the build manually again it works fine.

      Here is the dump that all of the failures look like:

      [none] $ "C:\Program Files\Perforce\p4" -s sync -f //automated_build_sepac_main/...@204714
      Caught exception communicating with perforce. Errors encountered while force syncing: error: RpcTransport: partial message read
      error: TCP receive failed.
      error: read: socket: WSAECONNRESET
      com.tek42.perforce.PerforceException: Errors encountered while force syncing: error: RpcTransport: partial message read
      error: TCP receive failed.
      error: read: socket: WSAECONNRESET

      at com.tek42.perforce.parse.Workspaces.syncTo(Workspaces.java:167)
      at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:1126)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
      at hudson.model.Run.execute(Run.java:1744)
      at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:374)
      ERROR: Unable to communicate with perforce. Errors encountered while force syncing: error: RpcTransport: partial message read
      error: TCP receive failed.
      error: read: socket: WSAECONNRESET

      Finished: FAILURE

            Unassigned Unassigned
            collumbrian Brian Collum
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: