Build: http://jenkins.sd-datasolutions.de/job/Lucene-Solr-4.x-Linux-Java6-64/563/
1 tests failed. REGRESSION: org.apache.lucene.index.TestNRTThreads.testNRTThreads Error Message: org.apache.lucene.store.BaseDirectoryWrapper cannot be cast to org.apache.lucene.store.MockDirectoryWrapper Stack Trace: java.lang.ClassCastException: org.apache.lucene.store.BaseDirectoryWrapper cannot be cast to org.apache.lucene.store.MockDirectoryWrapper at __randomizedtesting.SeedInfo.seed([C96F2834C77C8B14:52B63C2F86879D7F]:0) at org.apache.lucene.index.TestNRTThreads.doSearching(TestNRTThreads.java:57) at org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase.runTest(ThreadedIndexingAndSearchingTestCase.java:507) at org.apache.lucene.index.TestNRTThreads.testNRTThreads(TestNRTThreads.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1995) at com.carrotsearch.randomizedtesting.RandomizedRunner.access$1100(RandomizedRunner.java:132) at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:818) at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:877) at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:891) at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) at org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:32) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68) at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:825) at com.carrotsearch.randomizedtesting.RandomizedRunner.access$700(RandomizedRunner.java:132) at com.carrotsearch.randomizedtesting.RandomizedRunner$3$1.run(RandomizedRunner.java:671) at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:697) at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:736) at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:747) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38) at org.apache.lucene.util.TestRuleIcuHack$1.evaluate(TestRuleIcuHack.java:51) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at org.apache.lucene.util.TestRuleNoInstanceHooksOverrides$1.evaluate(TestRuleNoInstanceHooksOverrides.java:53) at org.apache.lucene.util.TestRuleNoStaticHooksShadowing$1.evaluate(TestRuleNoStaticHooksShadowing.java:52) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:36) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) at com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(RandomizedRunner.java:605) at com.carrotsearch.randomizedtesting.RandomizedRunner.access$400(RandomizedRunner.java:132) at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:551) Build Log: [...truncated 632 lines...] [junit4:junit4] Suite: org.apache.lucene.index.TestNRTThreads [junit4:junit4] ERROR 2.24s J0 | TestNRTThreads.testNRTThreads [junit4:junit4] > Throwable #1: java.lang.ClassCastException: org.apache.lucene.store.BaseDirectoryWrapper cannot be cast to org.apache.lucene.store.MockDirectoryWrapper [junit4:junit4] > at __randomizedtesting.SeedInfo.seed([C96F2834C77C8B14:52B63C2F86879D7F]:0) [junit4:junit4] > at org.apache.lucene.index.TestNRTThreads.doSearching(TestNRTThreads.java:57) [junit4:junit4] > at org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase.runTest(ThreadedIndexingAndSearchingTestCase.java:507) [junit4:junit4] > at org.apache.lucene.index.TestNRTThreads.testNRTThreads(TestNRTThreads.java:127) [junit4:junit4] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit4:junit4] > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit4:junit4] > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit4:junit4] > at java.lang.reflect.Method.invoke(Method.java:597) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1995) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner.access$1100(RandomizedRunner.java:132) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:818) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:877) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:891) [junit4:junit4] > at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) [junit4:junit4] > at org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:32) [junit4:junit4] > at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) [junit4:junit4] > at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) [junit4:junit4] > at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68) [junit4:junit4] > at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48) [junit4:junit4] > at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) [junit4:junit4] > at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:825) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner.access$700(RandomizedRunner.java:132) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner$3$1.run(RandomizedRunner.java:671) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:697) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:736) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:747) [junit4:junit4] > at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) [junit4:junit4] > at org.apache.lucene.util.TestRuleReportUncaughtExceptions$1.evaluate(TestRuleReportUncaughtExceptions.java:68) [junit4:junit4] > at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38) [junit4:junit4] > at org.apache.lucene.util.TestRuleIcuHack$1.evaluate(TestRuleIcuHack.java:51) [junit4:junit4] > at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) [junit4:junit4] > at org.apache.lucene.util.TestRuleNoInstanceHooksOverrides$1.evaluate(TestRuleNoInstanceHooksOverrides.java:53) [junit4:junit4] > at org.apache.lucene.util.TestRuleNoStaticHooksShadowing$1.evaluate(TestRuleNoStaticHooksShadowing.java:52) [junit4:junit4] > at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:36) [junit4:junit4] > at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) [junit4:junit4] > at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) [junit4:junit4] > at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner.runSuite(RandomizedRunner.java:605) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner.access$400(RandomizedRunner.java:132) [junit4:junit4] > at com.carrotsearch.randomizedtesting.RandomizedRunner$2.run(RandomizedRunner.java:551) [junit4:junit4] > [junit4:junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestNRTThreads -Dtests.method=testNRTThreads -Dtests.seed=C96F2834C77C8B14 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=en_IE -Dtests.timezone=America/Havana -Dtests.file.encoding=UTF-8 [junit4:junit4] 2> [junit4:junit4] > (@AfterClass output) [junit4:junit4] 1> Thread-923: hit exc [junit4:junit4] 1> Thread-922: hit exc [junit4:junit4] 1> Thread-925: hit exc [junit4:junit4] 1> Thread-924: hit exc [junit4:junit4] 2> NOTE: test params are: codec=Lucene40: {extra29=PostingsFormat(name=Lucene40WithOrds), body=MockVariableIntBlock(baseBlockSize=27), extra28=Pulsing40(freqCutoff=20 minBlockSize=71 maxBlockSize=232), extra27=PostingsFormat(name=Asserting), extra26=MockVariableIntBlock(baseBlockSize=27), extra25=PostingsFormat(name=Lucene40WithOrds), extra24=Pulsing40(freqCutoff=20 minBlockSize=71 maxBlockSize=232), extra23=PostingsFormat(name=Asserting), extra22=MockVariableIntBlock(baseBlockSize=27), packID=MockVariableIntBlock(baseBlockSize=27), date=MockVariableIntBlock(baseBlockSize=27), docid=PostingsFormat(name=Lucene40WithOrds), title=Pulsing40(freqCutoff=20 minBlockSize=71 maxBlockSize=232), extra20=Pulsing40(freqCutoff=20 minBlockSize=71 maxBlockSize=232), extra21=PostingsFormat(name=Lucene40WithOrds), extra38=PostingsFormat(name=Asserting), extra8=MockVariableIntBlock(baseBlockSize=27), extra12=PostingsFormat(name=Asserting), extra11=MockVariableIntBlock(baseBlockSize=27), extra37=MockVariableIntBlock(baseBlockSize=27), extra9=PostingsFormat(name=Asserting), extra14=PostingsFormat(name=Lucene40WithOrds), extra39=Pulsing40(freqCutoff=20 minBlockSize=71 maxBlockSize=232), extra13=Pulsing40(freqCutoff=20 minBlockSize=71 maxBlockSize=232), extra34=PostingsFormat(name=Asserting), extra16=PostingsFormat(name=Asserting), extra33=MockVariableIntBlock(baseBlockSize=27), extra15=MockVariableIntBlock(baseBlockSize=27), extra18=PostingsFormat(name=Lucene40WithOrds), extra36=PostingsFormat(name=Lucene40WithOrds), extra35=Pulsing40(freqCutoff=20 minBlockSize=71 maxBlockSize=232), extra17=Pulsing40(freqCutoff=20 minBlockSize=71 maxBlockSize=232), extra0=MockVariableIntBlock(baseBlockSize=27), extra1=PostingsFormat(name=Asserting), extra19=MockVariableIntBlock(baseBlockSize=27), extra2=Pulsing40(freqCutoff=20 minBlockSize=71 maxBlockSize=232), extra3=PostingsFormat(name=Lucene40WithOrds), extra4=MockVariableIntBlock(baseBlockSize=27), extra5=PostingsFormat(name=Asserting), extra6=Pulsing40(freqCutoff=20 minBlockSize=71 maxBlockSize=232), extra7=PostingsFormat(name=Lucene40WithOrds), titleTokenized=PostingsFormat(name=Asserting), extra30=PostingsFormat(name=Asserting), extra31=Pulsing40(freqCutoff=20 minBlockSize=71 maxBlockSize=232), extra32=PostingsFormat(name=Lucene40WithOrds), extra10=PostingsFormat(name=Lucene40WithOrds)}, sim=DefaultSimilarity, locale=en_IE, timezone=America/Havana [junit4:junit4] 2> NOTE: Linux 3.2.0-26-generic amd64/Sun Microsystems Inc. 1.6.0_33 (64-bit)/cpus=8,threads=5,free=120142768,total=262209536 [junit4:junit4] 2> NOTE: All tests run in this JVM: [TestConjunctions, TestDocBoost, TestTermsEnum2, TestConstantScoreQuery, Test2BTerms, TestSpanExplanations, TestLazyProxSkipping, TestDocValuesIndexing, TestSumDocFreq, TestTerm, TestFlushByRamOrCountsPolicy, TestAtomicUpdate, TestScoreCachingWrappingScorer, TestSpansAdvanced2, TestMultiTermConstantScore, TestByteSlices, TestPriorityQueue, TestVersion, TestCrashCausesCorruptIndex, TestIndexableField, TestMultiFields, TestSurrogates, TestSizeBoundedForceMerge, TestRegexpQuery, TestRandomStoredFields, TestPulsingReuse, TestRollingUpdates, TestCharFilter, TestFieldCache, TestIndexWriterExceptions, TestCompoundFile, TestBackwardsCompatibility, TestDocValues, TestMockCharFilter, TestSloppyPhraseQuery2, TestVersionComparator, TestRollingCharBuffer, TestBitVector, TestFlex, TestPayloadNearQuery, TestIndexWriterOnJRECrash, TestSearchForDuplicates, TestSpans, TestAppendingCodec, TestSimpleExplanationsOfNonMatches, TestPagedBytes, TestParallelReaderEmptyIndex, TestDeterminism, TestDeterminizeLexicon, TestTermVectors, TestFixedBitSet, ThrowInUncaught, TestNGramPhraseQuery, TestFieldCacheRewriteMethod, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, TestSnapshotDeletionPolicy, TestTermdocPerf, TestIndexWriterForceMerge, TestAllFilesHaveCodecHeader, TestRegexpRandom, TestTermScorer, TestDemo, TestPayloadProcessorProvider, TestIndexWriterLockRelease, TestLevenshteinAutomata, TestPositiveScoresOnlyCollector, TestWeakIdentityMap, TestPrefixQuery, TestDocumentWriter, TestFieldCacheRangeFilter, TestBufferedIndexInput, TestDisjunctionMaxQuery, TestGraphTokenizers, TestSetOnce, TestWildcardRandom, TestIndexWriterWithThreads, TestSearchAfter, TestBytesRef, TestNumericRangeQuery64, TestNRTThreads] [junit4:junit4] 2> java.lang.IllegalStateException: No context information for thread: Thread-923 (com.carrotsearch.randomizedtesting.RunnerThreadGroup[name=RandomizedRunner-SuiteThreadGroup-org.apache.lucene.index.TestNRTThreads,maxpri=10]). Is this thread running under a class com.carrotsearch.randomizedtesting.RandomizedRunner runner? Add @RunWith(class com.carrotsearch.randomizedtesting.RandomizedRunner.class) to your test class. [junit4:junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedContext.context(RandomizedContext.java:180) [junit4:junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedContext.current(RandomizedContext.java:127) [junit4:junit4] 2> at org.apache.lucene.util.LuceneTestCase.random(LuceneTestCase.java:428) [junit4:junit4] 2> at org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:156) [junit4:junit4] 2> java.lang.IllegalStateException: No context information for thread: Thread-925 (com.carrotsearch.randomizedtesting.RunnerThreadGroup[name=RandomizedRunner-SuiteThreadGroup-org.apache.lucene.index.TestNRTThreads,maxpri=10]). Is this thread running under a class com.carrotsearch.randomizedtesting.RandomizedRunner runner? Add @RunWith(class com.carrotsearch.randomizedtesting.RandomizedRunner.class) to your test class. [junit4:junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedContext.context(RandomizedContext.java:180) [junit4:junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedContext.current(RandomizedContext.java:127) [junit4:junit4] 2> at org.apache.lucene.util.LuceneTestCase.random(LuceneTestCase.java:428) [junit4:junit4] 2> at org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:220) [junit4:junit4] 2> java.lang.IllegalStateException: No context information for thread: Thread-922 (com.carrotsearch.randomizedtesting.RunnerThreadGroup[name=RandomizedRunner-SuiteThreadGroup-org.apache.lucene.index.TestNRTThreads,maxpri=10]). Is this thread running under a class com.carrotsearch.randomizedtesting.RandomizedRunner runner? Add @RunWith(class com.carrotsearch.randomizedtesting.RandomizedRunner.class) to your test class. [junit4:junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedContext.context(RandomizedContext.java:180) [junit4:junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedContext.current(RandomizedContext.java:127) [junit4:junit4] 2> at org.apache.lucene.util.LuceneTestCase.random(LuceneTestCase.java:428) [junit4:junit4] 2> at org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:156) [junit4:junit4] 2> java.lang.IllegalStateException: No context information for thread: Thread-924 (com.carrotsearch.randomizedtesting.RunnerThreadGroup[name=RandomizedRunner-SuiteThreadGroup-org.apache.lucene.index.TestNRTThreads,maxpri=10]). Is this thread running under a class com.carrotsearch.randomizedtesting.RandomizedRunner runner? Add @RunWith(class com.carrotsearch.randomizedtesting.RandomizedRunner.class) to your test class. [junit4:junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedContext.context(RandomizedContext.java:180) [junit4:junit4] 2> at com.carrotsearch.randomizedtesting.RandomizedContext.current(RandomizedContext.java:127) [junit4:junit4] 2> at org.apache.lucene.util.LuceneTestCase.random(LuceneTestCase.java:428) [junit4:junit4] 2> at org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase$1.run(ThreadedIndexingAndSearchingTestCase.java:156) [junit4:junit4] 1> [junit4:junit4] 2> [junit4:junit4] Completed on J0 in 2.75s, 1 test, 1 error <<< FAILURES! [...truncated 455 lines...] BUILD FAILED /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux-Java6-64/checkout/build.xml:29: The following error occurred while executing this line: /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux-Java6-64/checkout/lucene/build.xml:50: The following error occurred while executing this line: /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux-Java6-64/checkout/lucene/common-build.xml:1094: The following error occurred while executing this line: /mnt/ssd/jenkins/workspace/Lucene-Solr-4.x-Linux-Java6-64/checkout/lucene/common-build.xml:789: There were test failures: 308 suites, 1733 tests, 1 error, 17 ignored (15 assumptions) Total time: 5 minutes 47 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Recording test results Email was triggered for: Failure Sending email for trigger: Failure
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org