Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange errors during upload #439

Open
Zastai opened this issue Jan 8, 2024 · 0 comments
Open

Strange errors during upload #439

Zastai opened this issue Jan 8, 2024 · 0 comments
Labels
bug Something isn't working pinned

Comments

@Zastai
Copy link

Zastai commented Jan 8, 2024

What happened:

Ran --backup without issue for a (blocked) nuget proxy repository.
Created new empty hosted nuget repo and tried to --upload to it.

This resulted in various errors for repeated attempts:

time="2024-01-08T12:25:51+01:00" level=info msg="found the following localDiskRepos: '[REPO]'" func="github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).reposOnDisk" file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:76"
time="2024-01-08T12:25:51+01:00" level=info msg="Uploading files to Nexus: 'SERVER' repository: 'REPO'..." func="github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).uploadArtifactsSingleDir" file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:719"
time="2024-01-08T12:25:51+01:00" level=info msg="format of repo: 'REPO' is: 'nuget' and repoType: 'hosted'" func="github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).repoFormatLocalDiskRepo" file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:105"
time="2024-01-08T12:25:51+01:00" level=warning msg="only uploads to 'hosted' repositories are supported. Current: '{nuget hosted}'" func="github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).uploadArtifactsSingleDir" file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:739"
time="2024-01-08T12:26:05+01:00" level=error msg="REPO\\azure.identity\\1.3.0" func=github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.upload file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:585"
$time="2024-01-08T12:26:07+01:00" level=error msg="REPO\\benchmarkdotnet\\0.13.1" func=github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.upload file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:585"
panic: could not upload artifact: 'REPO\benchmarkdotnet\0.13.1', err: 'http status code not found in error message: 'Post "https://SERVER/service/rest/v1/components?repository=REPO": http: server closed idle connection''
time="2024-01-08T12:29:05+01:00" level=info msg="found the following localDiskRepos: '[REPO]'" func="github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).reposOnDisk" file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:76"
time="2024-01-08T12:29:05+01:00" level=info msg="Uploading files to Nexus: 'SERVER' repository: 'REPO'..." func="github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).uploadArtifactsSingleDir" file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:719"
time="2024-01-08T12:29:05+01:00" level=info msg="format of repo: 'REPO' is: 'nuget' and repoType: 'hosted'" func="github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).repoFormatLocalDiskRepo" file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:105"
time="2024-01-08T12:29:05+01:00" level=warning msg="only uploads to 'hosted' repositories are supported. Current: '{nuget hosted}'" func="github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).uploadArtifactsSingleDir" file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:739"
time="2024-01-08T12:29:14+01:00" level=error msg="REPO\\microsoft.netcore.app.host.linux-x64\\3.1.28" func=github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.upload file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:585"
panic: could not upload artifact: 'REPO\microsoft.netcore.app.host.linux-x64\3.1.28', err: 'http status code not found in error message: 'Post "https://SERVER/service/rest/v1/components?repository=REPO": EOF''
time="2024-01-08T12:46:54+01:00" level=info msg="found the following localDiskRepos: '[REPO]'" func="github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).reposOnDisk" file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:76"
time="2024-01-08T12:46:54+01:00" level=info msg="Uploading files to Nexus: 'SERVER' repository: 'REPO'..." func="github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).uploadArtifactsSingleDir" file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:719"
time="2024-01-08T12:46:54+01:00" level=info msg="format of repo: 'REPO' is: 'nuget' and repoType: 'hosted'" func="github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).repoFormatLocalDiskRepo" file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:105"
time="2024-01-08T12:46:54+01:00" level=warning msg="only uploads to 'hosted' repositories are supported. Current: '{nuget hosted}'" func="github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).uploadArtifactsSingleDir" file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:739"
$$$$2024/01/08 12:47:11 io: read/write on closed pipe
2024/01/08 12:47:11 io: read/write on closed pipe
time="2024-01-08T12:47:16+01:00" level=error msg="REPO\\microsoft.extensions.dependencymodel\\2.1.0" func=github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.upload file="D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:585"
panic: could not upload artifact: 'REPO\microsoft.extensions.dependencymodel\2.1.0', err: 'http status code not found in error message: 'Post "https://SERVER/service/rest/v1/components?repository=REPO": http: server closed idle connection''

goroutine 504 [running]:
github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).ReadLocalDirAndUploadArtifacts.func1.1({0xc000734880?, 0x0?}, {0xc00003ea20?, 0x0?}, {0xc00002b3d0?, 0x0?}, {0xc00002b188?, 0x0?}, 0x0?)
        D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:657 +0xce
created by github.com/030/n3dr/internal/app/n3dr/artifactsv2/upload.(*Nexus3).ReadLocalDirAndUploadArtifacts.func1
        D:/a/n3dr/n3dr/internal/app/n3dr/artifactsv2/upload/upload.go:653 +0x2de

Some packages appear in the repo, but I don't think the upload is incremental, so it seems unlikely that it would ever completely finish.

Looking in the Nexus logs, I see:

2024-01-08 11:54:05,101+0000 WARN  [qtp1036716450-17964]  USER org.sonatype.nexus.siesta.internal.UnexpectedExceptionMapper - (ID a3960b7d-e181-4a2d-8bdf-063ccb543bab) Unexpected exception: org.sonatype.nexus.blobstore.api.BlobStoreException: BlobId: tmp$65354806-6cc2-42cf-a456-896240a09837, org.eclipse.jetty.io.EofException: Early EOF, Cause: Early EOF
org.sonatype.nexus.blobstore.api.BlobStoreException: BlobId: tmp$65354806-6cc2-42cf-a456-896240a09837, org.eclipse.jetty.io.EofException: Early EOF, Cause: Early EOF
	at org.sonatype.nexus.blobstore.file.FileBlobStore.tryCreate(FileBlobStore.java:402)
	at org.sonatype.nexus.blobstore.file.FileBlobStore.create(FileBlobStore.java:336)
	at org.sonatype.nexus.blobstore.file.FileBlobStore.doCreate(FileBlobStore.java:316)
	at org.sonatype.nexus.blobstore.metrics.BlobStoreAnalyticsInterceptor.invoke(BlobStoreAnalyticsInterceptor.java:60)
	at org.sonatype.nexus.blobstore.BlobStoreSupport.create(BlobStoreSupport.java:125)
	at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
	at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:272)
	at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:54)
	at org.sonatype.nexus.blobstore.BlobStoreSupport.create(BlobStoreSupport.java:109)
	at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)
	at org.sonatype.nexus.common.stateguard.StateGuard$GuardImpl.run(StateGuard.java:272)
	at org.sonatype.nexus.common.stateguard.GuardedInterceptor.invoke(GuardedInterceptor.java:54)
	at org.sonatype.nexus.repository.storage.StorageFacetImpl.createTempBlob(StorageFacetImpl.java:266)
	at org.sonatype.nexus.repository.storage.StorageFacetImpl.createTempBlob(StorageFacetImpl.java:1)
	at org.sonatype.nexus.repository.upload.cma.TempBlobFactoryImpl.create(TempBlobFactoryImpl.java:44)
	at org.sonatype.nexus.repository.upload.internal.UploadComponentMultipartHelper$TempBlobServletFileUpload.createField(UploadComponentMultipartHelper.java:149)
	at org.sonatype.nexus.repository.upload.internal.UploadComponentMultipartHelper$TempBlobServletFileUpload.parseRequest(UploadComponentMultipartHelper.java:121)
	at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:113)
	at org.sonatype.nexus.repository.upload.internal.UploadComponentMultipartHelper.parse(UploadComponentMultipartHelper.java:79)
	at org.sonatype.nexus.repository.upload.internal.OrientUploadManagerImpl.create(OrientUploadManagerImpl.java:157)
	at org.sonatype.nexus.repository.upload.internal.OrientUploadManagerImpl.handle(OrientUploadManagerImpl.java:102)
	at org.sonatype.nexus.repository.rest.internal.resources.ComponentsResource.uploadComponent(ComponentsResource.java:261)
	at sun.reflect.GeneratedMethodAccessor1070.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:138)
	at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:546)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:435)
	at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.java:396)
	at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:398)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:365)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:338)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:440)
	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:229)
	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:135)
	at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358)
	at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:138)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:215)
	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:245)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:61)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
	at org.sonatype.nexus.siesta.internal.resteasy.ComponentContainerImpl.service(ComponentContainerImpl.java:111)
	at org.sonatype.nexus.siesta.SiestaServlet.service(SiestaServlet.java:137)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:290)
	at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:280)
	at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:184)
	at com.google.inject.servlet.DynamicServletPipeline.service(DynamicServletPipeline.java:71)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:112)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450)
	at org.sonatype.nexus.security.SecurityFilter.executeChain(SecurityFilter.java:96)
	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
	at org.sonatype.nexus.security.SecurityFilter.doFilterInternal(SecurityFilter.java:112)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.sonatype.nexus.licensing.internal.LicensingRedirectFilter.doFilter(LicensingRedirectFilter.java:116)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:112)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at org.sonatype.nexus.internal.web.ErrorPageFilter.doFilter(ErrorPageFilter.java:79)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at org.sonatype.nexus.internal.web.EnvironmentFilter.doFilter(EnvironmentFilter.java:101)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at org.sonatype.nexus.internal.web.HeaderPatternFilter.doFilter(HeaderPatternFilter.java:98)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
	at com.google.inject.servlet.DynamicFilterPipeline.dispatch(DynamicFilterPipeline.java:104)
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
	at org.sonatype.nexus.bootstrap.osgi.DelegatingFilter.doFilter(DelegatingFilter.java:73)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:239)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:386)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.lang.Thread.run(Thread.java:750)
	Suppressed: org.eclipse.jetty.io.EofException: Early EOF
		at org.eclipse.jetty.server.HttpInput$3.getError(HttpInput.java:1207)
		at org.eclipse.jetty.server.HttpInput$3.noContent(HttpInput.java:1195)
		at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:333)
		at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:1027)
		at org.apache.commons.fileupload.MultipartStream$ItemInputStream.close(MultipartStream.java:971)
		at org.apache.commons.fileupload.MultipartStream$ItemInputStream.close(MultipartStream.java:950)
		at org.sonatype.nexus.repository.upload.internal.UploadComponentMultipartHelper$TempBlobServletFileUpload.createField(UploadComponentMultipartHelper.java:154)
		... 114 common frames omitted
Caused by: org.eclipse.jetty.io.EofException: Early EOF
	at org.eclipse.jetty.server.HttpInput$3.getError(HttpInput.java:1207)
	at org.eclipse.jetty.server.HttpInput$3.noContent(HttpInput.java:1195)
	at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:333)
	at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:1027)
	at org.apache.commons.fileupload.MultipartStream$ItemInputStream.close(MultipartStream.java:971)
	at org.apache.commons.fileupload.MultipartStream$ItemInputStream.close(MultipartStream.java:950)
	at java.io.FilterInputStream.close(FilterInputStream.java:181)
	at org.sonatype.nexus.blobstore.file.internal.SimpleFileOperations.create(SimpleFileOperations.java:66)
	at org.sonatype.nexus.blobstore.file.FileBlobStore.lambda$1(FileBlobStore.java:316)
	at org.sonatype.nexus.blobstore.file.FileBlobStore.tryCreate(FileBlobStore.java:372)
	... 129 common frames omitted

What you expected to happen:

Upload runs to completion.

How to reproduce it (as minimally and precisely as possible):

From an empty work folder:

  • n3dr.exe repositoriesV2 -u USER -p PASS -n SERVER --backup --directory-prefix . --n3drRepo SOURCE-REPO
    
  • rename SOURCE-REPO folder to TARGET-REPO
  • n3dr.exe repositoriesV2 -u USER -p PASS -n SERVER --upload --directory-prefix . --n3drRepo TARGET-REPO
    

(note: I would welcome a feature in N3DR that would allow copying one repo to another without going via the disk)

Anything else we need to know?:

Environment:

  • nexus version: OSS 3.40.0-03
  • n3dr version (use n3dr -v): n3dr version refs/tags/7.3.3 (note: n3dr --version, not n3dr -v)
  • OS (e.g: cat /etc/os-release): Windows Server 2019, Version 1809 (OS Build 17763.4974).
  • Kernel (e.g. uname -a): N/A
@Zastai Zastai added the bug Something isn't working label Jan 8, 2024
@030 030 added the pinned label Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pinned
Projects
None yet
Development

No branches or pull requests

2 participants