Hello,

Recently, we moved our Kubernetes Cluster to another on prem datacenter 
located in another geographical site with acceptable network latencies.

On our Jenkins build platform, we are facing *random*  SSL Handshake error 
with the exception bellow :

2019-10-07 13:36:33,109 [INFO] 
------------------------------------------------------------------------

2019-10-07 13:36:33,110 [INFO] BUILD SUCCESS

2019-10-07 13:36:33,110 [INFO] 
------------------------------------------------------------------------

2019-10-07 13:36:33,110 [INFO] Total time: 09:44 min

2019-10-07 13:36:33,110 [INFO] Finished at: 2019-10-07T13:36:33+02:00

2019-10-07 13:36:33,111 [INFO] 
------------------------------------------------------------------------

[Pipeline] }

Xvfb stopping

Killing processes

[Pipeline] // wrap

[Pipeline] }

[Pipeline] // container

[Pipeline] }

[Pipeline] // stage

[Pipeline] }

[Pipeline] // withEnv

[Pipeline] }

[Pipeline] // node

[Pipeline] }

[Pipeline] // podTemplate

[Pipeline] End of Pipeline

[Bitbucket] Notifying commit build result

[Bitbucket] Build result notified

java.io.EOFException: SSL peer shut down incorrectly

                at sun.security.ssl.InputRecord.read(InputRecord.java:505)

                at 
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)

Caused: javax.net.ssl.SSLHandshakeException: Remote host closed connection 
during handshake

                at 
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:992)

                at 
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)

                at 
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)

                at 
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)

                at 
okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:299)

                at 
okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:268)

                at 
okhttp3.internal.connection.RealConnection.connect(RealConnection.java:160)

                at 
okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:256)

                at 
okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:134)

                at 
okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:113)

                at 
okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)

                at 
okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)

                at 
okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)

                at 
okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:125)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)

                at 
io.fabric8.kubernetes.client.utils.BackwardsCompatibilityInterceptor.intercept(BackwardsCompatibilityInterceptor.java:119)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)

                at 
io.fabric8.kubernetes.client.utils.ImpersonatorInterceptor.intercept(ImpersonatorInterceptor.java:68)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)

                at 
io.fabric8.kubernetes.client.utils.HttpClientUtils$2.intercept(HttpClientUtils.java:104)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)

                at 
okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)

                at 
okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)

                at okhttp3.RealCall.execute(RealCall.java:77)

                at 
io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:379)

                at 
io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:344)

                at 
io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet(OperationSupport.java:313)

                at 
io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleGet(OperationSupport.java:296)

                at 
io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleGet(BaseOperation.java:826)

                at 
io.fabric8.kubernetes.client.dsl.base.BaseOperation.getMandatory(BaseOperation.java:243)

Caused: io.fabric8.kubernetes.client.KubernetesClientException: Operation: 
[get]  for kind: [Pod]  with name: 
[pod-sdbnext-1d2e3a5b-b814-49c5-b0a9-5f0171a9366f-4qkt3-rrb0m]  in 
namespace: [jenkins-build]  failed.

                at 
io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:64)

                at 
io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:72)

                at 
io.fabric8.kubernetes.client.dsl.base.BaseOperation.getMandatory(BaseOperation.java:254)

                at 
io.fabric8.kubernetes.client.dsl.base.BaseOperation.get(BaseOperation.java:210)

                at 
io.fabric8.kubernetes.client.dsl.base.BaseOperation.waitUntilCondition(BaseOperation.java:1013)

                at 
io.fabric8.kubernetes.client.dsl.base.BaseOperation.waitUntilExists(BaseOperation.java:997)

                at 
io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation.waitUntilReady(HasMetadataOperation.java:222)

                at 
io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation.waitUntilReady(HasMetadataOperation.java:36)

                at 
org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1.waitUntilContainerIsReady(ContainerExecDecorator.java:431)

                at 
org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1.doLaunch(ContainerExecDecorator.java:256)

                at 
org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1.kill(ContainerExecDecorator.java:402)

                at 
org.jenkinsci.plugins.xvfb.Xvfb.shutdownAndCleanup(Xvfb.java:327)

                at 
org.jenkinsci.plugins.xvfb.XvfbDisposer.tearDown(XvfbDisposer.java:52)

                at 
org.jenkinsci.plugins.workflow.steps.CoreWrapperStep$Callback.finished(CoreWrapperStep.java:122)

                at 
org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onSuccess(BodyExecutionCallback.java:114)

                at 
org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive(CpsBodyExecution.java:368)

                at 
com.cloudbees.groovy.cps.Outcome.resumeFrom(Outcome.java:73)

                at 
com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:166)

                at 
com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)

                at 
org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129)

                at 
org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268)

                at 
com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163)

                at 
org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$101(SandboxContinuable.java:34)

                at 
org.jenkinsci.plugins.workflow.cps.SandboxContinuable.lambda$run0$0(SandboxContinuable.java:59)

                at 
org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:121)

                at 
org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:58)

                at 
org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:182)

                at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:332)

                at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:83)

                at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:244)

                at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:232)

                at 
org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)

                at java.util.concurrent.FutureTask.run(FutureTask.java:266)

                at 
hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131)

                at 
jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)

                at 
jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)

                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:1142)

                at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

                at java.lang.Thread.run(Thread.java:745)
Finished: FAILURE 


Any help,

Thank you.

Nadir.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/db9704f3-2d36-41be-ba3a-ed22d11fcb82%40googlegroups.com.

Reply via email to