[
https://issues.jboss.org/browse/JBTM-2303?page=com.atlassian.jira.plugin....
]
Michael Musgrove commented on JBTM-2303:
----------------------------------------
The failure is caused by the OSGI pulling in a class that jacoco has already seen:
{quote}
Caused by: java.io.IOException: Error while analyzing class
osgi/jta/target/apache-karaf-2.3.3/data/cache/bundle3/version0.0/bundle.jar(a)org/apache/commons/logging/LogConfigurationException.class.
...
Caused by: java.lang.IllegalStateException: Can't add different class with same name:
org/apache/commons/logging/LogConfigurationException
{quote}
I am going to resolve the issue by excluding apache-karaf from the qa jacoco report. We
don't want to be analysing 3rd party dependencies anyway so the exclusion is fine.
Cannot create jacoco report
---------------------------
Key: JBTM-2303
URL:
https://issues.jboss.org/browse/JBTM-2303
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Build System
Reporter: Tom Jenkinson
Assignee: Michael Musgrove
{quote}
[jacoco:coverage] Enhancing junit with coverage
[junit] Running
org.jboss.jbossts.qa.junit.testgroup.TestGroup_jdbcresources02_pgsql_jndi
[junit] Tests run: 30, Failures: 0, Errors: 0, Time elapsed: 412.658 sec
ci-tests:
BUILD SUCCESSFUL
Total time: 447 minutes 53 seconds
generating test coverage report
Buildfile: /home/hudson/workspace/narayana-codeCoverage/qa/run-tests.xml
jacoco-report:
[jacoco:report] Loading execution data file
/home/hudson/workspace/narayana-codeCoverage/qa/testoutput/jacoco-qa.exec
BUILD FAILED
/home/hudson/workspace/narayana-codeCoverage/qa/run-tests.xml:544: Error while creating
report
{quote}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)