|
lklock created JENKINS-13764:
-------------------------------- Summary: CVS authentication failure while running rlog command (Windows master / Unix slave) Key: JENKINS-13764 URL: https://issues.jenkins-ci.org/browse/JENKINS-13764 Project: Jenkins Issue Type: Bug Components: cvs Affects Versions: current Environment: Jenkins 1.463 CVS Plugin 2.3 Master is running Windows, Slave is on Solaris Reporter: lklock I'm building on a Solaris slave trying to access a CVS repository over SSH connection Private key location is set to $SSH_PRIVATE_KEY_DIR/id_rsa and known hosts to $SSH_PRIVATE_KEY_DIR/known_hosts On the slave, SSH_PRIVATE_KEY_DIR is set to: /export/home/cxt2tst/.ssh Checkout is done properly: Building remotely on picard in workspace /export/home/cxt2tst/HUDSON/workspace/server.8.0 cvs update -d -P -r HEAD -D 14 May 2012 14:17:28 +0200 server.8.0 cvs update: Updating server.8.0 cvs update: Updating server.8.0/configuration .... .... but when it tries to get the ChangeLog, an exception is raised with the following stack trace FATAL: CVS authentication failure while running rlog command java.lang.RuntimeException: CVS authentication failure while running rlog command at hudson.scm.CVSSCM.getRemoteLogForModule(CVSSCM.java:530) at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:414) at hudson.scm.CVSSCM.checkout(CVSSCM.java:821) at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) at hudson.model.Run.run(Run.java:1434) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239) Caused by: org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed. at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:134) at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374) at java.lang.Thread.run(Unknown Source) Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98) at com.jcraft.jsch.JSch.addIdentity(JSch.java:224) at com.jcraft.jsch.JSch.addIdentity(JSch.java:218) at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:128) ... 2 more Caused by: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83) ... 5 more It seems it cannot find the file due to the use of wrong path separator -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
[ https://issues.jenkins-ci.org/browse/JENKINS-13764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163068#comment-163068 ] Daniel Schaarschmidt commented on JENKINS-13764: ------------------------------------------------ Just ran into the same problem, Master is Windows, Slaves are both SLES. I would not have noticed the wrong path seperators if you had not mentioned it, but it seems to be the same problem - checkout ok (after a lot of trying around), rlog not working. I'm using Jenkins 1.465 and just upgraded the CVS-Plugin from 1.6 to 2.3. For now, I'll have to go back to 1.6 as this is an absolute showstopper for us. > CVS authentication failure while running rlog command (Windows master / Unix slave) > ----------------------------------------------------------------------------------- > > Key: JENKINS-13764 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13764 > Project: Jenkins > Issue Type: Bug > Components: cvs > Affects Versions: current > Environment: Jenkins 1.463 > CVS Plugin 2.3 > Master is running Windows, Slave is on Solaris > Reporter: lklock > > I'm building on a Solaris slave trying to access a CVS repository over SSH connection > Private key location is set to $SSH_PRIVATE_KEY_DIR/id_rsa > and known hosts to $SSH_PRIVATE_KEY_DIR/known_hosts > On the slave, SSH_PRIVATE_KEY_DIR is set to: > /export/home/cxt2tst/.ssh > Checkout is done properly: > Building remotely on picard in workspace /export/home/cxt2tst/HUDSON/workspace/server.8.0 > cvs update -d -P -r HEAD -D 14 May 2012 14:17:28 +0200 server.8.0 > cvs update: Updating server.8.0 > cvs update: Updating server.8.0/configuration > .... > .... > but when it tries to get the ChangeLog, an exception is raised with the following stack trace > FATAL: CVS authentication failure while running rlog command > java.lang.RuntimeException: CVS authentication failure while running rlog command > at hudson.scm.CVSSCM.getRemoteLogForModule(CVSSCM.java:530) > at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:414) > at hudson.scm.CVSSCM.checkout(CVSSCM.java:821) > at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) > at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) > at hudson.model.Run.run(Run.java:1434) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:239) > Caused by: org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed. > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:134) > at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374) > at java.lang.Thread.run(Unknown Source) > Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:224) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:218) > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:128) > ... 2 more > Caused by: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(Unknown Source) > at java.io.FileInputStream.<init>(Unknown Source) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83) > ... 5 more > It seems it cannot find the file due to the use of wrong path separator -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-13764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163087#comment-163087 ] Michael Clarke commented on JENKINS-13764: ------------------------------------------ Daniel: please provide the format you have for your path so I can build a unit test for to include it. > CVS authentication failure while running rlog command (Windows master / Unix slave) > ----------------------------------------------------------------------------------- > > Key: JENKINS-13764 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13764 > Project: Jenkins > Issue Type: Bug > Components: cvs > Affects Versions: current > Environment: Jenkins 1.463 > CVS Plugin 2.3 > Master is running Windows, Slave is on Solaris > Reporter: lklock > > I'm building on a Solaris slave trying to access a CVS repository over SSH connection > Private key location is set to $SSH_PRIVATE_KEY_DIR/id_rsa > and known hosts to $SSH_PRIVATE_KEY_DIR/known_hosts > On the slave, SSH_PRIVATE_KEY_DIR is set to: > /export/home/cxt2tst/.ssh > Checkout is done properly: > Building remotely on picard in workspace /export/home/cxt2tst/HUDSON/workspace/server.8.0 > cvs update -d -P -r HEAD -D 14 May 2012 14:17:28 +0200 server.8.0 > cvs update: Updating server.8.0 > cvs update: Updating server.8.0/configuration > .... > .... > but when it tries to get the ChangeLog, an exception is raised with the following stack trace > FATAL: CVS authentication failure while running rlog command > java.lang.RuntimeException: CVS authentication failure while running rlog command > at hudson.scm.CVSSCM.getRemoteLogForModule(CVSSCM.java:530) > at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:414) > at hudson.scm.CVSSCM.checkout(CVSSCM.java:821) > at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) > at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) > at hudson.model.Run.run(Run.java:1434) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:239) > Caused by: org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed. > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:134) > at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374) > at java.lang.Thread.run(Unknown Source) > Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:224) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:218) > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:128) > ... 2 more > Caused by: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(Unknown Source) > at java.io.FileInputStream.<init>(Unknown Source) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83) > ... 5 more > It seems it cannot find the file due to the use of wrong path separator -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-13764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163130#comment-163130 ] Daniel Schaarschmidt commented on JENKINS-13764: ------------------------------------------------ The path I tried was: /home/myUser/.ssh/id_dsa I would certainly prefer to use "~" instead of home/myUser or using a placeholder like lklock, but I just tried the path that should have been easier to get working. Obviously that path won't work on the Windows master so I set one of the two Linux Nodes as parent using the Matrix Tie Parent plugin. > CVS authentication failure while running rlog command (Windows master / Unix slave) > ----------------------------------------------------------------------------------- > > Key: JENKINS-13764 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13764 > Project: Jenkins > Issue Type: Bug > Components: cvs > Affects Versions: current > Environment: Jenkins 1.463 > CVS Plugin 2.3 > Master is running Windows, Slave is on Solaris > Reporter: lklock > > I'm building on a Solaris slave trying to access a CVS repository over SSH connection > Private key location is set to $SSH_PRIVATE_KEY_DIR/id_rsa > and known hosts to $SSH_PRIVATE_KEY_DIR/known_hosts > On the slave, SSH_PRIVATE_KEY_DIR is set to: > /export/home/cxt2tst/.ssh > Checkout is done properly: > Building remotely on picard in workspace /export/home/cxt2tst/HUDSON/workspace/server.8.0 > cvs update -d -P -r HEAD -D 14 May 2012 14:17:28 +0200 server.8.0 > cvs update: Updating server.8.0 > cvs update: Updating server.8.0/configuration > .... > .... > but when it tries to get the ChangeLog, an exception is raised with the following stack trace > FATAL: CVS authentication failure while running rlog command > java.lang.RuntimeException: CVS authentication failure while running rlog command > at hudson.scm.CVSSCM.getRemoteLogForModule(CVSSCM.java:530) > at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:414) > at hudson.scm.CVSSCM.checkout(CVSSCM.java:821) > at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) > at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) > at hudson.model.Run.run(Run.java:1434) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:239) > Caused by: org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed. > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:134) > at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374) > at java.lang.Thread.run(Unknown Source) > Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:224) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:218) > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:128) > ... 2 more > Caused by: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(Unknown Source) > at java.io.FileInputStream.<init>(Unknown Source) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83) > ... 5 more > It seems it cannot find the file due to the use of wrong path separator -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-13764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163494#comment-163494 ] SCM/JIRA link daemon commented on JENKINS-13764: ------------------------------------------------ Code changed in jenkins User: mc1arke Path: src/main/java/org/netbeans/lib/cvsclient/connection/SSHConnection.java http://jenkins-ci.org/commit/cvsclient/03badcdfdd9834b8cde2c5d66b13c16b5f7e774b Log: JENKINS-13764: Set known hosts & passfile using local system path separators > CVS authentication failure while running rlog command (Windows master / Unix slave) > ----------------------------------------------------------------------------------- > > Key: JENKINS-13764 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13764 > Project: Jenkins > Issue Type: Bug > Components: cvs > Affects Versions: current > Environment: Jenkins 1.463 > CVS Plugin 2.3 > Master is running Windows, Slave is on Solaris > Reporter: lklock > > I'm building on a Solaris slave trying to access a CVS repository over SSH connection > Private key location is set to $SSH_PRIVATE_KEY_DIR/id_rsa > and known hosts to $SSH_PRIVATE_KEY_DIR/known_hosts > On the slave, SSH_PRIVATE_KEY_DIR is set to: > /export/home/cxt2tst/.ssh > Checkout is done properly: > Building remotely on picard in workspace /export/home/cxt2tst/HUDSON/workspace/server.8.0 > cvs update -d -P -r HEAD -D 14 May 2012 14:17:28 +0200 server.8.0 > cvs update: Updating server.8.0 > cvs update: Updating server.8.0/configuration > .... > .... > but when it tries to get the ChangeLog, an exception is raised with the following stack trace > FATAL: CVS authentication failure while running rlog command > java.lang.RuntimeException: CVS authentication failure while running rlog command > at hudson.scm.CVSSCM.getRemoteLogForModule(CVSSCM.java:530) > at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:414) > at hudson.scm.CVSSCM.checkout(CVSSCM.java:821) > at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) > at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) > at hudson.model.Run.run(Run.java:1434) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:239) > Caused by: org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed. > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:134) > at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374) > at java.lang.Thread.run(Unknown Source) > Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:224) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:218) > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:128) > ... 2 more > Caused by: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(Unknown Source) > at java.io.FileInputStream.<init>(Unknown Source) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83) > ... 5 more > It seems it cannot find the file due to the use of wrong path separator -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-13764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] > CVS authentication failure while running rlog command (Windows master / Unix slave) > ----------------------------------------------------------------------------------- > > Key: JENKINS-13764 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13764 > Project: Jenkins > Issue Type: Bug > Components: cvs > Affects Versions: current > Environment: Jenkins 1.463 > CVS Plugin 2.3 > Master is running Windows, Slave is on Solaris > Reporter: lklock > > I'm building on a Solaris slave trying to access a CVS repository over SSH connection > Private key location is set to $SSH_PRIVATE_KEY_DIR/id_rsa > and known hosts to $SSH_PRIVATE_KEY_DIR/known_hosts > On the slave, SSH_PRIVATE_KEY_DIR is set to: > /export/home/cxt2tst/.ssh > Checkout is done properly: > Building remotely on picard in workspace /export/home/cxt2tst/HUDSON/workspace/server.8.0 > cvs update -d -P -r HEAD -D 14 May 2012 14:17:28 +0200 server.8.0 > cvs update: Updating server.8.0 > cvs update: Updating server.8.0/configuration > .... > .... > but when it tries to get the ChangeLog, an exception is raised with the following stack trace > FATAL: CVS authentication failure while running rlog command > java.lang.RuntimeException: CVS authentication failure while running rlog command > at hudson.scm.CVSSCM.getRemoteLogForModule(CVSSCM.java:530) > at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:414) > at hudson.scm.CVSSCM.checkout(CVSSCM.java:821) > at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) > at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) > at hudson.model.Run.run(Run.java:1434) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:239) > Caused by: org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed. > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:134) > at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374) > at java.lang.Thread.run(Unknown Source) > Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:224) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:218) > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:128) > ... 2 more > Caused by: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(Unknown Source) > at java.io.FileInputStream.<init>(Unknown Source) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83) > ... 5 more > It seems it cannot find the file due to the use of wrong path separator -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-13764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Clarke reassigned JENKINS-13764: ---------------------------------------- Assignee: Michael Clarke > CVS authentication failure while running rlog command (Windows master / Unix slave) > ----------------------------------------------------------------------------------- > > Key: JENKINS-13764 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13764 > Project: Jenkins > Issue Type: Bug > Components: cvs > Affects Versions: current > Environment: Jenkins 1.463 > CVS Plugin 2.3 > Master is running Windows, Slave is on Solaris > Reporter: lklock > Assignee: Michael Clarke > > I'm building on a Solaris slave trying to access a CVS repository over SSH connection > Private key location is set to $SSH_PRIVATE_KEY_DIR/id_rsa > and known hosts to $SSH_PRIVATE_KEY_DIR/known_hosts > On the slave, SSH_PRIVATE_KEY_DIR is set to: > /export/home/cxt2tst/.ssh > Checkout is done properly: > Building remotely on picard in workspace /export/home/cxt2tst/HUDSON/workspace/server.8.0 > cvs update -d -P -r HEAD -D 14 May 2012 14:17:28 +0200 server.8.0 > cvs update: Updating server.8.0 > cvs update: Updating server.8.0/configuration > .... > .... > but when it tries to get the ChangeLog, an exception is raised with the following stack trace > FATAL: CVS authentication failure while running rlog command > java.lang.RuntimeException: CVS authentication failure while running rlog command > at hudson.scm.CVSSCM.getRemoteLogForModule(CVSSCM.java:530) > at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:414) > at hudson.scm.CVSSCM.checkout(CVSSCM.java:821) > at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) > at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) > at hudson.model.Run.run(Run.java:1434) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:239) > Caused by: org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed. > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:134) > at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374) > at java.lang.Thread.run(Unknown Source) > Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:224) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:218) > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:128) > ... 2 more > Caused by: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(Unknown Source) > at java.io.FileInputStream.<init>(Unknown Source) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83) > ... 5 more > It seems it cannot find the file due to the use of wrong path separator -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-13764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163690#comment-163690 ] SCM/JIRA link daemon commented on JENKINS-13764: ------------------------------------------------ Code changed in jenkins User: mc1arke Path: pom.xml http://jenkins-ci.org/commit/cvs-plugin/5cc27a9675d76ef41bd156cd77d64ea8b3d04692 Log: [FIXED JENKINS-13764] Upgrade to latest CVS client > CVS authentication failure while running rlog command (Windows master / Unix slave) > ----------------------------------------------------------------------------------- > > Key: JENKINS-13764 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13764 > Project: Jenkins > Issue Type: Bug > Components: cvs > Affects Versions: current > Environment: Jenkins 1.463 > CVS Plugin 2.3 > Master is running Windows, Slave is on Solaris > Reporter: lklock > Assignee: Michael Clarke > > I'm building on a Solaris slave trying to access a CVS repository over SSH connection > Private key location is set to $SSH_PRIVATE_KEY_DIR/id_rsa > and known hosts to $SSH_PRIVATE_KEY_DIR/known_hosts > On the slave, SSH_PRIVATE_KEY_DIR is set to: > /export/home/cxt2tst/.ssh > Checkout is done properly: > Building remotely on picard in workspace /export/home/cxt2tst/HUDSON/workspace/server.8.0 > cvs update -d -P -r HEAD -D 14 May 2012 14:17:28 +0200 server.8.0 > cvs update: Updating server.8.0 > cvs update: Updating server.8.0/configuration > .... > .... > but when it tries to get the ChangeLog, an exception is raised with the following stack trace > FATAL: CVS authentication failure while running rlog command > java.lang.RuntimeException: CVS authentication failure while running rlog command > at hudson.scm.CVSSCM.getRemoteLogForModule(CVSSCM.java:530) > at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:414) > at hudson.scm.CVSSCM.checkout(CVSSCM.java:821) > at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) > at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) > at hudson.model.Run.run(Run.java:1434) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:239) > Caused by: org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed. > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:134) > at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374) > at java.lang.Thread.run(Unknown Source) > Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:224) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:218) > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:128) > ... 2 more > Caused by: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(Unknown Source) > at java.io.FileInputStream.<init>(Unknown Source) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83) > ... 5 more > It seems it cannot find the file due to the use of wrong path separator -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-13764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] SCM/JIRA link daemon resolved JENKINS-13764. -------------------------------------------- Resolution: Fixed > CVS authentication failure while running rlog command (Windows master / Unix slave) > ----------------------------------------------------------------------------------- > > Key: JENKINS-13764 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13764 > Project: Jenkins > Issue Type: Bug > Components: cvs > Affects Versions: current > Environment: Jenkins 1.463 > CVS Plugin 2.3 > Master is running Windows, Slave is on Solaris > Reporter: lklock > Assignee: Michael Clarke > > I'm building on a Solaris slave trying to access a CVS repository over SSH connection > Private key location is set to $SSH_PRIVATE_KEY_DIR/id_rsa > and known hosts to $SSH_PRIVATE_KEY_DIR/known_hosts > On the slave, SSH_PRIVATE_KEY_DIR is set to: > /export/home/cxt2tst/.ssh > Checkout is done properly: > Building remotely on picard in workspace /export/home/cxt2tst/HUDSON/workspace/server.8.0 > cvs update -d -P -r HEAD -D 14 May 2012 14:17:28 +0200 server.8.0 > cvs update: Updating server.8.0 > cvs update: Updating server.8.0/configuration > .... > .... > but when it tries to get the ChangeLog, an exception is raised with the following stack trace > FATAL: CVS authentication failure while running rlog command > java.lang.RuntimeException: CVS authentication failure while running rlog command > at hudson.scm.CVSSCM.getRemoteLogForModule(CVSSCM.java:530) > at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:414) > at hudson.scm.CVSSCM.checkout(CVSSCM.java:821) > at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) > at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) > at hudson.model.Run.run(Run.java:1434) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:239) > Caused by: org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed. > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:134) > at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374) > at java.lang.Thread.run(Unknown Source) > Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:98) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:224) > at com.jcraft.jsch.JSch.addIdentity(JSch.java:218) > at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:128) > ... 2 more > Caused by: java.io.FileNotFoundException: \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(Unknown Source) > at java.io.FileInputStream.<init>(Unknown Source) > at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83) > ... 5 more > It seems it cannot find the file due to the use of wrong path separator -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
| Powered by Nabble | Edit this page |

It's still not working.
Same error as posted originally, tried with Jenkins CVS-Plguin 2.4.
When I look at the SSHConnection.java the method open() replaces / and \ with System.file,.separator. But it seems to use the settings from the master, not the slave. So with Windows Master and Linux Slave, I get \ instead of /, which is wrong and leads to the said exception.