lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Hudson Server <hud...@hudson.apache.org>
Subject Build failed in Hudson: Lucene-Solr-tests-only-trunk #121
Date Fri, 15 Oct 2010 21:02:47 GMT
See <https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-trunk/121/changes>

Changes:

[yonik] tests: lazy handler test didn't acutally test lazy handler, convert to junit4

------------------------------------------
[...truncated 9032 lines...]
    [junit] 	at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2832)
    [junit] 	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.parse(XPathRecordReader.java:275)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.handleStartElement(XPathRecordReader.java:340)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.parse(XPathRecordReader.java:304)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.handleStartElement(XPathRecordReader.java:340)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.parse(XPathRecordReader.java:304)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.access$200(XPathRecordReader.java:196)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader.streamRecords(XPathRecordReader.java:178)
    [junit] 	... 42 more
    [junit] 2010-10-15 9:02:28.MD org.apache.solr.handler.dataimport.DataImporter doFullImport
    [junit] SEVERE: Full Import failed
    [junit] org.apache.solr.handler.dataimport.DataImportHandlerException: Parsing failed
for xml, url:test rows processed:2 last row: {id=2, desc=[test2], $forEach=/root/node} Processing
Document # 1
    [junit] 	at org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow(DataImportHandlerException.java:72)
    [junit] 	at org.apache.solr.handler.dataimport.XPathEntityProcessor.initQuery(XPathEntityProcessor.java:305)
    [junit] 	at org.apache.solr.handler.dataimport.XPathEntityProcessor.fetchNextRow(XPathEntityProcessor.java:201)
    [junit] 	at org.apache.solr.handler.dataimport.XPathEntityProcessor.nextRow(XPathEntityProcessor.java:181)
    [junit] 	at org.apache.solr.handler.dataimport.EntityProcessorWrapper.nextRow(EntityProcessorWrapper.java:233)
    [junit] 	at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:579)
    [junit] 	at org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:260)
    [junit] 	at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:184)
    [junit] 	at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:334)
    [junit] 	at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:392)
    [junit] 	at org.apache.solr.handler.dataimport.DataImportHandler.handleRequestBody(DataImportHandler.java:203)
    [junit] 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
    [junit] 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1325)
    [junit] 	at org.apache.solr.util.TestHarness.queryAndResponse(TestHarness.java:339)
    [junit] 	at org.apache.solr.util.TestHarness.query(TestHarness.java:322)
    [junit] 	at org.apache.solr.handler.dataimport.AbstractDataImportHandlerTestCase.runFullImport(AbstractDataImportHandlerTestCase.java:81)
    [junit] 	at org.apache.solr.handler.dataimport.TestErrorHandling.testAbortOnError(TestErrorHandling.java:65)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:616)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java: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(LuceneTestCase.java:811)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:776)
    [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(JUnitTestRunner.java:421)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.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(XPathRecordReader.java:181)
    [junit] 	at org.apache.solr.handler.dataimport.XPathEntityProcessor.initQuery(XPathEntityProcessor.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.java:3258)
    [junit] 	at com.ctc.wstx.sr.BasicStreamReader.readEndElem(BasicStreamReader.java:3200)
    [junit] 	at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2832)
    [junit] 	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.parse(XPathRecordReader.java:275)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.handleStartElement(XPathRecordReader.java:340)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.parse(XPathRecordReader.java:304)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.handleStartElement(XPathRecordReader.java:340)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.parse(XPathRecordReader.java:304)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.access$200(XPathRecordReader.java:196)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader.streamRecords(XPathRecordReader.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.018 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestFieldReader
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestFileListEntityProcessor
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.021 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestJdbcDataSource
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: Ignoring test method 'testBasic' 
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestLineEntityProcessor
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestNumberFormatTransformer
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.024 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestPlainTextEntityProcessor
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.019 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestRegexTransformer
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestScriptTransformer
    [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.01 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: Ignoring test method 'testBasic' 
    [junit] NOTE: Ignoring test method 'testOneparam' 
    [junit] NOTE: Ignoring test method 'testReadScriptTag' 
    [junit] NOTE: Ignoring test method 'testCheckScript' 
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessor
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessor2
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.745 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] 15 ???? 2010 18:02:28 org.apache.solr.handler.dataimport.JdbcDataSource finalize
    [junit] SEVERE: JdbcDataSource was not closed prior to finalize(), indicates a bug --
POSSIBLE RESOURCE LEAK!!!
    [junit] 15 ???? 2010 18:02:28 org.apache.solr.handler.dataimport.JdbcDataSource finalize
    [junit] SEVERE: JdbcDataSource was not closed prior to finalize(), indicates a bug --
POSSIBLE RESOURCE LEAK!!!
    [junit] 15 ???? 2010 18:02:28 org.apache.solr.handler.dataimport.JdbcDataSource finalize
    [junit] SEVERE: JdbcDataSource was not closed prior to finalize(), indicates a bug --
POSSIBLE RESOURCE LEAK!!!
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.003 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta2
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.984 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestTemplateString
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestTemplateTransformer
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestThreaded
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.318 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestURLDataSource
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.009 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestVariableResolver
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.02 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestXPathEntityProcessor
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.5 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestXPathRecordReader
    [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 0.043 sec
    [junit] 

compileExtras:

compileExtrasTests:
    [mkdir] Created dir: /usr<https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-trunk/ws/checkout/solr/contrib/dataimporthandler/target/extras/test-classes>
    [javac] Compiling 2 source files to /usr<https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-trunk/ws/checkout/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.216 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: Ignoring test method 'testConnection' 
    [junit] NOTE: Ignoring test method 'testRecursion' 
    [junit] NOTE: Ignoring test method 'testExclude' 
    [junit] NOTE: Ignoring test method 'testInclude' 
    [junit] NOTE: Ignoring test method 'testIncludeAndExclude' 
    [junit] NOTE: Ignoring test method 'testFetchTimeSince' 
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestTikaEntityProcessor
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.828 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/Lucene-Solr-tests-only-trunk/ws/checkout/solr/build/solr>

compileTests:

make-manifest:

compile:

compileTests:
    [mkdir] Created dir: /usr<https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-trunk/ws/checkout/solr/contrib/extraction/build/test-classes>
    [javac] Compiling 1 source file to /usr<https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-trunk/ws/checkout/solr/contrib/extraction/build/test-classes>

test:
    [junit] Testsuite: org.apache.solr.handler.ExtractingRequestHandlerTest
    [junit] Testcase: testExtraction(org.apache.solr.handler.ExtractingRequestHandlerTest):
Caused an ERROR
    [junit] Exception during query
    [junit] java.lang.RuntimeException: Exception during query
    [junit] 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:343)
    [junit] 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:310)
    [junit] 	at org.apache.solr.handler.ExtractingRequestHandlerTest.testExtraction(ExtractingRequestHandlerTest.java:83)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:811)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:776)
    [junit] Caused by: java.lang.RuntimeException: REQUEST FAILED: xpath=//*[@numFound='1']
    [junit] 	xml response was: <?xml version="1.0" encoding="UTF-8"?>
    [junit] <response>
    [junit] <lst name="responseHeader"><int name="status">0</int><int
name="QTime">4</int></lst><result name="response" numFound="0" start="0"/>
    [junit] </response>
    [junit] 
    [junit] 	request was:start=0&q=title:Welcome&qt=standard&rows=20&version=2.2
    [junit] 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:336)
    [junit] 
    [junit] 
    [junit] Tests run: 8, Failures: 0, Errors: 1, Time elapsed: 2.793 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=ExtractingRequestHandlerTest -Dtestmethod=testExtraction
-Dtests.seed=5449803695634516872:-6387359623167770873
    [junit] NOTE: test params are: codec=SimpleText, locale=tr, timezone=US/Hawaii
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] 15.Eki.2010 11:02:40 org.apache.solr.SolrTestCaseJ4 assertQ
    [junit] SEVERE: REQUEST FAILED: xpath=//*[@numFound='1']
    [junit] 	xml response was: <?xml version="1.0" encoding="UTF-8"?>
    [junit] <response>
    [junit] <lst name="responseHeader"><int name="status">0</int><int
name="QTime">4</int></lst><result name="response" numFound="0" start="0"/>
    [junit] </response>
    [junit] 
    [junit] 	request was:start=0&q=title:Welcome&qt=standard&rows=20&version=2.2
    [junit] 15.Eki.2010 11:02:40 org.apache.solr.SolrTestCaseJ4 assertQ
    [junit] SEVERE: REQUEST FAILED: start=0&q=title:Welcome&qt=standard&rows=20&version=2.2
    [junit] ------------- ---------------- ---------------
    [junit] Test org.apache.solr.handler.ExtractingRequestHandlerTest FAILED

BUILD FAILED
/usr<https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-trunk/ws/checkout/build.xml>:23:
The following error occurred while executing this line:
/usr<https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-trunk/ws/checkout/solr/common-build.xml>:462:
The following error occurred while executing this line:
/usr<https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-trunk/ws/checkout/solr/common-build.xml>:319:
The following error occurred while executing this line:
/usr<https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-trunk/ws/checkout/solr/contrib/extraction/build.xml>:145:
Tests failed!

Total time: 8 minutes 8 seconds
Recording test results


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


Mime
View raw message