|
|
|
Change By:
|
Satya Asati
(14/Oct/14 12:56 PM)
|
Description:
|
When we executed the RTRT unit test script using Windows batch command as mentioned below
But at build phase we got failure which is due to Windows batch command and when we are perform post build action->Publish junit test report using XRD file generated by RTRT tool. We are getting error which is also mentioned in below error message.
So please help us to resolve this issue.
Started by user anonymous Building in workspace D:\ Cleaning local Directory ROOT/SOURCE Checking out http://sreublr213.eu.labinal.snecma/svn/carmeq/trunk/SOURCE at revision '2014-03-27T17:48:03.285 +0530' At revision 24 no change for http://sreublr213.eu.labinal.snecma/svn/carmeq/trunk/SOURCE since the previous build [] $ cmd /c call C:\Windows\TEMP\hudson642869198705461714.bat
D:\>studio.exe -r "D:\ROOT\TEST\2_Units_Module\SWK_RGL\SiLMSVS2010\Implementierung\ARAComponent\ARAComponent.rtp" -html "D:\ROOT\TEST\2_Units_Module\SWK_RGL\SiLMSVS2010\Reports\ARAComponent\Result" TestNode: ARAComponent.ARAComponent [113] Test Case Passed [0] Test Case Failed D:/ROOT/TEST/2_Units_Module/SWK_RGL/SiLMSVS2010/Reports/ARAComponent/Result\index.html
The HTML report exportation succeeded. D:\>exit 1 Build step 'Execute Windows batch command' marked build as failure Recording test results ERROR: Failed to archive test reports java.io.IOException: Failed to read D:\ROOT\TEST\2_Units_Module\SWK_RGL\SiLMSVS2010\Implementierung\ARAComponent\VS_SiL\ARAComponent.xrd Is this really a JUnit report file? Your configuration must be matching too many files at hudson.tasks.junit.TestResult.parse(TestResult.java:281) at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:229) at hudson.tasks.junit.TestResult.parse(TestResult.java:164) at hudson.tasks.junit.TestResult.parse(TestResult.java:147) at hudson.tasks.junit.TestResult.<init>(TestResult.java:123) at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:117) at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:90) at hudson.FilePath.act(FilePath.java:914) at hudson.FilePath.act(FilePath.java:887) at hudson.tasks.junit.JUnitParser.parse(JUnitParser.java:87) at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:121) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:133) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) at hudson.model.Run.execute(Run.java:1703) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: org.dom4j.DocumentException: Error on line 68 of document file:///D:/ROOT/TEST/2_Units_Module/SWK_RGL/SiLMSVS2010/Implementierung/ARAComponent/VS_SiL/ARAComponent.xrd : The prefix "XROD" for element "XROD:NODE" is not bound. Nested exception: The prefix "XROD" for element "XROD:NODE" is not bound. at org.dom4j.io.SAXReader.read(SAXReader.java:482) at org.dom4j.io.SAXReader.read(SAXReader.java:264) at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:123) at hudson.tasks.junit.TestResult.parse(TestResult.java:273) ... 20 more Caused by: org.xml.sax.SAXParseException; systemId: file:///D:/ROOT/TEST/2_Units_Module/SWK_RGL/SiLMSVS2010/Implementierung/ARAComponent/VS_SiL/ARAComponent.xrd; lineNumber: 68; columnNumber: 85; The prefix "XROD" for element "XROD:NODE" is not bound. 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.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.dom4j.io.SAXReader.read(SAXReader.java:465) ... 23 more Finished: FAILURE
Help us localize this page
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.