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

Perforce plugin failing occasionally with PerforceException: No output for:

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • p4-plugin
    • None
    • hudson 1.379, perforce plugin 1.1.9, openSUSE 11.2 (x86_64), perforce Rev. P4/LINUX26X86_64/2009.2/232252 (2010/01/27).

      After migrating from hudson 1.346 with perforce plugin 1.1.8 to hudson 1.379 with perforce plugin 1.1.9 I get error messages stating "PerforceException: No output for: ..." from approximately one of 4 builds. Only slave machines are affected, builds on the master work fine. Retriggering the build manually often heals the problem but is not really an option for me with about one build a minute for most of the day.

      I get the "No output for:" message for several commands: p4 counter change, p4 workspace -o, p4 describe, etc.

      Looks quite the same as issue JENKINS-7664, but I could not comment on that issue, so I had to post a separate one. Please feel free to mark this as a duplicate.

      Started by upstream project "anaconda-dbtest-hamburg-limbo" build number 380
      Building remotely on oehhp73k
      Using remote perforce client: cbuild_QS_anaconda-conversiontest-hamburg-trunk_OEHHP73L--1596120843
      [anaconda-conversiontest-hamburg-limbo] $ /opt/perforce/bin/p4 workspace -o cbuild_QS_anaconda-conversiontest-hamburg-trunk_OEHHP73L--1596120843
      Saving modified client cbuild_QS_anaconda-conversiontest-hamburg-trunk_OEHHP73L--1596120843
      [anaconda-conversiontest-hamburg-limbo] $ /opt/perforce/bin/p4 -s client -i
      Last sync'd change: 306855
      [anaconda-conversiontest-hamburg-limbo] $ /opt/perforce/bin/p4 counter change
      [anaconda-conversiontest-hamburg-limbo] $ /opt/perforce/bin/p4 -s changes //cbuild_QS_anaconda-conversiontest-hamburg-trunk_OEHHP73L--1596120843/...@306856,@307025
      [anaconda-conversiontest-hamburg-limbo] $ /opt/perforce/bin/p4 describe -s 307021
      Caught exception communicating with perforce. No output for: /opt/perforce/bin/p4 describe -s 307021 com.tek42.perforce.PerforceException: No output for: /opt/perforce/bin/p4 describe -s 307021 
      	at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.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:552)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1082)
      	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
      	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
      	at hudson.model.Run.run(Run.java:1280)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:137)
      Recording test results
      Email was triggered for: Failure
      Sending email for trigger: Failure
      Sending email to: ...some guys...
      Finished: FAILURE
      

            Unassigned Unassigned
            swoyde swoyde
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: