lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@gmail.com>
Subject Re: [JENKINS] Lucene-Solr-4.x-Linux (64bit/ibm-j9-jdk7) - Build # 752 - Failure!
Date Thu, 30 Aug 2012 20:30:17 GMT
Steve is this script for truncating output applied to all console
output or just for e-mail messages? I ask because I look at:

http://jenkins.sd-datasolutions.de/job/Lucene-Solr-4.x-Linux/752/consoleText

and I see:

[...truncated too long message...]

We need those full outputs on the server to be able to look back and
see what happened. For e-mail it can be truncated but not on the
server. Either this, or we must preserve full output report files
(tests-report.txt).

Dawid




On Thu, Aug 30, 2012 at 5:46 PM, Dawid Weiss <dawid.weiss@gmail.com> wrote:
>
> I will investigate this later today. Thanks Steve.
>
> Sent from mobile phone.
>
> On Aug 30, 2012 5:18 PM, "Steven A Rowe" <sarowe@syr.edu> wrote:
>>
>> There is a strange failure here in collecting test results (excerpted
>> below) - parsing of XML test output fails because there are missing closing
>> angle brackets on the last few elements in the file
>> <http://jenkins.sd-datasolutions.de/job/Lucene-Solr-4.x-Linux/ws/lucene/build/core/test/TEST-org.apache.lucene.util.junitcompat.TestBeforeAfterOverrides.xml/*view*/>:
>>
>> 114:    <testcase
>> classname="org.apache.lucene.util.junitcompat.TestBeforeAfterOverrides"
>> name="testBefore" time="0.011"/>
>> 115:    <testcase
>> classname="org.apache.lucene.util.junitcompat.TestBeforeAfterOverrides"
>> name="testAfter" time="0.011"/
>> 116:
>> 117:    <system-out><![CDATA[]]></system-out
>> 118:
>> 119:    <system-err><![CDATA[]]></system-err
>> 120:
>> 121: </testsuite>
>>
>> Steve
>>
>> -----Original Message-----
>> From: Policeman Jenkins Server [mailto:jenkins@sd-datasolutions.de]
>> Sent: Thursday, August 30, 2012 10:57 AM
>> To: dev@lucene.apache.org; markrmiller@apache.org
>> Subject: [JENKINS] Lucene-Solr-4.x-Linux (64bit/ibm-j9-jdk7) - Build # 752
>> - Failure!
>>
>> [...]
>>
>> Recording test results
>> ERROR: Failed to archive test reports
>> hudson.util.IOException2: Failed to read
>> /var/lib/jenkins/workspace/Lucene-Solr-4.x-Linux/lucene/build/core/test/TEST-org.apache.lucene.util.junitcompat.TestBeforeAfterOverrides.xml
>>         at hudson.tasks.junit.TestResult.parse(TestResult.java:244)
>>         at hudson.tasks.junit.TestResult.parse(TestResult.java:163)
>>         at hudson.tasks.junit.TestResult.parse(TestResult.java:140)
>>         at hudson.tasks.junit.TestResult.<init>(TestResult.java:116)
>>         at
>> hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:117)
>>         at
>> hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:90)
>>         at hudson.FilePath.act(FilePath.java:842)
>>         at hudson.FilePath.act(FilePath.java:824)
>>         at hudson.tasks.junit.JUnitParser.parse(JUnitParser.java:87)
>>         at
>> hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:122)
>>         at
>> hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:134)
>>         at
>> hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
>>         at
>> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
>>         at
>> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
>>         at hudson.model.Build$BuildExecution.post2(Build.java:183)
>>         at
>> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
>>         at hudson.model.Run.execute(Run.java:1527)
>>         at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>>         at
>> hudson.model.ResourceController.execute(ResourceController.java:88)
>>         at hudson.model.Executor.run(Executor.java:236)
>> Caused by: org.dom4j.DocumentException: Error on line 115 of document
>> file:///var/lib/jenkins/workspace/Lucene-Solr-4.x-Linux/lucene/build/core/test/TEST-org.apache.lucene.util.junitcompat.TestBeforeAfterOverrides.xml
>> : Element type "testcase" must be followed by either attribute
>> specifications, ">" or "/>". Nested exception: Element type "testcase" must
>> be followed by either attribute specifications, ">" or "/>".
>>         at org.dom4j.io.SAXReader.read(SAXReader.java:482)
>>         at org.dom4j.io.SAXReader.read(SAXReader.java:264)
>>         at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:112)
>>         at hudson.tasks.junit.TestResult.parse(TestResult.java:227)
>>         ... 19 more
>> Caused by: org.xml.sax.SAXParseException: Element type "testcase" must be
>> followed by either attribute specifications, ">" or "/>".
>>         at
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
>>         at
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1427)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.seekCloseOfStartTag(XMLDocumentFragmentScannerImpl.java:1389)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:285)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
>>         at
>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
>>         at org.dom4j.io.SAXReader.read(SAXReader.java:465)
>>         ... 22 more
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message