Details

    • Similar Issues:

      Description

      The master is OSX 10.8.3 running Jenkins 1.511, and the slave is Ubuntu 10.04.4 LTS Lucid Lynx. When trying to publish HTML reports, it freezes permanently. After killing the job the following stack trace is produced:

      BUILD SUCCESSFUL
      Total time: 29 minutes 48 seconds
      [htmlpublisher] Archiving HTML reports...
      [htmlpublisher] Archiving at BUILD level /home/builder/jenkins/workspace/sre-build-test-linux/branches/mingus/vcloud/sonic/.build/Debug/coverage_report to /Users/Shared/Jenkins/Home/jobs/sre-build-test-linux/builds/2013-08-01_17-04-54/htmlreports/Test_Coverage
      FATAL: HTML Publisher failure
      hudson.util.IOException2: hudson.util.IOException2: Failed to extract /home/builder/jenkins/workspace/sre-build-test-linux/branches/mingus/vcloud/sonic/.build/Debug/coverage_report/*/
      at hudson.FilePath.readFromTar(FilePath.java:2014)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:1926)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:1831)
      at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:212)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724)
      at hudson.model.Run.execute(Run.java:1600)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:237)
      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:90)
      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.getNextEntry(TarInputStream.java:228)
      at hudson.FilePath.readFromTar(FilePath.java:1992)
      ... 12 more

      at hudson.FilePath.copyRecursiveTo(FilePath.java:1933)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:1831)
      at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:212)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724)
      at hudson.model.Run.execute(Run.java:1600)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:237)
      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:1929)
      ... 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:732)
      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:2576)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1295)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
      at hudson.remoting.Command.readFrom(Command.java:92)
      at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
      Build step 'Publish HTML reports' changed build result to FAILURE

        Attachments

          Activity

          Hide
          r2b2_nz Richard Bywater added a comment -

          Given the age of this ticket, I plan on closing it soon - if anyone objects please speak up

          Show
          r2b2_nz Richard Bywater added a comment - Given the age of this ticket, I plan on closing it soon - if anyone objects please speak up
          Hide
          r2b2_nz Richard Bywater added a comment -

          Given the age of the issue, am closing. If the issue is still persisting in new versions of the plugin please file a new issue to ensure a fresh set of diagnostic data

          Show
          r2b2_nz Richard Bywater added a comment - Given the age of the issue, am closing. If the issue is still persisting in new versions of the plugin please file a new issue to ensure a fresh set of diagnostic data
          Hide
          dimaold Dmitriy Oleynik added a comment -

          16:24:32 [htmlpublisher] Archiving HTML reports...16:24:32 [htmlpublisher] Archiving at PROJECT level /home/jenkins/workspace/test-pipe to /var/lib/jenkins/jobs/test-pipe/htmlreports/Version_3a_200_2e34_2e13_2e8262488*16:24:36* FATAL: HTML Publisher failure*16:24:36* java.io.IOException: Failed to extract /home/jenkins/workspace/test-pipe/*/16:24:36 at hudson.FilePath.readFromTar(FilePath.java:2608)16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2386)16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2350)16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2338)16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2321)16:24:36 at htmlpublisher.HtmlPublisher.publishReports(HtmlPublisher.java:277)16:24:36 at htmlpublisher.workflow.PublishHTMLStepExecution.run(PublishHTMLStepExecution.java:70)16:24:36 at htmlpublisher.workflow.PublishHTMLStepExecution.run(PublishHTMLStepExecution.java:45)16:24:36 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)16:24:36 at hudson.security.ACL.impersonate(ACL.java:290)16:24:36 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)16:24:36 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)16:24:36 at java.util.concurrent.FutureTask.run(FutureTask.java:266)16:24:36 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)16:24:36 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)16:24:36 at java.lang.Thread.run(Thread.java:748)16:24:36 Suppressed: java.util.concurrent.ExecutionException: java.io.IOException: This archive contains unclosed entries.16:24:36 at hudson.remoting.Channel$2.adapt(Channel.java:992)16:24:36 at hudson.remoting.Channel$2.adapt(Channel.java:986)16:24:36 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2389)16:24:36 ... 14 more*16:24:36* Caused by: java.io.IOException: This archive contains unclosed entries.16:24:36 at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.finish(TarArchiveOutputStream.java:289)16:24:36 at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.close(TarArchiveOutputStream.java:307)16:24:36 at hudson.util.io.TarArchiver.close(TarArchiver.java:126)16:24:36 at hudson.FilePath.writeToTar(FilePath.java:2568)16:24:36 at hudson.FilePath.access$4000(FilePath.java:211)16:24:36 at hudson.FilePath$CopyRecursiveRemoteToLocal.invoke(FilePath.java:2531)16:24:36 at hudson.FilePath$CopyRecursiveRemoteToLocal.invoke(FilePath.java:2518)16:24:36 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3069)16:24:36 at hudson.remoting.UserRequest.perform(UserRequest.java:211)16:24:36 at hudson.remoting.UserRequest.perform(UserRequest.java:54)16:24:36 at hudson.remoting.Request$2.run(Request.java:369)16:24:36 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)16:24:36 ... 4 more*16:24:36* Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to dev*16:24:36* at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)16:24:36 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)16:24:36 at hudson.remoting.Channel$2.adapt(Channel.java:990)16:24:36 at hudson.remoting.Channel$2.adapt(Channel.java:986)16:24:36 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2389)16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2350)16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2338)16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2321)16:24:36 at htmlpublisher.HtmlPublisher.publishReports(HtmlPublisher.java:277)16:24:36 at htmlpublisher.workflow.PublishHTMLStepExecution.run(PublishHTMLStepExecution.java:70)16:24:36 at htmlpublisher.workflow.PublishHTMLStepExecution.run(PublishHTMLStepExecution.java:45)16:24:36 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)16:24:36 at hudson.security.ACL.impersonate(ACL.java:290)16:24:36 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)16:24:36 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)16:24:36 ... 4 more*16:24:36* Caused by: java.io.IOException: Truncated TAR archive*16:24:36* at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.read(TarArchiveInputStream.java:643)16:24:36 at java.io.InputStream.read(InputStream.java:101)16:24:36 at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2314)16:24:36 at org.apache.commons.io.IOUtils.copy(IOUtils.java:2270)16:24:36 at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2291)16:24:36 at org.apache.commons.io.IOUtils.copy(IOUtils.java:2246)16:24:36 at hudson.util.IOUtils.copy(IOUtils.java:43)16:24:36 at hudson.FilePath.readFromTar(FilePath.java:2598)16:24:36 ... 15 more[Pipeline] publishHTML

          Show
          dimaold Dmitriy Oleynik added a comment - 16:24:32 [htmlpublisher] Archiving HTML reports... 16:24:32 [htmlpublisher] Archiving at PROJECT level /home/jenkins/workspace/test-pipe to /var/lib/jenkins/jobs/test-pipe/htmlreports/Version_3a_200_2e34_2e13_2e8262488*16:24:36* FATAL: HTML Publisher failure*16:24:36* java.io.IOException: Failed to extract /home/jenkins/workspace/test-pipe/* / 16:24:36 at hudson.FilePath.readFromTar(FilePath.java:2608) 16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2386) 16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2350) 16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2338) 16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2321) 16:24:36 at htmlpublisher.HtmlPublisher.publishReports(HtmlPublisher.java:277) 16:24:36 at htmlpublisher.workflow.PublishHTMLStepExecution.run(PublishHTMLStepExecution.java:70) 16:24:36 at htmlpublisher.workflow.PublishHTMLStepExecution.run(PublishHTMLStepExecution.java:45) 16:24:36 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) 16:24:36 at hudson.security.ACL.impersonate(ACL.java:290) 16:24:36 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) 16:24:36 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 16:24:36 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 16:24:36 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 16:24:36 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 16:24:36 at java.lang.Thread.run(Thread.java:748) 16:24:36 Suppressed: java.util.concurrent.ExecutionException: java.io.IOException: This archive contains unclosed entries. 16:24:36 at hudson.remoting.Channel$2.adapt(Channel.java:992) 16:24:36 at hudson.remoting.Channel$2.adapt(Channel.java:986) 16:24:36 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59) 16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2389) 16:24:36 ... 14 more*16:24:36* Caused by: java.io.IOException: This archive contains unclosed entries. 16:24:36 at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.finish(TarArchiveOutputStream.java:289) 16:24:36 at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.close(TarArchiveOutputStream.java:307) 16:24:36 at hudson.util.io.TarArchiver.close(TarArchiver.java:126) 16:24:36 at hudson.FilePath.writeToTar(FilePath.java:2568) 16:24:36 at hudson.FilePath.access$4000(FilePath.java:211) 16:24:36 at hudson.FilePath$CopyRecursiveRemoteToLocal.invoke(FilePath.java:2531) 16:24:36 at hudson.FilePath$CopyRecursiveRemoteToLocal.invoke(FilePath.java:2518) 16:24:36 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3069) 16:24:36 at hudson.remoting.UserRequest.perform(UserRequest.java:211) 16:24:36 at hudson.remoting.UserRequest.perform(UserRequest.java:54) 16:24:36 at hudson.remoting.Request$2.run(Request.java:369) 16:24:36 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 16:24:36 ... 4 more*16:24:36* Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to dev*16:24:36* at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741) 16:24:36 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) 16:24:36 at hudson.remoting.Channel$2.adapt(Channel.java:990) 16:24:36 at hudson.remoting.Channel$2.adapt(Channel.java:986) 16:24:36 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59) 16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2389) 16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2350) 16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2338) 16:24:36 at hudson.FilePath.copyRecursiveTo(FilePath.java:2321) 16:24:36 at htmlpublisher.HtmlPublisher.publishReports(HtmlPublisher.java:277) 16:24:36 at htmlpublisher.workflow.PublishHTMLStepExecution.run(PublishHTMLStepExecution.java:70) 16:24:36 at htmlpublisher.workflow.PublishHTMLStepExecution.run(PublishHTMLStepExecution.java:45) 16:24:36 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) 16:24:36 at hudson.security.ACL.impersonate(ACL.java:290) 16:24:36 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) 16:24:36 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 16:24:36 ... 4 more*16:24:36* Caused by: java.io.IOException: Truncated TAR archive*16:24:36* at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.read(TarArchiveInputStream.java:643) 16:24:36 at java.io.InputStream.read(InputStream.java:101) 16:24:36 at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2314) 16:24:36 at org.apache.commons.io.IOUtils.copy(IOUtils.java:2270) 16:24:36 at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2291) 16:24:36 at org.apache.commons.io.IOUtils.copy(IOUtils.java:2246) 16:24:36 at hudson.util.IOUtils.copy(IOUtils.java:43) 16:24:36 at hudson.FilePath.readFromTar(FilePath.java:2598) 16:24:36 ... 15 more [Pipeline] publishHTML
          Hide
          r2b2_nz Richard Bywater added a comment -

          This is likely a problem more with the Jenkins remoting rather than HTML Publisher (perhaps caused by trying to copy large amounts of HTML reports over?). Are you able to review https://wiki.jenkins.io/display/JENKINS/Remoting+issue and see if any of those hints or tips helps point in a particular direction as to what is causing the issue in your installation?

          Show
          r2b2_nz Richard Bywater added a comment - This is likely a problem more with the Jenkins remoting rather than HTML Publisher (perhaps caused by trying to copy large amounts of HTML reports over?). Are you able to review  https://wiki.jenkins.io/display/JENKINS/Remoting+issue  and see if any of those hints or tips helps point in a particular direction as to what is causing the issue in your installation?
          Hide
          dimaold Dmitriy Oleynik added a comment -

          Clock difference in 12 sec can cause a mistake?

             
          Show
          dimaold Dmitriy Oleynik added a comment - Clock difference in 12 sec can cause a mistake?    
          Hide
          r2b2_nz Richard Bywater added a comment -

          Unfortunately I'm not an expert of remoting and what issues may cause what symptoms. You might be best asking on about this issue on the Jenkins User Mailing List as you may get more pointers on things to check.

          Show
          r2b2_nz Richard Bywater added a comment - Unfortunately I'm not an expert of remoting and what issues may cause what symptoms. You might be best asking on about this issue on the Jenkins User Mailing List as you may get more pointers on things to check.

            People

            • Assignee:
              r2b2_nz Richard Bywater
              Reporter:
              brian_mingus Brian Mingus
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: