At what point did you uncheck the “Handles Releases” and “Handles Snapshots” checkboxes in the repository configuration? Those are both on by default.
Ours isn’t handling Python, so I mean, it might be a part of the repo layout that’s necessary. But I’ve seen that error message before when snapshots were pushed to release repos or visa versa. -Dave On Jul 15, 2014, at 1:14 PM, Larry Gadallah <[email protected]<mailto:[email protected]>> wrote: Hello all: I'm a little bit baffled at the problem I am having with a custom repository layout prescribed by the Defend against Fruit project (see https://github.com/teamfruit/defend_against_fruit/wiki/How-To#additional-artifactory-pro-setup and attached screenshots for details). <pypi-snapshot-local.png> <artifactory-pypi-default.png> <pypi-repo-layout-test.png> I set this up under version 3.1.0 of Artifactory Pro, and it appeared to work. Now I observe that I get HTTP error 409 with both version 3.1.1.1 and 3.2.2. I enabled debug logging and tried again (with version 3.2.2), and I noticed the error in bold below which seems to indicate that the system is interpreting the artifact as a release artifact instead of a snapshot artifact. Perhaps the "Folder Integration Revision RegExp" needs to be configured to discriminate between development and release Python artifact names? 2014-07-15 09:40:47,382 [ajp-bio-8019-exec-6] [DEBUG] (o.a.w.s.RepoFilter :92) - Entering request PUT (10.0.22.17) /pypi-snapshot-local/python/foo/foo-1.0-dev98.tar.gz. 2014-07-15 09:40:47,382 [ajp-bio-8019-exec-6] [DEBUG] (o.a.w.s.RepoFilter :205) - Serving an upload request. 2014-07-15 09:40:47,383 [ajp-bio-8019-exec-6] [DEBUG] (o.a.e.UploadServiceImpl:124) - Request: /artifactory/pypi-snapshot-local/python/foo/foo-1.0-dev98.tar.gz 2014-07-15 09:40:47,384 [ajp-bio-8019-exec-6] [DEBUG] (o.a.r.RealRepoBase :80) - pypi-snapshot-local rejected 'python/foo/foo-1.0-dev98.tar.gz': not handling releases. 2014-07-15 09:40:47,384 [ajp-bio-8019-exec-6] [ERROR] (o.a.r.RealRepoBase :102) - The repository 'pypi-snapshot-local' rejected the artifact 'pypi-snapshot-local:python/foo/foo-1.0-dev98.tar.gz' due to its snapshot/release handling policy.: The repository 'pypi-snapshot-local' rejected the artifact 'pypi-snapshot-local:python/foo/foo-1.0-dev98.tar.gz' due to its snapshot/release handling policy. 2014-07-15 09:40:47,386 [ajp-bio-8019-exec-6] [WARN ] (o.a.e.UploadServiceImpl:246) - Sending HTTP error code 409: The repository 'pypi-snapshot-local' rejected the artifact 'pypi-snapshot-local:python/foo/foo-1.0-dev98.tar.gz' due to its snapshot/release handling policy.. java.lang.Throwable: null at org.artifactory.util.LoggingUtils.warnOrDebug(LoggingUtils.java:38) [artifactory-config-3.2.2.jar:na] at org.artifactory.util.LoggingUtils.warnOrDebug(LoggingUtils.java:32) [artifactory-config-3.2.2.jar:na] at org.artifactory.request.ArtifactoryResponseBase.sendError(ArtifactoryResponseBase.java:98) [artifactory-common-3.2.2.jar:na] at org.artifactory.engine.UploadServiceImpl.handleInvalidDeployPathError(UploadServiceImpl.java:246) [artifactory-core-3.2.2.jar:na] at org.artifactory.engine.UploadServiceImpl.validateRequestAndUpload(UploadServiceImpl.java:182) [artifactory-core-3.2.2.jar:na] at org.artifactory.engine.UploadServiceImpl.upload(UploadServiceImpl.java:131) [artifactory-core-3.2.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_55] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_55] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_55] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) [spring-aop-4.0.5.RELEASE.jar:4.0.5.RELEASE] at com.sun.proxy.$Proxy49.upload(Unknown Source) [na:na] at org.artifactory.webapp.servlet.RepoFilter.doUpload(RepoFilter.java:206) [artifactory-web-application-3.2.2.jar:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:161) [artifactory-web-application-3.2.2.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-3.2.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)<http://www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)> [spring-security-web-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.artifactory.webapp.servlet.authentication.ArtifactoryBasicAuthenticationFilter.doFilter(ArtifactoryBasicAuthenticationFilter.java:91) [artifactory-web-application-3.2.2.jar:na] at org.artifactory.webapp.servlet.authentication.ArtifactoryAuthenticationFilterChain.doFilter(ArtifactoryAuthenticationFilterChain.java:138) [artifactory-web-application-3.2.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:224) [artifactory-web-application-3.2.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:184) [artifactory-web-application-3.2.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:152) [artifactory-web-application-3.2.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:62) [artifactory-web-application-3.2.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:92) [artifactory-web-application-3.2.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.39] at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200) [tomcat-coyote.jar:7.0.39] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.39] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) [tomcat-coyote.jar:7.0.39] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_55] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_55] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_55] 2014-07-15 09:40:47,393 [ajp-bio-8019-exec-6] [DEBUG] (o.a.w.s.AccessFilter:243) - Added authentication org.artifactory.security.ldap.LdapRealmAwareAuthentication@ba2b06e7: Principal: svc_jenkins; Credentials: [PROTECTED]; Authenticated: true; Details: org.artifactory.security.HttpAuthenticationDetails@1de6: RemoteIpAddress: 10.0.22.17; SessionId: null; Granted Authorities: user in cache. 2014-07-15 09:40:47,904 [ajp-bio-8019-exec-8] [DEBUG] (o.a.a.s.a.h.ArtifactoryHttpSsoAuthenticationFilter:152) - Entering ArtifactorySsoAuthenticationFilter.getRemoteUserName 2014-07-15 09:40:47,904 [ajp-bio-8019-exec-8] [DEBUG] (o.a.a.s.a.h.ArtifactoryHttpSsoAuthenticationFilter:158) - Remote user request variable = 'REMOTE_USER'. 2014-07-15 09:40:47,904 [ajp-bio-8019-exec-8] [DEBUG] (o.a.a.s.a.h.ArtifactoryHttpSsoAuthenticationFilter:161) - Remote user attribute: 'null'. 2014-07-15 09:40:47,904 [ajp-bio-8019-exec-8] [DEBUG] (o.a.a.s.a.h.ArtifactoryHttpSsoAuthenticationFilter:169) - Remote user from request: 'null'. 2014-07-15 09:40:47,904 [ajp-bio-8019-exec-8] [DEBUG] (o.a.a.s.a.h.ArtifactoryHttpSsoAuthenticationFilter:175) - Remote user from header: 'null'. 2014-07-15 09:40:47,905 [ajp-bio-8019-exec-8] [DEBUG] (o.a.w.s.AccessFilter:189) - Using authentication org.artifactory.security.ldap.LdapRealmAwareAuthentication@56648520: Principal: sysman; Credentials: [PROTECTED]; Authenticated: true; Details: org.artifactory.UiAuthenticationDetails@59b2: RemoteIpAddress: 10.0.22.17; SessionId: 417F5F4C84CAEEE62DD6C994F6CA76B7; Granted Authorities: user, admin from Http session. 2014-07-15 09:40:47,905 [ajp-bio-8019-exec-8] [DEBUG] (o.a.w.s.RepoFilter :92) - Entering request GET (10.0.22.17) /webapp/systemlogs.html39-1.IBehaviorListener.0-systemLogsViewPanel&random=0.7307681269012392. 2014-07-15 09:40:47,917 [ajp-bio-8019-exec-8] [DEBUG] (o.a.w.s.RepoFilter :183) - Exiting request GET (10.0.22.17) /webapp/systemlogs.html39-1.IBehaviorListener.0-systemLogsViewPanel&random=0.7307681269012392 Thanks, Larry Gadallah [email protected]<mailto:[email protected]> x9706 ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds_______________________________________________ Artifactory-users mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/artifactory-users ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
