Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61220

plugin version 2.1.0 can not parse output.xml any more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • robot-plugin
    • None
    • windows server 2012 R2, Jenkins ver. 2.204.2, robotframework==3.1.2
    • 2.1.1

      i found a regression in robot-plugin version 2.1.0, which can be solved by rollback to version 2.0.1.

      D:\Jenkins\workspace\DMM-CID_dev>exit 0 
      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:104)
      	at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:54)
      	at hudson.FilePath.act(FilePath.java:1075)
      	at hudson.FilePath.act(FilePath.java:1058)
      	at hudson.plugins.robot.RobotParser.parse(RobotParser.java:49)
      	at hudson.plugins.robot.RobotPublisher.parse(RobotPublisher.java:221)
      	at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:243)
      	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:741)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      	at hudson.model.Build$BuildExecution.post2(Build.java:186)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      	at hudson.model.Run.execute(Run.java:1878)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:427)
      Caused by: javax.xml.stream.XMLStreamException: Illegal xml input. Could not find end of element status. Unexpected end of element kw (at line: 36 column: 1)
      	at hudson.plugins.robot.RobotParser$RobotParserCallable.xmlException(RobotParser.java:179)
      	at hudson.plugins.robot.RobotParser$RobotParserCallable.ignoreUntilEnds(RobotParser.java:251)
      	at hudson.plugins.robot.RobotParser$RobotParserCallable.processTest(RobotParser.java:313)
      	at hudson.plugins.robot.RobotParser$RobotParserCallable.processSuite(RobotParser.java:155)
      	at hudson.plugins.robot.RobotParser$RobotParserCallable.processSuite(RobotParser.java:153)
      	at hudson.plugins.robot.RobotParser$RobotParserCallable.processSuite(RobotParser.java:153)
      	at hudson.plugins.robot.RobotParser$RobotParserCallable.parseResult(RobotParser.java:123)
      	at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:99)
      	... 16 more
      Build step 'Publish Robot Framework test results' changed build result to FAILURE
      

      robotframework==3.1.2

            aleksisimell Aleksi Simell
            dirkrichter Dirk Richter
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: