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

"hudson.util.IOException2: Failed to join the process" during MSBuild task

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Duplicate
    • core, join-plugin
    • None
    • Windows XP SP3 - master, slave; Mac OS X - slave

    Description

      Exception was thrown while performing vc project build within msbuild task. Not sure if it relates to hudson threading, msbuild plugin or join plugin since all of these components are used. Occured both in windows and MacOSX slaves.

      FATAL: command execution failed
      hudson.util.IOException2: Failed to join the process
      at hudson.Proc$RemoteProc.join(Proc.java:355)
      at hudson.Launcher$ProcStarter.join(Launcher.java:280)
      at hudson.plugins.msbuild.MsBuildBuilder.perform(MsBuildBuilder.java:131)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.Build$RunnerImpl.build(Build.java:174)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:138)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      at hudson.model.Run.run(Run.java:1272)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:129)
      Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
      at hudson.remoting.Request$1.get(Request.java:218)
      at hudson.remoting.Request$1.get(Request.java:172)
      at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
      at hudson.Proc$RemoteProc.join(Proc.java:347)
      ... 11 more
      Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
      at hudson.remoting.Request.abort(Request.java:257)
      at hudson.remoting.Channel.terminate(Channel.java:608)
      at hudson.remoting.Channel$ReaderThread.run(Channel.java:899)
      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(Unknown Source)
      at java.io.BufferedInputStream.fill(Unknown Source)
      at java.io.BufferedInputStream.read1(Unknown Source)
      at java.io.BufferedInputStream.read(Unknown Source)
      at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
      at java.io.ObjectInputStream$BlockDataInputStream.read(Unknown Source)
      at java.io.ObjectInputStream$BlockDataInputStream.readFully(Unknown Source)
      at java.io.ObjectInputStream.readArray(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
      at java.io.ObjectInputStream.readSerialData(Unknown Source)
      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.readObject(Unknown Source)
      at hudson.remoting.Channel$ReaderThread.run(Channel.java:875)
      FATAL: channel is already closed
      hudson.remoting.ChannelClosedException: channel is already closed
      at hudson.remoting.Channel.send(Channel.java:414)
      at hudson.remoting.Request.call(Request.java:105)
      at hudson.remoting.Channel.call(Channel.java:557)
      at hudson.Launcher$RemoteLauncher.kill(Launcher.java:744)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421)
      at hudson.model.Run.run(Run.java:1272)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:129)
      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(Unknown Source)
      at java.io.BufferedInputStream.fill(Unknown Source)
      at java.io.BufferedInputStream.read1(Unknown Source)
      at java.io.BufferedInputStream.read(Unknown Source)
      at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
      at java.io.ObjectInputStream$BlockDataInputStream.read(Unknown Source)
      at java.io.ObjectInputStream$BlockDataInputStream.readFully(Unknown Source)
      at java.io.ObjectInputStream.readArray(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
      at java.io.ObjectInputStream.readSerialData(Unknown Source)
      at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      at java.io.ObjectInputStream.readObject0(Unknown Source)
      at java.io.ObjectInputStream.readObject(Unknown Source)
      at hudson.remoting.Channel$ReaderThread.run(Channel.java:875)

      Attachments

        Issue Links

          Activity

            aleksas aleksas created issue -
            aleksas aleksas made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-5073 [ JENKINS-5073 ]
            aleksas aleksas made changes -
            Description Exception was thrown while performing vc project build within msbuild task. Not sure if it relates to hudson threading, msbuild plugin or join plugin since all of these components are used.

            FATAL: command execution failed
            hudson.util.IOException2: Failed to join the process
            at hudson.Proc$RemoteProc.join(Proc.java:355)
            at hudson.Launcher$ProcStarter.join(Launcher.java:280)
            at hudson.plugins.msbuild.MsBuildBuilder.perform(MsBuildBuilder.java:131)
            at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
            at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
            at hudson.model.Build$RunnerImpl.build(Build.java:174)
            at hudson.model.Build$RunnerImpl.doRun(Build.java:138)
            at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
            at hudson.model.Run.run(Run.java:1272)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
            at hudson.model.ResourceController.execute(ResourceController.java:88)
            at hudson.model.Executor.run(Executor.java:129)
            Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
            at hudson.remoting.Request$1.get(Request.java:218)
            at hudson.remoting.Request$1.get(Request.java:172)
            at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            at hudson.Proc$RemoteProc.join(Proc.java:347)
            ... 11 more
            Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
            at hudson.remoting.Request.abort(Request.java:257)
            at hudson.remoting.Channel.terminate(Channel.java:608)
            at hudson.remoting.Channel$ReaderThread.run(Channel.java:899)
            Caused by: java.net.SocketException: Connection reset
            at java.net.SocketInputStream.read(Unknown Source)
            at java.io.BufferedInputStream.fill(Unknown Source)
            at java.io.BufferedInputStream.read1(Unknown Source)
            at java.io.BufferedInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$BlockDataInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$BlockDataInputStream.readFully(Unknown Source)
            at java.io.ObjectInputStream.readArray(Unknown Source)
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
            at java.io.ObjectInputStream.readSerialData(Unknown Source)
            at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.readObject(Unknown Source)
            at hudson.remoting.Channel$ReaderThread.run(Channel.java:875)
            FATAL: channel is already closed
            hudson.remoting.ChannelClosedException: channel is already closed
            at hudson.remoting.Channel.send(Channel.java:414)
            at hudson.remoting.Request.call(Request.java:105)
            at hudson.remoting.Channel.call(Channel.java:557)
            at hudson.Launcher$RemoteLauncher.kill(Launcher.java:744)
            at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421)
            at hudson.model.Run.run(Run.java:1272)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
            at hudson.model.ResourceController.execute(ResourceController.java:88)
            at hudson.model.Executor.run(Executor.java:129)
            Caused by: java.net.SocketException: Connection reset
            at java.net.SocketInputStream.read(Unknown Source)
            at java.io.BufferedInputStream.fill(Unknown Source)
            at java.io.BufferedInputStream.read1(Unknown Source)
            at java.io.BufferedInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$BlockDataInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$BlockDataInputStream.readFully(Unknown Source)
            at java.io.ObjectInputStream.readArray(Unknown Source)
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
            at java.io.ObjectInputStream.readSerialData(Unknown Source)
            at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.readObject(Unknown Source)
            at hudson.remoting.Channel$ReaderThread.run(Channel.java:875)
            Exception was thrown while performing vc project build within msbuild task. Not sure if it relates to hudson threading, msbuild plugin or join plugin since all of these components are used. Occured both in windows and MacOSX slaves.

            FATAL: command execution failed
            hudson.util.IOException2: Failed to join the process
            at hudson.Proc$RemoteProc.join(Proc.java:355)
            at hudson.Launcher$ProcStarter.join(Launcher.java:280)
            at hudson.plugins.msbuild.MsBuildBuilder.perform(MsBuildBuilder.java:131)
            at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
            at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
            at hudson.model.Build$RunnerImpl.build(Build.java:174)
            at hudson.model.Build$RunnerImpl.doRun(Build.java:138)
            at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
            at hudson.model.Run.run(Run.java:1272)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
            at hudson.model.ResourceController.execute(ResourceController.java:88)
            at hudson.model.Executor.run(Executor.java:129)
            Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
            at hudson.remoting.Request$1.get(Request.java:218)
            at hudson.remoting.Request$1.get(Request.java:172)
            at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
            at hudson.Proc$RemoteProc.join(Proc.java:347)
            ... 11 more
            Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
            at hudson.remoting.Request.abort(Request.java:257)
            at hudson.remoting.Channel.terminate(Channel.java:608)
            at hudson.remoting.Channel$ReaderThread.run(Channel.java:899)
            Caused by: java.net.SocketException: Connection reset
            at java.net.SocketInputStream.read(Unknown Source)
            at java.io.BufferedInputStream.fill(Unknown Source)
            at java.io.BufferedInputStream.read1(Unknown Source)
            at java.io.BufferedInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$BlockDataInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$BlockDataInputStream.readFully(Unknown Source)
            at java.io.ObjectInputStream.readArray(Unknown Source)
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
            at java.io.ObjectInputStream.readSerialData(Unknown Source)
            at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.readObject(Unknown Source)
            at hudson.remoting.Channel$ReaderThread.run(Channel.java:875)
            FATAL: channel is already closed
            hudson.remoting.ChannelClosedException: channel is already closed
            at hudson.remoting.Channel.send(Channel.java:414)
            at hudson.remoting.Request.call(Request.java:105)
            at hudson.remoting.Channel.call(Channel.java:557)
            at hudson.Launcher$RemoteLauncher.kill(Launcher.java:744)
            at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421)
            at hudson.model.Run.run(Run.java:1272)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
            at hudson.model.ResourceController.execute(ResourceController.java:88)
            at hudson.model.Executor.run(Executor.java:129)
            Caused by: java.net.SocketException: Connection reset
            at java.net.SocketInputStream.read(Unknown Source)
            at java.io.BufferedInputStream.fill(Unknown Source)
            at java.io.BufferedInputStream.read1(Unknown Source)
            at java.io.BufferedInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$BlockDataInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$BlockDataInputStream.readFully(Unknown Source)
            at java.io.ObjectInputStream.readArray(Unknown Source)
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
            at java.io.ObjectInputStream.readSerialData(Unknown Source)
            at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.readObject(Unknown Source)
            at hudson.remoting.Channel$ReaderThread.run(Channel.java:875)
            Environment Windows XP SP3 Windows XP SP3 - master, slave; Mac OS X - slave
            gbois Gregory Boissinot made changes -
            Component/s msbuild [ 15559 ]
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-1948 [ JENKINS-1948 ]
            jglick Jesse Glick made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 137490 ] JNJira + In-Review [ 187536 ]

            People

              Unassigned Unassigned
              aleksas aleksas
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: