Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342715 - 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
Summary: jacoco library files in org.eclipse.test is 0.5.0 that has a bug; it needs a ...
Status: CLOSED DUPLICATE of bug 369405
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 4.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.8   Edit
Assignee: Platform-Releng-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-13 10:09 EDT by Winnie Lai CLA
Modified: 2012-03-15 23:11 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***