java.lang.RuntimeException: CVS authentication failure while running rlog command

Jenkins JIRA | lklock | 5 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

    Jenkins issues - [JIRA] (JENKINS-13764) CVS authentication failure while running rlog command (Windows master / Unix slave)

    nabble.com | 1 year ago
    java.lang.RuntimeException: CVS authentication failure while running rlog command
  2. 0

    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

    Jenkins JIRA | 5 years ago | lklock
    java.lang.RuntimeException: CVS authentication failure while running rlog command
  3. 0

    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

    Jenkins JIRA | 5 years ago | lklock
    java.lang.RuntimeException: CVS authentication failure while running rlog command
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    CVS Authentication failed!

    Google Groups | 4 years ago | Sameh Tawfik
    org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed.
  6. 0

    Jenkins users - CVS Authentication failed!

    nabble.com | 1 year ago
    org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed.

  1. jstrayer 2 times, last 3 months ago
  2. linxiaolong 1 times, last 6 days ago
  3. rp 1 times, last 6 days ago
  4. marcbouvierdav 15 times, last 4 weeks ago
  5. tyson925 9 times, last 1 month ago
54 more registered users
41 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. java.io.FileNotFoundException

    \export\home\cxt2tst\.ssh\id_rsa (The system cannot find the path specified)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(Unknown Source)
    3. java.io.FileInputStream.<init>(Unknown Source)
    3 frames
  3. JSch
    JSch.addIdentity
    1. com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:83)
    2. com.jcraft.jsch.JSch.addIdentity(JSch.java:224)
    3. com.jcraft.jsch.JSch.addIdentity(JSch.java:218)
    3 frames
  4. org.netbeans.lib
    Client$1.run
    1. org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:128)
    2. org.netbeans.lib.cvsclient.Client$1.run(Client.java:374)
    2 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame