Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-474

svn+ssh on slave node causes org.tmatesoft.svn.core.SVNCancelException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • remoting
    • None
    • Platform: All, OS: All

      Using

      • Hudson 1.101
      • SSH to launch a slave agent (Linux master, Windows/Cygwin slave)
      • the svn+ssh protocol for a Subversion repository
      • credentials with a username and a private keyfile (no passphrase)

      The build succeeds on a master node, however, an exception occurs when it is
      tied to a slave node:

      java.lang.NullPointerException:
      at
      hudson.scm.SubversionSCM$DescriptorImpl$SshPublicKeyCredential.getKeyFile(SubversionSCM.java:598)
      at
      hudson.scm.SubversionSCM$DescriptorImpl$SshPublicKeyCredential.createSVNAuthentication(SubversionSCM.java:619)
      at
      hudson.scm.SubversionSCM$DescriptorImpl$SshPublicKeyCredential.createSVNAuthentication(SubversionSCM.java:568)
      at
      hudson.scm.SubversionSCM$DescriptorImpl$SVNAuthenticationProviderImpl.requestClientAuthentication(SubversionSCM.java:661)
      at
      org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication(DefaultSVNAuthenticationManager.java:148)
      at
      org.tmatesoft.svn.core.internal.io.svn.SVNGanymedConnector.open(SVNGanymedConnector.java:62)
      at
      org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:59)
      at
      org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:999)
      at
      org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.getLatestRevision(SVNRepositoryImpl.java:136)
      at
      org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:344)
      at
      org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:458)
      at
      org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:414)
      at
      org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:378)
      at
      org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:305)
      at hudson.scm.SubversionSCM$1.invoke(SubversionSCM.java:304)
      at hudson.scm.SubversionSCM$1.invoke(SubversionSCM.java:277)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:904)
      at hudson.remoting.UserRequest.perform(UserRequest.java:57)
      at hudson.remoting.UserRequest.perform(UserRequest.java:22)
      at hudson.remoting.Request$2.run(Request.java:178)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)

            Unassigned Unassigned
            kianwin kianwin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: