-
Bug
-
Resolution: Cannot Reproduce
-
Critical
I have 5 jobs running on a slave sequentially. Using robot plugin I upload the reports from each of the jobs post build.
I see only one job is getting the results parsed whereas the 4 others are having issues with parsing the output.xml.
My earlier version of Jenkins and robot plugin were 2.19 and 1.6.4. I tried to downgrade the version of Jenkins since some other products jobs were working fine on Jenkins version 1.633 and Robot plugin 1.6.1 but still saw the same issue. I am pasting the stacktrace here. I enabled jenkins logging for robot-plugin but still didn't see any additional information which may help to debug. Can anybody help to know what is the issue here?
Robot results publisher started...
-Parsing output xml:
Failed!
java.io.IOException: remote file operation failed: /logs/automation at hudson.remoting.Channel@16faf110:myhost-3: hudson.remoting.ProxyException: java.io.IOException: Parsing of output xml failed!
at hudson.FilePath.act(FilePath.java:987)
at hudson.FilePath.act(FilePath.java:969)
at hudson.plugins.robot.RobotParser.parse(RobotParser.java:49)
at hudson.plugins.robot.RobotPublisher.parse(RobotPublisher.java:217)
at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:239)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:75)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
at hudson.model.Build$BuildExecution.post2(Build.java:185)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
at hudson.model.Run.execute(Run.java:1766)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:408)
Caused by: hudson.remoting.ProxyException: java.io.IOException: Parsing of output xml failed!
at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:103)
at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:54)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2691)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at ......remote call to myhost-3(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1413)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
at hudson.remoting.Channel.call(Channel.java:778)
at hudson.FilePath.act(FilePath.java:980)
... 14 more
Caused by: hudson.remoting.ProxyException: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF; was expecting a close tag for element <suite>
at [row,col
]: [4144,7]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:686)
at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2730)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
at hudson.plugins.robot.RobotParser$RobotParserCallable.processSuite(RobotParser.java:142)
at hudson.plugins.robot.RobotParser$RobotParserCallable.processSuite(RobotParser.java:146)
at hudson.plugins.robot.RobotParser$RobotParserCallable.parseResult(RobotParser.java:122)
at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:98)
at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:54)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2691)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)