Unexpected '<' in attribute value at [row,col {unknown-source}]

243 views
Skip to first unread message

Manpreet Singh

unread,
May 23, 2016, 3:47:30 AM5/23/16
to Jenkins Users
Hi All

I have integrated Robot Framework with Jenkins 1.651.2 and running 3 simple tests in parallel om Chrome and Firefox. The tests run but while publishing the test results, no stats are appearing. While checking the Console Output log, I have found the following error, 

Output:  C:\ArriveAutomation\Output\output.xml
[ ERROR ] Reading XML source 'C:\ArriveAutomation\Output\output.xml' failed: ParseError: not well-formed (invalid token): line 152, column 207

Try --help for usage information.
Build step 'Execute Windows batch command' marked build as failure
Robot results publisher started...
-Parsing output xml:
Failed!
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.act(FilePath.java:990)
	at hudson.FilePath.act(FilePath.java:968)
	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:78)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
	at hudson.model.Build$BuildExecution.post2(Build.java:185)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
	at hudson.model.Run.execute(Run.java:1763)
	at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Caused by: com.ctc.wstx.exc.WstxParsingException: Unexpected '<'  in attribute value
 at [row,col {unknown-source}]: [152,208]
	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.parseNormalizedAttrValue(BasicStreamReader.java:1951)
	at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3037)
	at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2936)
	at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2848)
	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
	at hudson.plugins.robot.RobotParser$RobotParserCallable.ignoreUntilStarts(RobotParser.java:199)
	at hudson.plugins.robot.RobotParser$RobotParserCallable.processTest(RobotParser.java:270)
	at hudson.plugins.robot.RobotParser$RobotParserCallable.processSuite(RobotParser.java:148)
	at hudson.plugins.robot.RobotParser$RobotParserCallable.parseResult(RobotParser.java:122)
	at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:98)
	... 16 more
Finished: FAILURE


The same tests run fine if run in a sequential manner. Has anybody faced this issue? Please help me to fix this issue.

Thanks in advance...
Reply all
Reply to author
Forward
0 new messages