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

Error in syncing with workspace

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Platform: Other, OS: Windows XP
    • Similar Issues:

      Description

      When using the perforce plugin we often get the error message below during
      synchronization with the perforce workspace.

      Our work around is then to try building again with the latest synced change list
      in field "First Changelist to Track" of the project configuration, in the case
      below this field should be set to "12140". It would be nice if we would not have
      to use the workarounds: if we could return to single click building.

      Error message:
      ....
      workspace] $ p4 describe -s 12140
      Caught Exception communicating with perforce. Failed to communicate with
      p4FATAL: Unable to communicate with perforce. Failed to communicate with p4
      java.io.IOException: Unable to communicate with perforce. Failed to communicate
      with p4
      at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:340)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:681)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:264)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:238)
      at hudson.model.Run.run(Run.java:842)
      at hudson.model.Build.run(Build.java:88)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:90)

        Attachments

          Activity

          Hide
          numericalexample_com numericalexample_com added a comment -

          Actually this issue is the same as issue 2062, so this issue can be closed to
          avoid two open issues for the same problem.

          Show
          numericalexample_com numericalexample_com added a comment - Actually this issue is the same as issue 2062, so this issue can be closed to avoid two open issues for the same problem.
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Un-assigning this from digerata per request by him.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Un-assigning this from digerata per request by him.
          Hide
          numericalexample_com numericalexample_com added a comment -

          Restarting the Hudson webserver regularly helps a lot in preventing this error.

          Show
          numericalexample_com numericalexample_com added a comment - Restarting the Hudson webserver regularly helps a lot in preventing this error.
          Hide
          jimidle jimidle added a comment -

          Is anyone still actively developing this plugin? I see a lot of issues, and
          especially this one and the dropping of comminucations, that I am also
          experiencing, but nobody seems to have been working on them for a long time. I
          wonder if I need to just fix them and submit patches?

          Show
          jimidle jimidle added a comment - Is anyone still actively developing this plugin? I see a lot of issues, and especially this one and the dropping of comminucations, that I am also experiencing, but nobody seems to have been working on them for a long time. I wonder if I need to just fix them and submit patches?
          Hide
          mdonohue mdonohue added a comment -

          Tim Hepner may be doing some work on the plugin these days. I believe the
          original author no longer maintains the plugin. If you have patches they would
          be very welcome.

          Tim's recent email:
          http://www.nabble.com/perforce-plugin-and-labels-tt22818092.html#a22818092

          Show
          mdonohue mdonohue added a comment - Tim Hepner may be doing some work on the plugin these days. I believe the original author no longer maintains the plugin. If you have patches they would be very welcome. Tim's recent email: http://www.nabble.com/perforce-plugin-and-labels-tt22818092.html#a22818092
          Hide
          stimms stimms added a comment -

          Fixed in the code in svn.

          Show
          stimms stimms added a comment - Fixed in the code in svn.

            People

            • Assignee:
              Unassigned
              Reporter:
              numericalexample_com numericalexample_com
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: