[JIRA] [perforce] (JENKINS-23894) P4PASSWD has additional quotation when passing to MAC system, and it failed.

2014-07-22 Thread haiqi...@outlook.com (JIRA)















































Haiqing Zhang
 assigned  JENKINS-23894 to Haiqing Zhang



P4PASSWD has additional quotation when passing to MAC system, and it failed.
















Change By:


Haiqing Zhang
(22/Jul/14 7:28 PM)




Assignee:


HaiqingZhang



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [perforce] (JENKINS-23894) P4PASSWD has additional quotation when passing to MAC system, and it failed.

2014-07-22 Thread haiqi...@outlook.com (JIRA)














































Haiqing Zhang
 started work on  JENKINS-23894


P4PASSWD has additional quotation when passing to MAC system, and it failed.
















Change By:


Haiqing Zhang
(22/Jul/14 7:30 PM)




Status:


Open
InProgress



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [perforce] (JENKINS-23894) P4PASSWD has additional quotation when passing to MAC system, and it failed.

2014-07-22 Thread haiqi...@outlook.com (JIRA)















































Haiqing Zhang
 resolved  JENKINS-23894 as Not A Defect


P4PASSWD has additional quotation when passing to MAC system, and it failed.
















Change By:


Haiqing Zhang
(22/Jul/14 7:30 PM)




Status:


InProgress
Resolved





Resolution:


NotADefect



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [perforce] (JENKINS-23894) P4PASSWD has additional quotation when passing to MAC system, and it failed.

2014-07-22 Thread haiqi...@outlook.com (JIRA)















































Haiqing Zhang
 closed  JENKINS-23894 as Not A Defect


P4PASSWD has additional quotation when passing to MAC system, and it failed.
















Change By:


Haiqing Zhang
(22/Jul/14 7:30 PM)




Status:


Resolved
Closed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [perforce] (JENKINS-23894) P4PASSWD has additional quotation when passing to MAC system, and it failed.

2014-07-20 Thread haiqi...@outlook.com (JIRA)














































Haiqing Zhang
 created  JENKINS-23894


P4PASSWD has additional quotation when passing to MAC system, and it failed.















Issue Type:


Bug



Affects Versions:


current



Assignee:


Rob Petti



Components:


perforce



Created:


20/Jul/14 10:14 PM



Description:


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='xx'
P4PORT=ssl:perforceserver:
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 ssl4server: 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!




Environment:


Mac OSX 10.9. 




Project:


Jenkins



Priority:


Blocker



Reporter:


Haiqing Zhang

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [perforce] (JENKINS-23894) P4PASSWD has additional quotation when passing to MAC system, and it failed.

2014-07-20 Thread rob.pe...@gmail.com (JIRA)














































Rob Petti
 commented on  JENKINS-23894


P4PASSWD has additional quotation when passing to MAC system, and it failed.















p4 login is failing, which does not use P4PASSWD, so that's not the issue. Your password has simply been incorrectly provided.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [perforce] (JENKINS-23894) P4PASSWD has additional quotation when passing to MAC system, and it failed.

2014-07-20 Thread rob.pe...@gmail.com (JIRA)















































Rob Petti
 assigned  JENKINS-23894 to Unassigned



P4PASSWD has additional quotation when passing to MAC system, and it failed.
















Change By:


Rob Petti
(20/Jul/14 10:30 PM)




Assignee:


RobPetti



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [perforce] (JENKINS-23894) P4PASSWD has additional quotation when passing to MAC system, and it failed.

2014-07-20 Thread haiqi...@outlook.com (JIRA)














































Haiqing Zhang
 commented on  JENKINS-23894


P4PASSWD has additional quotation when passing to MAC system, and it failed.















that's the issue. the password has extra single quote in it so it's invalid. on Windows machine it works fine.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [perforce] (JENKINS-23894) P4PASSWD has additional quotation when passing to MAC system, and it failed.

2014-07-20 Thread rob.pe...@gmail.com (JIRA)














































Rob Petti
 commented on  JENKINS-23894


P4PASSWD has additional quotation when passing to MAC system, and it failed.















Make sure P4PASSWD is not set anywhere in jenkins, your slave configuration, or on the system itself. Also, uninstall env-inject if possible, as it causes issues like this regularly.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.