Home > Cannot Parse > Cannot Parse Coverage Results

Cannot Parse Coverage Results

This site uses cookies, as explained in our cookie policy. Jenkins JIRA | 6 years ago | flyasaurus hudson.util.IOException2: Cannot parse coverage results find similars Java RT hudson.plugins.cobertura Hudson Hudson Maven Embedder Hudson 0 0 mark Here is the post build Hide Permalink maxence added a comment - 2010/Nov/28 6:01 AM Same here, occurs with Hudson 1.384 on JDK 1.6.0_u22, with master running Debian 5.0 and slave running Ubuntu 10.04. The coverage.xml report from cobertura is fine on the slave but when the report is sent to the master the report just stops in the middle and thus is a malformed weblink

Atlassian DashboardsProjectsIssuesCaptureGetting started Help JIRA Core help Keyboard Shortcuts About JIRA JIRA Credits Log In Register for Jenkins World Join the Jenkins community at "Jenkins World" in Santa Clara, California from share|improve this answer answered Jul 25 '09 at 9:39 Ira Baxter 69.4k10105206 add a comment| up vote 0 down vote You can use the tool NDepend and visualize code coverage results Publishing Cobertura coverage results... FATAL: Unable to parse /opt/hudson/.hudson/jobs/Bob Pipeline/builds/2010-12-10_19-10-01/coverage7.xml hudson.util.IOException2: Cannot parse coverage results at hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:89) at hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:52) at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:262) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:651) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1363) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349) https://issues.jenkins-ci.org/browse/JENKINS-11251

All rights reserved. The maven build had completed successfully. Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ https://bitbucket.org/mfriedenhagen/ « Return to Jenkins users | 1 view|%1 views Loading...

I have the plugin configured to generate xml reports as outlined in the cobertura plugin for hudson doc. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1039) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at javax.xml.parsers.SAXParser.parse(SAXParser.java:198) at hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:77) ... Oracle and Java are registered trademarks of Oracle and/or its affiliates. Jenkins JIRA | 6 years ago | flyasaurus hudson.util.IOException2: Cannot parse coverage results find similars Java RT hudson.plugins.cobertura Hudson Hudson Maven Embedder Hudson 0 0 mark [JENKINS-7871] "java.io.IOException: Bad file descriptor"

Show SCM/JIRA link daemon added a comment - 2012/Jun/16 2:36 AM Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/FilePath.java pom.xml http://jenkins-ci.org/commit/jenkins/f49d6258451155c716976d7af5433c0fde7fe890 Log: [FIXED JENKINS-11251] The actual meat of the at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException() Java RT SAXParser.parse com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.endEntity(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.endEntity(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLEntityManager.endEntity(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipSpaces(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) Other names may be trademarks of their respective owners. (revision 20160708.bf2ac18) Powered by Oracle, Project Kenai and Cognisync Done Please Confirm No Yes To use Google Groups Discussions, Show JP Rosevear added a comment - 2014/Feb/15 12:03 AM Without the coverage file, this is not possible to resolve sanely.

If one supplier has delayed your project schedule should the other suppliers on the project be alerted to the new timeline? Hide Permalink jieryn added a comment - 2009/Sep/10 7:14 PM I see this too with Hudson 1.323 and Hudson Cobertura 0.8.9. Show maxence added a comment - 2010/Nov/28 6:01 AM Same here, occurs with Hudson 1.384 on JDK 1.6.0_u22, with master running Debian 5.0 and slave running Ubuntu 10.04. Hide Permalink Kohsuke Kawaguchi added a comment - 2011/Feb/27 1:44 AM I'm marking this error as a duplicate of JENKINS-7836.

Join them; it only takes a minute: Sign up Viewing Code Coverage Results outside of Visual studio up vote 18 down vote favorite 4 I've got some unit tests, and got Visit Website Now, I'd like to be able to view that code coverage data outside of visual studio, say in a web browser. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.endEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.endEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.endEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at Any ideas?

If I kick the job off again without changing anything it passes. have a peek at these guys It occurs at least on Hudson 1.382 and 1.385 with Cobertura Plugin 1.0 and Windows Server 2003 x64 as Master and CentOS 5.4 x64 as Slave with JRE6 U16 x64. Try JIRA - bug tracking software for your team. Works quite well and does not require complex activities, can be easily included in the build process.

I'm using Hudson 1.384 which is running on WinXP, run by Apache Tomcat as a service, using Java6. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1739) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at javax.xml.parsers.SAXParser.parse(SAXParser.java:198) at Master = CentOS 5.4, Slave = Mandriva 2010.1 Show Sagar Khushalani added a comment - 2011/Jan/19 6:14 AM Same here, occurs on 1.392, JDK 1.6.0_19, both master and slave are linux. http://ecoflashapps.com/cannot-parse/cannot-parse-coverage-results-hudson.html Publishing Cobertura coverage results...

Try JIRA - bug tracking software for your team. Show raboof added a comment - 2010/Mar/02 1:17 AM This had me confused for a bit, and Adam Armistead at http://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin too. Show Kohsuke Kawaguchi added a comment - 2011/Feb/27 1:44 AM I'm marking this error as a duplicate of JENKINS-7836 .

This is my pillow How Did The Dred Scott Decision Contribute to the Civil War?

FATAL: Unable to parse /d1/hudson/jobs/trunk-continuous/builds/2009-08-18_16-24-48/coverage3259.xml com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence. Perhaps this field should be made required? Previous message: Jenkins build is back to normal : cyrus-imapd-master #423 Next message: Build failed in Jenkins: cyrus-imapd-master #420 Messages sorted by: [ date ] [ thread ] [ subject ] Hide Permalink sogabe added a comment - 2011/Jul/12 9:45 AM reopen if reproduced.

atcom.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)atcom.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)atcom.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)atcom.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)atcom.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.endEntity(XMLDocumentFragmentScannerImpl.java:905)atcom.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.endEntity(XMLDocumentScannerImpl.java:605)atcom.sun.org.apache.xerces.internal.impl.XMLEntityManager.endEntity(XMLEntityManager.java:1393)atcom.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1763)atcom.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanLiteral(XMLEntityScanner.java:1064)atcom.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:974)atcom.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(XMLDocumentFragmentScannerImpl.java:1547)atcom.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1320)atcom.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)atcom.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)atcom.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)atcom.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)atcom.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)atcom.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)atcom.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)atcom.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)atjavax.xml.parsers.SAXParser.parse(SAXParser.java:395)atjavax.xml.parsers.SAXParser.parse(SAXParser.java:198)athudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:81) Soula, William Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Cobertura Plugin fails to parse coverage.xml Re: Cobertura The result is incomplete XML with causes the build to fail: Publishing Cobertura coverage report... Automated exception search integrated into your IDE Test Samebug Integration for IntelliJ IDEA 0 mark [JENKINS-7871] "java.io.IOException: Bad file descriptor" when file copied from slave - Jenkins JIRA jenkins-ci.org | 3 this content Subject: [JIRA] Commented: (HUDSON-7951) Build fails on parsing coverage.xml Date: Thu, 4 Nov 2010 08:46:30 -0800 (PST) Mailing-list: contact [email protected]; run by ezmlm [ http://issues.hudson-ci.org/browse/HUDSON-7951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143279#action_143279 ] robhruskacommentedonHUDSON-7951: ----------------------------------- Thisisprobablyrelatedtohttp://issues.hudson-ci.org/browse/HUDSON-7951 andhttp://issues.hudson-ci.org/browse/HUDSON-7836 >Buildfailsonparsingcoverage.xml

Try JIRA - bug tracking software for your team. Can I just copy the coverage.xml file myself at the end of the build in hopes that jenkins will see that and not try to copy a file it is going The build failed with the following error.