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-3.x #22
Date Wed, 13 Oct 2010 17:04:54 GMT
See <https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-3.x/22/changes>

Changes:

[rmuir] SOLR-2002: minor cleanups to dih tests

------------------------------------------
[...truncated 9875 lines...]
    [junit] <response>
    [junit] <lst name="responseHeader"><int name="status">0</int><int
name="QTime">4</int><lst name="params"><str name="start">0</str><str
name="q">*:*</str><str name="qt">standard</str><str name="rows">20</str><str
name="version">2.2</str></lst></lst><result name="response" numFound="1"
start="0"><doc><arr name="desc"><str>two</str></arr><str
name="id">3</str><str name="name_s">xyz</str><date name="timestamp">2010-10-13T17:04:37.727Z</date></doc></result>
    [junit] </response>
    [junit] 
    [junit]  request was: start=0&q=*:*&qt=standard&rows=20&version=2.2
    [junit] 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:331)
    [junit] 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:310)
    [junit] 	at org.apache.solr.handler.dataimport.TestDocBuilder2.testFileListEntityProcessor_lastIndexTime(TestDocBuilder2.java:229)
    [junit] 
    [junit] 
    [junit] Tests run: 11, Failures: 1, Errors: 0, Time elapsed: 1.125 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestDocBuilder2 -Dtestmethod=testFileListEntityProcessor_lastIndexTime
-Dtests.seed=6365945884716018059:-2958503753025911746
    [junit] NOTE: test params are: locale=pl_PL, timezone=Atlantic/Stanley
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] 2010-10-13 14:04:37 org.apache.solr.handler.dataimport.DocBuilder buildDocument
    [junit] SEVERE: Exception while processing: x document : SolrInputDocument[{}]
    [junit] org.apache.solr.handler.dataimport.DataImportHandlerException: Invalid expression
for date Processing Document # 1
    [junit] 	at org.apache.solr.handler.dataimport.FileListEntityProcessor.getDate(FileListEntityProcessor.java:167)
    [junit] 	at org.apache.solr.handler.dataimport.FileListEntityProcessor.nextRow(FileListEntityProcessor.java:204)
    [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:1322)
    [junit] 	at org.apache.solr.util.TestHarness.queryAndResponse(TestHarness.java:334)
    [junit] 	at org.apache.solr.util.TestHarness.query(TestHarness.java:321)
    [junit] 	at org.apache.solr.handler.dataimport.AbstractDataImportHandlerTestCase.runFullImport(AbstractDataImportHandlerTestCase.java:113)
    [junit] 	at org.apache.solr.handler.dataimport.TestDocBuilder2.testFileListEntityProcessor_lastIndexTime(TestDocBuilder2.java:228)
    [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:693)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:666)
    [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.text.ParseException: Unparseable date: "1970-01-01 00:00:00"
    [junit] 	at java.text.DateFormat.parse(DateFormat.java:354)
    [junit] 	at org.apache.solr.handler.dataimport.FileListEntityProcessor.getDate(FileListEntityProcessor.java:165)
    [junit] 	... 40 more
    [junit] 2010-10-13 14:04:37 org.apache.solr.handler.dataimport.DataImporter doFullImport
    [junit] SEVERE: Full Import failed
    [junit] org.apache.solr.handler.dataimport.DataImportHandlerException: Invalid expression
for date Processing Document # 1
    [junit] 	at org.apache.solr.handler.dataimport.FileListEntityProcessor.getDate(FileListEntityProcessor.java:167)
    [junit] 	at org.apache.solr.handler.dataimport.FileListEntityProcessor.nextRow(FileListEntityProcessor.java:204)
    [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:1322)
    [junit] 	at org.apache.solr.util.TestHarness.queryAndResponse(TestHarness.java:334)
    [junit] 	at org.apache.solr.util.TestHarness.query(TestHarness.java:321)
    [junit] 	at org.apache.solr.handler.dataimport.AbstractDataImportHandlerTestCase.runFullImport(AbstractDataImportHandlerTestCase.java:113)
    [junit] 	at org.apache.solr.handler.dataimport.TestDocBuilder2.testFileListEntityProcessor_lastIndexTime(TestDocBuilder2.java:228)
    [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:693)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:666)
    [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.text.ParseException: Unparseable date: "1970-01-01 00:00:00"
    [junit] 	at java.text.DateFormat.parse(DateFormat.java:354)
    [junit] 	at org.apache.solr.handler.dataimport.FileListEntityProcessor.getDate(FileListEntityProcessor.java:165)
    [junit] 	... 40 more
    [junit] ------------- ---------------- ---------------
    [junit] TEST org.apache.solr.handler.dataimport.TestDocBuilder2 FAILED
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestEntityProcessorBase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.014 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestErrorHandling
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.606 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestEvaluatorBag
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.019 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] Testcase: testNTOT(org.apache.solr.handler.dataimport.TestFileListEntityProcessor):
Caused an ERROR
    [junit] Invalid expression for date
    [junit] org.apache.solr.handler.dataimport.DataImportHandlerException: Invalid expression
for date
    [junit] 	at org.apache.solr.handler.dataimport.FileListEntityProcessor.getDate(FileListEntityProcessor.java:167)
    [junit] 	at org.apache.solr.handler.dataimport.FileListEntityProcessor.nextRow(FileListEntityProcessor.java:204)
    [junit] 	at org.apache.solr.handler.dataimport.TestFileListEntityProcessor.getFiles(TestFileListEntityProcessor.java:124)
    [junit] 	at org.apache.solr.handler.dataimport.TestFileListEntityProcessor.testNTOT(TestFileListEntityProcessor.java:163)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:693)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:666)
    [junit] Caused by: java.text.ParseException: Unparseable date: "2010-10-13 17:03:48"
    [junit] 	at java.text.DateFormat.parse(DateFormat.java:354)
    [junit] 	at org.apache.solr.handler.dataimport.FileListEntityProcessor.getDate(FileListEntityProcessor.java:165)
    [junit] 
    [junit] 
    [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 0.029 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestFileListEntityProcessor -Dtestmethod=testNTOT
-Dtests.seed=-1943512341781783637:108160085765279675
    [junit] NOTE: test params are: locale=be, timezone=Australia/Currie
    [junit] ------------- ---------------- ---------------
    [junit] TEST org.apache.solr.handler.dataimport.TestFileListEntityProcessor FAILED
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestJdbcDataSource
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.068 sec
    [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.026 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestPlainTextEntityProcessor
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.027 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.013 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessor
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
    [junit] 
    [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 name="params"><str name="start">0</str><str
name="q">id:5</str><str name="qt">standard</str><str name="rows">20</str><str
name="version">2.2</str></lst></lst><result name="response" numFound="0"
start="0"/>
    [junit] </response>
    [junit] 
    [junit]  request was: start=0&q=id:5&qt=standard&rows=20&version=2.2)
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessor2
    [junit] Testcase: testLastIndexTime(org.apache.solr.handler.dataimport.TestSqlEntityProcessor2):
FAILED
    [junit] query 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 name="params"><str name="start">0</str><str
name="q">id:5</str><str name="qt">standard</str><str name="rows">20</str><str
name="version">2.2</str></lst></lst><result name="response" numFound="0"
start="0"/>
    [junit] </response>
    [junit] 
    [junit]  request was: start=0&q=id:5&qt=standard&rows=20&version=2.2
    [junit] junit.framework.AssertionFailedError: query 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 name="params"><str name="start">0</str><str
name="q">id:5</str><str name="qt">standard</str><str name="rows">20</str><str
name="version">2.2</str></lst></lst><result name="response" numFound="0"
start="0"/>
    [junit] </response>
    [junit] 
    [junit]  request was: start=0&q=id:5&qt=standard&rows=20&version=2.2
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:693)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:666)
    [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 name="params"><str name="start">0</str><str
name="q">id:5</str><str name="qt">standard</str><str name="rows">20</str><str
name="version">2.2</str></lst></lst><result name="response" numFound="0"
start="0"/>
    [junit] </response>
    [junit] 
    [junit]  request was: start=0&q=id:5&qt=standard&rows=20&version=2.2
    [junit] 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:331)
    [junit] 	at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:310)
    [junit] 	at org.apache.solr.handler.dataimport.TestSqlEntityProcessor2.testLastIndexTime(TestSqlEntityProcessor2.java:211)
    [junit] 
    [junit] 
    [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 0.804 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestSqlEntityProcessor2 -Dtestmethod=testLastIndexTime
-Dtests.seed=-5722773307757189342:-6688035298699862104
    [junit] NOTE: test params are: locale=sv, timezone=Europe/Riga
    [junit] ------------- ---------------- ---------------
    [junit] TEST org.apache.solr.handler.dataimport.TestSqlEntityProcessor2 FAILED
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.204 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta2
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.168 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestTemplateString
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.007 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.316 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestURLDataSource
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestVariableResolver
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.019 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestXPathEntityProcessor
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.489 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestXPathRecordReader
    [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 0.032 sec
    [junit] 
    [junit] Tests FAILED

BUILD FAILED
/usr<https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-3.x/ws/checkout/build.xml>:27:
The following error occurred while executing this line:
/usr<https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-3.x/ws/checkout/solr/common-build.xml>:460:
The following error occurred while executing this line:
/usr<https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-3.x/ws/checkout/solr/common-build.xml>:317:
The following error occurred while executing this line:
/usr<https://hudson.apache.org/hudson/job/Lucene-Solr-tests-only-3.x/ws/checkout/solr/contrib/dataimporthandler/build.xml>:171:
Tests failed!

Total time: 5 minutes 57 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