It's all about the answers!

Ask a question

Jazz Build cppunitLogPublisher Error


Guy Sleigh (623) | asked Jun 13 '14, 6:44 a.m.
edited Jun 13 '14, 10:48 a.m. by Ralph Schoon (55.8k23642)
Hi There

I have been experiencing some problems using Jazz RTC Build engine. I have an ANT script which I have been using to publish CPPUnit test results from XML. This works without error until recently when there have been a much greater number of tests in the published XML and the scrip starts to throw a java.lang.StringIndexOutOfBoundsException.

I've attached a working file 'EMM_UnitTesting.XML' which contains 11 test and publishes to RTC without error and a broken file 'EMI_UnitTesting.xml' I've checking the encoding types and they are correct. Any ideas what could be causing  this error? Beyond the number of tests to publish I can't see any other reason for this problem to occur !

Thanks in advance

Guy

apache-ant ver : 1.9.3

JDK 1.7.0

Output from build engine:

publishCppUnitTests:

[cppunitLogPublisher] Not using a proxy to reach https://rtc:****/***/ [cppunitLogPublisher]  INFO [main] (HttpMethodDirector.java:847) - Authentication requested but doAuthentication is disabled [cppunitLogPublisher] Publishing test log "Z:\workspaces\MMTH\EGA\EMI_UnitTesting\RHEL_5.1_i386\Debug\EMI_UnitTesting.xml".

[cppunitLogPublisher] java.lang.StringIndexOutOfBoundsException

[cppunitLogPublisher]   at java.lang.String.substring(String.java:1131)

[cppunitLogPublisher]   at com.ibm.team.build.internal.toolkit.cppunit.CppUnitParser.endElement(CppUnitParser.java:176)

[cppunitLogPublisher]   at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)

[cppunitLogPublisher]   at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)

[cppunitLogPublisher]   at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

[cppunitLogPublisher]   at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

[cppunitLogPublisher]   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

[cppunitLogPublisher]   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

[cppunitLogPublisher]   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

[cppunitLogPublisher]   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

[cppunitLogPublisher]   at com.ibm.team.build.internal.toolkit.unit.UnitParser.parse(UnitParser.java:54)

[cppunitLogPublisher]   at com.ibm.team.build.internal.toolkit.cppunit.CppUnitParser.parse(CppUnitParser.java:85)

[cppunitLogPublisher]   at com.ibm.team.build.internal.toolkit.unit.UnitLogParser.parse(UnitLogParser.java:77)

[cppunitLogPublisher]   at com.ibm.team.build.internal.toolkit.unit.UnitLogParser.parse(UnitLogParser.java:66)

[cppunitLogPublisher]   at com.ibm.team.build.internal.toolkit.unit.UnitLogPublisher.publishFile(UnitLogPublisher.java:222)

[cppunitLogPublisher]   at com.ibm.team.build.internal.toolkit.unit.UnitLogPublisher.publish(UnitLogPublisher.java:180)

[cppunitLogPublisher]   at com.ibm.team.build.ant.task.UnitLogPublisherTask.updateBuildResult(UnitLogPublisherTask.java:131)

[cppunitLogPublisher]   at com.ibm.team.build.ant.task.AbstractPublisherTask.doExecute(AbstractPublisherTask.java:105)

[cppunitLogPublisher]   at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:655)

[cppunitLogPublisher]   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)

[cppunitLogPublisher]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[cppunitLogPublisher]   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

[cppunitLogPublisher]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

[cppunitLogPublisher]   at java.lang.reflect.Method.invoke(Method.java:613)

[cppunitLogPublisher]   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

[cppunitLogPublisher]   at org.apache.tools.ant.Task.perform(Task.java:348)

[cppunitLogPublisher]   at org.apache.tools.ant.Target.execute(Target.java:435)

[cppunitLogPublisher]   at org.apache.tools.ant.Target.performTasks(Target.java:456)

[cppunitLogPublisher]   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)

[cppunitLogPublisher]   at org.apache.tools.ant.Project.executeTarget(Project.java:1364)

[cppunitLogPublisher]   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

[cppunitLogPublisher]   at org.apache.tools.ant.Project.executeTargets(Project.java:1248)

[cppunitLogPublisher]   at org.apache.tools.ant.Main.runBuild(Main.java:851)

[cppunitLogPublisher]   at org.apache.tools.ant.Main.startAnt(Main.java:235)

[cppunitLogPublisher]   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)

[cppunitLogPublisher]   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

 

BUILD FAILED

Z:\scripts\jazzbuild.xml:74: java.lang.StringIndexOutOfBoundsException

                at java.lang.String.substring(String.java:1131)

                at com.ibm.team.build.internal.toolkit.cppunit.CppUnitParser.endElement(CppUnitParser.java:176)

                at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)

                at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

                at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

                at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

                at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

                at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

                at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

                at com.ibm.team.build.internal.toolkit.unit.UnitParser.parse(UnitParser.java:54)

                at com.ibm.team.build.internal.toolkit.cppunit.CppUnitParser.parse(CppUnitParser.java:85)

                at com.ibm.team.build.internal.toolkit.unit.UnitLogParser.parse(UnitLogParser.java:77)

                at com.ibm.team.build.internal.toolkit.unit.UnitLogParser.parse(UnitLogParser.java:66)

                at com.ibm.team.build.internal.toolkit.unit.UnitLogPublisher.publishFile(UnitLogPublisher.java:222)

                at com.ibm.team.build.internal.toolkit.unit.UnitLogPublisher.publish(UnitLogPublisher.java:180)

                at com.ibm.team.build.ant.task.UnitLogPublisherTask.updateBuildResult(UnitLogPublisherTask.java:131)

                at com.ibm.team.build.ant.task.AbstractPublisherTask.doExecute(AbstractPublisherTask.java:105)

                at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:655)

                at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

                at java.lang.reflect.Method.invoke(Method.java:613)

                at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

                at org.apache.tools.ant.Task.perform(Task.java:348)

                at org.apache.tools.ant.Target.execute(Target.java:435)

                at org.apache.tools.ant.Target.performTasks(Target.java:456)

                at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)

                at org.apache.tools.ant.Project.executeTarget(Project.java:1364)

                at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

                at org.apache.tools.ant.Project.executeTargets(Project.java:1248)

                at org.apache.tools.ant.Main.runBuild(Main.java:851)

                at org.apache.tools.ant.Main.startAnt(Main.java:235)

                at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)

                at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Broken XML (Not publishing) <?xml version="1.0" encoding="ISO-8859-1" standalone="true"?>
-<TestRun><FailedTests/>-<SuccessfulTests>-<Test id="1"><Name>MsgCPDTest::testMsgId</Name></Test>-<Test id="2"><Name>MsgCPDTest::testHeaderLength</Name></Test>-<Test id="3"><Name>MsgCPDTest::testPopulate</Name></Test>-<Test id="4"><Name>MsgCPDTest::testSerialize</Name></Test>-<Test id="5"><Name>MsgCPDTest::testCheckInRange</Name></Test>-<Test id="6"><Name>MsgCPDTest::testCheckAboveRange</Name></Test>-<Test id="7"><Name>MsgCPDTest::testCheckAndMark</Name></Test>-<Test id="8"><Name>MsgCPDTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="9"><Name>MsgCPDTest::testLoadInvalidConfig</Name></Test>-<Test id="10"><Name>MsgCPDTest::testLoadNoConfigGiven</Name></Test>-<Test id="11"><Name>MsgCPDTest::testLoadNonExistantConfig</Name></Test>-<Test id="12"><Name>MsgCPDTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="13"><Name>MsgPasContactsTest::testMsgId</Name></Test>-<Test id="14"><Name>MsgPasContactsTest::testHeaderLength</Name></Test>-<Test id="15"><Name>MsgPasContactsTest::testPopulate</Name></Test>-<Test id="16"><Name>MsgPasContactsTest::testSerialize</Name></Test>-<Test id="17"><Name>MsgPasContactsTest::testCheckInRange</Name></Test>-<Test id="18"><Name>MsgPasContactsTest::testCheckAboveRange</Name></Test>-<Test id="19"><Name>MsgPasContactsTest::testCheckBelowRange</Name></Test>-<Test id="20"><Name>MsgPasContactsTest::testCheckAndMark</Name></Test>-<Test id="21"><Name>MsgPasContactsTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="22"><Name>MsgPasContactsTest::testLoadInvalidConfig</Name></Test>-<Test id="23"><Name>MsgPasContactsTest::testLoadNoConfigGiven</Name></Test>-<Test id="24"><Name>MsgPasContactsTest::testLoadNonExistantConfig</Name></Test>-<Test id="25"><Name>MsgPasContactsTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="26"><Name>UessClusteredPrimitiveDetectionTest::testPopulate</Name></Test>-<Test id="27"><Name>UessClusteredPrimitiveDetectionTest::testCheckInRange</Name></Test>-<Test id="28"><Name>UessClusteredPrimitiveDetectionTest::testCheckAboveRange</Name></Test>-<Test id="29"><Name>UessClusteredPrimitiveDetectionTest::testCheckBelowRange</Name></Test>-<Test id="30"><Name>MsgPasFmGramTest::testMsgId</Name></Test>-<Test id="31"><Name>MsgPasFmGramTest::testHeaderLength</Name></Test>-<Test id="32"><Name>MsgPasFmGramTest::testPopulate</Name></Test>-<Test id="33"><Name>MsgPasFmGramTest::testSerialize</Name></Test>-<Test id="34"><Name>MsgPasFmGramTest::testCheckInRange</Name></Test>-<Test id="35"><Name>MsgPasFmGramTest::testCheckAboveRange</Name></Test>-<Test id="36"><Name>MsgPasFmGramTest::testCheckBelowRange</Name></Test>-<Test id="37"><Name>MsgPasFmGramTest::testCheckAndMark</Name></Test>-<Test id="38"><Name>MsgPasFmGramTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="39"><Name>MsgPasFmGramTest::testLoadInvalidConfig</Name></Test>-<Test id="40"><Name>MsgPasFmGramTest::testLoadNoConfigGiven</Name></Test>-<Test id="41"><Name>MsgPasFmGramTest::testLoadNonExistantConfig</Name></Test>-<Test id="42"><Name>MsgPasFmGramTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="43"><Name>MsgPasFmGramTest::testCsvPopulateClosingComma</Name></Test>-<Test id="44"><Name>MsgPasCwGramTest::testMsgId</Name></Test>-<Test id="45"><Name>MsgPasCwGramTest::testHeaderLength</Name></Test>-<Test id="46"><Name>MsgPasCwGramTest::testPopulate</Name></Test>-<Test id="47"><Name>MsgPasCwGramTest::testSerialize</Name></Test>-<Test id="48"><Name>MsgPasCwGramTest::testCheckInRange</Name></Test>-<Test id="49"><Name>MsgPasCwGramTest::testCheckAboveRange</Name></Test>-<Test id="50"><Name>MsgPasCwGramTest::testCheckBelowRange</Name></Test>-<Test id="51"><Name>MsgPasCwGramTest::testCheckAndMark</Name></Test>-<Test id="52"><Name>MsgPasCwGramTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="53"><Name>MsgPasCwGramTest::testLoadInvalidConfig</Name></Test>-<Test id="54"><Name>MsgPasCwGramTest::testLoadNoConfigGiven</Name></Test>-<Test id="55"><Name>MsgPasCwGramTest::testLoadNonExistantConfig</Name></Test>-<Test id="56"><Name>MsgPasCwGramTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="57"><Name>MsgPasCwGramTest::testCsvPopulateClosingComma</Name></Test>-<Test id="58"><Name>MsgPasAnalysisDataTest::testMsgId</Name></Test>-<Test id="59"><Name>MsgPasAnalysisDataTest::testHeaderLength</Name></Test>-<Test id="60"><Name>MsgPasAnalysisDataTest::testPopulate</Name></Test>-<Test id="61"><Name>MsgPasAnalysisDataTest::testSerialize</Name></Test>-<Test id="62"><Name>MsgPasAnalysisDataTest::testCheckInRange</Name></Test>-<Test id="63"><Name>MsgPasAnalysisDataTest::testCheckAboveRange</Name></Test>-<Test id="64"><Name>MsgPasAnalysisDataTest::testCheckBelowRange</Name></Test>-<Test id="65"><Name>MsgPasAnalysisDataTest::testCheckAndMark</Name></Test>-<Test id="66"><Name>MsgPasAnalysisDataTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="67"><Name>MsgPasAnalysisDataTest::testLoadInvalidConfig</Name></Test>-<Test id="68"><Name>MsgPasAnalysisDataTest::testLoadNoConfigGiven</Name></Test>-<Test id="69"><Name>MsgPasAnalysisDataTest::testLoadNonExistantConfig</Name></Test>-<Test id="70"><Name>MsgPasAnalysisDataTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="71"><Name>MsgPasAnalysisDataTest::testCsvPopulateClosingComma</Name></Test>-<Test id="72"><Name>MsgPasContactReqTest::testMsgId</Name></Test>-<Test id="73"><Name>MsgPasContactReqTest::testHeaderLength</Name></Test>-<Test id="74"><Name>MsgPasContactReqTest::testPopulate</Name></Test>-<Test id="75"><Name>MsgPasContactReqTest::testSerialize</Name></Test>-<Test id="76"><Name>MsgPasContactReqTest::testCheckInRange</Name></Test>-<Test id="77"><Name>MsgPasContactReqTest::testCheckAboveRange</Name></Test>-<Test id="78"><Name>MsgPasContactReqTest::testCheckBelowRange</Name></Test>-<Test id="79"><Name>MsgPasContactReqTest::testCheckAndMark</Name></Test>-<Test id="80"><Name>MsgPasContactReqTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="81"><Name>MsgPasContactReqTest::testLoadInvalidConfig</Name></Test>-<Test id="82"><Name>MsgPasContactReqTest::testLoadNoConfigGiven</Name></Test>-<Test id="83"><Name>MsgPasContactReqTest::testLoadNonExistantConfig</Name></Test>-<Test id="84"><Name>MsgPasContactReqTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="85"><Name>MsgPasContactReqTest::testCsvPopulateClosingComma</Name></Test>-<Test id="86"><Name>MsgAnalysisReqTest::testMsgId</Name></Test>-<Test id="87"><Name>MsgAnalysisReqTest::testHeaderLength</Name></Test>-<Test id="88"><Name>MsgAnalysisReqTest::testPopulate</Name></Test>-<Test id="89"><Name>MsgAnalysisReqTest::testSerialize</Name></Test>-<Test id="90"><Name>MsgAnalysisReqTest::testCheckInRange</Name></Test>-<Test id="91"><Name>MsgAnalysisReqTest::testCheckAboveRange</Name></Test>-<Test id="92"><Name>MsgAnalysisReqTest::testCheckBelowRange</Name></Test>-<Test id="93"><Name>MsgAnalysisReqTest::testCheckAndMark</Name></Test>-<Test id="94"><Name>MsgAnalysisReqTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="95"><Name>MsgAnalysisReqTest::testLoadInvalidConfig</Name></Test>-<Test id="96"><Name>MsgAnalysisReqTest::testLoadNoConfigGiven</Name></Test>-<Test id="97"><Name>MsgAnalysisReqTest::testLoadNonExistantConfig</Name></Test>-<Test id="98"><Name>MsgAnalysisReqTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="99"><Name>MsgAnalysisReqTest::testCsvPopulateClosingComma</Name></Test>-<Test id="100"><Name>MsgPingEventTest::testMsgId</Name></Test>-<Test id="101"><Name>MsgPingEventTest::testHeaderLength</Name></Test>-<Test id="102"><Name>MsgPingEventTest::testPopulate</Name></Test>-<Test id="103"><Name>MsgPingEventTest::testSerialize</Name></Test>-<Test id="104"><Name>MsgPingEventTest::testCheckInRange</Name></Test>-<Test id="105"><Name>MsgPingEventTest::testCheckAboveRange</Name></Test>-<Test id="106"><Name>MsgPingEventTest::testCheckBelowRange</Name></Test>-<Test id="107"><Name>MsgPingEventTest::testCheckAndMark</Name></Test>-<Test id="108"><Name>MsgPingEventTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="109"><Name>MsgPingEventTest::testLoadInvalidConfig</Name></Test>-<Test id="110"><Name>MsgPingEventTest::testLoadNoConfigGiven</Name></Test>-<Test id="111"><Name>MsgPingEventTest::testLoadNonExistantConfig</Name></Test>-<Test id="112"><Name>MsgPingEventTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="113"><Name>MsgPingEventTest::testCsvPopulateClosingComma</Name></Test>-<Test id="114"><Name>MsgReverbGateTest::testMsgId</Name></Test>-<Test id="115"><Name>MsgReverbGateTest::testHeaderLength</Name></Test>-<Test id="116"><Name>MsgReverbGateTest::testPopulate</Name></Test>-<Test id="117"><Name>MsgReverbGateTest::testSerialize</Name></Test>-<Test id="118"><Name>MsgReverbGateTest::testCheckInRange</Name></Test>-<Test id="119"><Name>MsgReverbGateTest::testCheckAboveRange</Name></Test>-<Test id="120"><Name>MsgReverbGateTest::testCheckBelowRange</Name></Test>-<Test id="121"><Name>MsgReverbGateTest::testCheckAndMark</Name></Test>-<Test id="122"><Name>MsgReverbGateTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="123"><Name>MsgReverbGateTest::testLoadInvalidConfig</Name></Test>-<Test id="124"><Name>MsgReverbGateTest::testLoadNoConfigGiven</Name></Test>-<Test id="125"><Name>MsgReverbGateTest::testLoadNonExistantConfig</Name></Test>-<Test id="126"><Name>MsgReverbGateTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="127"><Name>MsgReverbGateTest::testCsvPopulateClosingComma</Name></Test>-<Test id="128"><Name>MsgBuoyDataTest::testMsgId</Name></Test>-<Test id="129"><Name>MsgBuoyDataTest::testHeaderLength</Name></Test>+<Test id="130">-<Test id="131"><Name>MsgBuoyDataTest::testSerialize</Name></Test>-<Test id="132"><Name>MsgBuoyDataTest::testCheckInRange</Name></Test>-<Test id="133"><Name>MsgBuoyDataTest::testCheckAboveRange</Name></Test>-<Test id="134"><Name>MsgBuoyDataTest::testCheckBelowRange</Name></Test>-<Test id="135"><Name>MsgBuoyDataTest::testCheckAndMark</Name></Test>-<Test id="136"><Name>MsgBuoyDataTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="137"><Name>MsgBuoyDataTest::testLoadInvalidConfig</Name></Test>-<Test id="138"><Name>MsgBuoyDataTest::testLoadNoConfigGiven</Name></Test>-<Test id="139"><Name>MsgBuoyDataTest::testLoadNonExistantConfig</Name></Test>-<Test id="140"><Name>MsgBuoyDataTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="141"><Name>MsgBuoyDataTest::testCsvPopulateClosingComma</Name></Test>-<Test id="142"><Name>MsgAcousticDataTest::testMsgId</Name></Test>-<Test id="143"><Name>MsgAcousticDataTest::testHeaderLength</Name></Test>-<Test id="144"><Name>MsgAcousticDataTest::testPopulate</Name></Test>-<Test id="145"><Name>MsgAcousticDataTest::testSerialize</Name></Test>-<Test id="146"><Name>MsgAcousticDataTest::testCheckInRange</Name></Test>-<Test id="147"><Name>MsgAcousticDataTest::testCheckAboveRange</Name></Test>-<Test id="148"><Name>MsgAcousticDataTest::testCheckBelowRange</Name></Test>-<Test id="149"><Name>MsgAcousticDataTest::testCheckAndMark</Name></Test>-<Test id="150"><Name>MsgAcousticDataTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="151"><Name>MsgAcousticDataTest::testLoadInvalidConfig</Name></Test>-<Test id="152"><Name>MsgAcousticDataTest::testLoadNoConfigGiven</Name></Test>-<Test id="153"><Name>MsgAcousticDataTest::testLoadNonExistantConfig</Name></Test>-<Test id="154"><Name>MsgAcousticDataTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="155"><Name>MsgAcousticDataTest::testCsvPopulateClosingComma</Name></Test>-<Test id="156"><Name>MsgSOSTest::testMsgId</Name></Test>-<Test id="157"><Name>MsgSOSTest::testHeaderLength</Name></Test>-<Test id="158"><Name>MsgSOSTest::testCsvPopulateLongCsvString</Name></Test>-<Test id="159"><Name>MsgSOSTest::testCsvPopulateShortCsvString</Name></Test>-<Test id="160"><Name>MsgSOSTest::testCsvPopulateClosingComma</Name></Test>-<Test id="161"><Name>MsgSOSTest::testCsvPopulateVelocity</Name></Test>-<Test id="162"><Name>MsgSOSTest::testCsvPopulateDoesNotOverwriteIdAndLength</Name></Test>-<Test id="163"><Name>MsgSOSTest::testLoadInvalidConfig</Name></Test>-<Test id="164"><Name>MsgSOSTest::testLoadNonExistantConfig</Name></Test>-<Test id="165"><Name>MsgSOSTest::testLoadNoConfigGiven</Name></Test>-<Test id="166"><Name>MsgSOSTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="167"><Name>MsgSOSTest::testCheckValidVelocityInRange</Name></Test>-<Test id="168"><Name>MsgSOSTest::testCheckValidVelocityMaxInclusive</Name></Test>-<Test id="169"><Name>MsgSOSTest::testCheckInvalidVelocityOutOfRange</Name></Test>-<Test id="170"><Name>MsgSOSTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="171"><Name>MsgSOSTest::testSerialise</Name></Test>-<Test id="172"><Name>MsgMpmResponseTest::testMsgId</Name></Test>-<Test id="173"><Name>MsgMpmResponseTest::testHeaderLength</Name></Test>-<Test id="174"><Name>MsgMpmResponseTest::testInitialState</Name></Test>-<Test id="175"><Name>MsgMpmResponseTest::testCsvPopulateLongCsvString</Name></Test>-<Test id="176"><Name>MsgMpmResponseTest::testCsvPopulateShortCsvString</Name></Test>-<Test id="177"><Name>MsgMpmResponseTest::testCsvPopulateClosingComma</Name></Test>-<Test id="178"><Name>MsgMpmResponseTest::testCsvPopulate</Name></Test>-<Test id="179"><Name>MsgMpmResponseTest::testCsvPopulateDoesNotOverwriteIdAndLength</Name></Test>-<Test id="180"><Name>MsgMpmResponseTest::testLoadInvalidConfig</Name></Test>-<Test id="181"><Name>MsgMpmResponseTest::testLoadNonExistantConfig</Name></Test>-<Test id="182"><Name>MsgMpmResponseTest::testLoadNoConfigGiven</Name></Test>-<Test id="183"><Name>MsgMpmResponseTest::testCheckFailsWhenNoConfigLoaded</Name></Test>-<Test id="184"><Name>MsgMpmResponseTest::testCheckAllInRange</Name></Test>-<Test id="185"><Name>MsgMpmResponseTest::testCheckAckMsgIdMinOutsideRange</Name></Test>-<Test id="186"><Name>MsgMpmResponseTest::testCheckAckMsgIdMinInclusive</Name></Test>-<Test id="187"><Name>MsgMpmResponseTest::testCheckAckMsgIdMaxOutsideRange</Name></Test>-<Test id="188"><Name>MsgMpmResponseTest::testCheckAckMsgIdMaxInclusive</Name></Test>-<Test id="189"><Name>MsgMpmResponseTest::testCheckAckSeqCountMinInclusive</Name></Test>-<Test id="190"><Name>MsgMpmResponseTest::testCheckAckSeqCountMaxInclusive</Name></Test>-<Test id="191"><Name>MsgMpmResponseTest::testCheckAckFlagMinInclusive</Name></Test>-<Test id="192"><Name>MsgMpmResponseTest::testCheckAckFlagMinOutsideRange</Name></Test>-<Test id="193"><Name>MsgMpmResponseTest::testCheckAckFlagMaxInclusive</Name></Test>-<Test id="194"><Name>MsgMpmResponseTest::testCheckAckFlagMaxOutsideRange</Name></Test>-<Test id="195"><Name>MsgMpmResponseTest::testCheckAckCodeMinOutsideRange</Name></Test>-<Test id="196"><Name>MsgMpmResponseTest::testCheckAckCodeMinInclusive</Name></Test>-<Test id="197"><Name>MsgMpmResponseTest::testCheckAckCodeMaxOutsideRange</Name></Test>-<Test id="198"><Name>MsgMpmResponseTest::testCheckAckCodeMaxInclusive</Name></Test>-<Test id="199"><Name>MsgMpmResponseTest::testCheckAckTextInValid</Name></Test>-<Test id="200"><Name>MsgMpmResponseTest::testMemCopySourceCorrectSizeForSerialise</Name></Test>-<Test id="201"><Name>MsgMpmResponseTest::testSerialise</Name></Test>-<Test id="202"><Name>MsgMpmResponseTest::testSerialiseFromNullBuffer</Name></Test>-<Test id="203"><Name>MsgMpmResponseTest::testIncrementSeqCount</Name></Test>-<Test id="204"><Name>HBTest::testStatus</Name></Test>-<Test id="205"><Name>HBTest::testVersion</Name></Test>-<Test id="206"><Name>HBTest::testCsvPopulate</Name></Test>-<Test id="207"><Name>HBTest::testMsgId</Name></Test>-<Test id="208"><Name>HBTest::testMsgLength</Name></Test>-<Test id="209"><Name>HBTest::testSerialise</Name></Test>-<Test id="210"><Name>HBTest::testCheckAndMark</Name></Test>-<Test id="211"><Name>HBTest::testCheckAboveRange</Name></Test>-<Test id="212"><Name>HBTest::testCheckInRange</Name></Test>-<Test id="213"><Name>MsgFactoryTest::testPrepareMsgFromBin</Name></Test>-<Test id="214"><Name>MsgFactoryTest::testPrepareMsgFromCsv</Name></Test>-<Test id="215"><Name>MsgFactoryTest::testPrepareMsgWithInvalidCsv</Name></Test>-<Test id="216"><Name>MsgFactoryTest::testGetLargestMsgSize</Name></Test>-<Test id="217"><Name>FileIoHelperTest::testCsvFloatToFloat</Name></Test>-<Test id="218"><Name>FileIoHelperTest::testCsvIntToInt</Name></Test>-<Test id="219"><Name>FileIoHelperTest::testCsvCharsToFloat</Name></Test>-<Test id="220"><Name>FileIoHelperTest::testCsvMixedToMixedCorrectDelim</Name></Test>-<Test id="221"><Name>FileIoHelperTest::testCsvMixedToMixedInCorrectDelim</Name></Test>-<Test id="222"><Name>FileIoHelperTest::testCsvStringWithSpaces</Name></Test>-<Test id="223"><Name>HeaderTest::testCheck</Name></Test>-<Test id="224"><Name>HeaderTest::testLength</Name></Test>-<Test id="225"><Name>HeaderTest::testIdentifier</Name></Test>-<Test id="226"><Name>HeaderTest::testSequence</Name></Test>-<Test id="227"><Name>HeaderTest::testCsvPopulate</Name></Test>-<Test id="228"><Name>HeaderTest::testSerialise</Name></Test>-<Test id="229"><Name>CheckingStrategyTest::testClearResult</Name></Test>-<Test id="230"><Name>CheckingStrategyTest::testFloatRangeIsInRangeMinInclusive</Name></Test>-<Test id="231"><Name>CheckingStrategyTest::testFloatRangeIsInRangeMaxInclusive</Name></Test>-<Test id="232"><Name>CheckingStrategyTest::testFloatRangeIsInRangeWithinMinMax</Name></Test>-<Test id="233"><Name>CheckingStrategyTest::testFloatRangeIsInRangeSkipCheck</Name></Test>-<Test id="234"><Name>CheckingStrategyTest::testFloatRangeIsInRangeValueList</Name></Test>-<Test id="235"><Name>CheckingStrategyTest::testFloatRangeIsNotInRangeWithinMinMax</Name></Test>-<Test id="236"><Name>CheckingStrategyTest::testFloatRangeIsNotInRangeValueList</Name></Test>-<Test id="237"><Name>CheckingStrategyTest::testStringAsciiPatternWithAsciiText</Name></Test>-<Test id="238"><Name>CheckingStrategyTest::testStringAsciiPatternWithUtf8Text</Name></Test></SuccessfulTests>-<Statistics><Tests>238</Tests><FailuresTotal>0</FailuresTotal><Errors>0</Errors><Failures>0</Failures></Statistics></TestRun>

Working XML

<?xml version="1.0" encoding="ISO-8859-1" standalone="true"?>

<TestRun> <FailedTests/> <SuccessfulTests> <Test id="1"> <Name>ConverterTest::testConvertToBin</Name> </Test> <Test id="2"> <Name>ConverterTest::testConvertToCsv</Name> </Test> <Test id="3"> <Name>ConverterTest::testConvertToBinInvalidExt</Name> </Test> <Test id="4"> <Name>ConverterTest::testConvertToCsvInvalidExt</Name> </Test> <Test id="5"> <Name>ConverterTest::testConvertToBinMultipleNewLines</Name> </Test> <Test id="6"> <Name>ConverterTest::testConvertToBinInvalidData</Name> </Test> <Test id="7"> <Name>LoggerTest::testInitialise</Name> </Test> <Test id="8"> <Name>LoggerTest::testLog</Name> </Test> <Test id="9"> <Name>LoggerTest::testMsgSeparator</Name> </Test> <Test id="10"> <Name>LoggerTest::testLogFreq</Name> </Test> <Test id="11"> <Name>LoggerTest::testFileSwitch</Name> </Test> </SuccessfulTests> <Statistics> <Tests>11</Tests> <FailuresTotal>0</FailuresTotal> <Errors>0</Errors> <Failures>0</Failures> </Statistics> </TestRun>


Comments
Donald Nong commented Jun 17 '14, 1:44 a.m.

This look too similar to this one.
https://jazz.net/forum/questions/59351/build-failing-posting-results-of-cppunitlogpublisher
I think we need a developer to debug it.

Be the first one to answer this question!


Register or to post your answer.