java.lang.AssertionError

Jenkins JIRA | jsiirola | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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.

    Jenkins JIRA | 6 years ago | jsiirola
    java.lang.AssertionError
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    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.

    Jenkins JIRA | 6 years ago | jsiirola
    java.lang.AssertionError
  4. 0

    Pb with Copy Artifact

    Google Groups | 6 years ago | JL 6BerYeti
    java.lang.AssertionError

    Root Cause Analysis

    1. java.lang.AssertionError

      No message provided

      at hudson.remoting.PipeWindow$Real.decrease()
    2. Hudson :: Remoting Layer
      ProxyOutputStream.write
      1. hudson.remoting.PipeWindow$Real.decrease(PipeWindow.java:160)
      2. hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:124)
      3. hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103)
      3 frames
    3. Java RT
      BufferedOutputStream.write
      1. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
      2. java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
      3. java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:161)
      4. java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:118)
      5. java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:72)
      6. java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
      6 frames
    4. Ant
      TarBuffer.writeRecord
      1. org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410)
      2. org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:388)
      2 frames
    5. Hudson
      FilePath.copyRecursiveTo
      1. hudson.org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:337)
      2. hudson.util.io.TarArchiver.visit(TarArchiver.java:103)
      3. hudson.util.DirScanner$Glob.scan(DirScanner.java:104)
      4. hudson.FilePath.writeToTar(FilePath.java:1543)
      5. hudson.FilePath.copyRecursiveTo(FilePath.java:1470)
      6. hudson.FilePath.copyRecursiveTo(FilePath.java:1399)
      6 frames
    6. hudson.plugins.copyartifact
      CopyArtifact.perform
      1. hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:172)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      3. hudson.model.Build$RunnerImpl.build(Build.java:174)
      4. hudson.model.Build$RunnerImpl.doRun(Build.java:138)
      5. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      6. hudson.model.Run.run(Run.java:1280)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:140)
      9 frames