[JIRA] (JENKINS-58168) java.io.InterruptedIOException: executor rejected

17 views
Skip to first unread message

amadeu.carvalho@dilettasolutions.com (JIRA)

unread,
Jun 24, 2019, 10:35:02 AM6/24/19
to jenkinsc...@googlegroups.com
Amadeu Carvalho created an issue
 
Jenkins / Bug JENKINS-58168
java.io.InterruptedIOException: executor rejected
Issue Type: Bug Bug
Assignee: Unassigned
Components: kubernetes-plugin
Created: 2019-06-24 14:33
Priority: Minor Minor
Reporter: Amadeu Carvalho

jenkins 2.170
kubernetes 1.14.9

We have the same problem, running version 1.14.9 of the plugin. This error occurs sometimes

[Pipeline] { (Delete old jobs)
[Pipeline] sh
java.io.InterruptedIOException: executor rejected
	at okhttp3.RealCall$AsyncCall.executeOn(RealCall.java:185)
	at okhttp3.Dispatcher.promoteAndExecute(Dispatcher.java:186)
	at okhttp3.Dispatcher.enqueue(Dispatcher.java:137)
	at okhttp3.RealCall.enqueue(RealCall.java:126)
	at okhttp3.internal.ws.RealWebSocket.connect(RealWebSocket.java:193)
	at okhttp3.OkHttpClient.newWebSocket(OkHttpClient.java:435)
	at io.fabric8.kubernetes.client.dsl.internal.PodOperationsImpl.exec(PodOperationsImpl.java:274)
	at io.fabric8.kubernetes.client.dsl.internal.PodOperationsImpl.exec(PodOperationsImpl.java:58)
	at org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1.doLaunch(ContainerExecDecorator.java:333)
	at org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1.launch(ContainerExecDecorator.java:246)
	at hudson.Launcher$ProcStarter.start(Launcher.java:455)
...

...
	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:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.RejectedExecutionException: Task okhttp3.RealCall$AsyncCall@192d2ae5 rejected from java.util.concurrent.ThreadPoolExecutor@698d8fe9[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 228]
	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
	at okhttp3.RealCall$AsyncCall.executeOn(RealCall.java:182)
...

...
hudson.remoting.ProxyException: io.fabric8.kubernetes.client.KubernetesClientException: No response
	at io.fabric8.kubernetes.client.dsl.internal.ExecWebSocketListener.onFailure(ExecWebSocketListener.java:230)
	at okhttp3.internal.ws.RealWebSocket.failWebSocket(RealWebSocket.java:571)
	at okhttp3.internal.ws.RealWebSocket$2.onFailure(RealWebSocket.java:221)
	at okhttp3.RealCall$AsyncCall.executeOn(RealCall.java:188)
	at okhttp3.Dispatcher.promoteAndExecute(Dispatcher.java:186)
	at okhttp3.Dispatcher.enqueue(Dispatcher.java:137)
	at okhttp3.RealCall.enqueue(RealCall.java:126)
	at okhttp3.internal.ws.RealWebSocket.connect(RealWebSocket.java:193)
	at okhttp3.OkHttpClient.newWebSocket(OkHttpClient.java:435)
	at io.fabric8.kubernetes.client.dsl.internal.PodOperationsImpl.exec(PodOperationsImpl.java:274)
...

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

marcin.kwiecien@jamf.com (JIRA)

unread,
Jun 28, 2019, 12:10:25 PM6/28/19
to jenkinsc...@googlegroups.com
Marcin Kwiecien commented on Bug JENKINS-58168
 
Re: java.io.InterruptedIOException: executor rejected

We have the same problem. The best I could  gather was to update the plugin and we will, soon.
Once we do, I will try to remember giving you an update if the upgrade (I will let you know which version we will upgrade to) fixes our issue.

marcin.kwiecien@jamf.com (JIRA)

unread,
Jun 28, 2019, 12:11:02 PM6/28/19
to jenkinsc...@googlegroups.com

amadeu.carvalho@dilettasolutions.com (JIRA)

unread,
Jul 1, 2019, 11:08:02 AM7/1/19
to jenkinsc...@googlegroups.com
Amadeu Carvalho commented on Bug JENKINS-58168
 
Re: java.io.InterruptedIOException: executor rejected

We updated our Kubernetes plugin for version 1.16.0, warning to solve our problem

 

marcin.kwiecien@jamf.com (JIRA)

unread,
Jul 1, 2019, 11:10:02 AM7/1/19
to jenkinsc...@googlegroups.com

jglick@cloudbees.com (JIRA)

unread,
Jul 16, 2019, 3:08:01 PM7/16/19
to jenkinsc...@googlegroups.com
Jesse Glick resolved as Cannot Reproduce
 

Unclear if this is still an issue in current releases, particularly after JENKINS-58290 which affected code mentioned in the stack trace.

Change By: Jesse Glick
Status: Open Resolved
Resolution: Cannot Reproduce

pablo.gomezjimenez@dhl.com (JIRA)

unread,
Sep 28, 2019, 10:03:02 AM9/28/19
to jenkinsc...@googlegroups.com
Pablo Gomez assigned an issue to Pablo Gomez
Change By: Pablo Gomez
Assignee: Pablo Gomez
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jglick@cloudbees.com (JIRA)

unread,
Sep 30, 2019, 10:05:03 AM9/30/19
to jenkinsc...@googlegroups.com
Jesse Glick assigned an issue to Unassigned
Change By: Jesse Glick
Assignee: Pablo Gomez
Reply all
Reply to author
Forward
0 new messages