dou ngo created JENKINS-13608:
---------------------------------
Summary: xunit reporting 0 test when I see junit file exists
Key: JENKINS-13608
URL: https://issues.jenkins-ci.org/browse/JENKINS-13608
Project: Jenkins
Issue Type: Bug
Components: xunit
Environment: centos 5.5
Reporter: dou ngo
Assignee: gbois
My console output has this.
Total time: 4 seconds
[CHECKSTYLE] Collecting checkstyle analysis files...
[PMD] Collecting PMD analysis files...
[DRY] Collecting duplicate code analysis files...
Recording plot data
Publishing Clover coverage report...
Publishing Clover HTML report...
Publishing Clover XML report...
Publishing Clover coverage results...
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /var/lib/jenkins/jobs/FCE/build/api to
/var/lib/jenkins/jobs/FCE/builds/2012-04-25_21-50-46/htmlreports/API_Documentation
[htmlpublisher] Archiving at BUILD level
/var/lib/jenkins/jobs/FCE/build/code-browser to
/var/lib/jenkins/jobs/FCE/builds/2012-04-25_21-50-46/htmlreports/Code_Browser
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.4 (default)
[xUnit] [INFO] - [PHPUnit-3.4 (default)] - No test report file(s) were found
with the pattern '../build/logs/junit.xml' relative to
'/var/lib/jenkins/jobs/FCE/workspace' for the testing framework 'PHPUnit-3.4
(default)'. Did you enter a pattern relative to the correct directory? Did
you generate the result report(s) for 'PHPUnit-3.4 (default)'?
[xUnit] [ERROR] - No test reports found for the metric 'PHPUnit' with the
resolved pattern '../build/logs/junit.xml'. Configuration error?.
[xUnit] [INFO] - Setting the build status to FAILURE
[xUnit] [INFO] - Stopping recording.
Build step 'Publish testing tools result report' changed build result to FAILURE
[JDepend] JDepend plugin is ready
[JDepend] Found 8 classes in 1 packages
Finished: FAILURE
But I have a test file under ../build/logs/junit.xml that looks like this.
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="FCE" tests="0" assertions="0" failures="0" errors="0"
time="0.000000">
<testsuite name="IndexControllerTest"
file="/var/lib/jenkins/jobs/FCE/src/tests/application/controllers/IndexControllerTest.php"
tests="0" assertions="0" failures="0" errors="0" time="0.000000"/>
</testsuite>
</testsuites>
Any idea why this is failing?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira