Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C032740C for ; Fri, 11 Nov 2011 08:04:51 +0000 (UTC) Received: (qmail 50771 invoked by uid 500); 11 Nov 2011 08:04:50 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 50723 invoked by uid 500); 11 Nov 2011 08:04:50 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 50716 invoked by uid 99); 11 Nov 2011 08:04:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 08:04:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of serera@gmail.com designates 209.85.160.176 as permitted sender) Received: from [209.85.160.176] (HELO mail-gy0-f176.google.com) (209.85.160.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 08:04:41 +0000 Received: by gyh3 with SMTP id 3so4254793gyh.35 for ; Fri, 11 Nov 2011 00:04:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=wSbkDBHpS3tpbidZn++wrGQh9EtoBP+XyjveLJAPuvA=; b=XZ69JtH2ZdSzaZJJRzHwTgwDgwFFW7qnbCiopD2FVvfHcwED/DWYA1LHTjfZUN5dyv CDUJthEqOYC9F9vAjahJKet6sC6DaSoKY+PmO+xPGprbdaikRm3nIRu4sqoG1N13eegg WJRxKcdGuXXtgYftHeuIS2gkIIe6b37eOkJDU= MIME-Version: 1.0 Received: by 10.182.146.72 with SMTP id ta8mr2603631obb.35.1320998660780; Fri, 11 Nov 2011 00:04:20 -0800 (PST) Received: by 10.182.15.163 with HTTP; Fri, 11 Nov 2011 00:04:20 -0800 (PST) Date: Fri, 11 Nov 2011 10:04:20 +0200 Message-ID: Subject: Error: A SPI class of type org.apache.lucene.index.codecs.PostingsFormat with name 'MockSep' does not exist. From: Shai Erera To: dev@lucene.apache.org Content-Type: multipart/alternative; boundary=bcaec53968f4ecb15f04b170f74e X-Virus-Checked: Checked by ClamAV on apache.org --bcaec53968f4ecb15f04b170f74e Content-Type: text/plain; charset=ISO-8859-1 Hi I ran tests for trunk's benchmark today and hit this strange error: [junit] Testcase: testCloseIndexFalse(org.apache.lucene.benchmark.byTask.TestPerfTasksLogic): Caused an ERROR [junit] A SPI class of type org.apache.lucene.index.codecs.PostingsFormat with name 'MockSep' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath.The current classpath supports the following names: [Lucene40, Pulsing40, SimpleText, Memory] [junit] java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.index.codecs.PostingsFormat with name 'MockSep' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath.The current classpath supports the following names: [Lucene40, Pulsing40, SimpleText, Memory] [junit] at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:55) [junit] at org.apache.lucene.index.codecs.PostingsFormat.forName(PostingsFormat.java:76) [junit] at org.apache.lucene.index.codecs.perfield.PerFieldPostingsFormat$VisitPerFieldFile.(PerFieldPostingsFormat.java:273) [junit] at org.apache.lucene.index.codecs.perfield.PerFieldPostingsFormat$1.(PerFieldPostingsFormat.java:317) [junit] at org.apache.lucene.index.codecs.perfield.PerFieldPostingsFormat.files(PerFieldPostingsFormat.java:317) [junit] at org.apache.lucene.index.codecs.Codec.files(Codec.java:47) [junit] at org.apache.lucene.index.SegmentInfo.files(SegmentInfo.java:639) [junit] at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:482) [junit] at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:431) [junit] at org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:322) [junit] at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:395) [junit] at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1499) [junit] at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1259) [junit] at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1240) [junit] at org.apache.lucene.benchmark.byTask.tasks.AddDocTask.doLogic(AddDocTask.java:69) [junit] at org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(PerfTask.java:129) [junit] at org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doSerialTasks(TaskSequence.java:197) [junit] at org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doLogic(TaskSequence.java:138) [junit] at org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(PerfTask.java:141) [junit] at org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doSerialTasks(TaskSequence.java:197) [junit] at org.apache.lucene.benchmark.byTask.tasks.TaskSequence.doLogic(TaskSequence.java:138) [junit] at org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(PerfTask.java:141) [junit] at org.apache.lucene.benchmark.byTask.utils.Algorithm.execute(Algorithm.java:301) [junit] at org.apache.lucene.benchmark.byTask.Benchmark.execute(Benchmark.java:76) [junit] at org.apache.lucene.benchmark.BenchmarkTestCase.execBenchmark(BenchmarkTestCase.java:67) [junit] at org.apache.lucene.benchmark.byTask.TestPerfTasksLogic.testCloseIndexFalse(TestPerfTasksLogic.java:603) [junit] at org.apache.lucene.util.LuceneTestCase$3$1.evaluate(LuceneTestCase.java:533) [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:149) [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:51) Followed by these: [junit] NOTE: reproduce with: ant test -Dtestcase=TestPerfTasksLogic -Dtestmethod=testIndexingWithFacets -Dtests.seed=26c2adc077f0355f:-763bd42827af655a:b2df6bbaef0ac7c -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: reproduce with: ant test -Dtestcase=TestPerfTasksLogic -Dtestmethod=testOptimizeMaxNumSegments -Dtests.seed=26c2adc077f0355f:-79ce3cbc07a7e343:b2df6bbaef0ac7c -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: reproduce with: ant test -Dtestcase=TestPerfTasksLogic -Dtestmethod=testHighlighting -Dtests.seed=26c2adc077f0355f:1f4eecbeca069370:b2df6bbaef0ac7c -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: reproduce with: ant test -Dtestcase=TestPerfTasksLogic -Dtestmethod=testCloseIndexFalse -Dtests.seed=26c2adc077f0355f:-47b35020f6ccbd89:b2df6bbaef0ac7c -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: reproduce with: ant test -Dtestcase=TestPerfTasksLogic -Dtestmethod=testReadTokens -Dtests.seed=26c2adc077f0355f:76cb05b8fa27e559:b2df6bbaef0ac7c -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: reproduce with: ant test -Dtestcase=TestPerfTasksLogic -Dtestmethod=testLineDocFile -Dtests.seed=26c2adc077f0355f:-2d32663ce28f7a6e:b2df6bbaef0ac7c -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: reproduce with: ant test -Dtestcase=TestPerfTasksLogic -Dtestmethod=testDisableCounting -Dtests.seed=26c2adc077f0355f:-678cfcf3ff521786:b2df6bbaef0ac7c -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: reproduce with: ant test -Dtestcase=TestPerfTasksLogic -Dtestmethod=testBGSearchTaskThreads -Dtests.seed=26c2adc077f0355f:68db6088f9c4ffaa:b2df6bbaef0ac7c -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: reproduce with: ant test -Dtestcase=TestPerfTasksLogic -Dtestmethod=testMergeScheduler -Dtests.seed=26c2adc077f0355f:2102af5c6b9cb2a1:b2df6bbaef0ac7c -Dargs="-Dfile.encoding=Cp1252" [junit] NOTE: test params are: codec=Lucene40: {doctitle=Pulsing40(freqCutoff=9 minBlockSize=21 maxBlockSize=49), docdatenum=Lucene40(minBlockSize=18 maxBlockSize=83), body=Pulsing40(freqCutoff=9 minBlockSize=21 maxBlockSize=49), $full_path$=MockFixedIntBlock(blockSize=61), docname=PostingsFormat(name=MockSep), docid=PostingsFormat(name=MockSep), country=Lucene40(minBlockSize=18 maxBlockSize=83), docdate=Pulsing40(freqCutoff=9 minBlockSize=21 maxBlockSize=49), sort_field=PostingsFormat(name=Memory), doctimesecnum=PostingsFormat(name=SimpleText), $payloads$=PostingsFormat(name=MockSep), random_string=MockVariableIntBlock(baseBlockSize=5)}, sim=RandomSimilarityProvider(queryNorm=false,coord=true): {}, locale=fr_FR, timezone=America/Pangnirtung What I did was: 1) "svn up" from trunk root 2) "ant clean" 3) "cd modules/benchmark" 4) "ant test" I repeated the steps again, and less errors appeared, but still the tests failed. Is that something new? A new Codec maybe that's missing from the classpath? Shai --bcaec53968f4ecb15f04b170f74e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi

I ran tests for trunk's benchmark today and = hit this strange error:

=A0=A0=A0 [junit] Testcase: testCloseIndexFa= lse(org.apache.lucene.benchmark.byTask.TestPerfTasksLogic):=A0=A0 Caused an= ERROR
=A0=A0=A0 [junit] A SPI class of type org.apache.lucene.index.codecs.Postin= gsFormat with name 'MockSep' does not exist. You need to add the co= rresponding JAR file supporting this SPI to your classpath.The current clas= spath supports the following names: [Lucene40, Pulsing40, SimpleText, Memor= y]
=A0=A0=A0 [junit] java.lang.IllegalArgumentException: A SPI class of type o= rg.apache.lucene.index.codecs.PostingsFormat with name 'MockSep' do= es not exist. You need to add the corresponding JAR file supporting this SP= I to your classpath.The current classpath supports the following names: [Lu= cene40, Pulsing40, SimpleText, Memory]
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.util.NamedSPILoader.look= up(NamedSPILoader.java:55)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.l= ucene.index.codecs.PostingsFormat.forName(PostingsFormat.java:76)
=A0=A0= =A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.index.codecs.perfield.PerField= PostingsFormat$VisitPerFieldFile.<init>(PerFieldPostingsFormat.java:2= 73)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.index.codecs.perfield.Pe= rFieldPostingsFormat$1.<init>(PerFieldPostingsFormat.java:317)
=A0= =A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.index.codecs.perfield.PerFi= eldPostingsFormat.files(PerFieldPostingsFormat.java:317)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.index.codecs.Codec.files= (Codec.java:47)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.index= .SegmentInfo.files(SegmentInfo.java:639)
=A0=A0=A0 [junit]=A0=A0=A0=A0 a= t org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPer= Thread.java:482)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.index.DocumentsWriter.do= Flush(DocumentsWriter.java:431)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apa= che.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:322)
= =A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.index.DocumentsWriter.up= dateDocument(DocumentsWriter.java:395)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.index.IndexWriter.update= Document(IndexWriter.java:1499)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apa= che.lucene.index.IndexWriter.addDocument(IndexWriter.java:1259)
=A0=A0= =A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.index.IndexWriter.addDocument(= IndexWriter.java:1240)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.benchmark.byTask.tasks.A= ddDocTask.doLogic(AddDocTask.java:69)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at o= rg.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(PerfTask.= java:129)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.benchmark.b= yTask.tasks.TaskSequence.doSerialTasks(TaskSequence.java:197)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.benchmark.byTask.tasks.T= askSequence.doLogic(TaskSequence.java:138)
=A0=A0=A0 [junit]=A0=A0=A0=A0= at org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(Perf= Task.java:141)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.benchm= ark.byTask.tasks.TaskSequence.doSerialTasks(TaskSequence.java:197)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.benchmark.byTask.tasks.T= askSequence.doLogic(TaskSequence.java:138)
=A0=A0=A0 [junit]=A0=A0=A0=A0= at org.apache.lucene.benchmark.byTask.tasks.PerfTask.runAndMaybeStats(Perf= Task.java:141)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.benchm= ark.byTask.utils.Algorithm.execute(Algorithm.java:301)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.benchmark.byTask.Benchma= rk.execute(Benchmark.java:76)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apach= e.lucene.benchmark.BenchmarkTestCase.execBenchmark(BenchmarkTestCase.java:6= 7)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.benchmark.byTask.T= estPerfTasksLogic.testCloseIndexFalse(TestPerfTasksLogic.java:603)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.util.LuceneTestCase$3$1.= evaluate(LuceneTestCase.java:533)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.a= pache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:1= 49)
=A0=A0=A0 [junit]=A0=A0=A0=A0 at org.apache.lucene.util.LuceneTestCa= seRunner.runChild(LuceneTestCaseRunner.java:51)

Followed by these:

=A0=A0=A0 [junit] NOTE: reproduce with: ant t= est -Dtestcase=3DTestPerfTasksLogic -Dtestmethod=3DtestIndexingWithFacets -= Dtests.seed=3D26c2adc077f0355f:-763bd42827af655a:b2df6bbaef0ac7c -Dargs=3D&= quot;-Dfile.encoding=3DCp1252"
=A0=A0=A0 [junit] NOTE: reproduce with: ant test -Dtestcase=3DTestPerfTasks= Logic -Dtestmethod=3DtestOptimizeMaxNumSegments -Dtests.seed=3D26c2adc077f0= 355f:-79ce3cbc07a7e343:b2df6bbaef0ac7c -Dargs=3D"-Dfile.encoding=3DCp1= 252"
=A0=A0=A0 [junit] NOTE: reproduce with: ant test -Dtestcase=3DTestPerfTasks= Logic -Dtestmethod=3DtestHighlighting -Dtests.seed=3D26c2adc077f0355f:1f4ee= cbeca069370:b2df6bbaef0ac7c -Dargs=3D"-Dfile.encoding=3DCp1252"=A0=A0=A0 [junit] NOTE: reproduce with: ant test -Dtestcase=3DTestPerfTas= ksLogic -Dtestmethod=3DtestCloseIndexFalse -Dtests.seed=3D26c2adc077f0355f:= -47b35020f6ccbd89:b2df6bbaef0ac7c -Dargs=3D"-Dfile.encoding=3DCp1252&q= uot;
=A0=A0=A0 [junit] NOTE: reproduce with: ant test -Dtestcase=3DTestPerfTasks= Logic -Dtestmethod=3DtestReadTokens -Dtests.seed=3D26c2adc077f0355f:76cb05b= 8fa27e559:b2df6bbaef0ac7c -Dargs=3D"-Dfile.encoding=3DCp1252"
= =A0=A0=A0 [junit] NOTE: reproduce with: ant test -Dtestcase=3DTestPerfTasks= Logic -Dtestmethod=3DtestLineDocFile -Dtests.seed=3D26c2adc077f0355f:-2d326= 63ce28f7a6e:b2df6bbaef0ac7c -Dargs=3D"-Dfile.encoding=3DCp1252" =A0=A0=A0 [junit] NOTE: reproduce with: ant test -Dtestcase=3DTestPerfTasks= Logic -Dtestmethod=3DtestDisableCounting -Dtests.seed=3D26c2adc077f0355f:-6= 78cfcf3ff521786:b2df6bbaef0ac7c -Dargs=3D"-Dfile.encoding=3DCp1252&quo= t;
=A0=A0=A0 [junit] NOTE: reproduce with: ant test -Dtestcase=3DTestPer= fTasksLogic -Dtestmethod=3DtestBGSearchTaskThreads -Dtests.seed=3D26c2adc07= 7f0355f:68db6088f9c4ffaa:b2df6bbaef0ac7c -Dargs=3D"-Dfile.encoding=3DC= p1252"
=A0=A0=A0 [junit] NOTE: reproduce with: ant test -Dtestcase=3DTestPerfTasks= Logic -Dtestmethod=3DtestMergeScheduler -Dtests.seed=3D26c2adc077f0355f:210= 2af5c6b9cb2a1:b2df6bbaef0ac7c -Dargs=3D"-Dfile.encoding=3DCp1252"=
=A0=A0=A0 [junit] NOTE: test params are: codec=3DLucene40: {doctitle=3D= Pulsing40(freqCutoff=3D9 minBlockSize=3D21 maxBlockSize=3D49), docdatenum= =3DLucene40(minBlockSize=3D18 maxBlockSize=3D83), body=3DPulsing40(freqCuto= ff=3D9 minBlockSize=3D21 maxBlockSize=3D49), $full_path$=3DMockFixedIntBloc= k(blockSize=3D61), docname=3DPostingsFormat(name=3DMockSep), docid=3DPostin= gsFormat(name=3DMockSep), country=3DLucene40(minBlockSize=3D18 maxBlockSize= =3D83), docdate=3DPulsing40(freqCutoff=3D9 minBlockSize=3D21 maxBlockSize= =3D49), sort_field=3DPostingsFormat(name=3DMemory), doctimesecnum=3DPosting= sFormat(name=3DSimpleText), $payloads$=3DPostingsFormat(name=3DMockSep), ra= ndom_string=3DMockVariableIntBlock(baseBlockSize=3D5)}, sim=3DRandomSimilar= ityProvider(queryNorm=3Dfalse,coord=3Dtrue): {}, locale=3Dfr_FR, timezone= =3DAmerica/Pangnirtung

What I did was:
1) "svn up" from trunk root
2) "an= t clean"
3) "cd modules/benchmark"
4) "ant test&q= uot;

I repeated the steps again, and less errors appeared, but still= the tests failed. Is that something new? A new Codec maybe that's miss= ing from the classpath?

Shai
--bcaec53968f4ecb15f04b170f74e--