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

An existing connection was forcibly closed by the remote host

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • core, remoting
    • Master: Widows Server 2008 R2, Jenkins 1.565.1
      Slave: See this issue on Win 7/ Windows Server 2008R2 slave.

      We have a testing which will run for several hours. We meet intermittent failure like below which terminated the testing and the job just failed.

      12:42:10 FATAL: hudson.remoting.RequestAbortedException: java.io.IOException: An existing connection was forcibly closed by the remote host
      12:42:10 hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: An existing connection was forcibly closed by the remote host
      12:42:10 at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41)
      12:42:10 at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34)
      12:42:10 at hudson.remoting.Request.call(Request.java:174)
      12:42:10 at hudson.remoting.Channel.call(Channel.java:739)
      12:42:10 at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:168)
      12:42:10 at com.sun.proxy.$Proxy61.join(Unknown Source)
      12:42:10 at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:956)
      12:42:10 at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:137)
      12:42:10 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:97)
      12:42:10 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
      12:42:10 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      12:42:10 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756)
      12:42:10 at hudson.model.Build$BuildExecution.build(Build.java:198)
      12:42:10 at hudson.model.Build$BuildExecution.doRun(Build.java:159)
      12:42:10 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      12:42:10 at hudson.model.Run.execute(Run.java:1706)
      12:42:10 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      12:42:10 at hudson.model.ResourceController.execute(ResourceController.java:88)
      12:42:10 at hudson.model.Executor.run(Executor.java:232)
      12:42:10 Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: An existing connection was forcibly closed by the remote host
      12:42:10 at hudson.remoting.Request.abort(Request.java:299)
      12:42:10 at hudson.remoting.Channel.terminate(Channel.java:802)
      12:42:10 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)
      12:42:10 Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
      12:42:10 at sun.nio.ch.SocketDispatcher.read0(Native Method)
      12:42:10 at sun.nio.ch.SocketDispatcher.read(Unknown Source)
      12:42:10 at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
      12:42:10 at sun.nio.ch.IOUtil.read(Unknown Source)
      12:42:10 at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
      12:42:10 at hudson.remoting.SocketChannelStream$1.read(SocketChannelStream.java:33)
      12:42:10 at sun.nio.ch.ChannelInputStream.read(Unknown Source)
      12:42:10 at sun.nio.ch.ChannelInputStream.read(Unknown Source)
      12:42:10 at sun.nio.ch.ChannelInputStream.read(Unknown Source)
      12:42:10 at java.io.InputStream.read(Unknown Source)
      12:42:10 at sun.nio.ch.ChannelInputStream.read(Unknown Source)
      12:42:10 at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82)
      12:42:10 at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
      12:42:10 at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source)
      12:42:10 at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
      12:42:10 at java.io.ObjectInputStream.readObject0(Unknown Source)
      12:42:10 at java.io.ObjectInputStream.readObject(Unknown Source)
      12:42:10 at hudson.remoting.Command.readFrom(Command.java:92)
      12:42:10 at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:70)
      12:42:10 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

            Unassigned Unassigned
            sharon_xia sharon xia
            Votes:
            8 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: