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

svn: E200015: authentication cancelled (subversion plugin 2.5)

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: subversion-plugin
    • Labels:
      None
    • Environment:
      Windows 7, Jenkins 1.596, Subversion plugin 2.5
    • Similar Issues:

      Description

      If i try to configure a subversion step with subversion plugin 2.5 i get:

      Unable to access http://myserver/xxxxxxx : svn: E200015: authentication cancelled
      org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:37)
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:32)
      at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextAuthentication(DefaultSVNAuthenticationManager.java:215)
      at hudson.scm.FilterSVNAuthenticationManager.getNextAuthentication(FilterSVNAuthenticationManager.java:42)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:685)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:371)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:359)
      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710)
      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627)
      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1032)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepository.java:94)
      at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:2282)
      at hudson.scm.SubversionSCM$ModuleLocation$DescriptorImpl.checkCredentialsId(SubversionSCM.java:3043)
      at hudson.scm.SubversionSCM$ModuleLocation$DescriptorImpl.doCheckCredentialsId(SubversionSCM.java:3016)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      at org.eclipse.jetty.server.Server.handle(Server.java:370)
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
      at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
      at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      downgrading subversion plugin to 2.4.5 i have no errors.

      Tyvm

      Enri

        Attachments

          Issue Links

            Activity

            Hide
            cedriclevasseur Cédric Levasseur added a comment - - edited

            I had the same problem.
            When i use the Jenkins Artifact Plugin to perform a release,
            a SVN Tag is failling due to the lack of credentials.
            it display the message
            "You are using an old subversion jenkins plugin, please consider upgrading."
            As i'm using Subversion plugin version 2.5 (the latest), i was confused.
            Downgrading to Subversion plugin 2.4.5 correct the problem !

            Here my comment on artifactory Jira : https://www.jfrog.com/jira/browse/HAP-471?focusedCommentId=33422&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-33422

            Please note that i'm using a Jenkins server on Windows. (The nodes are in Linux and Windows)
            Jenkins ver. 1.596
            Artifactory plugin 2.2.5

            Show
            cedriclevasseur Cédric Levasseur added a comment - - edited I had the same problem. When i use the Jenkins Artifact Plugin to perform a release, a SVN Tag is failling due to the lack of credentials. it display the message "You are using an old subversion jenkins plugin, please consider upgrading." As i'm using Subversion plugin version 2.5 (the latest), i was confused. Downgrading to Subversion plugin 2.4.5 correct the problem ! Here my comment on artifactory Jira : https://www.jfrog.com/jira/browse/HAP-471?focusedCommentId=33422&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-33422 Please note that i'm using a Jenkins server on Windows. (The nodes are in Linux and Windows) Jenkins ver. 1.596 Artifactory plugin 2.2.5
            Hide
            ursus_b Björn Olsson added a comment -

            Hi,
            What type of authentication are you using to let Jenkins access the SVN repository?

            Regards,

            B Olsson

            Show
            ursus_b Björn Olsson added a comment - Hi, What type of authentication are you using to let Jenkins access the SVN repository? Regards, B Olsson
            Hide
            cedriclevasseur Cédric Levasseur added a comment -

            I'm using HTTP authentification. I use the Credential Plugin : 1.20
            Regards,
            Cédric

            Show
            cedriclevasseur Cédric Levasseur added a comment - I'm using HTTP authentification. I use the Credential Plugin : 1.20 Regards, Cédric
            Hide
            cedriclevasseur Cédric Levasseur added a comment -

            Here some code from Artifactory Plugin :

            sap = getJenkinsScm().createAuthenticationProvider(build.getParent(), getLocation());
            } catch (NoSuchMethodError e)

            { //fallback for versions under 2.x of org.jenkins-ci.plugins:subversion buildListener.getLogger().println( "[RELEASE] You are using an old subversion jenkins plugin, please consider upgrading."); sap = getJenkinsScm().getDescriptor().createAuthenticationProvider(build.getParent()); }

            https://github.com/JFrogDev/jenkins-artifactory-plugin/blob/master/src/main/java/org/jfrog/hudson/release/scm/svn/SubversionManager.java

            Did your API changed ? Tell me as i can report to Artifactory JIRA.

            Show
            cedriclevasseur Cédric Levasseur added a comment - Here some code from Artifactory Plugin : sap = getJenkinsScm().createAuthenticationProvider(build.getParent(), getLocation()); } catch (NoSuchMethodError e) { //fallback for versions under 2.x of org.jenkins-ci.plugins:subversion buildListener.getLogger().println( "[RELEASE] You are using an old subversion jenkins plugin, please consider upgrading."); sap = getJenkinsScm().getDescriptor().createAuthenticationProvider(build.getParent()); } https://github.com/JFrogDev/jenkins-artifactory-plugin/blob/master/src/main/java/org/jfrog/hudson/release/scm/svn/SubversionManager.java Did your API changed ? Tell me as i can report to Artifactory JIRA.
            Hide
            ursus_b Björn Olsson added a comment -

            I meant what type of authentication you have set up for your SVN server, Windows credentials or perhaps basic (i.e. username/passwords managed in the subversion server).

            Regards,
            B Olsson

            Show
            ursus_b Björn Olsson added a comment - I meant what type of authentication you have set up for your SVN server, Windows credentials or perhaps basic (i.e. username/passwords managed in the subversion server). Regards, B Olsson
            Hide
            enrigrossi Enri Grossi added a comment -

            In Subversion we have authenticated domain user (SERVER\user)
            Regards,
            Enri

            Show
            enrigrossi Enri Grossi added a comment - In Subversion we have authenticated domain user (SERVER\user) Regards, Enri
            Hide
            cedriclevasseur Cédric Levasseur added a comment -

            Sorry. I'm using username/password.

            Show
            cedriclevasseur Cédric Levasseur added a comment - Sorry. I'm using username/password.
            Hide
            scorpio vijay konenki added a comment -

            I have the same issue, i get svn: E200015: authentication cancelled error when i use 2.5 plugin with svn 1.8 version

            Show
            scorpio vijay konenki added a comment - I have the same issue, i get svn: E200015: authentication cancelled error when i use 2.5 plugin with svn 1.8 version
            Hide
            spikerjenk2 Jordan Spiker added a comment -

            Also having this issue. plugin 2.5 with svn 1.8. Downgrading to 2.4.5 fixed this. This issue seems to have cropped up when we enabled apache2 + mod_auth_ntlm_winbind + winbind to use NTLM on the subversion host server.

            Show
            spikerjenk2 Jordan Spiker added a comment - Also having this issue. plugin 2.5 with svn 1.8. Downgrading to 2.4.5 fixed this. This issue seems to have cropped up when we enabled apache2 + mod_auth_ntlm_winbind + winbind to use NTLM on the subversion host server.
            Hide
            psgrove Paul Grove added a comment -

            We just upgraded to latest LTS version and have same issue using the global password of the Credential plugin, can even see the option to reconfigure to use the global credentials. Also suffering from https://issues.jenkins-ci.org/browse/JENKINS-26734

            Show
            psgrove Paul Grove added a comment - We just upgraded to latest LTS version and have same issue using the global password of the Credential plugin, can even see the option to reconfigure to use the global credentials. Also suffering from https://issues.jenkins-ci.org/browse/JENKINS-26734
            Hide
            d_bonvillain Damien Bonvillain added a comment - - edited

            Same problem on latest LTS version. Polling works fine, but manual "Tag build" fails. HTTP basic auth on https. Reverting the plugin got back the situation to normal.

            Show
            d_bonvillain Damien Bonvillain added a comment - - edited Same problem on latest LTS version. Polling works fine, but manual "Tag build" fails. HTTP basic auth on https. Reverting the plugin got back the situation to normal.
            Hide
            dp80 Dhiren p added a comment -

            Same issue on 1.586 with subversion 2.5 plugin. i am using username/password

            Show
            dp80 Dhiren p added a comment - Same issue on 1.586 with subversion 2.5 plugin. i am using username/password
            Hide
            lautou Laurent TOURREAU added a comment -

            I confirm the issues with 1.609 subversion 2.5 too.

            Show
            lautou Laurent TOURREAU added a comment - I confirm the issues with 1.609 subversion 2.5 too.
            Hide
            wannessels Wannes Sels added a comment -

            We've had a similar issue: same error message, different stacktrace.
            Strangely, the update would run fine, but calculating changelog would result in error svn: E200015: authentication cancelled

            Upgrading working copy format to 1.7 or 1.8 fixed the problem for us.

            Can you check your workspace svn working copy version?
            (try http://stackoverflow.com/a/1364648/2563933)

            Upgrade with

            svn upgrade <workspace-path>
            Show
            wannessels Wannes Sels added a comment - We've had a similar issue: same error message, different stacktrace. Strangely, the update would run fine, but calculating changelog would result in error svn: E200015: authentication cancelled Upgrading working copy format to 1.7 or 1.8 fixed the problem for us. Can you check your workspace svn working copy version? (try http://stackoverflow.com/a/1364648/2563933 ) Upgrade with svn upgrade <workspace-path>
            Hide
            tascher Thomas Ascher added a comment -

            I can confirm this issue to with 1.609 and 1.617 and Subversion plugin 2.5 too. I try to check out into an empty workspace from an https URL via username/password credentials:

            org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled
            at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:37)
            at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:32)
            at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextAuthentication(DefaultSVNAuthenticationManager.java:215)
            at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:685)
            at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:371)
            at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:359)
            at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710)
            at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627)
            at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102)
            at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1032)
            at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:175)
            at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.getRevisionNumber(SvnNgRepositoryAccess.java:118)
            at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:184)
            at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:45)
            at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:756)
            at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:26)
            at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:11)
            at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
            at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
            at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1259)
            at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
            at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:115)
            at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162)
            at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:170)
            at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:133)
            at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162)
            at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:991)
            at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:972)
            at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:948)
            at hudson.FilePath.act(FilePath.java:991)
            at hudson.FilePath.act(FilePath.java:969)
            at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:897)
            at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:833)
            at hudson.scm.SCM.checkout(SCM.java:485)
            at hudson.model.AbstractProject.checkout(AbstractProject.java:1282)
            at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
            at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
            at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
            at hudson.model.Run.execute(Run.java:1744)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:374)
            FATAL: null
            java.lang.NullPointerException
            at java.util.ArrayList.addAll(Unknown Source)
            at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:897)
            at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:833)
            at hudson.scm.SCM.checkout(SCM.java:485)
            at hudson.model.AbstractProject.checkout(AbstractProject.java:1282)
            at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
            at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
            at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
            at hudson.model.Run.execute(Run.java:1744)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:374)
            Finished: FAILURE

            Show
            tascher Thomas Ascher added a comment - I can confirm this issue to with 1.609 and 1.617 and Subversion plugin 2.5 too. I try to check out into an empty workspace from an https URL via username/password credentials: org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:37) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:32) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextAuthentication(DefaultSVNAuthenticationManager.java:215) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:685) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:371) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:359) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1032) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:175) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.getRevisionNumber(SvnNgRepositoryAccess.java:118) at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:184) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:45) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:756) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:26) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:11) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20) at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21) at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1259) at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:115) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:170) at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:133) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:991) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:972) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:948) at hudson.FilePath.act(FilePath.java:991) at hudson.FilePath.act(FilePath.java:969) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:897) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:833) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1282) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1744) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) FATAL: null java.lang.NullPointerException at java.util.ArrayList.addAll(Unknown Source) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:897) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:833) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1282) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1744) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Finished: FAILURE
            Hide
            recena Manuel Recena Soto added a comment -

            Can anybody provide a "step by step" process to reproduce the bug? Thanks in advance.

            Show
            recena Manuel Recena Soto added a comment - Can anybody provide a "step by step" process to reproduce the bug? Thanks in advance.
            Hide
            tascher Thomas Ascher added a comment - - edited
            • Subversion server is Apache/2.2.15 (Win32) DAV/2 SVN/1.6.6 mod_auth_sspi/1.0.4 mod_ssl/2.2.15 OpenSSL/0.9.8m, NTLM authentication is used
            • Use Jenkins 1.691 and update the Subversion plugin to 2.5
            • Create a new item as freestyle project
            • As source code management select Subversion
            • As repository URL enter an repository with https URL that requires authentication
            • Now add and select the required credentials via add, use kind username with password
            • Below the credentials field the error 'svn: E200015: authentication cancelled' should appear
            • Also as a result of this a build can't check out the code which was working properly with the previous Subversion plugin
            Show
            tascher Thomas Ascher added a comment - - edited Subversion server is Apache/2.2.15 (Win32) DAV/2 SVN/1.6.6 mod_auth_sspi/1.0.4 mod_ssl/2.2.15 OpenSSL/0.9.8m, NTLM authentication is used Use Jenkins 1.691 and update the Subversion plugin to 2.5 Create a new item as freestyle project As source code management select Subversion As repository URL enter an repository with https URL that requires authentication Now add and select the required credentials via add, use kind username with password Below the credentials field the error 'svn: E200015: authentication cancelled' should appear Also as a result of this a build can't check out the code which was working properly with the previous Subversion plugin
            Hide
            recena Manuel Recena Soto added a comment -

            Thomas Ascher, thanks so much. I hope to reproduce the bug following these steps.

            Show
            recena Manuel Recena Soto added a comment - Thomas Ascher , thanks so much. I hope to reproduce the bug following these steps.
            Hide
            recena Manuel Recena Soto added a comment - - edited

            Thomas Ascher, I tried to reproduce the bug without successful. I've recorded a screencast (https://goo.gl/uZ5N4P) to show how I tested it.

            I think we can improve the UX if the recently created credential is selected.

            Show
            recena Manuel Recena Soto added a comment - - edited Thomas Ascher , I tried to reproduce the bug without successful. I've recorded a screencast ( https://goo.gl/uZ5N4P ) to show how I tested it. I think we can improve the UX if the recently created credential is selected.
            Hide
            walbenzi_kmc William Albenzi added a comment -

            I have two SVN repositories. One is on a Linux system. One is a 32 bit Windows system. I only have this problem with the Windows repository, the Linux repo works well. The Tortoise SVN client can use both repositories.

            I think that since one person above mentioned that they are running on 32 bit Windows, there may have been a strange interaction.

            Show
            walbenzi_kmc William Albenzi added a comment - I have two SVN repositories. One is on a Linux system. One is a 32 bit Windows system. I only have this problem with the Windows repository, the Linux repo works well. The Tortoise SVN client can use both repositories. I think that since one person above mentioned that they are running on 32 bit Windows, there may have been a strange interaction.
            Hide
            tascher Thomas Ascher added a comment -

            Yes, our Subversion repository is hosted on a Windows machine. I've also done a quick evaulation on my own machine with a recent VisualSVN Server version which is also a SVN implementation and authentication seems to be a non issue with it. Maybe the SVNKit version that comes with the plugin isn't compatible with our specific server version anymore. At least according to the SVNKit changelog some changes were made to the NTLM authentication.

            Show
            tascher Thomas Ascher added a comment - Yes, our Subversion repository is hosted on a Windows machine. I've also done a quick evaulation on my own machine with a recent VisualSVN Server version which is also a SVN implementation and authentication seems to be a non issue with it. Maybe the SVNKit version that comes with the plugin isn't compatible with our specific server version anymore. At least according to the SVNKit changelog some changes were made to the NTLM authentication.
            Hide
            recena Manuel Recena Soto added a comment -

            Thomas Ascher, William Albenzi

            Now I have more information to work on this bug thanks to your comments. I'm going to configure an environment very similar to yours in order to reproduce the bug.

            Show
            recena Manuel Recena Soto added a comment - Thomas Ascher , William Albenzi Now I have more information to work on this bug thanks to your comments. I'm going to configure an environment very similar to yours in order to reproduce the bug.
            Hide
            walbenzi_kmc William Albenzi added a comment -

            Mine looks like:

            Apache2.2.29 (Win32) DAV/2 mod_ssl/2.2.29 OpenSSL/1.0.1m mod_auth_sspi/1.0.4 SVN/1.8.10
            Jenkins ver. 1.615 and Subversion plugin 2.5
            We use SSPI local windows authentication

            Show
            walbenzi_kmc William Albenzi added a comment - Mine looks like: Apache2.2.29 (Win32) DAV/2 mod_ssl/2.2.29 OpenSSL/1.0.1m mod_auth_sspi/1.0.4 SVN/1.8.10 Jenkins ver. 1.615 and Subversion plugin 2.5 We use SSPI local windows authentication
            Hide
            rickard_v_essen Rickard von Essen added a comment -

            We had this issue on svn running in Apache 2.2 on rhel 6.6. So it's not a Windows specific problem.

            Show
            rickard_v_essen Rickard von Essen added a comment - We had this issue on svn running in Apache 2.2 on rhel 6.6. So it's not a Windows specific problem.
            Hide
            recena Manuel Recena Soto added a comment -

            Rickard von Essen, It seems this bug is related to NTLM Authentication. Could you describe your environment (including versions) and a step by step process to reproduce the bug? Your environment is very different and maybe the bug is related with other thing.

            Show
            recena Manuel Recena Soto added a comment - Rickard von Essen , It seems this bug is related to NTLM Authentication. Could you describe your environment (including versions) and a step by step process to reproduce the bug? Your environment is very different and maybe the bug is related with other thing.
            Hide
            recena Manuel Recena Soto added a comment -

            William Albenzi, Thomas Ascher

            Maybe your bug is resolved with this PR. Its issue is JENKINS-27084.

            We hope to release a new version of Subversion Plugin coming soon. Your feedback would be very useful.

            Show
            recena Manuel Recena Soto added a comment - William Albenzi , Thomas Ascher Maybe your bug is resolved with this PR . Its issue is JENKINS-27084 . We hope to release a new version of Subversion Plugin coming soon. Your feedback would be very useful.
            Hide
            walbenzi_kmc William Albenzi added a comment -

            Making the specified modification to Jenkins.xml and each node's Jenkins-slave.xml resolved my problem. Thank you.

            Show
            walbenzi_kmc William Albenzi added a comment - Making the specified modification to Jenkins.xml and each node's Jenkins-slave.xml resolved my problem. Thank you.
            Hide
            tascher Thomas Ascher added a comment -

            Adding -Dsvnkit.http.methods=Basic,NTLM,Negotiate,Digest to the jenkins.xml works for me too. Thanks for the effort.

            Show
            tascher Thomas Ascher added a comment - Adding -Dsvnkit.http.methods=Basic,NTLM,Negotiate,Digest to the jenkins.xml works for me too. Thanks for the effort.
            Hide
            recena Manuel Recena Soto added a comment -

            Thomas Ascher, I'm happy for read this. Let me to close this bug as duplicate of JENKINS-27084

            Show
            recena Manuel Recena Soto added a comment - Thomas Ascher , I'm happy for read this. Let me to close this bug as duplicate of JENKINS-27084
            Hide
            mfriedenhagen Mirko Friedenhagen added a comment -

            Hello William Albenzi, what is "Jenkins.xml"? config.xml? And Jenkins-slave.xml would be nodes/NODENAME/config.xml?

            Show
            mfriedenhagen Mirko Friedenhagen added a comment - Hello William Albenzi , what is "Jenkins.xml"? config.xml? And Jenkins-slave.xml would be nodes/NODENAME/config.xml?

              People

              • Assignee:
                recena Manuel Recena Soto
                Reporter:
                enrigrossi Enri Grossi
              • Votes:
                12 Vote for this issue
                Watchers:
                24 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: