[JIRA] (JENKINS-59596) hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from

30 views
Skip to first unread message

azzizakarya@gmail.com (JIRA)

unread,
Sep 30, 2019, 7:32:08 PM9/30/19
to jenkinsc...@googlegroups.com
Zakarya AZZI created an issue
 
Jenkins / Bug JENKINS-59596
hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from
Issue Type: Bug Bug
Assignee: Jakub Pawlinski
Components: groovy-plugin
Created: 2019-09-30 23:31
Environment: Jenkins ver. 2.121.3
Kubernetes plugin ver. 1.12.1
Priority: Blocker Blocker
Reporter: Zakarya AZZI

You find below the logs. are there any problems related to the jenkins(ver. 2.121.3)/kubernetes(ver. 1.12.1) version I am using.
Please note that, while I am collecting RAM & CPU consumption I noticed that the jnlp is consuming more and more while our builds are done on another container, is this normal?
Any ideas please ?

logs:
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:2556) at 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.2.1:59674 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:955) at hudson.FilePath.act(FilePath.java:1036) 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) 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)

java.nio.channels.ClosedChannelException Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from slc10tec.us.oracle.com/10.244.2.1:59674 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741) at hudson.remoting.Request.call(Request.java:202) at hudson.remoting.Channel.call(Channel.java:954) at hudson.FilePath.act(FilePath.java:1036) at hudson.FilePath.act(FilePath.java:1025) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:233) 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) Caused: hudson.remoting.RequestAbortedException at hudson.remoting.Request.abort(Request.java:340) at hudson.remoting.Channel.terminate(Channel.java: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.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) 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)

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

chraibi.youssef@gmail.com (JIRA)

unread,
Oct 1, 2019, 7:11:08 AM10/1/19
to jenkinsc...@googlegroups.com
Youssef Chraibi updated an issue
Change By: Youssef Chraibi
*You find below the logs. are there any problems related to the jenkins(ver. 2.121.3)/kubernetes(ver. 1.12.1) version I am using.*
*Please note that, while I am collecting RAM & CPU consumption I noticed that the jnlp is consuming more and more while our builds are done on another container, is this normal?*
*Any ideas please
? *  

*logs:*
{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:2556) at 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.2.1:59674 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:955) at hudson.FilePath.act(FilePath.java:1036) 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) 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)


java.nio.channels.ClosedChannelException Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from slc10tec.us.oracle.com/10.244.2.1:59674 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741) at hudson.remoting.Request.call(Request.java:202) at hudson.remoting.Channel.call(Channel.java:954) at hudson.FilePath.act(FilePath.java:1036) at hudson.FilePath.act(FilePath.java:1025) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:233) 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) Caused: hudson.remoting.RequestAbortedException at hudson.remoting.Request.abort(Request.java:340) at hudson.remoting.Channel.terminate(Channel.java: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.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) 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)

{noformat}
 

chraibi.youssef@gmail.com (JIRA)

unread,
Oct 1, 2019, 7:27:16 AM10/1/19
to jenkinsc...@googlegroups.com
Youssef Chraibi updated an issue
*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 ? 

 

 

 

chraibi.youssef@gmail.com (JIRA)

unread,
Oct 1, 2019, 7:27:18 AM10/1/19
to jenkinsc...@googlegroups.com
Youssef Chraibi updated an issue
 

Hi Jenkins community,

We have a pipeline that fails almost every time during the finally block when performing archiveArtifacts steps. 
We're using Jenkins kubernetes plugin to provision jenkins-slaves automatically on kubernetes cluster. 

The issue seems to occur when artifacts are not present, but since we're using  "allowEmptyResults: true", we don't expect the job to fail. 


There are mainly two exceptions in the log : 
{noformat}
java.lang.InterruptedException: no matches found within 10000 at hudson.FilePath$34.hasMatch(FilePath.java:2677){noformat}
and : 

 
{noformat}
hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from ....{noformat}

We don't know if they are related to each other or not, but they seem to happen together each time. 
And then the master jenkins looses the connection to the slave, hence the pipeline is declared as a FAILURE. 

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 the very end, and we don't know to what it corresponds, since we're not doing much on the jnlp container (we're using another container for the build process)


Here's the code of the finally block : 

 
{code:java}
} finally {
      container('build_container') {
        junit testResults: 'e2e-testing/build/reports/**/*.xml', allowEmptyResults: true
        junit testResults: '**/build/test-results/test/**/*.xml', allowEmptyResults: true
        archiveArtifacts artifacts: 'e2e-testing/build/screenshots/**/*.png', fingerprint: true, allowEmptyArchive: true
        archiveArtifacts artifacts: '**/hs_err_*.log', allowEmptyArchive: true

  }
}{code}
and the pod specification : 
{code:java}
podTemplate(
    label: label,
    envVars: [
        envVar(key: 'GRADLE_USER_HOME', value: '/home/jenkins/.gradle'),
    ],
    containers: [
        containerTemplate(
            name: 'build_container',
            image: "${GlobalVars.artifactory}/build_image:1.6",
            ttyEnabled: true,
            resourceRequestMemory: '12Gi',
            resourceLimitMemory: '12Gi'
        ),
        containerTemplate(
            name: 'jnlp',
            image: 'jenkinsci/jnlp-slave:latest',
            ttyEnabled: true,
            resourceRequestMemory: '1Gi',
            resourceLimitMemory: '1Gi',
        )
    ]
)
{code}
 

 

Any ideas please ? 

 

 

 

chraibi.youssef@gmail.com (JIRA)

unread,
Oct 1, 2019, 7:27:20 AM10/1/19
to jenkinsc...@googlegroups.com

chraibi.youssef@gmail.com (JIRA)

unread,
Oct 2, 2019, 4:33:03 AM10/2/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages