invalid.com.tek42.perforce.PerforceException: Login attempt failed: Password invalid.

Jenkins JIRA | Haiqing Zhang | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Either with Env-inject or SCM itself, the P4PASSWD will have additional single quote to it. see below: .... OPTERR=1 OPTIND=1 OSTYPE=darwin13 P4CLIENT=client_mac--672026695 P4PASSWD='xxxxxx' P4PORT=ssl:perforceserver:0000 P4USER=p4user PATH='/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin' .... then the error message: Using remote perforce client: p4client_mac--672026695 [mac_node] $ /usr/bin/p4 workspace -o p4client_mac--672026695 [mac_node] $ /usr/bin/p4 -p ssl:p4server:0000 trust -y [mac_node] $ /usr/bin/p4 login -a -p [mac_node] $ /usr/bin/p4 login -a -p Caught exception communicating with perforce. Login attempt failed: Password invalid.com.tek42.perforce.PerforceException: Login attempt failed: Password invalid. at com.tek42.perforce.parse.AbstractPerforceTemplate.p4Login(AbstractPerforceTemplate.java:639) at com.tek42.perforce.parse.AbstractPerforceTemplate.login(AbstractPerforceTemplate.java:580) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:396) 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:1615) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1576) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:892) 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:1710) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) ERROR: Unable to communicate with perforce. Login attempt failed: Password invalid. please help!

    Jenkins JIRA | 3 years ago | Haiqing Zhang
    invalid.com.tek42.perforce.PerforceException: Login attempt failed: Password invalid.
  2. 0

    Either with Env-inject or SCM itself, the P4PASSWD will have additional single quote to it. see below: .... OPTERR=1 OPTIND=1 OSTYPE=darwin13 P4CLIENT=client_mac--672026695 P4PASSWD='xxxxxx' P4PORT=ssl:perforceserver:0000 P4USER=p4user PATH='/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin' .... then the error message: Using remote perforce client: p4client_mac--672026695 [mac_node] $ /usr/bin/p4 workspace -o p4client_mac--672026695 [mac_node] $ /usr/bin/p4 -p ssl:p4server:0000 trust -y [mac_node] $ /usr/bin/p4 login -a -p [mac_node] $ /usr/bin/p4 login -a -p Caught exception communicating with perforce. Login attempt failed: Password invalid.com.tek42.perforce.PerforceException: Login attempt failed: Password invalid. at com.tek42.perforce.parse.AbstractPerforceTemplate.p4Login(AbstractPerforceTemplate.java:639) at com.tek42.perforce.parse.AbstractPerforceTemplate.login(AbstractPerforceTemplate.java:580) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:396) 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:1615) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1576) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:892) 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:1710) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) ERROR: Unable to communicate with perforce. Login attempt failed: Password invalid. please help!

    Jenkins JIRA | 3 years ago | Haiqing Zhang
    invalid.com.tek42.perforce.PerforceException: Login attempt failed: Password invalid.
  3. 0

    P4TICKET variable use with Jenkins

    Google Groups | 4 years ago | Raj
    invalid.com.tek42.perforce.PerforceException: Login attempt failed: Password invalid.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Perforce Plugin - hudson - Hudson Wiki

    hudson-ci.org | 7 months ago
    invalid.com.tek42.perforce.PerforceException: Login attempt failed: Password invalid.
  6. 0

    Perforce Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 2 months ago
    invalid.com.tek42.perforce.PerforceException: Login attempt failed: Password invalid.

    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. invalid.com.tek42.perforce.PerforceException

      Login attempt failed: Password invalid.

      at com.tek42.perforce.parse.AbstractPerforceTemplate.p4Login()
    2. com.tek42.perforce
      Workspaces.getWorkspace
      1. com.tek42.perforce.parse.AbstractPerforceTemplate.p4Login(AbstractPerforceTemplate.java:639)
      2. com.tek42.perforce.parse.AbstractPerforceTemplate.login(AbstractPerforceTemplate.java:580)
      3. com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:396)
      4. com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:301)
      5. com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:61)
      5 frames
    3. hudson.plugins.perforce
      PerforceSCM.checkout
      1. hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1615)
      2. hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1576)
      3. hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:892)
      3 frames
    4. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1252)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:615)
      2 frames
    5. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524)
      2. hudson.model.Run.execute(Run.java:1710)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:234)
      5 frames