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

[xUnit] [ERROR] - The plugin hasn't been performed correctly: hudson.util.IOException2: Failed to read xml file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • xunit-plugin
    • None
    • Jenkins ver. 1.526

      Related plugins that are installed

      Behave Hudson Plugin version 3.0
      HTML Publisher Plugin version 1.2
      xUnit Plugin version 1.62
      and created Maven project for automation test execution

      Following things are working here -

      1. report is generated successfully by Jbehave
      2. HTML reports are archived successfully.
      3. Jbehave tests are parsed and placed expected location.
      4. [xUnit] [ERROR] - The plugin hasn't been performed correctly: hudson.util.IOException2: Failed to read xml file

      I have validated mentioned xml file is present and can view through jenkins workspace.

      refer console logging for reference -

      [INFO] Generating reports view to '/opt/tomcat/.jenkins/jobs/pd_automation_consumer_node_pdapp401pcons1/workspace/target/jbehave' using formats '[stats, html, console, xml]' and view properties '

      {defaultFormats=stats, decorateNonHtml=true, viewDirectory=view, decorated=ftl/jbehave-report-decorated.ftl, reports=ftl/jbehave-reports-with-totals.ftl, maps=ftl/jbehave-maps.ftl, navigator=ftl/jbehave-navigator.ftl, views=ftl/jbehave-views.ftl, nonDecorated=ftl/jbehave-report-non-decorated.ftl}

      '
      [INFO] Reports view generated with 5 stories (of which 4 pending) containing 13 scenarios (of which 6 pending)
      Jan 03, 2014 2:02:28 AM org.apache.maven.cli.event.ExecutionEventLogger logResult
      INFO: ------------------------------------------------------------------------
      Jan 03, 2014 2:02:28 AM org.apache.maven.cli.event.ExecutionEventLogger logResult
      INFO: BUILD SUCCESS
      Jan 03, 2014 2:02:28 AM org.apache.maven.cli.event.ExecutionEventLogger logStats
      INFO: ------------------------------------------------------------------------
      Jan 03, 2014 2:02:28 AM org.apache.maven.cli.event.ExecutionEventLogger logStats
      INFO: Total time: 3:45.993s
      Jan 03, 2014 2:02:28 AM org.apache.maven.cli.event.ExecutionEventLogger logStats
      INFO: Finished at: Fri Jan 03 02:02:28 CST 2014
      Jan 03, 2014 2:02:28 AM org.apache.maven.cli.event.ExecutionEventLogger logStats
      INFO: Final Memory: 22M/59M
      Jan 03, 2014 2:02:28 AM org.apache.maven.cli.event.ExecutionEventLogger sessionEnded
      INFO: ------------------------------------------------------------------------
      [JENKINS] Archiving /opt/tomcat/.jenkins/jobs/pd_automation_consumer_node_pdapp401pcons1/workspace/pom.xml to /opt/tomcat/.jenkins/jobs/pd_automation_consumer_node_pdapp401pcons1/modules/com.shc.partsdirect$pd-automation/builds/2014-01-03_01-58-38/archive/com.shc.partsdirect/pd-automation/0.0.1-SNAPSHOT/pd-automation-0.0.1-SNAPSHOT.pom
      Waiting for Jenkins to finish collecting data
      channel stopped
      Archiving artifacts
      [htmlpublisher] Archiving HTML reports...
      [htmlpublisher] Archiving at BUILD level /opt/tomcat/.jenkins/jobs/pd_automation_consumer_node_pdapp401pcons1/workspace/target/jbehave to /opt/tomcat/.jenkins/jobs/pd_automation_consumer_node_pdapp401pcons1/builds/2014-01-03_01-58-34/htmlreports/HTML_Report
      [xUnit] [INFO] - Starting to record.
      [xUnit] [INFO] - Processing JBehave-3.x
      [xUnit] [INFO] - [JBehave-3.x] - 7 test report file(s) were found with the pattern '*/jbehave/.xml' relative to '/opt/tomcat/.jenkins/jobs/pd_automation_consumer_node_pdapp401pcons1/workspace' for the testing framework 'JBehave-3.x'.
      [xUnit] [ERROR] - The plugin hasn't been performed correctly: hudson.util.IOException2: Failed to read /opt/tomcat/.jenkins/jobs/pd_automation_consumer_node_pdapp401pcons1/workspace/generatedJUnitFiles/JBehave/TEST--485270419.xml
      Build step 'Publish xUnit test result report' changed build result to FAILURE
      Build step 'Publish xUnit test result report' marked build as failure
      Sending e-mails to: dmore@searshc.com
      Finished: FAILURE

            gbois Gregory Boissinot
            dmore Dattatrya More
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: