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

Invoking another pipeline job from pipeline throws ClosedChannelException at end.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • git-plugin, pipeline
    • None

      We are experimenting with invoking another build from this build if present.  The second build runs and then the first build fails with this message.

       

      I am trying to understand what it means and where it is triggered to avoid it.  We are seeing problems with the load balancer in front of the kubernetes cluster where it runs cutting of after 50 seconds, but only if not accessing directly.   

       

      First of all, what does the exception tell me?  Second, has this been seen before?

       

      ```

      java.nio.channels.ClosedChannelException
      {{ Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.128.5.95/10.128.5.95:41676}}
      {{ 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.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:283)}}
      {{ at com.sun.proxy.$Proxy115.withRepository(Unknown Source)}}
      {{ at org.jenkinsci.plugins.gitclient.RemoteGitImpl.withRepository(RemoteGitImpl.java:237)}}
      {{ at hudson.plugins.git.GitSCM.printCommitMessageToLog(GitSCM.java:1252)}}
      {{ at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1225)}}
      {{ at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:124)}}
      {{ at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:93)}}
      {{ at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:80)}}
      {{ 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:221)}}
      {{ at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:816)}}
      {{ 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:816)}}
      {{ 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)}}

      ```

       

       

            Unassigned Unassigned
            m86194 Thorbjørn Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: