this is because 'ant clean' is not enough, some solr tests store
indexes under the source tree.

rm -rf solr/core/src/test-files/solr/data probably does the trick

On Fri, Nov 4, 2011 at 12:25 PM, Apache Jenkins Server
<[email protected]> wrote:
> Build: https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/11159/
>
> 5 tests failed.
> REGRESSION:  org.apache.solr.core.TestCoreContainer.testPersist
>
> Error Message:
> java.lang.IllegalArgumentException: A SPI class of type 
> org.apache.lucene.index.codecs.Codec with name '' does not exist. You need to 
> add the corresponding JAR file supporting this SPI to your classpath.The 
> current classpath supports the following names: [Lucene3x, Appending, 
> Lucene40]
>
> Stack Trace:
> java.lang.RuntimeException: java.lang.IllegalArgumentException: A SPI class 
> of type org.apache.lucene.index.codecs.Codec with name '' does not exist. You 
> need to add the corresponding JAR file supporting this SPI to your 
> classpath.The current classpath supports the following names: [Lucene3x, 
> Appending, Lucene40]
>        at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1161)
>        at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1015)
>        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:604)
>        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:510)
>        at org.apache.solr.core.CoreContainer.create(CoreContainer.java:653)
>        at 
> org.apache.solr.core.TestCoreContainer.testPersist(TestCoreContainer.java:95)
>        at 
> org.apache.lucene.util.LuceneTestCase$3$1.evaluate(LuceneTestCase.java:508)
>        at 
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:149)
>        at 
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:51)
> Caused by: java.lang.IllegalArgumentException: A SPI class of type 
> org.apache.lucene.index.codecs.Codec with name '' does not exist. You need to 
> add the corresponding JAR file supporting this SPI to your classpath.The 
> current classpath supports the following names: [Lucene3x, Appending, 
> Lucene40]
>        at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:55)
>        at org.apache.lucene.index.codecs.Codec.forName(Codec.java:65)
>        at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:265)
>        at 
> org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:83)
>        at 
> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:707)
>        at 
> org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:79)
>        at org.apache.lucene.index.IndexReader.open(IndexReader.java:468)
>        at org.apache.lucene.index.IndexReader.open(IndexReader.java:411)
>        at 
> org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:38)
>        at 
> org.apache.solr.search.SolrIndexSearcher.<init>(SolrIndexSearcher.java:109)
>        at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1150)
>
>
> REGRESSION:  
> org.apache.solr.handler.admin.CoreAdminHandlerTest.testCoreAdminHandler
>
> Error Message:
> Error executing default implementation of CREATE
>
> Stack Trace:
> org.apache.solr.common.SolrException: Error executing default implementation 
> of CREATE
>        at 
> org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:345)
>        at 
> org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:119)
>        at 
> org.apache.solr.handler.admin.CoreAdminHandlerTest.testCoreAdminHandler(CoreAdminHandlerTest.java:77)
>        at 
> org.apache.lucene.util.LuceneTestCase$3$1.evaluate(LuceneTestCase.java:508)
>        at 
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:149)
>        at 
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:51)
> Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: A 
> SPI class of type org.apache.lucene.index.codecs.Codec with name '' does not 
> exist. You need to add the corresponding JAR file supporting this SPI to your 
> classpath.The current classpath supports the following names: [Lucene3x, 
> Appending, Lucene40]
>        at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1161)
>        at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1015)
>        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:604)
>        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:510)
>        at org.apache.solr.core.CoreContainer.create(CoreContainer.java:653)
>        at 
> org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:340)
> Caused by: java.lang.IllegalArgumentException: A SPI class of type 
> org.apache.lucene.index.codecs.Codec with name '' does not exist. You need to 
> add the corresponding JAR file supporting this SPI to your classpath.The 
> current classpath supports the following names: [Lucene3x, Appending, 
> Lucene40]
>        at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:55)
>        at org.apache.lucene.index.codecs.Codec.forName(Codec.java:65)
>        at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:265)
>        at 
> org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:83)
>        at 
> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:707)
>        at 
> org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:79)
>        at org.apache.lucene.index.IndexReader.open(IndexReader.java:468)
>        at org.apache.lucene.index.IndexReader.open(IndexReader.java:411)
>        at 
> org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:38)
>        at 
> org.apache.solr.search.SolrIndexSearcher.<init>(SolrIndexSearcher.java:109)
>        at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1150)
>
>
> REGRESSION:  org.apache.solr.servlet.NoCacheHeaderTest.testCacheControl
>
> Error Message:
> Unknown request response expected:<0> but was:<500>
>
> Stack Trace:
> junit.framework.AssertionFailedError: Unknown request response expected:<0> 
> but was:<500>
>        at 
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:149)
>        at 
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:51)
>        at 
> org.apache.solr.servlet.CacheHeaderTestBase.checkResponseBody(CacheHeaderTestBase.java:85)
>        at 
> org.apache.solr.servlet.NoCacheHeaderTest.doCacheControl(NoCacheHeaderTest.java:165)
>        at 
> org.apache.solr.servlet.NoCacheHeaderTest.testCacheControl(NoCacheHeaderTest.java:55)
>        at 
> org.apache.lucene.util.LuceneTestCase$3$1.evaluate(LuceneTestCase.java:508)
>
>
> REGRESSION:  org.apache.solr.servlet.NoCacheHeaderTest.testLastModified
>
> Error Message:
> Unknown request response expected:<0> but was:<500>
>
> Stack Trace:
> junit.framework.AssertionFailedError: Unknown request response expected:<0> 
> but was:<500>
>        at 
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:149)
>        at 
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:51)
>        at 
> org.apache.solr.servlet.CacheHeaderTestBase.checkResponseBody(CacheHeaderTestBase.java:85)
>        at 
> org.apache.solr.servlet.NoCacheHeaderTest.doLastModified(NoCacheHeaderTest.java:66)
>        at 
> org.apache.solr.servlet.NoCacheHeaderTest.testLastModified(NoCacheHeaderTest.java:41)
>        at 
> org.apache.lucene.util.LuceneTestCase$3$1.evaluate(LuceneTestCase.java:508)
>
>
> REGRESSION:  org.apache.solr.servlet.NoCacheHeaderTest.testEtag
>
> Error Message:
> Unknown request response expected:<0> but was:<500>
>
> Stack Trace:
> junit.framework.AssertionFailedError: Unknown request response expected:<0> 
> but was:<500>
>        at 
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:149)
>        at 
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:51)
>        at 
> org.apache.solr.servlet.CacheHeaderTestBase.checkResponseBody(CacheHeaderTestBase.java:85)
>        at 
> org.apache.solr.servlet.NoCacheHeaderTest.doETag(NoCacheHeaderTest.java:116)
>        at 
> org.apache.solr.servlet.NoCacheHeaderTest.testEtag(NoCacheHeaderTest.java:48)
>        at 
> org.apache.lucene.util.LuceneTestCase$3$1.evaluate(LuceneTestCase.java:508)
>
>
>
>
> Build Log (for compile errors):
> [...truncated 8750 lines...]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to