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

HTML Publisher failure: Failed to extract directory from slave

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • htmlpublisher-plugin
    • Slave:
      - HP ProLiant DL380 G5
      - uname -r: 2.6.32-5-amd64
      - java -version: java version "1.6.0_18", OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2), OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

      Hi,

      in my jenkins-setup i am using a master/slave system. When a Job is executed, everything works fine until htmlpublisher is supposed to archive one HTML report. Usually the execution hangs, sometimes an exception is reported[1]

      As you can see, htmlpublisher tries to extract /home/jenkins-slave9/.../code-browser from slave, this fails.

      Problem occurred in Jenkins v. 1.456, I tried some versions in between, also the current v. 1.483 is affected.

      [1]

      [htmlpublisher] Archiving HTML reports...
      [htmlpublisher] Archiving at BUILD level /home/jenkins-slave9/workspace/wkw_cssjs/unitTesting/build/code-browser to /var/wkw/jenkins/jobs/wkw_cssjs/builds/2012-09-25_10-30-44/htmlreports/Code_Browser
      FATAL: HTML Publisher failure
      hudson.util.IOException2: hudson.util.IOException2: Failed to extract /home/jenkins-slave9/workspace/wkw_cssjs/unitTesting/build/code-browser/**/*
      	at hudson.FilePath.readFromTar(FilePath.java:1936)
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:1848)
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:1756)
      	at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:212)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
      	at hudson.model.Build$BuildExecution.post2(Build.java:183)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
      	at hudson.model.Run.execute(Run.java:1527)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:236)
      Caused by: java.io.IOException
      	at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175)
      	at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:61)
      	at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:221)
      	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
      	at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92)
      	at org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:257)
      	at org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:223)
      	at hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:345)
      	at java.io.FilterInputStream.read(FilterInputStream.java:90)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
      	at hudson.util.IOUtils.copy(IOUtils.java:37)
      	at hudson.FilePath.readFromTar(FilePath.java:1926)
      	... 12 more
      
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:1855)
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:1756)
      	at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:212)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
      	at hudson.model.Build$BuildExecution.post2(Build.java:183)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
      	at hudson.model.Run.execute(Run.java:1527)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:236)
      Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
      	at hudson.remoting.Request$1.get(Request.java:278)
      	at hudson.remoting.Request$1.get(Request.java:210)
      	at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)
      	at hudson.FilePath.copyRecursiveTo(FilePath.java:1851)
      	... 11 more
      Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
      	at hudson.remoting.Request.abort(Request.java:299)
      	at hudson.remoting.Channel.terminate(Channel.java:724)
      	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)
      Caused by: java.io.IOException: Unexpected termination of the channel
      	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
      Caused by: java.io.EOFException
      	at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      	at hudson.remoting.Command.readFrom(Command.java:90)
      	at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
      	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
      

            r2b2_nz Richard Bywater
            schultemarkus Markus Schulte
            Votes:
            6 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: