Issue Type: Bug Bug
Affects Versions: current
Assignee: jpiironen
Components: robot-plugin
Created: 27/Sep/12 2:44 AM
Description:

Testcase:
Set Alert
Set Global Variable ${alert_empty_user} 用户名不能为空
Set Global Variable ${alert_empty_pwd} 密码不能为空

it runs success in robot ride,
and in jekins,the log.html display correctly.
but the "Robot Results" doesn't work.

the console output:
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:90)
at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:50)
at hudson.FilePath.act(FilePath.java:852)
at hudson.FilePath.act(FilePath.java:825)
at hudson.plugins.robot.RobotParser.parse(RobotParser.java:45)
at hudson.plugins.robot.RobotPublisher.parse(RobotPublisher.java:235)
at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:257)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
at hudson.model.Run.execute(Run.java:1527)
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: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </arguments>; expected </arg>.
at [row,col {unknown-source}]: [19,11]
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:3218)
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)
... 15 more
Build step 'Publish Robot Framework test results' changed build result to FAILURE
Finished: FAILURE

the output.xml [19,11]:
<arguments>
<arg>${alert_empty_user}</arg>
<arg>用户名不能为空</arg>
</arguments>

if i add "" ,it works:
Set Alert
Set Global Variable ${alert_empty_user} '用户名不能为空'
Set Global Variable ${alert_empty_pwd} '密码不能为空'

Environment: pybot 2.7.4,Jenkins ver. 1.483
xp sp3 ,chinese
Project: Jenkins
Priority: Major Major
Reporter: wing king
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

Reply via email to