hudson.util.IOException2: There are some problems during the conversion into JUnit reports:

Jenkins JIRA | thoni56 | 7 months ago
  1. 0

    xUnit plugin fails to convert CTest xml file (attached) with the stack trace below. Note also that it says "found two Test.xml" of which I can only find one. {noformat} [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing CTest-Version N/A (default) [xUnit] [INFO] - [CTest-Version N/A (default)] - 2 test report file(s) were found with the pattern 'build/**/Testing/**/Test.xml' relative to '/var/lib/jenkins/workspace/Cgreen-thoni56' for the testing framework 'CTest-Version N/A (default)'. [xUnit] [ERROR] - Conversion error Error to convert - A file not found ERROR: Step ‘Publish xUnit test result report’ aborted due to exception: hudson.util.IOException2: There are some problems during the conversion into JUnit reports: at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:183) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:44) at hudson.FilePath.act(FilePath.java:990) at hudson.FilePath.act(FilePath.java:968) at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:145) at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:88) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:142) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:134) 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.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: org.jenkinsci.plugins.xunit.exception.XUnitException: Conversion error Error to convert - A file not found at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:86) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:146) ... 16 more Caused by: org.jenkinsci.lib.dtkit.util.converter.ConversionException: Error to convert - A file not found at org.jenkinsci.lib.dtkit.util.converter.ConversionService.convert(ConversionService.java:358) at org.jenkinsci.lib.dtkit.util.converter.ConversionService.convert(ConversionService.java:172) at org.jenkinsci.lib.dtkit.model.InputMetricXSL.convert(InputMetricXSL.java:181) at org.jenkinsci.lib.dtkit.model.InputMetricXSL.convert(InputMetricXSL.java:189) at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionService.java:117) at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:79) ... 17 more Caused by: org.xml.sax.SAXParseException; lineNumber: 14; columnNumber: 1; XML-dokumentstrukturer måste börja och sluta inom samma enhet. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:338) at org.jenkinsci.lib.dtkit.util.converter.ConversionService.convert(ConversionService.java:316) ... 22 more Finished: FAILURE {noformat}

    Jenkins JIRA | 7 months ago | thoni56
    hudson.util.IOException2: There are some problems during the conversion into JUnit reports:
  2. 0

    xUnit plugin fails to convert CTest xml file (attached) with the stack trace below. Note also that it says "found two Test.xml" of which I can only find one. {noformat} [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing CTest-Version N/A (default) [xUnit] [INFO] - [CTest-Version N/A (default)] - 2 test report file(s) were found with the pattern 'build/**/Testing/**/Test.xml' relative to '/var/lib/jenkins/workspace/Cgreen-thoni56' for the testing framework 'CTest-Version N/A (default)'. [xUnit] [ERROR] - Conversion error Error to convert - A file not found ERROR: Step ‘Publish xUnit test result report’ aborted due to exception: hudson.util.IOException2: There are some problems during the conversion into JUnit reports: at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:183) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:44) at hudson.FilePath.act(FilePath.java:990) at hudson.FilePath.act(FilePath.java:968) at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:145) at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:88) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:142) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:134) 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.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: org.jenkinsci.plugins.xunit.exception.XUnitException: Conversion error Error to convert - A file not found at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:86) at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:146) ... 16 more Caused by: org.jenkinsci.lib.dtkit.util.converter.ConversionException: Error to convert - A file not found at org.jenkinsci.lib.dtkit.util.converter.ConversionService.convert(ConversionService.java:358) at org.jenkinsci.lib.dtkit.util.converter.ConversionService.convert(ConversionService.java:172) at org.jenkinsci.lib.dtkit.model.InputMetricXSL.convert(InputMetricXSL.java:181) at org.jenkinsci.lib.dtkit.model.InputMetricXSL.convert(InputMetricXSL.java:189) at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionService.java:117) at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:79) ... 17 more Caused by: org.xml.sax.SAXParseException; lineNumber: 14; columnNumber: 1; XML-dokumentstrukturer måste börja och sluta inom samma enhet. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:338) at org.jenkinsci.lib.dtkit.util.converter.ConversionService.convert(ConversionService.java:316) ... 22 more Finished: FAILURE {noformat}

    Jenkins JIRA | 7 months ago | thoni56
    hudson.util.IOException2: There are some problems during the conversion into JUnit reports:

    Root Cause Analysis

    1. org.jenkinsci.lib.dtkit.util.converter.ConversionException

      Error to convert - A file not found

      at org.jenkinsci.lib.dtkit.util.converter.ConversionService.convert()
    2. org.jenkinsci.lib
      InputMetricXSL.convert
      1. org.jenkinsci.lib.dtkit.util.converter.ConversionService.convert(ConversionService.java:358)
      2. org.jenkinsci.lib.dtkit.util.converter.ConversionService.convert(ConversionService.java:172)
      3. org.jenkinsci.lib.dtkit.model.InputMetricXSL.convert(InputMetricXSL.java:181)
      4. org.jenkinsci.lib.dtkit.model.InputMetricXSL.convert(InputMetricXSL.java:189)
      4 frames
    3. org.jenkinsci.plugins
      XUnitTransformer.invoke
      1. org.jenkinsci.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionService.java:117)
      2. org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:79)
      3. org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:146)
      4. org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:44)
      4 frames
    4. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:990)
      2. hudson.FilePath.act(FilePath.java:968)
      2 frames
    5. org.jenkinsci.plugins
      XUnitPublisher.perform
      1. org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:145)
      2. org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:88)
      3. org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:142)
      4. org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:134)
      4 frames
    6. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
      4. hudson.model.Build$BuildExecution.post2(Build.java:185)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
      6. hudson.model.Run.execute(Run.java:1763)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      9. hudson.model.Executor.run(Executor.java:410)
      9 frames