java.net.SocketException: Software caused connection abort: socket write error

Jenkins JIRA | nyoung02 | 5 years ago
  1. 0

    I've tried this with the latest version of Jenkins (1.428 and my previously installed version (1.423 which both behave the same way. When I attempt to copy artifacts from another jenkins project/build on HP, I get some strange behaviour. The build is kicked off and the svn stage progresses correctly. It then gets to the copy artifacts stage and waits. After a longish pause, I get an error in the output window, after which the slave becomes unavailable. Although the process is still running the slave is now unavailable. Once this happens I have to kill the process and restart the slave. Stack trace as follows: ERROR: Failed to copy artifacts from R5_HPIA31_Commit with filter: viscob/product/\*.tar, viscob/product/\*.pax, viscob/product/setup* 16:13:36 java.net.SocketException: Software caused connection abort: socket write error 16:13:36 at java.net.SocketOutputStream.socketWrite0(Native Method) 16:13:36 at java.net.SocketOutputStream.socketWrite(Unknown Source) 16:13:36 at java.net.SocketOutputStream.write(Unknown Source) 16:13:36 at java.io.BufferedOutputStream.flushBuffer(Unknown Source) 16:13:36 at java.io.BufferedOutputStream.write(Unknown Source) 16:13:36 at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source) 16:13:36 at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown Source) 16:13:36 at java.io.ObjectOutputStream.writeFatalException(Unknown Source) 16:13:36 at java.io.ObjectOutputStream.writeObject(Unknown Source) 16:13:36 at hudson.remoting.Channel.send(Channel.java:491) 16:13:36 at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:123) 16:13:36 at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) 16:13:36 at java.io.BufferedOutputStream.flushBuffer(Unknown Source) 16:13:36 at java.io.BufferedOutputStream.write(Unknown Source) 16:13:36 at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) 16:13:36 at java.util.zip.DeflaterOutputStream.write(Unknown Source) 16:13:36 at java.util.zip.GZIPOutputStream.write(Unknown Source) 16:13:36 at java.io.BufferedOutputStream.write(Unknown Source) 16:13:36 at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410) 16:13:36 at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:351) 16:13:36 at hudson.org.apache.tools.tar.TarOutputStream.writeEOFRecord(TarOutputStream.java:356) 16:13:36 at hudson.org.apache.tools.tar.TarOutputStream.finish(TarOutputStream.java:137) 16:13:36 at hudson.org.apache.tools.tar.TarOutputStream.close(TarOutputStream.java:149) 16:13:36 at hudson.util.io.TarArchiver.close(TarArchiver.java:119) 16:13:36 at hudson.FilePath.writeToTar(FilePath.java:1634) 16:13:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:1559) 16:13:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:1488) 16:13:36 at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) 16:13:36 at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:226) 16:13:36 at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:200) 16:13:36 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 16:13:36 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) 16:13:36 at hudson.model.Build$RunnerImpl.build(Build.java:178) 16:13:36 at hudson.model.Build$RunnerImpl.doRun(Build.java:139) 16:13:36 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:448) 16:13:36 at hudson.model.Run.run(Run.java:1376) 16:13:36 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 16:13:36 at hudson.model.ResourceController.execute(ResourceController.java:88) 16:13:36 at hudson.model.Executor.run(Executor.java:230) 16:13:36 Build step 'Copy artifacts from another project' marked build as failure 16:13:36 FATAL: Software caused connection abort: socket write error 16:13:36 java.net.SocketException: Software caused connection abort: socket write error 16:13:36 at java.net.SocketOutputStream.socketWrite0(Native Method) 16:13:36 at java.net.SocketOutputStream.socketWrite(Unknown Source) 16:13:36 at java.net.SocketOutputStream.write(Unknown Source) 16:13:36 at java.io.BufferedOutputStream.flushBuffer(Unknown Source) 16:13:36 at java.io.BufferedOutputStream.write(Unknown Source) 16:13:36 at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source) 16:13:36 at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown Source) 16:13:36 at java.io.ObjectOutputStream.writeFatalException(Unknown Source) 16:13:36 at java.io.ObjectOutputStream.writeObject(Unknown Source) 16:13:36 at hudson.remoting.Channel.send(Channel.java:491) 16:13:36 at hudson.remoting.Request.call(Request.java:110) 16:13:36 at hudson.remoting.Channel.call(Channel.java:668) 16:13:36 at hudson.Launcher$RemoteLauncher.kill(Launcher.java:812) 16:13:36 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:471) 16:13:36 at hudson.model.Run.run(Run.java:1376) 16:13:36 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 16:13:36 at hudson.model.ResourceController.execute(ResourceController.java:88) 16:13:36 at hudson.model.Executor.run(Executor.java:230)

    Jenkins JIRA | 5 years ago | nyoung02
    java.net.SocketException: Software caused connection abort: socket write error
  2. 0

    I've tried this with the latest version of Jenkins (1.428 and my previously installed version (1.423 which both behave the same way. When I attempt to copy artifacts from another jenkins project/build on HP, I get some strange behaviour. The build is kicked off and the svn stage progresses correctly. It then gets to the copy artifacts stage and waits. After a longish pause, I get an error in the output window, after which the slave becomes unavailable. Although the process is still running the slave is now unavailable. Once this happens I have to kill the process and restart the slave. Stack trace as follows: ERROR: Failed to copy artifacts from R5_HPIA31_Commit with filter: viscob/product/\*.tar, viscob/product/\*.pax, viscob/product/setup* 16:13:36 java.net.SocketException: Software caused connection abort: socket write error 16:13:36 at java.net.SocketOutputStream.socketWrite0(Native Method) 16:13:36 at java.net.SocketOutputStream.socketWrite(Unknown Source) 16:13:36 at java.net.SocketOutputStream.write(Unknown Source) 16:13:36 at java.io.BufferedOutputStream.flushBuffer(Unknown Source) 16:13:36 at java.io.BufferedOutputStream.write(Unknown Source) 16:13:36 at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source) 16:13:36 at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown Source) 16:13:36 at java.io.ObjectOutputStream.writeFatalException(Unknown Source) 16:13:36 at java.io.ObjectOutputStream.writeObject(Unknown Source) 16:13:36 at hudson.remoting.Channel.send(Channel.java:491) 16:13:36 at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:123) 16:13:36 at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) 16:13:36 at java.io.BufferedOutputStream.flushBuffer(Unknown Source) 16:13:36 at java.io.BufferedOutputStream.write(Unknown Source) 16:13:36 at java.util.zip.DeflaterOutputStream.deflate(Unknown Source) 16:13:36 at java.util.zip.DeflaterOutputStream.write(Unknown Source) 16:13:36 at java.util.zip.GZIPOutputStream.write(Unknown Source) 16:13:36 at java.io.BufferedOutputStream.write(Unknown Source) 16:13:36 at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410) 16:13:36 at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:351) 16:13:36 at hudson.org.apache.tools.tar.TarOutputStream.writeEOFRecord(TarOutputStream.java:356) 16:13:36 at hudson.org.apache.tools.tar.TarOutputStream.finish(TarOutputStream.java:137) 16:13:36 at hudson.org.apache.tools.tar.TarOutputStream.close(TarOutputStream.java:149) 16:13:36 at hudson.util.io.TarArchiver.close(TarArchiver.java:119) 16:13:36 at hudson.FilePath.writeToTar(FilePath.java:1634) 16:13:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:1559) 16:13:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:1488) 16:13:36 at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) 16:13:36 at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:226) 16:13:36 at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:200) 16:13:36 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 16:13:36 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) 16:13:36 at hudson.model.Build$RunnerImpl.build(Build.java:178) 16:13:36 at hudson.model.Build$RunnerImpl.doRun(Build.java:139) 16:13:36 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:448) 16:13:36 at hudson.model.Run.run(Run.java:1376) 16:13:36 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 16:13:36 at hudson.model.ResourceController.execute(ResourceController.java:88) 16:13:36 at hudson.model.Executor.run(Executor.java:230) 16:13:36 Build step 'Copy artifacts from another project' marked build as failure 16:13:36 FATAL: Software caused connection abort: socket write error 16:13:36 java.net.SocketException: Software caused connection abort: socket write error 16:13:36 at java.net.SocketOutputStream.socketWrite0(Native Method) 16:13:36 at java.net.SocketOutputStream.socketWrite(Unknown Source) 16:13:36 at java.net.SocketOutputStream.write(Unknown Source) 16:13:36 at java.io.BufferedOutputStream.flushBuffer(Unknown Source) 16:13:36 at java.io.BufferedOutputStream.write(Unknown Source) 16:13:36 at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source) 16:13:36 at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown Source) 16:13:36 at java.io.ObjectOutputStream.writeFatalException(Unknown Source) 16:13:36 at java.io.ObjectOutputStream.writeObject(Unknown Source) 16:13:36 at hudson.remoting.Channel.send(Channel.java:491) 16:13:36 at hudson.remoting.Request.call(Request.java:110) 16:13:36 at hudson.remoting.Channel.call(Channel.java:668) 16:13:36 at hudson.Launcher$RemoteLauncher.kill(Launcher.java:812) 16:13:36 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:471) 16:13:36 at hudson.model.Run.run(Run.java:1376) 16:13:36 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 16:13:36 at hudson.model.ResourceController.execute(ResourceController.java:88) 16:13:36 at hudson.model.Executor.run(Executor.java:230)

    Jenkins JIRA | 5 years ago | nyoung02
    java.net.SocketException: Software caused connection abort: socket write error
  3. 0

    SocketException: Software caused connection abort

    GitHub | 3 years ago | krampstudio
    java.net.SocketException: Software caused connection abort: socket write error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Handling java.net.SocketException

    Stack Overflow | 3 years ago | user760220
    java.net.SocketException: Software caused connection abort: socket write error
  6. 0

    Passing an ArrayList From Server to Client Java (Trouble)

    Stack Overflow | 3 years ago | Yns Hnrksn
    java.net.SocketException: Software caused connection abort: socket write error

  1. poroszd 1 times, last 12 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Software caused connection abort: socket write error

    at java.net.SocketOutputStream.socketWrite0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.net.SocketOutputStream.socketWrite0(Native Method)
    2. java.net.SocketOutputStream.socketWrite(Unknown Source)
    3. java.net.SocketOutputStream.write(Unknown Source)
    4. java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    5. java.io.BufferedOutputStream.write(Unknown Source)
    6. java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source)
    7. java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(Unknown Source)
    8. java.io.ObjectOutputStream.writeFatalException(Unknown Source)
    9. java.io.ObjectOutputStream.writeObject(Unknown Source)
    9 frames
  3. Hudson :: Remoting Layer
    ProxyOutputStream.write
    1. hudson.remoting.Channel.send(Channel.java:491)
    2. hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:123)
    3. hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103)
    3 frames
  4. Java RT
    BufferedOutputStream.write
    1. java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    2. java.io.BufferedOutputStream.write(Unknown Source)
    3. java.util.zip.DeflaterOutputStream.deflate(Unknown Source)
    4. java.util.zip.DeflaterOutputStream.write(Unknown Source)
    5. java.util.zip.GZIPOutputStream.write(Unknown Source)
    6. java.io.BufferedOutputStream.write(Unknown Source)
    6 frames
  5. Ant
    TarBuffer.writeRecord
    1. org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410)
    2. org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:351)
    2 frames
  6. Hudson
    FilePath.copyRecursiveTo
    1. hudson.org.apache.tools.tar.TarOutputStream.writeEOFRecord(TarOutputStream.java:356)
    2. hudson.org.apache.tools.tar.TarOutputStream.finish(TarOutputStream.java:137)
    3. hudson.org.apache.tools.tar.TarOutputStream.close(TarOutputStream.java:149)
    4. hudson.util.io.TarArchiver.close(TarArchiver.java:119)
    5. hudson.FilePath.writeToTar(FilePath.java:1634)
    6. hudson.FilePath.copyRecursiveTo(FilePath.java:1559)
    7. hudson.FilePath.copyRecursiveTo(FilePath.java:1488)
    7 frames
  7. hudson.plugins.copyartifact
    CopyArtifact.perform
    1. hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51)
    2. hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:226)
    3. hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:200)
    3 frames
  8. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
    2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682)
    3. hudson.model.Build$RunnerImpl.build(Build.java:178)
    4. hudson.model.Build$RunnerImpl.doRun(Build.java:139)
    5. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:448)
    6. hudson.model.Run.run(Run.java:1376)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:230)
    9 frames