pipeline-aws-plugin icon indicating copy to clipboard operation
pipeline-aws-plugin copied to clipboard

s3Upload fails with exception

Open rverma-ccs opened this issue 4 years ago • 0 comments

Description

s3Upload fails with exception given below. This issue started right after 2.261 release of jenkins.

Steps to Reproduce

withAWS(credentials: 'build-user-xxxx', region: 'ca-central-1') {
    	s3Upload bucket: 'build-xxx',  file: "xxx.zip", path:'/abc/'
}

Expected behavior: Uploads xxx.zip into "build-xxx/abc" bucket

Actual behavior:

java.nio.channels.ClosedChannelException
Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from ip-xx-xx-xxx-xxx.ca-central-1.compute.internal/xx-xx-xxx-xxx:16728
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800)
		at hudson.remoting.Request.call(Request.java:198)
		at hudson.remoting.Channel.call(Channel.java:1000)
		at hudson.FilePath.act(FilePath.java:1070)
		at hudson.FilePath.act(FilePath.java:1059)
		at de.taimos.pipeline.aws.S3DownloadStep$Execution.run(S3DownloadStep.java:149)
		at de.taimos.pipeline.aws.S3DownloadStep$Execution.run(S3DownloadStep.java:113)
		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
Caused: hudson.remoting.RequestAbortedException
	at hudson.remoting.Request.abort(Request.java:344)
	at hudson.remoting.Channel.terminate(Channel.java:1085)
	at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:209)
	at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:221)
	at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:816)
	at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:288)
	at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172)
	at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:816)
	at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154)
	at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:142)
	at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:795)
	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
	at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Finished: FAILURE

Environment

Jenkins-Version: [2.261]

Plugin-Version: [Pipeline: AWS Steps 1.41]

Master/Slave Setup: [Jenkins/Slaves on Kubernete in EKS nodes]

rverma-ccs avatar Nov 11 '20 09:11 rverma-ccs