Hi list. First time Jenkins user after convincing talk by Kohsuke this
weekend at SCALE.

(debian 6, x86-64, installed jenkins via apt with instruction on site)

I have do-nothing test job with a single shell script:

#!/bin/bash
echo '<?xml version="1.0"?> \
<testsuites xmlns="http://check.sourceforge.net/ns";> \
  <datetime>2013-02-26 16:42:55</datetime> \
  <suite> \
    <title>Money</title> \
    <test result="success"> \
      <path>.</path> \
      <fn>check_money.c:11</fn> \
      <id>test_money_create</id> \
      <iteration>0</iteration> \
      <description>Core</description> \
      <message>Passed</message> \
    </test> \
  </suite> \
  <duration>0.000000</duration> \
</testsuites>' > test.xml

This simulates the creation of output from the check unit test
framework (as in I'm working through the tutorial on that and just did
copy and paste). I then configure xunit for check input, and on the
latest stable version of everything (just installed today) I get:

Started by user anonymous
Building in workspace /var/lib/jenkins/jobs/abc/workspace
[workspace] $ /bin/bash /tmp/hudson4828177257409456886.sh
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing Check-Version N/A (default)
[xUnit] [INFO] - [Check-Version N/A (default)] - 1 test report file(s)
were found with the pattern '*.xml' relative to
'/var/lib/jenkins/jobs/abc/workspace' for the testing framework
'Check-Version N/A (default)'. [xUnit] [ERROR] - Conversion error Error
to convert - A file not found ERROR: Publisher
org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception
hudson.util.IOException2: There are some problems during the conversion
into JUnit reports: at
com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:164)
at
com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:37)
at hudson.FilePath.act(FilePath.java:865) at
hudson.FilePath.act(FilePath.java:838) at
org.jenkinsci.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:171)
at
org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:116)
at
org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:93)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:814)
at
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:786)
at hudson.model.Build$BuildExecution.post2(Build.java:183) at
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:733)
at hudson.model.Run.execute(Run.java:1593) at
hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at
hudson.model.ResourceController.execute(ResourceController.java:88) at
hudson.model.Executor.run(Executor.java:237) Caused by:
com.thalesgroup.hudson.plugins.xunit.exception.XUnitException:
Conversion error Error to convert - A file not found at
com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:89)
at
com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:135)
 ...
15 more Caused by:
com.thalesgroup.dtkit.util.converter.ConversionException: Error to
convert - A file not found at
com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:358)
at
com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:172)
at
com.thalesgroup.dtkit.metrics.model.InputMetricXSL.convert(InputMetricXSL.java:194)
at
com.thalesgroup.dtkit.metrics.model.InputMetricXSL.convert(InputMetricXSL.java:202)
at
com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionService.java:124)
at
com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:82)
 ...
16 more Caused by: org.xml.sax.SAXParseException: Content is not
allowed in prolog. at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:253)
at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
at
com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:316)
 ...
21 more Finished: FAILURE

Any ideas?

-- 
C. Thomas Stover
www.thomasstover.com


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to