Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows server 2003 x64 edition, tomcat 6.0.14 jdk 1.6, subversion plugin 2.2.0 hudson 2.2.0-beta

      Description

      I try to register a new job and when I write Subversione url I see the error message about "Unable to access to http://......... " and at the end "(Maybe you need to enter credential?)". That's righr because my svn repository needs credential.
      (Using tortoise, InternetExplorer, MOzilla, all works fine)

      So I follow the link "update credential" but when I enter my credential and try to save I obtain this error:
      FAILED: org.tmatesoft.svn.core.SVNErrorMessage: svn: OPTIONS /myrepository/myproject failed
      org.tmatesoft.svn.core.SVNException: svn: OPTIONS /myrepository/myproject failed
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:294)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:279)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:267)
      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:516)
      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1002)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepository.java:98)
      at hudson.scm.SubversionSCM$DescriptorImpl.postCredential(SubversionSCM.java:1834)
      at hudson.scm.SubversionSCM$DescriptorImpl.doPostCredential(SubversionSCM.java:1772)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:159)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:180)
      at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:148)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:180)
      at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:148)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      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 org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      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 org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      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:66)
      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.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at com.googlecode.psiprobe.Tomcat60AgentValve.invoke(Tomcat60AgentValve.java:30)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: OPTIONS /myrepository/myproject failed
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:146)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:89)
      ... 81 more
      Caused by: org.tmatesoft.svn.core.SVNException: svn: OPTIONS request failed on '/myrepository/myproject'
      svn: OPTIONS of /myrepository/myproject: 500 Internal Server Error (http://10.221.208.9)
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:655)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:288)
      ... 80 more
      Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: OPTIONS request failed on '/myrepository/myproject'
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:653)
      ... 81 more
      Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: OPTIONS of /myrepository/myproject: 500 Internal Server Error (http://10.221.208.9)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:181)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:133)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.createDefaultErrorMessage(HTTPRequest.java:444)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.readError(HTTPRequest.java:288)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:209)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:372)
      ... 81 more

        Activity

        Hide
        maxferro added a comment -

        Sorry, it's not enable, but UNABLE

        Show
        maxferro added a comment - Sorry, it's not enable, but UNABLE
        Hide
        akozak added a comment -

        I resolved as duplicate HUDSON-17. I propose to use this one because it's related to subversion plugin.
        As you've mentioned the issue reproduces on Subversion 1.6.9

        Show
        akozak added a comment - I resolved as duplicate HUDSON-17 . I propose to use this one because it's related to subversion plugin. As you've mentioned the issue reproduces on Subversion 1.6.9
        Hide
        akozak added a comment -

        Hi,
        I'm not able to reproduce this issue on our environment.
        Could you please attach your job configuration?
        Is it possible to connect to your svn repository from the internet?
        Thank you.

        Show
        akozak added a comment - Hi, I'm not able to reproduce this issue on our environment. Could you please attach your job configuration? Is it possible to connect to your svn repository from the internet? Thank you.
        Hide
        maxferro added a comment -

        HI,
        it is not possible connect to my svn repository because it's behind a proxy.
        For now, I found a workaround: I create manually subversion.credentials file that hudson can't create for the previous error.

        Here an example of config.xml of one job:
        <?xml version='1.0' encoding='UTF-8'?>
        <maven2-moduleset>
        <actions/>
        <description></description>
        <keepDependencies>false</keepDependencies>
        <creationTime>1322817589875</creationTime>
        <properties/>
        <scm class="hudson.scm.SubversionSCM">
        <locations>
        <hudson.scm.SubversionSCM_-ModuleLocation>
        <remote>http://sgr-pro.adlispa.local/reposire/Sviluppo/SIRE/A355.Area.Sistemi.Territoriali/Polizia.Locale/INCI/trunk</remote>
        <local>.</local>
        <depthOption>infinity</depthOption>
        <ignoreExternalsOption>false</ignoreExternalsOption>
        </hudson.scm.SubversionSCM_-ModuleLocation>
        </locations>
        <excludedRegions></excludedRegions>
        <includedRegions></includedRegions>
        <excludedUsers></excludedUsers>
        <excludedRevprop></excludedRevprop>
        <excludedCommitMessages></excludedCommitMessages>
        <workspaceUpdater class="hudson.scm.subversion.UpdateUpdater"/>
        </scm>
        <advancedAffinityChooser>false</advancedAffinityChooser>
        <canRoam>true</canRoam>
        <disabled>false</disabled>
        <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
        <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
        <triggers class="vector"/>
        <concurrentBuild>false</concurrentBuild>
        <cleanWorkspaceRequired>false</cleanWorkspaceRequired>
        <rootModule>
        <groupId>it.lispa.sire.sit</groupId>
        <artifactId>incidere</artifactId>
        </rootModule>
        <goals>clean package</goals>
        <aggregatorStyleBuild>true</aggregatorStyleBuild>
        <incrementalBuild>false</incrementalBuild>
        <usePrivateRepository>false</usePrivateRepository>
        <ignoreUpstremChanges>false</ignoreUpstremChanges>
        <archivingDisabled>false</archivingDisabled>
        <resolveDependencies>false</resolveDependencies>
        <processPlugins>false</processPlugins>
        <mavenValidationLevel>-1</mavenValidationLevel>
        <reporters/>
        <publishers>
        <hudson.tasks.ArtifactArchiver>
        <artifacts>proj/target/*.war</artifacts>
        <compressionType>GZIP</compressionType>
        <latestOnly>false</latestOnly>
        <autoValidateFileMask>false</autoValidateFileMask>
        </hudson.tasks.ArtifactArchiver>
        </publishers>
        <buildWrappers/>
        </maven2-moduleset>

        Show
        maxferro added a comment - HI, it is not possible connect to my svn repository because it's behind a proxy. For now, I found a workaround: I create manually subversion.credentials file that hudson can't create for the previous error. Here an example of config.xml of one job: <?xml version='1.0' encoding='UTF-8'?> <maven2-moduleset> <actions/> <description></description> <keepDependencies>false</keepDependencies> <creationTime>1322817589875</creationTime> <properties/> <scm class="hudson.scm.SubversionSCM"> <locations> <hudson.scm.SubversionSCM_-ModuleLocation> <remote> http://sgr-pro.adlispa.local/reposire/Sviluppo/SIRE/A355.Area.Sistemi.Territoriali/Polizia.Locale/INCI/trunk </remote> <local>.</local> <depthOption>infinity</depthOption> <ignoreExternalsOption>false</ignoreExternalsOption> </hudson.scm.SubversionSCM_-ModuleLocation> </locations> <excludedRegions></excludedRegions> <includedRegions></includedRegions> <excludedUsers></excludedUsers> <excludedRevprop></excludedRevprop> <excludedCommitMessages></excludedCommitMessages> <workspaceUpdater class="hudson.scm.subversion.UpdateUpdater"/> </scm> <advancedAffinityChooser>false</advancedAffinityChooser> <canRoam>true</canRoam> <disabled>false</disabled> <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> <triggers class="vector"/> <concurrentBuild>false</concurrentBuild> <cleanWorkspaceRequired>false</cleanWorkspaceRequired> <rootModule> <groupId>it.lispa.sire.sit</groupId> <artifactId>incidere</artifactId> </rootModule> <goals>clean package</goals> <aggregatorStyleBuild>true</aggregatorStyleBuild> <incrementalBuild>false</incrementalBuild> <usePrivateRepository>false</usePrivateRepository> <ignoreUpstremChanges>false</ignoreUpstremChanges> <archivingDisabled>false</archivingDisabled> <resolveDependencies>false</resolveDependencies> <processPlugins>false</processPlugins> <mavenValidationLevel>-1</mavenValidationLevel> <reporters/> <publishers> <hudson.tasks.ArtifactArchiver> <artifacts>proj/target/*.war</artifacts> <compressionType>GZIP</compressionType> <latestOnly>false</latestOnly> <autoValidateFileMask>false</autoValidateFileMask> </hudson.tasks.ArtifactArchiver> </publishers> <buildWrappers/> </maven2-moduleset>
        Hide
        kriz82 added a comment -

        Hi,
        I have an identical issue.

        @maxferro
        What do you mean by 'subversion.credentials' file? I was able to workaround it by caching credentials from command line on master and slaves but it does not scale well. With a great number of slaves it is unmanageable

        @akozak
        What kind of information do you need to reproduce it?

        I am using:
        -ubuntu server 11.10 x64
        -tomcat 6.0.32
        -hudson 2.2.0
        -subversion plugin 2.2.0_1
        -subversion 1.6.12
        -i am accessing svn via HTTPS protocol

        HINT!
        It looks as if the subversion plugin is broken. I tried previous versions of subversion plugin and what I found out was that given functionality was last working in vesion 1.17. Unfortunatelly that version does not support externals ;/

        Regards

        Show
        kriz82 added a comment - Hi, I have an identical issue. @maxferro What do you mean by 'subversion.credentials' file? I was able to workaround it by caching credentials from command line on master and slaves but it does not scale well. With a great number of slaves it is unmanageable @akozak What kind of information do you need to reproduce it? I am using: -ubuntu server 11.10 x64 -tomcat 6.0.32 -hudson 2.2.0 -subversion plugin 2.2.0_1 -subversion 1.6.12 -i am accessing svn via HTTPS protocol HINT! It looks as if the subversion plugin is broken. I tried previous versions of subversion plugin and what I found out was that given functionality was last working in vesion 1.17. Unfortunatelly that version does not support externals ;/ Regards

          People

          • Assignee:
            wjprakash
            Reporter:
            maxferro
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: