Hello, we have a problem with the testng-plugin in case of a fail of a specific test. We are using the TestNG Results Plugin <http://wiki.jenkins-ci.org/display/JENKINS/testng-plugin> version 1.10 and Jenkins version 1.622.
We guess that the problem is caused by a specific problematic content of
the testng-results.xml file.
So this file is attached.
At the end of the build the following output is logged in the console:
+++++++++++++++++++++++++++++++++++++++++++++++++
[JENKINS] Zeichne Testergebnisse auf
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.627s
[INFO] Finished at: Wed Aug 19 15:40:56 CEST 2015
[INFO] Final Memory: 61M/458M
[INFO] ------------------------------------------------------------------------
Warte bis Jenkins die Datensammlung abgeschlossen hat
[JENKINS] Archiving /var/hudson/jobs/CBS20Test/workspace/pom.xml to
cbs20-core/net.creditlife.cbs20/1.0.1-SNAPSHOT/net.creditlife.cbs20-1.0.1-SNAPSHOT.pom
channel stopped
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern:
**/target/surefire-reports/testng-results.xml
Saving reports...
Processing '/var/hudson/jobs/CBS20Test/builds/7/testng/testng-results.xml'
Failed to parse XML: characters ]]> are not allowed in content (position:
CDSECT seen
...maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)\n]]>...
@73:4)
org.xmlpull.v1.XmlPullParserException: characters ]]> are not allowed in
content (position: CDSECT seen
...maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)\n]]>...
@73:4)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1343)
at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100)
at
hudson.plugins.testng.parser.ResultsParser.parse(ResultsParser.java:154)
at
hudson.plugins.testng.TestNGTestResultBuildAction.loadResults(TestNGTestResultBuildAction.java:120)
at hudson.plugins.testng.Publisher.perform(Publisher.java:126)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
at
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1047)
at
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
at hudson.model.Run.execute(Run.java:1766)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:381)
Found matching files but did not find any TestNG results.
Finished: UNSTABLE
++++++++++++++++++++++++++++++++++++++++++++++++++++
Thank you very much for any hint or solution.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/42b05ba5-7e67-4923-9153-056de96ef907%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
testng-results.xml
Description: XML document
