Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342715

Summary: jacoco library files in org.eclipse.test is 0.5.0 that has a bug; it needs a version like 0.5.1 or newer
Product: [Eclipse Project] Platform Reporter: Winnie Lai <wlai>
Component: RelengAssignee: Platform-Releng-Inbox <platform-releng-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: david_williams, kim.moir, pwebster
Version: 4.1   
Target Milestone: 3.8   
Hardware: PC   
OS: All   
Whiteboard:

Description Winnie Lai CLA 2011-04-13 10:09:32 EDT
Build Identifier: 3.7M6 I20110310-1119 

The jacoco library files (jacocoagent.jar and jacocoant.jar) in org.eclipse.test is version 0.5.0. The jacoco merge task has a bug that cannot handle empty trace data file when merging a collection of trace files. This bug is already fixed in jacoco 0.5.1 (jacoco-0.5.1.20110321224001.zip at http://www.eclemma.org/jacoco/) that I have verified. 
Please update jacoco to a newer version like 0.5.1 or any newer version in 3.7 M7.

  

Reproducible: Always

Steps to Reproduce:
1. Prepare an empty jacoco.exec data file - either by running jacoco agent on an eclipse test and crash the system which will generate an empty jacoco.exe; or by  creating an empty file jacoco.exec;
2. Prepare a good jacoco.exec (a valid file)
3. Run jacoco merge ant task to merge the above generated jacoco.exec. The ant task reports a failure because one of the .exec files is empty.
Comment 1 Kim Moir CLA 2011-04-13 10:21:19 EDT
We can't update to a newer version of JaCoco in the 3.7 release because the IP deadline for 3.7 has passed.  (We have to request the use of third party libraries by a certain date so that the Eclipse foundation legal team can approve them in time for the Indigo release).  Deferring to 3.8.
Comment 2 David Williams CLA 2012-03-15 23:11:34 EDT
For book keeping, I think this can in effect be considered "done" by bug 369405 so will mark as a dup of 369405 (even though, not exactly a dup). Let me know if I've misunderstood.

*** This bug has been marked as a duplicate of bug 369405 ***