$P4PORTcom.tek42.perforce.PerforceException: Connect to server failed; check $P4PORT

Jenkins JIRA | jwilliam | 6 years ago
  1. 0

    When setting up a new node, the perforce client can't connect to the server allthouch I'm using the sam setting as on another node. I get this output: Started by user anonymous Building remotely on RD0000334 Using remote perforce client: serviceoasbldmgr-hudson_bnitest-RD0000334 Caught Exception communicating with perforce. Connect to server failed; check $P4PORTcom.tek42.perforce.PerforceException: Connect to server failed; check $P4PORT at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:324) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:53) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:699) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:295) at hudson.model.AbstractProject.checkout(AbstractProject.java:830) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:938) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:118) Started by user anonymous Building remotely on RD0000334 Using remote perforce client: serviceoasbldmgr-hudson_bnitest-RD0000334 Caught Exception communicating with perforce. Connect to server failed; check $P4PORTcom.tek42.perforce.PerforceException: Connect to server failed; check $P4PORT at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:324) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:53) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:699) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:295) at hudson.model.AbstractProject.checkout(AbstractProject.java:830) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:938) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:118)

    Jenkins JIRA | 7 years ago | bengtnilsson
    $P4PORTcom.tek42.perforce.PerforceException: Connect to server failed; check $P4PORT
  2. 0

    When setting up a new node, the perforce client can't connect to the server allthouch I'm using the sam setting as on another node. I get this output: Started by user anonymous Building remotely on RD0000334 Using remote perforce client: serviceoasbldmgr-hudson_bnitest-RD0000334 Caught Exception communicating with perforce. Connect to server failed; check $P4PORTcom.tek42.perforce.PerforceException: Connect to server failed; check $P4PORT at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:324) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:53) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:699) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:295) at hudson.model.AbstractProject.checkout(AbstractProject.java:830) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:938) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:118) Started by user anonymous Building remotely on RD0000334 Using remote perforce client: serviceoasbldmgr-hudson_bnitest-RD0000334 Caught Exception communicating with perforce. Connect to server failed; check $P4PORTcom.tek42.perforce.PerforceException: Connect to server failed; check $P4PORT at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:324) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:53) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:699) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:295) at hudson.model.AbstractProject.checkout(AbstractProject.java:830) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:938) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:118)

    Jenkins JIRA | 6 years ago | jwilliam
    $P4PORTcom.tek42.perforce.PerforceException: Connect to server failed; check $P4PORT
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    When setting up a new node, the perforce client can't connect to the server allthouch I'm using the sam setting as on another node. I get this output: Started by user anonymous Building remotely on RD0000334 Using remote perforce client: serviceoasbldmgr-hudson_bnitest-RD0000334 Caught Exception communicating with perforce. Connect to server failed; check $P4PORTcom.tek42.perforce.PerforceException: Connect to server failed; check $P4PORT at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:324) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:53) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:699) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:295) at hudson.model.AbstractProject.checkout(AbstractProject.java:830) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:938) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:118) Started by user anonymous Building remotely on RD0000334 Using remote perforce client: serviceoasbldmgr-hudson_bnitest-RD0000334 Caught Exception communicating with perforce. Connect to server failed; check $P4PORTcom.tek42.perforce.PerforceException: Connect to server failed; check $P4PORT at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:324) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:53) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:699) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:295) at hudson.model.AbstractProject.checkout(AbstractProject.java:830) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:938) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:118)

    Jenkins JIRA | 7 years ago | bengtnilsson
    $P4PORTcom.tek42.perforce.PerforceException: Connect to server failed; check $P4PORT

    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. $P4PORTcom.tek42.perforce.PerforceException

      Connect to server failed; check $P4PORT

      at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse()
    2. com.tek42.perforce
      Workspaces.getWorkspace
      1. com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:324)
      2. com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:53)
      2 frames
    3. hudson.plugins.perforce
      PerforceSCM.checkout
      1. hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:699)
      2. hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:295)
      2 frames
    4. Hudson
      Executor.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:830)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
      4. hudson.model.Run.run(Run.java:938)
      5. hudson.model.Build.run(Build.java:112)
      6. hudson.model.ResourceController.execute(ResourceController.java:93)
      7. hudson.model.Executor.run(Executor.java:118)
      7 frames