Is there a way to get the truncated exec file name? Thanks!
On Friday, October 28, 2016 at 8:43:07 AM UTC-7, Marc R. Hoffmann wrote: > Hi, > > this means exec file is truncated somewhere in the middle. Typical cause > for this is non-graceful shutdown of the JVM running the tests. > > Cheers, > -marc > > On 28.10.16 09:14, [email protected] wrote: > > Hi, > > > > JaCoCo is randomly failing when it generates the report. Sometimes > > EOFException is thrown on readExecutionData(). This happens randomly and > > more often on Travis, and rarely on local dev box. > > I'm pretty new to JaCoCo. Would someone show me the best way to debug this? > > > > This doesn't happen that often when I was using 0.7.5.201505241946. > > > > Stacktrace: > > [ERROR] Failed to execute goal > > org.jacoco:jacoco-maven-plugin:0.7.7.201606060606:report-aggregate > > (jacoco-report) on project livy-coverage-report: An error has occurred in > > JaCoCo Aggregate report generation. Error while creating report: null: > > EOFException -> [Help 1] > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > > goal org.jacoco:jacoco-maven-plugin:0.7.7.201606060606:report-aggregate > > (jacoco-report) on project livy-coverage-report: An error has occurred in > > JaCoCo Aggregate report generation. > > ... > > Caused by: java.io.EOFException > > at java.io.DataInputStream.readByte(DataInputStream.java:267) > > at > > org.jacoco.core.internal.data.CompactDataInput.readBooleanArray(CompactDataInput.java:63) > > at > > org.jacoco.core.data.ExecutionDataReader.readExecutionData(ExecutionDataReader.java:149) > > at > > org.jacoco.core.data.ExecutionDataReader.readBlock(ExecutionDataReader.java:115) > > at > > org.jacoco.core.data.ExecutionDataReader.read(ExecutionDataReader.java:92) > > at org.jacoco.core.tools.ExecFileLoader.load(ExecFileLoader.java:59) > > at org.jacoco.core.tools.ExecFileLoader.load(ExecFileLoader.java:73) > > at > > org.jacoco.maven.ReportSupport.loadExecutionData(ReportSupport.java:87) > > at > > org.jacoco.maven.ReportAggregateMojo.loadExecutionData(ReportAggregateMojo.java:116) > > at > > org.jacoco.maven.ReportAggregateMojo.loadExecutionData(ReportAggregateMojo.java:109) > > at > > org.jacoco.maven.AbstractReportMojo.executeReport(AbstractReportMojo.java:177) > > ... 22 more > > Travis build log: > > https://travis-ci.org/hdinsight/livy/jobs/171299465 > > > > POM file: > > https://github.com/hdinsight/livy/blob/de9a35e39508bc05297ccdd90c60bc05cd72cf51/pom.xml > > > > Thanks! > > Alex > > -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/01c09753-c213-4efa-b3e9-4b10576b4163%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
