lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Build failed in Hudson: Solr-trunk #1277
Date Wed, 13 Oct 2010 09:18:13 GMT
This is a strange error sometimes occurring (also for some lucene build), it's not related
to the last build changes. Somehow hudson's clover plugin is sometimes unable to parse the
xml file (but its correct, parses fine when I download and look into it).

Mysterious!

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Apache Hudson Server [mailto:hudson@hudson.apache.org]
> Sent: Wednesday, October 13, 2010 11:07 AM
> To: dev@lucene.apache.org
> Subject: Build failed in Hudson: Solr-trunk #1277
> 
> See <https://hudson.apache.org/hudson/job/Solr-trunk/1277/changes>
> 
> Changes:
> 
> [uschindler] copy changes.html to artifacts folder
> 
> [uschindler] make dir structure same as everywhere else
> 
> [rmuir] SOLR-2002: explicitly set connection-timeout for this test, otherwise the
> os could have a verrrrry long default
> 
> [rmuir] SOLR-2002: try setting SO_REUSEADDR during jetty tests to prevent
> failures for disconnect/reconnect tests
> 
> [uschindler] enable parallel tests for hourly tests
> 
> [uschindler] add correct solr tests xml formatting
> 
> [uschindler] build also contrib with 1.5
> 
> [uschindler] again...
> 
> [uschindler] fix dirs :(
> 
> [uschindler] update some dir configs
> 
> [uschindler] add a general test-only target for Lucene+Solr that can be run all
> the time
> 
> [mikemccand] LUCENE-2649: fix backwards params to checkMatchAllBits
> 
> [mikemccand] LUCENE-2696: MockAnalyzer injects payloads for better test
> coverage
> 
> ------------------------------------------
> [...truncated 15642 lines...]
>     [junit] 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.java:43)
>     [junit] 	at java.lang.reflect.Method.invoke(Method.java:616)
>     [junit] 	at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMe
> thod.java:44)
>     [junit] 	at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:
> 15)
>     [junit] 	at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMeth
> od.java:41)
>     [junit] 	at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.jav
> a:20)
>     [junit] 	at
> org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
>     [junit] 	at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>     [junit] 	at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>     [junit] 	at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java
> :76)
>     [junit] 	at
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(Lucen
> eTestCase.java:795)
>     [junit] 	at
> org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(Lucen
> eTestCase.java:768)
>     [junit] 	at
> org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>     [junit] 	at
> org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>     [junit] 	at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>     [junit] 	at
> org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>     [junit] 	at
> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>     [junit] 	at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>     [junit] 	at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>     [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>     [junit] 	at
> junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
>     [junit] 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunn
> er.java:421)
>     [junit] 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRu
> nner.java:912)
>     [junit] 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRun
> ner.java:743)
>     [junit] Caused by: java.lang.RuntimeException:
> com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </id>; expected
> </node>.
>     [junit]  at [row,col {unknown-source}]: [11,18]
>     [junit] 	at
> org.apache.solr.handler.dataimport.XPathRecordReader.streamRecords(XPathR
> ecordReader.java:181)
>     [junit] 	at
> org.apache.solr.handler.dataimport.XPathEntityProcessor.initQuery(XPathEntity
> Processor.java:295)
>     [junit] 	... 41 more
>     [junit] Caused by: com.ctc.wstx.exc.WstxParsingException: Unexpected close
> tag </id>; expected </node>.
>     [junit]  at [row,col {unknown-source}]: [11,18]
>     [junit] 	at
> com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:630
> )
>     [junit] 	at
> com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461)
>     [junit] 	at
> com.ctc.wstx.sr.BasicStreamReader.reportWrongEndElem(BasicStreamReader.j
> ava:3258)
>     [junit] 	at
> com.ctc.wstx.sr.BasicStreamReader.readEndElem(BasicStreamReader.java:320
> 0)
>     [junit] 	at
> com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:28
> 32)
>     [junit] 	at
> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
>     [junit] 	at
> org.apache.solr.handler.dataimport.XPathRecordReader$Node.parse(XPathRec
> ordReader.java:275)
>     [junit] 	at
> org.apache.solr.handler.dataimport.XPathRecordReader$Node.handleStartEle
> ment(XPathRecordReader.java:340)
>     [junit] 	at
> org.apache.solr.handler.dataimport.XPathRecordReader$Node.parse(XPathRec
> ordReader.java:304)
>     [junit] 	at
> org.apache.solr.handler.dataimport.XPathRecordReader$Node.handleStartEle
> ment(XPathRecordReader.java:340)
>     [junit] 	at
> org.apache.solr.handler.dataimport.XPathRecordReader$Node.parse(XPathRec
> ordReader.java:304)
>     [junit] 	at
> org.apache.solr.handler.dataimport.XPathRecordReader$Node.access$200(XPa
> thRecordReader.java:196)
>     [junit] 	at
> org.apache.solr.handler.dataimport.XPathRecordReader.streamRecords(XPathR
> ecordReader.java:178)
>     [junit] 	... 42 more
>     [junit] ------------- ---------------- ---------------
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestEvaluatorBag
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.013 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestFieldReader
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.01 sec
>     [junit]
>     [junit] Testsuite:
> org.apache.solr.handler.dataimport.TestFileListEntityProcessor
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestJdbcDataSource
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.045 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestLineEntityProcessor
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]
>     [junit] ------------- Standard Output ---------------
>     [junit]
>     [junit]      rawLine=''
>     [junit]      rawLine='# this is what the output from 'find . -ls; looks like,
> athough the format'
>     [junit]      rawLine='# of the time stamp varies depending on the age of the
> file and your LANG '
>     [junit]      rawLine='# env setting'
>     [junit]      rawLine='412577   0 drwxr-xr-x  6 user group    204 1 Apr 10:53
> /Volumes/spare/ts'
>     [junit]      rawLine='412582   0 drwxr-xr-x 13 user group    442 1 Apr 10:18
> /Volumes/spare/ts/config'
>     [junit]      rawLine='412583  24 -rwxr-xr-x  1 user group   8318 1 Apr 11:10
> /Volumes/spare/ts/config/dc.xsd'
>     [junit]      rawLine='412584  32 -rwxr-xr-x  1 user group  12847 1 Apr 11:10
> /Volumes/spare/ts/config/dcterms.xsd'
>     [junit]      rawLine='412585   8 -rwxr-xr-x  1 user group   3156 1 Apr 11:10
> /Volumes/spare/ts/config/s-deliver.css'
>     [junit]      rawLine='412586 192 -rwxr-xr-x  1 user group  97764 1 Apr 11:10
> /Volumes/spare/ts/config/s-deliver.xsl'
>     [junit]      rawLine='412587 224 -rwxr-xr-x  1 user group 112700 1 Apr 11:10
> /Volumes/spare/ts/config/sml-delivery-2.1.xsd'
>     [junit]      rawLine='412588 208 -rwxr-xr-x  1 user group 103419 1 Apr 11:10
> /Volumes/spare/ts/config/sml-delivery-norm-2.0.dtd'
>     [junit]      rawLine='412589 248 -rwxr-xr-x  1 user group 125296 1 Apr 11:10
> /Volumes/spare/ts/config/sml-delivery-norm-2.1.dtd'
>     [junit]      rawLine='412590  72 -rwxr-xr-x  1 user group  36256 1 Apr 11:10
> /Volumes/spare/ts/config/jm.xsd'
>     [junit]      rawLine='412591   8 -rwxr-xr-x  1 user group    990 1 Apr 11:10
> /Volumes/spare/ts/config/video.gif'
>     [junit]      rawLine='412592   8 -rwxr-xr-x  1 user group   1498 1 Apr 11:10
> /Volumes/spare/ts/config/xlink.xsd'
>     [junit]      rawLine='412593   8 -rwxr-xr-x  1 user group   1155 1 Apr 11:10
> /Volumes/spare/ts/config/xml.xsd'
>     [junit]      rawLine='412594   0 drwxr-xr-x  4 user group    136 1 Apr 10:18
> /Volumes/spare/ts/acm19'
>     [junit]      rawLine='412621   0 drwxr-xr-x 57 user group   1938 1 Apr 10:18
> /Volumes/spare/ts/acm19/data'
>     [junit]      rawLine='412622  24 -rwxr-xr-x  1 user group   8894 1 Apr 11:09
> /Volumes/spare/ts/acm19/data/00000510.xml'
>     [junit]      rawLine='412623  32 -rwxr-xr-x  1 user group  14124 1 Apr 11:09
> /Volumes/spare/ts/acm19/data/00000603.xml'
>     [junit]      rawLine='412624  24 -rwxr-xr-x  1 user group  11976 1 Apr 11:09
> /Volumes/spare/ts/acm19/data/00001292.xml'
>     [junit]      rawLine='# tacked on an extra line to cause a file to be deleted.'
>     [junit]      rawLine='DELETE
> /Volumes/spare/ts/acm19/data/00001292old.xml'
>     [junit] ------------- ---------------- ---------------
>     [junit] Testsuite:
> org.apache.solr.handler.dataimport.TestNumberFormatTransformer
>     [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.021 sec
>     [junit]
>     [junit] Testsuite:
> org.apache.solr.handler.dataimport.TestPlainTextEntityProcessor
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.011 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestRegexTransformer
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.01 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestScriptTransformer
>     [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.005 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessor
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.01 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessor2
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.54 sec
>     [junit]
>     [junit] Testsuite:
> org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 2.004 sec
>     [junit]
>     [junit] Testsuite:
> org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta2
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 2.562 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestTemplateString
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.005 sec
>     [junit]
>     [junit] Testsuite:
> org.apache.solr.handler.dataimport.TestTemplateTransformer
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.004 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestThreaded
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.211 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestURLDataSource
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.005 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestVariableResolver
>     [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.021 sec
>     [junit]
>     [junit] Testsuite:
> org.apache.solr.handler.dataimport.TestXPathEntityProcessor
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.47 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestXPathRecordReader
>     [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 0.035 sec
>     [junit]
> 
> compileExtras:
> 
> compileExtrasTests:
>     [mkdir] Created dir: /usr<https://hudson.apache.org/hudson/job/Solr-
> trunk/ws/trunk/solr/contrib/dataimporthandler/target/extras/test-classes>
>     [javac] Compiling 2 source files to
> /usr<https://hudson.apache.org/hudson/job/Solr-
> trunk/ws/trunk/solr/contrib/dataimporthandler/target/extras/test-classes>
> 
> testExtras:
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestMailEntityProcessor
>     [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.251 sec
>     [junit]
>     [junit] Testsuite: org.apache.solr.handler.dataimport.TestTikaEntityProcessor
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.145 sec
>     [junit]
> 
> test:
> 
> init:
> 
> init-forrest-entities:
> 
> compile-lucene:
> 
> compile-solrj:
> 
> compile:
>     [javac] Compiling 1 source file to
> /usr<https://hudson.apache.org/hudson/job/Solr-
> trunk/ws/trunk/solr/build/solr>
> 
> compileTests:
> 
> make-manifest:
> 
> compile:
> 
> compileTests:
>     [mkdir] Created dir: /usr<https://hudson.apache.org/hudson/job/Solr-
> trunk/ws/trunk/solr/contrib/extraction/build/test-classes>
>     [javac] Compiling 1 source file to
> /usr<https://hudson.apache.org/hudson/job/Solr-
> trunk/ws/trunk/solr/contrib/extraction/build/test-classes>
> 
> test:
>     [junit] Testsuite: org.apache.solr.handler.ExtractingRequestHandlerTest
>     [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 3.405 sec
>     [junit]
> 
> test:
> 
> clover.check:
> 
> clover.setup:
> [clover-setup] Clover Version 2.6.3, built on November 20 2009 (build-778)
> [clover-setup] Loaded from: /home/hudson/tools/clover/clover2latest/clover-
> 2.6.3.jar
> [clover-setup] Clover: Open Source License registered to Apache.
> [clover-setup] Clover is enabled with initstring
> '/usr<https://hudson.apache.org/hudson/job/Solr-
> trunk/ws/trunk/solr/build/tests/clover/db/solr_coverage.db'>
> 
> clover.info:
> 
> clover:
> 
> generate-clover-reports:
>     [mkdir] Created dir: /usr<https://hudson.apache.org/hudson/job/Solr-
> trunk/ws/trunk/solr/build/tests/clover/reports>
> [clover-report] Clover Version 2.6.3, built on November 20 2009 (build-778)
> [clover-report] Loaded from: /home/hudson/tools/clover/clover2latest/clover-
> 2.6.3.jar
> [clover-report] Clover: Open Source License registered to Apache.
> [clover-report] Loading coverage database from:
> '/usr<https://hudson.apache.org/hudson/job/Solr-
> trunk/ws/trunk/solr/build/tests/clover/db/solr_coverage.db'>
> [clover-report] Loading coverage database from:
> '/usr<https://hudson.apache.org/hudson/job/Solr-
> trunk/ws/trunk/solr/build/tests/clover/db/solr_coverage.db'>
> [clover-report] Writing report to
> '/usr<https://hudson.apache.org/hudson/job/Solr-
> trunk/ws/trunk/solr/build/tests/clover/reports/clover.xml'>
> [clover-report] Writing HTML report to
> '/usr<https://hudson.apache.org/hudson/job/Solr-
> trunk/ws/trunk/solr/build/tests/clover/reports'>
> [clover-report] Done. Processed 35 packages in 5870ms (167ms per package).
> 
> BUILD SUCCESSFUL
> Total time: 6 minutes 18 seconds
> [TASKS] Scanning workspace files for tasks...
> Publishing Javadoc
> Archiving artifacts
> Recording test results
> Publishing Clover coverage report...
> Publishing Clover HTML report...
> Publishing Clover XML report...
> Publishing Clover coverage results...
> FATAL: Unable to copy coverage from
> <https://hudson.apache.org/hudson/job/Solr-
> trunk/ws/trunk/solr/build/tests/clover/reports> to
> /home/hudson/hudson/jobs/Solr-trunk/builds/2010-10-13_08-44-05
> hudson.util.IOException2: Cannot parse coverage results
> 	at
> hudson.plugins.clover.CloverCoverageParser.parse(CloverCoverageParser.java:
> 89)
> 	at
> hudson.plugins.clover.CloverCoverageParser.parse(CloverCoverageParser.java:
> 51)
> 	at
> hudson.plugins.clover.CloverPublisher.processCloverXml(CloverPublisher.java:2
> 02)
> 	at
> hudson.plugins.clover.CloverPublisher.perform(CloverPublisher.java:163)
> 	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> 	at
> hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
> 	at
> hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuil
> d.java:580)
> 	at
> hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuil
> d.java:558)
> 	at hudson.model.Build$RunnerImpl.post2(Build.java:157)
> 	at
> hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
> 	at hudson.model.Run.run(Run.java:1303)
> 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> 	at
> hudson.model.ResourceController.execute(ResourceController.java:88)
> 	at hudson.model.Executor.run(Executor.java:140)
> Caused by: org.xml.sax.SAXParseException: XML document structures must
> start and end within the same entity.
> 	at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractS
> AXParser.java:1231)
> 	at
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(S
> AXParserImpl.java:522)
> 	at org.apache.commons.digester.Digester.parse(Digester.java:1666)
> 	at
> hudson.plugins.clover.CloverCoverageParser.parse(CloverCoverageParser.java:
> 87)
> 	... 13 more
> ERROR: Publisher hudson.plugins.clover.CloverPublisher aborted due to
> exception java.lang.NullPointerException
> 	at
> hudson.plugins.clover.CloverBuildAction.<init>(CloverBuildAction.java:133)
> 	at
> hudson.plugins.clover.CloverBuildAction.load(CloverBuildAction.java:265)
> 	at
> hudson.plugins.clover.CloverPublisher.processCloverXml(CloverPublisher.java:2
> 08)
> 	at
> hudson.plugins.clover.CloverPublisher.perform(CloverPublisher.java:163)
> 	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
> 	at
> hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
> 	at
> hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuil
> d.java:580)
> 	at
> hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuil
> d.java:558)
> 	at hudson.model.Build$RunnerImpl.post2(Build.java:157)
> 	at
> hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
> 	at hudson.model.Run.run(Run.java:1303)
> 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> 	at
> hudson.model.ResourceController.execute(ResourceController.java:88)
> 	at hudson.model.Executor.run(Executor.java:140)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional
> commands, e-mail: dev-help@lucene.apache.org



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


Mime
View raw message