![]() |
|
|
Change By:
|
Aaron Zhang
(07/Jan/13 6:58 AM)
|
Description:
|
Parsing output xml failed when I run the robot case. Attached file is the output.xml
Below is the console log :
D:\jenkins_root\workspace\Format_HDD_Test>pybot -d logs/Format_HDD_Test_17 HDD_Format_Test.txt ============================================================================== HDD Format Test :: IPC Format Test Demo ============================================================================== Format all disk Test | PASS | ------------------------------------------------------------------------------ Format target disk Test | PASS | ------------------------------------------------------------------------------ Format unexist disk Test | PASS | ------------------------------------------------------------------------------ HDD Format Test :: IPC Format Test Demo | PASS | 3 critical tests, 3 passed, 0 failed 3 tests total, 3 passed, 0 failed ============================================================================== Output: D:\jenkins_root\workspace\Format_HDD_Test\logs\Format_HDD_Test_17\output.xml Log: D:\jenkins_root\workspace\Format_HDD_Test\logs\Format_HDD_Test_17\log.html Report: D:\jenkins_root\workspace\Format_HDD_Test\logs\Format_HDD_Test_17\report.html Build step 'Execute Windows batch command' marked build as failure Robot results publisher started... -Parsing output xml: Failed! hudson.util.IOException2: remote file operation failed: D:\jenkins_root\workspace\Format_HDD_Test\logs\Format_HDD_Test_17 at hudson.remoting.Channel@1f68336:pc-zhangzhile at hudson.FilePath.act(FilePath.java:848) at hudson.FilePath.act(FilePath.java:825) at hudson.plugins.robot.RobotParser.parse(RobotParser.java:45) at hudson.plugins.robot.RobotPublisher.parse(RobotPublisher.java:239) at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:261) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1568) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: hudson.remoting.ProxyException: java.io.IOException: Parsing of output xml failed! at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:90) at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:50) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2309) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: hudson.remoting.ProxyException: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </kw>; expected </doc>. at [row,col {unknown-source}]: [24,4] at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:630) at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461) at com.ctc.wstx.sr.BasicStreamReader.reportWrongEndElem(BasicStreamReader.java:3258) at com.ctc.wstx.sr.BasicStreamReader.readEndElem(BasicStreamReader.java:3200) at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2832) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019) at hudson.plugins.robot.RobotParser$RobotParserCallable.processTest(RobotParser.java:190) at hudson.plugins.robot.RobotParser$RobotParserCallable.processSuite(RobotParser.java:158) at hudson.plugins.robot.RobotParser$RobotParserCallable.parseResult(RobotParser.java:114) at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:88) ... 11 more Finished: FAILURE
|
|
|
|
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
|