Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not A Defect
-
None
-
Hudson running on Linux (Ubuntu 10.04 LTS) with TestLink (1.9 RC1) on the same box.
Jenkins ver. 1.499, TestLink 1.9.5 and Testlink plugin 3.1.8
Description
I was hoping you could help me out with the below error I am receiving when attempting to use the testlink plugin for Hudson.
Here is a screen shot (also attached) of what my hudson project's configuration looks like for invoking the Testlink plugin: http://scrnsht.com/kypwgs
I have a custom field in TestLink with a label of "Automated Test Class" containing the full package name of my test class i.e. com.company.sourcing.gression.splittingTestSuite
Retrieving TestLink details about Test Project, Test Plan and Build.
FATAL: Error creating test project: Failed to parse server's response: The processing instruction target matching "[xX][mM][lL]" is not allowed.
br.eti.kinoshita.testlinkjavaapi.TestLinkAPIException: Error creating test project: Failed to parse server's response: The processing instruction target matching "[xX][mM][lL]" is not allowed.
at br.eti.kinoshita.testlinkjavaapi.TestProjectService.getTestProjectByName(TestProjectService.java:134)
at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.getTestProjectByName(TestLinkAPI.java:347)
at hudson.plugins.testlink.finder.AutomatedTestCasesFinder.retrieveTestLinkData(AutomatedTestCasesFinder.java:157)
at hudson.plugins.testlink.finder.AutomatedTestCasesFinder.findAutomatedTestCases(AutomatedTestCasesFinder.java:127)
at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:447)
at hudson.plugins.m2extrasteps.M2ExtraStepsWrapper.executeBuildSteps(M2ExtraStepsWrapper.java:166)
at hudson.plugins.m2extrasteps.M2ExtraStepsWrapper.setUp(M2ExtraStepsWrapper.java:126)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:521)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:420)
at hudson.model.Run.run(Run.java:1362)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:405)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
Caused by: org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse server's response: The processing instruction target matching "[xX][mM][lL]" is not allowed.
at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:188)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:156)
at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:158)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:147)
at br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:124)
at br.eti.kinoshita.testlinkjavaapi.TestProjectService.getTestProjectByName(TestProjectService.java:126)
... 12 more
Caused by: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:186)
... 21 more
ERROR: Error creating test project: Failed to parse server's response: The processing instruction target matching "[xX][mM][lL]" is not allowed.
Thank you so much, I do hope you can help out.
There was similar error, but the message was different. If you find similar issue again, please attach as much information as possible. In case you're having problems with the data exchanged between TestLink and Jenkins, in order to help, I might need you to sniff the connection between Jenkins and TL (using QDPF, Wireshark, or some other tool of your preference). I'm cutting a new release anyway, but feel free to add any comment here or let me know if you find any blocker.