Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58168

java.io.InterruptedIOException: executor rejected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • kubernetes-plugin
    • None

      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)
      ...

       

            Unassigned Unassigned
            amadeucar Amadeu Carvalho
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: