com.tek42.perforce.PerforceException: No output for: /usr/local/bin/p4 -P ... workspace -o sample-job-alpha-USCBMBLDP240-1688766888

Jenkins JIRA | Mike Delaney | 2 years ago
  1. 0

    During the SCM check-out phase (in this case Perforce), if the SCM phase fails, Jenkins will send an email with unexpanded variables. For example, given the following job log: {noformat} Started by upstream project "sample-job-controller" build number 244 originally caused by: Started by timer Building remotely on USCBMBLDP240 (x86_64 mac-10.9.5 x86_64-mac-10.9.5 x86_64-mac mac xcode6.0 xcode6.1 osx10.9 10.9.5) in workspace /Users/build/jenkins/workspace/sample-job-alpha Using remote perforce client: sample-job-alpha-USCBMBLDP240-1688766888 Caught exception communicating with perforce. No output for: /usr/local/bin/p4 -P ... workspace -o sample-job-alpha-USCBMBLDP240-1688766888 com.tek42.perforce.PerforceException: No output for: /usr/local/bin/p4 -P ... workspace -o sample-job-alpha-USCBMBLDP240-1688766888 at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:408) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:301) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:61) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1641) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1602) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:907) at hudson.model.AbstractProject.checkout(AbstractProject.java:1252 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:615) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524) at hudson.model.Run.execute(Run.java:1706) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) ERROR: Unable to communicate with perforce. No output for: /usr/local/bin/p4 -P ... workspace -o sample-job-alpha-USCBMBLDP240-1688766888 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Sending email to: [hidden email address] Deleting project workspace... done Finished: FAILURE {noformat} We received the following email: {noformat} From: Jenkins Build Sent: Tuesday, March 3, 2015 9:34 AM To: [hidden email address] Subject: $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS! sample-job-alpha - Build # 186 - Failure: Check console output at http://jenkins.sonos.com/main/job/sample-job-alpha/186/ to view the results. {noformat}

    Jenkins JIRA | 2 years ago | Mike Delaney
    com.tek42.perforce.PerforceException: No output for: /usr/local/bin/p4 -P ... workspace -o sample-job-alpha-USCBMBLDP240-1688766888
  2. 0

    During the SCM check-out phase (in this case Perforce), if the SCM phase fails, Jenkins will send an email with unexpanded variables. For example, given the following job log: {noformat} Started by upstream project "sample-job-controller" build number 244 originally caused by: Started by timer Building remotely on USCBMBLDP240 (x86_64 mac-10.9.5 x86_64-mac-10.9.5 x86_64-mac mac xcode6.0 xcode6.1 osx10.9 10.9.5) in workspace /Users/build/jenkins/workspace/sample-job-alpha Using remote perforce client: sample-job-alpha-USCBMBLDP240-1688766888 Caught exception communicating with perforce. No output for: /usr/local/bin/p4 -P ... workspace -o sample-job-alpha-USCBMBLDP240-1688766888 com.tek42.perforce.PerforceException: No output for: /usr/local/bin/p4 -P ... workspace -o sample-job-alpha-USCBMBLDP240-1688766888 at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:408) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:301) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:61) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1641) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1602) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:907) at hudson.model.AbstractProject.checkout(AbstractProject.java:1252 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:615) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524) at hudson.model.Run.execute(Run.java:1706) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:232) ERROR: Unable to communicate with perforce. No output for: /usr/local/bin/p4 -P ... workspace -o sample-job-alpha-USCBMBLDP240-1688766888 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Sending email to: [hidden email address] Deleting project workspace... done Finished: FAILURE {noformat} We received the following email: {noformat} From: Jenkins Build Sent: Tuesday, March 3, 2015 9:34 AM To: [hidden email address] Subject: $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS! sample-job-alpha - Build # 186 - Failure: Check console output at http://jenkins.sonos.com/main/job/sample-job-alpha/186/ to view the results. {noformat}

    Jenkins JIRA | 2 years ago | Mike Delaney
    com.tek42.perforce.PerforceException: No output for: /usr/local/bin/p4 -P ... workspace -o sample-job-alpha-USCBMBLDP240-1688766888
  3. 0

    Perforce Plugin - Can't get plugin to work on remote client

    Google Groups | 3 years ago | Jason Murray
    com.tek42.perforce.PerforceException: No output for: workspace -o hudson-deploy-client--1606248362
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Perforce Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 3 months ago
    com.tek42.perforce.PerforceException: No output for: p4 workspace -o HUDSON-BUILD
  6. 0

    Perforce Plugin - hudson - Hudson Wiki

    hudson-ci.org | 3 months ago
    com.tek42.perforce.PerforceException: No output for: C:\Program Files (x86)\Perforce\p4.exe workspace -o YYY

    1 unregistered visitors
    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: /usr/local/bin/p4 -P ... workspace -o sample-job-alpha-USCBMBLDP240-1688766888

      at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse()
    2. com.tek42.perforce
      Workspaces.getWorkspace
      1. com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:408)
      2. com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:301)
      3. com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:61)
      3 frames
    3. hudson.plugins.perforce
      PerforceSCM.checkout
      1. hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1641)
      2. hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1602)
      3. hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:907)
      3 frames