com.tek42.perforce.PerforceException: No output for: workspace -o W7-64-2013-32-ACTIVE--14408187

Jenkins JIRA | Ramkumar Yoganathan | 3 years ago
  1. 0

    Started by user anonymous Building remotely on SLAVE-1 in workspace C:\Remote\workspace\W7-64-2013-32-ACTIVE Using remote perforce client: W7-64-2013-32-ACTIVE--14408187 [W7-64-2013-32-ACTIVE] $ workspace -o W7-64-2013-32-ACTIVE--14408187 Caught exception communicating with perforce. No output for: workspace -o W7-64-2013-32-ACTIVE--14408187 com.tek42.perforce.PerforceException: No output for: workspace -o W7-64-2013-32-ACTIVE--14408187 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:1545) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1506) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:843) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:657) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) ERROR: Unable to communicate with perforce. No output for: workspace -o W7-64-2013-32-ACTIVE--14408187 Archiving artifacts Finished: FAILURE

    Jenkins JIRA | 3 years ago | Ramkumar Yoganathan
    com.tek42.perforce.PerforceException: No output for: workspace -o W7-64-2013-32-ACTIVE--14408187
  2. 0

    Started by user anonymous Building remotely on SLAVE-1 in workspace C:\Remote\workspace\W7-64-2013-32-ACTIVE Using remote perforce client: W7-64-2013-32-ACTIVE--14408187 [W7-64-2013-32-ACTIVE] $ workspace -o W7-64-2013-32-ACTIVE--14408187 Caught exception communicating with perforce. No output for: workspace -o W7-64-2013-32-ACTIVE--14408187 com.tek42.perforce.PerforceException: No output for: workspace -o W7-64-2013-32-ACTIVE--14408187 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:1545) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1506) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:843) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:657) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) ERROR: Unable to communicate with perforce. No output for: workspace -o W7-64-2013-32-ACTIVE--14408187 Archiving artifacts Finished: FAILURE

    Jenkins JIRA | 3 years ago | Ramkumar Yoganathan
    com.tek42.perforce.PerforceException: No output for: workspace -o W7-64-2013-32-ACTIVE--14408187
  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

    Steps to Reproduce: 1. Click "Manage Jenkins" -> Global Properties 2. Create an Environment Variable as follows: name: P4USER value: p4service (or another P4 Username) 3. Select an Existing Job that uses Perforce for Source Code Management 4. Select the Username field and enter "${P4USER}" Result: {noformat} Result: build fails as follows: Started by user Administrator Building in workspace /usr/share/tomcat6/.jenkins/jobs/dpapi-int/workspace Using master perforce client: jenkins-dpapi-int [workspace] $ /usr/local/bin/p4 workspace -o jenkins-dpapi-int Caught exception communicating with perforce. Access for user 'com.tek42.perforce.PerforceException: Access for user ' at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:382) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:292) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:61) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1461) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1422) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:793) at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1502) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) ERROR: Unable to communicate with perforce. Access for user ' Sending e-mails to: eng-n2i@netshelter.com Finished: FAILURE {noformat} As you can see by the above: "Caught exception communicating with perforce. Access for user 'com.tek42.perforce.PerforceException: Access for user '" Use Case: If a user wishes to use exactly one user for all Jobs that use Perforce for SCM, he could enter this user in the Global Properties and then change the credentials user to poll Perforce at any time across all Jobs.

    Jenkins JIRA | 4 years ago | Colin Johnson
    com.tek42.perforce.PerforceException: Access for user '
  6. 0

    All of a sudden, some builds start failing. Closer inspection showed, that the perforce plugin stopped providing the "-P" option to p4.exe. I can't explain why. Going back to 1.3.24 didn't help (but i'm unsure if the roll-back performed correctly). Updating Jenkins to 1.546 didn't help either. The log of a successful (old) build shows: {noformat} [EnvInject] - Loading node environment variables. Building on Slave WIN7 in workspace c:\jenkins\workspace\DEMO Deleting project workspace... done Using remote perforce client: Jenkins_DEMO--216826706 [DEMO] $ "c:\program files\perforce\p4" -P XXXXXXXXXXXXXXXXXXXX workspace -o Jenkins_DEMO--216826706 Note: .repository directory in workspace (if exists) is skipped during clean. Wiping workspace... Wiped workspace. Clean complete, took 5 ms [...] {noformat} A failed (new) build shows: {noformat} [EnvInject] - Loading node environment variables. Building on Slave WIN7 in workspace c:\jenkins\workspace\DEMO Deleting project workspace... done Using remote perforce client: Jenkins_DEMO--216826706 [DEMO] $ "c:\program files\perforce\p4.exe" workspace -o Jenkins_DEMO--216826706 Caught exception communicating with perforce. No output for: c:\program files\perforce\p4.exe workspace -o Jenkins_DEMO--216826706 com.tek42.perforce.PerforceException: No output for: c:\program files\perforce\p4.exe workspace -o Jenkins_DEMO--216826706 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:1545) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1506) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:843) at hudson.model.AbstractProject.checkout(AbstractProject.java:1415) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1678) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) ERROR: Unable to communicate with perforce. No output for: c:\program files\perforce\p4.exe workspace -o Jenkins_DEMO--216826706 [...] {noformat}

    Jenkins JIRA | 3 years ago | Peter Schaefer-Hutter
    com.tek42.perforce.PerforceException: No output for: c:\program files\perforce\p4.exe workspace -o Jenkins_DEMO--216826706

    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: workspace -o W7-64-2013-32-ACTIVE--14408187

      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:1545)
      2. hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1506)
      3. hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:843)
      3 frames
    4. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:657)
      2 frames
    5. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)
      2. hudson.model.Run.execute(Run.java:1665)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:246)
      5 frames