hudson.util.IOException2: Could not transform the NUnit report. Please report this issue to the plugin author

Jenkins JIRA | Ren Goodman | 2 years ago
  1. 0

    My NUnit tests run fine, but when i'm trying to get my information to report i get an error: Results (nunit3) saved as TestResult.xml C:\Program Files (x86)\Jenkins\workspace\NUnit Testie Test>exit 0 Recording NUnit tests results ERROR: Publisher hudson.plugins.nunit.NUnitPublisher aborted due to exception hudson.util.IOException2: Could not transform the NUnit report. Please report this issue to the plugin author at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:60) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:26) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:116) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1743) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: org.xml.sax.SAXParseException; systemId: file:/C:/Program%20Files%20(x86)/Jenkins/workspace/NUnit%20Testie%20Test/temporary-junit-reports/temp-junit.xml; lineNumber: 32; columnNumber: 1; Premature end of file. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at hudson.plugins.nunit.NUnitReportTransformer.splitJUnitFile(NUnitReportTransformer.java:102) at hudson.plugins.nunit.NUnitReportTransformer.transform(NUnitReportTransformer.java:72) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:55) ... 13 more Finished: FAILURE ----- I'm new to Jenkins and have been hacking away here but something just isn't right here. I checked the TestResults.xml and it's populated and verified it's in my workspace. *check image/xml attached *workspace.png and TestResult.xml* In the error i see it reference: file:/C:/Program%20Files%20(x86)/Jenkins/workspace/NUnit%20Testie%20Test/temporary-junit-reports/temp-junit.xml; I checked an the file has a lot of hard returns but no data in it. *temp-junit.xml attached* Also noted PostBuild.png attached. Any help would be great. I have both the NUnit plug in installed as well as the xUnit. Just trying to figure out how to get them to show me what i need. Thanks Ren

    Jenkins JIRA | 2 years ago | Ren Goodman
    hudson.util.IOException2: Could not transform the NUnit report. Please report this issue to the plugin author
  2. 0

    My NUnit tests run fine, but when i'm trying to get my information to report i get an error: Results (nunit3) saved as TestResult.xml C:\Program Files (x86)\Jenkins\workspace\NUnit Testie Test>exit 0 Recording NUnit tests results ERROR: Publisher hudson.plugins.nunit.NUnitPublisher aborted due to exception hudson.util.IOException2: Could not transform the NUnit report. Please report this issue to the plugin author at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:60) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:26) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:116) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1743) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: org.xml.sax.SAXParseException; systemId: file:/C:/Program%20Files%20(x86)/Jenkins/workspace/NUnit%20Testie%20Test/temporary-junit-reports/temp-junit.xml; lineNumber: 32; columnNumber: 1; Premature end of file. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at hudson.plugins.nunit.NUnitReportTransformer.splitJUnitFile(NUnitReportTransformer.java:102) at hudson.plugins.nunit.NUnitReportTransformer.transform(NUnitReportTransformer.java:72) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:55) ... 13 more Finished: FAILURE ----- I'm new to Jenkins and have been hacking away here but something just isn't right here. I checked the TestResults.xml and it's populated and verified it's in my workspace. *check image/xml attached *workspace.png and TestResult.xml* In the error i see it reference: file:/C:/Program%20Files%20(x86)/Jenkins/workspace/NUnit%20Testie%20Test/temporary-junit-reports/temp-junit.xml; I checked an the file has a lot of hard returns but no data in it. *temp-junit.xml attached* Also noted PostBuild.png attached. Any help would be great. I have both the NUnit plug in installed as well as the xUnit. Just trying to figure out how to get them to show me what i need. Thanks Ren

    Jenkins JIRA | 2 years ago | Ren Goodman
    hudson.util.IOException2: Could not transform the NUnit report. Please report this issue to the plugin author
  3. 0

    Test step: - Provided the source build file i.e dot net file As part of the test report configuration added location. - Not able to configure the NUnit test result and below is the error message found and not able to complete the job. {noformat} Recording NUnit tests results ERROR: Publisher hudson.plugins.nunit.NUnitPublisher aborted due to exception hudson.util.IOException2: Could not transform the NUnit report. Please report this issue to the plugin author at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:60) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:26) at hudson.FilePath.act(FilePath.java:922) at hudson.FilePath.act(FilePath.java:895) at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:116) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:736) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:685) at hudson.model.Run.execute(Run.java:1757) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) Caused by: org.xml.sax.SAXParseException; systemId: file:/C:/Program%20Files%20(x86)/Jenkins/jobs/Sample3/workspace/temporary-junit-reports/temp-junit.xml; lineNumber: 3; columnNumber: 5; Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at hudson.plugins.nunit.NUnitReportTransformer.splitJUnitFile(NUnitReportTransformer.java:100) at hudson.plugins.nunit.NUnitReportTransformer.transform(NUnitReportTransformer.java:71) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:55) ... 13 more {noformat}

    Jenkins JIRA | 2 years ago | LNP
    hudson.util.IOException2: Could not transform the NUnit report. Please report this issue to the plugin author
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When I run NUnit tests using the NUnit 3 Beta 1 the tests execute but the build fails when the NUnit plugin tries to publish the results. Exception I get in Jenkins console is: Test Run Summary Overall result: Passed Tests run: 9, Passed: 9, Errors: 0, Failures: 0, Inconclusive: 0 Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0 Start time: 2015-04-12 04:15:47Z End time: 2015-04-12 04:24:43Z Duration: 535.974 seconds Results (nunit3) saved as nunit-selenium-testsuite.xml Recording NUnit tests results ERROR: Publisher hudson.plugins.nunit.NUnitPublisher aborted due to exception hudson.util.IOException2: Could not transform the NUnit report. Please report this issue to the plugin author at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:60) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:26) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:116) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) 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:374) Caused by: org.xml.sax.SAXParseException; systemId: file:/C:/Jenkins/workspace/Saucery3NUnit/temporary-junit-reports/temp-junit.xml; lineNumber: 12; columnNumber: 9; Content is not allowed in prolog. 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:348) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205) at hudson.plugins.nunit.NUnitReportTransformer.splitJUnitFile(NUnitReportTransformer.java:102) at hudson.plugins.nunit.NUnitReportTransformer.transform(NUnitReportTransformer.java:72) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:55)

    Jenkins JIRA | 2 years ago | apgray
    hudson.util.IOException2: Could not transform the NUnit report. Please report this issue to the plugin author
  6. 0

    ERROR: Step ‘Publish NUnit test result report’ aborted due to exception: hudson.util.IOException2: Could not transform the NUnit report. Please report this issue to the plugin author at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:68) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:26) at hudson.FilePath.act(FilePath.java:990) at hudson.FilePath.act(FilePath.java:968) at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:145) 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.xml.sax.SAXParseException; systemId: file:/C:/Jenkins/jobs/x/workspace/temporary-junit-reports/temp-junit.xml; lineNumber: 2; columnNumber: 3; Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at hudson.plugins.nunit.NUnitReportTransformer.splitJUnitFile(NUnitReportTransformer.java:102) at hudson.plugins.nunit.NUnitReportTransformer.transform(NUnitReportTransformer.java:72) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:63) ... 13 more

    Jenkins JIRA | 10 months ago | Andrey Tretjakov
    hudson.util.IOException2: Could not transform the NUnit report. Please report this issue to the plugin author

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.util.IOException2

      Could not transform the NUnit report. Please report this issue to the plugin author

      at hudson.plugins.nunit.NUnitArchiver.invoke()
    2. hudson.plugins.nunit
      NUnitArchiver.invoke
      1. hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:60)
      2. hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:26)
      2 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:989)
      2. hudson.FilePath.act(FilePath.java:967)
      2 frames
    4. hudson.plugins.nunit
      NUnitPublisher.perform
      1. hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:116)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
      4. hudson.model.Build$BuildExecution.post2(Build.java:183)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
      6. hudson.model.Run.execute(Run.java:1743)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:89)
      9. hudson.model.Executor.run(Executor.java:240)
      9 frames