Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-19871

Upload to pypi hosted repository fails against s3 blob storage

    Details

      Description

      Uploading to a hosted pypi repository that is backed by s3 blob storage fails with the following exception:

       

      2019-05-02 12:35:16,659-0500 ERROR [qtp1467916957-214] admin org.sonatype.nexus.repository.pypi.internal.PyPiInfoUtils - Unable to extract PyPI archive
      java.lang.IllegalArgumentException: Mark is not supported.
      at org.apache.commons.compress.archivers.ArchiveStreamFactory.detect(ArchiveStreamFactory.java:492)
      at org.sonatype.nexus.repository.pypi.internal.PyPiInfoUtils.extractMetadata(PyPiInfoUtils.java:92)
      at org.sonatype.nexus.repository.pypi.internal.PyPiHostedFacetImpl.extractMetadata(PyPiHostedFacetImpl.java:316)
      at org.sonatype.nexus.repository.pypi.PyPiUploadHandler.handle(PyPiUploadHandler.java:79)
      at org.sonatype.nexus.repository.upload.internal.UploadManagerImpl.handle(UploadManagerImpl.java:98)
      at org.sonatype.nexus.coreui.internal.UploadService.upload(UploadService.java:78)
      at org.sonatype.nexus.coreui.UploadResource.postComponent(UploadResource.java:86)
      at org.sonatype.nexus.coreui.UploadResource$$EnhancerByGuice$$ab94cf57.CGLIB$postComponent$0(<generated>)
      at org.sonatype.nexus.coreui.UploadResource$$EnhancerByGuice$$ab94cf57$$FastClassByGuice$$be752ea3.invoke(<generated>)
      at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
      at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
      at com.palominolabs.metrics.guice.ExceptionMeteredInterceptor.invoke(ExceptionMeteredInterceptor.java:23)
      at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)
      at com.palominolabs.metrics.guice.TimedInterceptor.invoke(TimedInterceptor.java:26)
      at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)
      at org.sonatype.nexus.validation.internal.ValidationInterceptor.invoke(ValidationInterceptor.java:53)
      at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)
      at org.apache.shiro.guice.aop.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:49)
      at org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68)
      at org.apache.shiro.guice.aop.AopAllianceMethodInterceptorAdapter.invoke(AopAllianceMethodInterceptorAdapter.java:36)
      at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:77)
      at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)
      at org.sonatype.nexus.coreui.UploadResource$$EnhancerByGuice$$ab94cf57.postComponent(<generated>)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mbucher Michael Bucher
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Michael Prescott Michael Prescott
              Team:
              NXRM - Morpheus
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title