*You find below
Hi Jenkins community,
We have a pipeline that fails almost every time during the logs finally block when performing archiveArtifacts steps . are there any problems related We're using Jenkins kubernetes plugin to the provision jenkins (ver. 2.121.3)/ -slaves automatically on kubernetes (ver cluster . 1.12.1) version I am
The issue seems to occur when artifacts are not present, but since we're using .* *Please note that "allowEmptyResults: true" , while I am collecting RAM & CPU consumption I noticed that we don't expect the jnlp is consuming more and more while our builds are done on another container, is this normal?* *Any ideas please* job to fail.
*logs There are mainly two exceptions in the log : * {noformat} Archiving artifacts java.lang.InterruptedException: no matches found within 10000 at hudson.FilePath$34.hasMatch(FilePath.java:2677) at hudson.FilePath$34.invoke(FilePath.java {noformat} and : 2556) at
{noformat} hudson. FilePath$34.invoke(FilePath.java:2546) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2917) Also: hudson. remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from slc10tec . us . oracle . com/10 . 244 {noformat} We don't know if they are related to each other or not, but they seem to happen together each time . 2 And then the master jenkins looses the connection to the slave, hence the pipeline is declared as a FAILURE . 1:59674
We also suspect that this issue is related to the overall memory allocated to the jenkins slave, since we are noticing that there is a peak consumption on the jnlp slave at hudson.remoting.Channel.attachCallSiteStackTrace the very end, and we don't know to what it corresponds, since we're not doing much on the jnlp container ( Channel.java:1741 we're using another container for the build process ) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java
Here's the code of the finally block : 357) at hudson.remoting.Channel.call(Channel.java
{code : 955) at hudson.FilePath.act(FilePath. java :1036) at hudson.FilePath.act } } finally { container ( FilePath.java:1025 'build_container' ) at hudson.FilePath.validateAntFileMask(FilePath.java { junit testResults : 2546) at hudson 'e2e-testing/build/reports/**/* . tasks.ArtifactArchiver.perform(ArtifactArchiver.java xml', allowEmptyResults : 243) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java true junit testResults : 80) at org '**/build/test-results/test/**/* . jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java xml', allowEmptyResults : 67) 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) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) Caused: hudson.FilePath$TunneledInterruptedException at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2919) at hudson.remoting.UserRequest.perform(UserRequest.java:211) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:369) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:97) Caused: java.lang.InterruptedException: java.lang.InterruptedException: no matches found within 10000 at hudson.FilePath.act(FilePath.java:1038) at hudson.FilePath.act(FilePath.java:1025) at hudson.FilePath.validateAntFileMask(FilePath.java:2546) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:243) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67) 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) 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) true java.nio.channels.ClosedChannelException Also archiveArtifacts artifacts : hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4 'e2e - connect connection from slc10tec.us.oracle.com testing / 10 build/screenshots/**/* . 244.2.1 png', fingerprint : 59674 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java true, allowEmptyArchive : 1741) at hudson.remoting.Request.call(Request.java true archiveArtifacts artifacts : 202) at hudson '**/hs_err_* . remoting.Channel.call(Channel.java log', allowEmptyArchive : 954) at hudson.FilePath.act(FilePath.java true } }{code} and the pod specification : 1036) at hudson.FilePath.act(FilePath.java {code : 1025) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver. java :233) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run } podTemplate ( CoreStep.java label : 80) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java label, envVars : 67) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0 [ envVar ( SynchronousNonBlockingStepExecution.java key : 47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java 'GRADLE_USER_HOME', value : 511) at java '/home/jenkins/ . util.concurrent.FutureTask.run(FutureTask.java:266 gradle' ) Caused , ], containers : hudson.remoting.RequestAbortedException at hudson.remoting.Request.abort [ containerTemplate ( Request.java name : 340) at hudson.remoting.Channel.terminate(Channel.java 'build_container', image : 1038) at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:209) at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222) at org.jenkinsci.remoting.protocol.ProtocolStack " $ Ptr {GlobalVars . onRecvClosed(ProtocolStack.java artifactory}/build_image : 832) at org 1 . jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java 6", ttyEnabled : 287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java true, resourceRequestMemory : 172) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java '12Gi', resourceLimitMemory : 832 '12Gi' ) at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed , containerTemplate ( NetworkLayer.java name : 154) at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java 'jnlp', image : 142) at org. ' jenkinsci .remoting.protocol.IOHub$OnReady.run(IOHub.java /jnlp-slave : 795) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java latest', ttyEnabled : 28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java true, resourceRequestMemory : 59) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java '1Gi', resourceLimitMemory : 1149 '1Gi', ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624 ] ) at java.lang.Thread.run(Thread.java:748) { noformat code }
Any ideas please ?
|
|
|