Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: xunit
Created: 06/Jan/14 1:33 PM
Description:

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: [email protected]
Finished: FAILURE

Environment: Jenkins ver. 1.526
Project: Jenkins
Priority: Major Major
Reporter: Dattatrya More
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to