Hi... im not sure if the problem is becouse im new to GoCD or is something
wired
I have a pipeline and in a test stage it generates Junit Report as XML
(tryed 1 XML per Test and All In One)
The xml is standar
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites>
<testsuite errors="0" failures="0" hostname="solaria" id="0"
name="TestOperacionFactory" package="com.loskysoft.app" skipped="0"
tests="2" time="0.885" timestamp="2016-06-23T00:15:40">
<properties>
.
.
.
</properties>
<testcase classname="com.loskysoft.app.TestOperacionFactory"
name="testObtenerOperacion" time="0.601" />
<testcase classname="com.loskysoft.app.TestOperacionFactory"
name="testFallarObtenerOperacion" time="0.003" />
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
<testsuite errors="0" failures="0" hostname="solaria" id="1"
name="TestTaskInformationService" package="com.loskysoft.app" skipped="0"
tests="4" time="0.356" timestamp="2016-06-23T00:15:42">
<properties>
and so
The TestTab in GoCD shows
Tests run: 0 , Failures: 0 , Not run: 0 , Time: .000 seconds.
No Tests Run
This project doesn't have any tests
But looking throu the log i find this error:
2016-06-23 00:32:32,970 ERROR [qtp1250610188-28] GRDDLTransformer:55 -
Could not convert to a graph. The document was:
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xunit="http://studios.thoughtworks.com/ontologies/2010/03/24-xunit#"
xmlns:java="http://xml.apache.org/xalan/java">
<xunit:hasFailure><xunit:Failure
rdf:about="urn:uuid:f2d19bdd-371d-4733-8e4f-40b68efa6b5f"><xunit:failureMessage
rdf:datatype="http://www.w3.org/2001/XMLSchema#string">com.loskysoft.app.TestOperacionFactory</xunit:failureMessage><xunit:failureType
rdf:datatype="http://www.w3.org/2001/XMLSchema#string">java.lang.ClassNotFoundException</xunit:failureType><xunit:failureStackTrace
rdf:datatype="http://www.w3.org/2001/XMLSchema#string">java.lang.ClassNotFoundException:
com.loskysoft.app.TestOperacionFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
.
.
.
com.thoughtworks.studios.shine.ShineRuntimeException: Could not create
graph from XML RDF!
at
com.thoughtworks.studios.shine.semweb.sesame.SesameGraph.addTriplesFromRDFXMLAbbrev(SesameGraph.java:285)
at
com.thoughtworks.studios.shine.semweb.grddl.GRDDLTransformer.transform(GRDDLTransformer.java:52)
at
com.thoughtworks.studios.shine.xunit.AntJUnitReportRDFizer.importXUnit(AntJUnitReportRDFizer.java:62)
at
com.thoughtworks.studios.shine.xunit.AntJUnitReportRDFizer.importFile(AntJUnitReportRDFizer.java:57)
at
com.thoughtworks.studios.shine.cruise.stage.details.XMLArtifactImporter.importXML(XMLArtifactImporter.java:72)
and so goes the stacktrace
What i dont know is if the problems is the XML report, something in the
enviroment where GoCD runs or where the error comes from
Any Help will be appreciated
Thanks in advance
Pablo
--
You received this message because you are subscribed to the Google Groups
"go-cd" 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/d/optout.