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

Intermittent errors where Perforce plugin can't communicate with Perforce

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • p4-plugin
    • None
    • Hudson master on RHEL5 x86_64; build slaves on same platform

      We're getting multiple errors per day like the following:

      Caught exception communicating with perforce. No output for: p4 describe
      -s 565785 com.tek42.perforce.PerforceException: No output for: p4 describe
      -s 565785
      at
      com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(Abstr
      actPerforceTemplate.java:341)
      at com.tek42.perforce.parse.Changes.getChangelist(Changes.java:63)
      at
      com.tek42.perforce.parse.Changes.getChangelistsFromNumbers(Changes.java:381
      )
      at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:565)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1119)
      at
      hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:480)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:412)
      at hudson.model.Run.run(Run.java:1325)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:139)
      ERROR: Unable to communicate with perforce. No output for: p4 describe -s
      565785

      The actual p4 command being executed and the executor that the error happens on can vary, but the error is always
      "Unable to communicate with perforce". It may not even be the first p4 command in the build job. Unfortunately I can't isolate the error any further than that, but I've never seen it happen with a manually started build if that helps.

      If we rerun the build after getting this error it always seems to go through successfully.

      This started to happen after we upgraded to Hudson 1.387 and Perforce plugin 1.1.12. Our previous version was pretty old (Hudson 1.358) if that helps.

            rpetti Rob Petti
            garethbowles garethbowles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: