[
https://issues.jboss.org/browse/JBTM-2170?page=com.atlassian.jira.plugin....
]
Gytis Trikleris commented on JBTM-2170:
---------------------------------------
Problem is with ildj and jacorb modules having the class with the same name:
com/arjuna/ArjunaOTS/ActionControlHelper
{code}
BUILD FAILED
/home/gytis/workspace/narayana/narayana/qa/run-tests.xml:540: Error while creating report
at org.jacoco.ant.ReportTask.execute(ReportTask.java:498)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: Error while analyzing class
ArjunaJTS/idl/jacorb/target/classes/com/arjuna/ArjunaOTS/ActionControlHelper.class.
at org.jacoco.core.analysis.Analyzer.analyzerError(Analyzer.java:139)
at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:133)
at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:164)
at org.jacoco.ant.ReportTask.createBundle(ReportTask.java:570)
at org.jacoco.ant.ReportTask.createReport(ReportTask.java:545)
at org.jacoco.ant.ReportTask.execute(ReportTask.java:492)
... 16 more
Caused by: java.lang.IllegalStateException: Can't add different class with same name:
com/arjuna/ArjunaOTS/ActionControlHelper
at org.jacoco.core.analysis.CoverageBuilder.visitCoverage(CoverageBuilder.java:89)
at org.jacoco.core.analysis.Analyzer$1.visitEnd(Analyzer.java:81)
at org.jacoco.asm.ClassVisitor.visitEnd(Unknown Source)
at
org.jacoco.core.internal.flow.ClassProbesAdapter.visitEnd(ClassProbesAdapter.java:135)
at org.jacoco.asm.ClassReader.accept(Unknown Source)
at org.jacoco.asm.ClassReader.accept(Unknown Source)
at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:96)
at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:131)
... 20 more
{code}
Jacoco failed to create QA code coverage report
-----------------------------------------------
Key: JBTM-2170
URL:
https://issues.jboss.org/browse/JBTM-2170
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Testing
Reporter: Gytis Trikleris
Assignee: Gytis Trikleris
Fix For: 5.0.3
http://172.17.131.2/view/Narayana+BlackTie/job/narayana-codeCoverage/118
{code}
BUILD SUCCESSFUL
Total time: 510 minutes 46 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:540: Error while creating
report
Total time: 8 seconds
Buildfile: /home/hudson/workspace/narayana-codeCoverage/qa/run-tests.xml
has-testoutput-output:
testoutput.zip:
[echo] archiving testoutput to testoutput-jacorb.zip
[zip] Building zip:
/home/hudson/workspace/narayana-codeCoverage/qa/testoutput-jacorb.zip
BUILD SUCCESSFUL
Total time: 9 seconds
+ rm -rf /home/hudson/.m2/repository/org/jboss/narayana
+ cd qa
+ ant -f run-tests.xml jacoco-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:540: Error while creating
report
Total time: 9 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Sending e-mails to: gtrikler(a)redhat.com
Finished: FAILURE
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)