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

jenkins build is failed when it tries to parse NCover reports. NCover help seems to be unavialbe as well

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ncover-plugin
    • None
    • Running 1.610 of Jenkins using Master-Slave architcture as windows services on 2008 R2 boxes.

      Build fails trying to parse NCover information for the plugin:

      onsuccess:

      [echo] Build end time (Success) is 04/24/2015 16:08:17.

      BUILD SUCCEEDED - 3 non-fatal error(s), 0 warning(s)

      Total time: 107 seconds.

      [locks-and-latches] Releasing all the locks
      [locks-and-latches] All the locks released
      [WARNINGS] Parsing warnings in console log with parser MSBuild
      [WARNINGS] Computing warning deltas based on reference build #26
      Recording NUnit tests results
      Publishing NCover HTML report...
      Report: 'fullcoveragereport.html'
      Report: 'methods_full.html'
      Report: 'modules_full.html'
      Report: 'namespaces_full.html'
      Report: 'sources_full.html'
      Report: 'uncoveredreport.html'
      Report: 'Trends.html'
      FATAL: NCover failure
      java.io.IOException: Failed to extract C:\XXXXXX\Results\NCover\html/*/
      at hudson.FilePath.readFromTar(FilePath.java:2299)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2208)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2112)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2095)
      at ncover.NCoverArchiver.perform(NCoverArchiver.java:229)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
      at hudson.model.Run.execute(Run.java:1766)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:374)
      Caused by: java.io.IOException: Truncated TAR archive
      at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.read(TarArchiveInputStream.java:614)
      at java.io.InputStream.read(Unknown Source)
      at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792)
      at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
      at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744)
      at hudson.util.IOUtils.copy(IOUtils.java:40)
      at hudson.FilePath.readFromTar(FilePath.java:2289)
      ... 13 more
      Build step 'Publisher NCover HTML report' changed build result to FAILURE

      This failure occurs because the system now targets the C:\ drive instead of the D:\ drive with the relative path entry and can't find the necessary output.

            Unassigned Unassigned
            alexmlombardi Alex Lombardi
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: