org.tmatesoft.svn.core.SVNCancelException: svn: No credential to try. Authentication failed

Jenkins JIRA | cottingham | 8 years ago
  1. 0

    We are moving our builds from Hudson on server A to Hudson on server B. Both servers are running Hudson 1.252 on JDK 1.6.0_10-beta and Tomcat 6.0.14. Builds on the master run just fine. However, we have a server C that's set up as a slave processor; jobs run by Hudson on server A run fine, but jobs run by Hudson on server B always throw this error: started Building remotely on C Updating svn+ssh://svn.example.com/svn/repos/project/trunk ERROR: Failed to update svn+ssh://svn.example.com/svn/repos/project/trunk org.tmatesoft.svn.core.SVNCancelException: svn: No credential to try. Authentication failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:36) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:31) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication(DefaultSVN AuthenticationManager.java:167) at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector.open(SVNSSHConnector.java:70) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:73) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:1229 ) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.testConnection(SVNRepositoryImpl.java:94) at org.tmatesoft.svn.core.io.SVNRepository.getRepositoryUUID(SVNRepository.java:273) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:301) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:289) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:221) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:159) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:155) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:442) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:413) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1176) at hudson.remoting.UserRequest.perform(UserRequest.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:23) at hudson.remoting.Request$2.run(Request.java:213) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) finished: FAILURE I am able to: 1. log into B and su to the user running Hudson 2. ssh as that user to C 3. cd ~/.hudson/workspace/project 4. svn co svn+ssh://svn.example.com/svn/repos/project/trunk project without any errors or prompts. Is there a way to turn on additional logging or something, to get a better idea why the slave run from one master works but the other one doesn't?

    Jenkins JIRA | 8 years ago | cottingham
    org.tmatesoft.svn.core.SVNCancelException: svn: No credential to try. Authentication failed
  2. 0

    We are moving our builds from Hudson on server A to Hudson on server B. Both servers are running Hudson 1.252 on JDK 1.6.0_10-beta and Tomcat 6.0.14. Builds on the master run just fine. However, we have a server C that's set up as a slave processor; jobs run by Hudson on server A run fine, but jobs run by Hudson on server B always throw this error: started Building remotely on C Updating svn+ssh://svn.example.com/svn/repos/project/trunk ERROR: Failed to update svn+ssh://svn.example.com/svn/repos/project/trunk org.tmatesoft.svn.core.SVNCancelException: svn: No credential to try. Authentication failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:36) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:31) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication(DefaultSVN AuthenticationManager.java:167) at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector.open(SVNSSHConnector.java:70) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:73) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:1229 ) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.testConnection(SVNRepositoryImpl.java:94) at org.tmatesoft.svn.core.io.SVNRepository.getRepositoryUUID(SVNRepository.java:273) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:301) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:289) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:221) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:159) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:155) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:442) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:413) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1176) at hudson.remoting.UserRequest.perform(UserRequest.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:23) at hudson.remoting.Request$2.run(Request.java:213) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) finished: FAILURE I am able to: 1. log into B and su to the user running Hudson 2. ssh as that user to C 3. cd ~/.hudson/workspace/project 4. svn co svn+ssh://svn.example.com/svn/repos/project/trunk project without any errors or prompts. Is there a way to turn on additional logging or something, to get a better idea why the slave run from one master works but the other one doesn't?

    Jenkins JIRA | 8 years ago | cottingham
    org.tmatesoft.svn.core.SVNCancelException: svn: No credential to try. Authentication failed
  3. 0

    How to get Jenkins to authenticate to SVN server?

    Stack Overflow | 2 years ago | HorusKol
    org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Checkout Failure in Master Slave Configuration

    Google Groups | 5 years ago | Vinod Kumar
    hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\projectname at hudson.remoting.Channel@19bb5648:XP1
  6. 0

    Checkout Failure in Master Slave Configuration

    Google Groups | 5 years ago | Vinod Kumar
    hudson.util.IOException2: remote file operation failed: C:\jenkins \workspace\projectname at hudson.remoting.Channel@19bb5648:XP1

    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. org.tmatesoft.svn.core.SVNCancelException

      svn: No credential to try. Authentication failed

      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel()
    2. SVNKit Library
      SVNErrorManager.cancel
      1. org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:36)
      2. org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:31)
      2 frames