Downgrade to 1.559. Or run the latest snapshot. (See https://issues.jenkins-ci.org/browse/JENKINS-22734 for more details)
On Wed, May 7, 2014 at 9:56 AM, Nigel Magnay <[email protected]> wrote: > I made the error of upgrading my Jenkins installation, and now I'm getting > my slaves dying with an OOM (which it's never done previously): > > java.io.IOException: Unexpected reader termination > at > hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:76) > Caused by: java.lang.OutOfMemoryError: Java heap space > at java.util.Arrays.copyOf(Arrays.java:2271) > at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113) > at > java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93) > at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140) > at > hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:87) > at hudson.remoting.ChunkedInputStream.read(ChunkedInputStream.java:46) > at > hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:88) > at > hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:33) > at > hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34) > at > hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) > > > > In the build, it dies trying to transfer artifacts in order to archive them > > > java.io.IOException > <http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>: > java.io.IOException: Failed to extract > /home/jenkins/workspace/customer-dev-main/installer/transfer of 2 files > at hudson.FilePath.readFromTar(FilePath.java:2095) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.readFromTar&entity=method> > at hudson.FilePath.copyRecursiveTo(FilePath.java:2007) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.copyRecursiveTo&entity=method> > at > jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57) > > <http://stacktrace.jenkins-ci.org/search/?query=jenkins.model.StandardArtifactManager.archive&entity=method> > at > hudson.maven.MavenBuild$ProxyImpl.performArchiving(MavenBuild.java:474) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenBuild$ProxyImpl.performArchiving&entity=method> > at > hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:845) > > <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun&entity=method> > at > hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:519) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> > at hudson.model.Run.execute(Run.java:1703) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> > at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method> > at hudson.model.ResourceController.execute(ResourceController.java:88) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> > at hudson.model.Executor.run(Executor.java:231) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> > Caused by: java.io.IOException > <http://stacktrace.jenkins-ci.org/search?query=java.io.IOException> at > hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:177) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.FastPipedInputStream.read&entity=method> > at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:61) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.util.HeadBufferingStream.read&entity=method> > at > com.jcraft.jzlib.InflaterInputStream.fill(InflaterInputStream.java:175) > <http://stacktrace.jenkins-ci.org/search/?query=com.jcraft.jzlib.InflaterInputStream.fill&entity=method> > at > com.jcraft.jzlib.InflaterInputStream.read(InflaterInputStream.java:106) > <http://stacktrace.jenkins-ci.org/search/?query=com.jcraft.jzlib.InflaterInputStream.read&entity=method> > at org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:257) > <http://stacktrace.jenkins-ci.org/search/?query=org.apache.tools.tar.TarBuffer.readBlock&entity=method> > at org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:223) > <http://stacktrace.jenkins-ci.org/search/?query=org.apache.tools.tar.TarBuffer.readRecord&entity=method> > at > hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:345) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.org.apache.tools.tar.TarInputStream.read&entity=method> > at java.io.FilterInputStream.read(FilterInputStream.java:107) > <http://stacktrace.jenkins-ci.org/search/?query=java.io.FilterInputStream.read&entity=method> > at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792) > <http://stacktrace.jenkins-ci.org/search/?query=org.apache.commons.io.IOUtils.copyLarge&entity=method> > at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769) > <http://stacktrace.jenkins-ci.org/search/?query=org.apache.commons.io.IOUtils.copyLarge&entity=method> > at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744) > <http://stacktrace.jenkins-ci.org/search/?query=org.apache.commons.io.IOUtils.copy&entity=method> > at hudson.util.IOUtils.copy(IOUtils.java:40) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.util.IOUtils.copy&entity=method> > at hudson.FilePath.readFromTar(FilePath.java:2085) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.readFromTar&entity=method> > ... 9 more > > > which I suspect is just because the other end has dropped dead. > > > When the slave is launched, there is an environment variable that sets it > reasonably large value, and it's reported in the log: > > > JAVA_OPTS=-Xmx1024m > > > I downgraded to 1.560, and it seems no better. > > > Has there been a change to slave.jar recently? > > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
