com.tek42.perforce.PerforceException: No output for: /opt/perforce/bin/p4 describe -s 307021

Jenkins JIRA | swoyde | 6 years ago
  1. 0

    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. {noformat} 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 {noformat}

    Jenkins JIRA | 6 years ago | swoyde
    com.tek42.perforce.PerforceException: No output for: /opt/perforce/bin/p4 describe -s 307021
  2. 0

    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. {noformat} 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 {noformat}

    Jenkins JIRA | 6 years ago | swoyde
    com.tek42.perforce.PerforceException: No output for: /opt/perforce/bin/p4 describe -s 307021
  3. 0

    Perforce connection errors

    Google Groups | 6 years ago | rsolb
    com.tek42.perforce.PerforceException: Failed to retrieve changelist 40570
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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.

    Jenkins JIRA | 6 years ago | garethbowles
    com.tek42.perforce.PerforceException: No output for: p4 describe -s 565785 at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(Abstr actPerforceTemplate.java:341)
  6. 0

    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.

    Jenkins JIRA | 6 years ago | garethbowles
    com.tek42.perforce.PerforceException: No output for: p4 describe -s 565785 at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(Abstr actPerforceTemplate.java:341)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.tek42.perforce.PerforceException

      No output for: /opt/perforce/bin/p4 describe -s 307021

      at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse()
    2. com.tek42.perforce
      Changes.getChangelistsFromNumbers
      1. com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:341)
      2. com.tek42.perforce.parse.Changes.getChangelist(Changes.java:63)
      3. com.tek42.perforce.parse.Changes.getChangelistsFromNumbers(Changes.java:381)
      3 frames
    3. hudson.plugins.perforce
      PerforceSCM.checkout
      1. hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:552)
      1 frame
    4. Hudson
      Executor.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1082)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
      4. hudson.model.Run.run(Run.java:1280)
      5. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      6. hudson.model.ResourceController.execute(ResourceController.java:88)
      7. hudson.model.Executor.run(Executor.java:137)
      7 frames