java.lang.AssertionError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • We are using the CopyArtifact plugin to distribute a ~7MB tar.gz file from a single polling job to several downstream build/test jobs. Since Hudson 1.377, copying the artifact to the build/test job randomly throws one of two exceptions (the first is reported in [JENKINS-7581]): {noformat} ERROR: Failed to copy artifacts from job-poll with filter: workspace.tar.gz hudson.util.IOException2: hudson.util.IOException2: Not in GZIP format stream=7c9e6f6bf0e618[...snip...] at hudson.FilePath.copyRecursiveTo(FilePath.java:1474) at hudson.FilePath.copyRecursiveTo(FilePath.java:1399) [...snip...] {noformat} and the following (new in 1.380): {noformat} Deleting old artifacts from #21 FATAL: null java.lang.AssertionError at hudson.remoting.PipeWindow$Real.decrease(PipeWindow.java:160) at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:124) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109) at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:161) at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:118) at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:72) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105) at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410) at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:388) at hudson.org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:337) at hudson.util.io.TarArchiver.visit(TarArchiver.java:103) at hudson.util.DirScanner$Glob.scan(DirScanner.java:104) at hudson.FilePath.writeToTar(FilePath.java:1543) at hudson.FilePath.copyRecursiveTo(FilePath.java:1470) at hudson.FilePath.copyRecursiveTo(FilePath.java:1399) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:172) 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:1280) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) {noformat} These exceptions appear to occur randomly, and happen approximately 50% of the time.
    via by jsiirola,
  • We are using the CopyArtifact plugin to distribute a ~7MB tar.gz file from a single polling job to several downstream build/test jobs. Since Hudson 1.377, copying the artifact to the build/test job randomly throws one of two exceptions (the first is reported in [JENKINS-7581]): {noformat} ERROR: Failed to copy artifacts from job-poll with filter: workspace.tar.gz hudson.util.IOException2: hudson.util.IOException2: Not in GZIP format stream=7c9e6f6bf0e618[...snip...] at hudson.FilePath.copyRecursiveTo(FilePath.java:1474) at hudson.FilePath.copyRecursiveTo(FilePath.java:1399) [...snip...] {noformat} and the following (new in 1.380): {noformat} Deleting old artifacts from #21 FATAL: null java.lang.AssertionError at hudson.remoting.PipeWindow$Real.decrease(PipeWindow.java:160) at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:124) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109) at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:161) at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:118) at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:72) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105) at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410) at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:388) at hudson.org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:337) at hudson.util.io.TarArchiver.visit(TarArchiver.java:103) at hudson.util.DirScanner$Glob.scan(DirScanner.java:104) at hudson.FilePath.writeToTar(FilePath.java:1543) at hudson.FilePath.copyRecursiveTo(FilePath.java:1470) at hudson.FilePath.copyRecursiveTo(FilePath.java:1399) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:172) 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:1280) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) {noformat} These exceptions appear to occur randomly, and happen approximately 50% of the time.
    via by jsiirola,
  • Pb with Copy Artifact
    via by JL 6BerYeti,
    • java.lang.AssertionError at hudson.remoting.PipeWindow$Real.decrease(PipeWindow.java:160) at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:124) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109) at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:161) at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:118) at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:72) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105) at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410) at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:388) at hudson.org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:337) at hudson.util.io.TarArchiver.visit(TarArchiver.java:103) at hudson.util.DirScanner$Glob.scan(DirScanner.java:104) at hudson.FilePath.writeToTar(FilePath.java:1543) at hudson.FilePath.copyRecursiveTo(FilePath.java:1470) at hudson.FilePath.copyRecursiveTo(FilePath.java:1399) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:172) 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:1280) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140)
    No Bugmate found.