Issue Type: Bug Bug
Assignee: Ognjen Bubalo
Components: jacoco
Created: 24/Mar/14 2:36 PM
Description:

We are getting intermittent occurrences of a Jacoco exception below. If we re-run the exact same Jenkins job, we won't get the error and the code coverage results are reported OK.

Archiving artifacts
Recording test results
[JaCoCo plugin] Collecting JaCoCo coverage data...
[JaCoCo plugin] src/sn.comm/lwp/comm.test/bvt/*.exec;jars_original;tmp_jacoco; locations are configured
[JaCoCo plugin] Number of found exec files: 1
[JaCoCo plugin] Saving matched execfiles: <http://jenkinspoc.swg.usma.ibm.com/jenkins/job/Communities_UT/ws/src/sn.comm/lwp/comm.test/bvt/jacoco.exec>
[JaCoCo plugin] Saving matched class directories: <http://jenkinspoc.swg.usma.ibm.com/jenkins/job/Communities_UT/ws/jars_original>
[JaCoCo plugin] Saving matched source directories: <http://jenkinspoc.swg.usma.ibm.com/jenkins/job/Communities_UT/ws/tmp_jacoco>
[JaCoCo plugin] Loading inclusions files..
[JaCoCo plugin] inclusions: []
[JaCoCo plugin] exclusions: []
ERROR: Publisher hudson.plugins.jacoco.JacocoPublisher aborted due to exception
java.util.zip.ZipException: invalid entry size (expected 14808 but got 19284 bytes)
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:387)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:156)
at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:100)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:78)
at org.jacoco.core.analysis.Analyzer.analyzeArchive(Analyzer.java:131)
at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:158)
at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:183)
at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:131)
at hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:138)
at hudson.plugins.jacoco.JacocoReportDir.parse(JacocoReportDir.java:102)
at hudson.plugins.jacoco.JacocoBuildAction.loadRatios(JacocoBuildAction.java:278)
at hudson.plugins.jacoco.JacocoBuildAction.load(JacocoBuildAction.java:260)
at hudson.plugins.jacoco.JacocoPublisher.perform(JacocoPublisher.java:380)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725)
at hudson.model.Run.execute(Run.java:1701)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)

Environment: Jenkins 1.5.5.3, Jacoco plug-in 1.0.14, GNU/Linux 2.6.18-371.4.1.el5 x86_64
Project: Jenkins
Priority: Major Major
Reporter: David Miller
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to