lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: [JENKINS] Lucene-Solr-4.x-Windows (32bit/jdk1.7.0_09) - Build # 1582 - Failure!
Date Tue, 13 Nov 2012 13:40:38 GMT
Yeah sorry you have to have <= 2 (maybe 4) cores in your machine to
reproduce this!  (Because ConcurrentMergeScheduler sets default
maxMergeCount/Threads based on this).

I backported the fix ...

Mike McCandless

http://blog.mikemccandless.com

On Mon, Nov 12, 2012 at 11:23 PM, Robert Muir <rcmuir@gmail.com> wrote:
> I can't reproduce this, but I think the fix is to just merge mike's
> test fix (r1408251) ?
>
> On Mon, Nov 12, 2012 at 11:17 PM, Policeman Jenkins Server
> <jenkins@sd-datasolutions.de> wrote:
>> Build: http://jenkins.sd-datasolutions.de/job/Lucene-Solr-4.x-Windows/1582/
>> Java: 32bit/jdk1.7.0_09 -client -XX:+UseParallelGC
>>
>> 1 tests failed.
>> REGRESSION:  org.apache.lucene.index.TestConcurrentMergeScheduler.testMaxMergeCount
>>
>> Error Message:
>> count should be <= maxMergeCount (= 3)
>>
>> Stack Trace:
>> java.lang.IllegalArgumentException: count should be <= maxMergeCount (= 3)
>>         at __randomizedtesting.SeedInfo.seed([F94951BDB9CDA2D0:2E2EC00E050C3D56]:0)
>>         at org.apache.lucene.index.ConcurrentMergeScheduler.setMaxThreadCount(ConcurrentMergeScheduler.java:90)
>>         at org.apache.lucene.index.TestConcurrentMergeScheduler.testMaxMergeCount(TestConcurrentMergeScheduler.java:303)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:601)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1559)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:737)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:773)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:787)
>>         at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>>         at org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51)
>>         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.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.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>>         at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
>>         at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782)
>>         at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682)
>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693)
>>         at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>>         at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
>>         at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>>         at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>>         at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>>         at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>>         at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
>>         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.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>>         at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
>>         at java.lang.Thread.run(Thread.java:722)
>>
>>
>>
>>
>> Build Log:
>> [...truncated 846 lines...]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestConcurrentMergeScheduler
>> [junit4:junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestConcurrentMergeScheduler
-Dtests.method=testMaxMergeCount -Dtests.seed=F94951BDB9CDA2D0 -Dtests.slow=true -Dtests.locale=vi
-Dtests.timezone=Europe/Malta -Dtests.file.encoding=UTF-8
>> [junit4:junit4] ERROR   0.01s | TestConcurrentMergeScheduler.testMaxMergeCount <<<
>> [junit4:junit4]    > Throwable #1: java.lang.IllegalArgumentException: count should
be <= maxMergeCount (= 3)
>> [junit4:junit4]    >    at __randomizedtesting.SeedInfo.seed([F94951BDB9CDA2D0:2E2EC00E050C3D56]:0)
>> [junit4:junit4]    >    at org.apache.lucene.index.ConcurrentMergeScheduler.setMaxThreadCount(ConcurrentMergeScheduler.java:90)
>> [junit4:junit4]    >    at org.apache.lucene.index.TestConcurrentMergeScheduler.testMaxMergeCount(TestConcurrentMergeScheduler.java:303)
>> [junit4:junit4]    >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>> [junit4:junit4]    >    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> [junit4:junit4]    >    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> [junit4:junit4]    >    at java.lang.reflect.Method.invoke(Method.java:601)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1559)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:737)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:773)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:787)
>> [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:51)
>> [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.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.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693)
>> [junit4:junit4]    >    at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
>> [junit4:junit4]    >    at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>> [junit4:junit4]    >    at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
>> [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.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>> [junit4:junit4]    >    at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
>> [junit4:junit4]    >    at java.lang.Thread.run(Thread.java:722)
>> [junit4:junit4]   2> NOTE: test params are: codec=Lucene41: {content=PostingsFormat(name=NestedPulsing),
id=MockVariableIntBlock(baseBlockSize=17)}, sim=DefaultSimilarity, locale=vi, timezone=Europe/Malta
>> [junit4:junit4]   2> NOTE: Windows 7 6.1 x86/Oracle Corporation 1.7.0_09 (32-bit)/cpus=2,threads=1,free=48417344,total=314179584
>> [junit4:junit4]   2> NOTE: All tests run in this JVM: [TestMultiTermConstantScore,
TestLucene40PostingsFormat, TestRollback, TestNRTManager, TestDocValuesTypeCompatibility,
TestByteBlockPool, TestIndexWriterNRTIsCurrent, TestNorms, TestSimilarityProvider, TestDocumentWriter,
TestWindowsMMap, TestScorerPerf, TestLock, TestCachingWrapperFilter, TestIndexWriterExceptions,
TestCompiledAutomaton, TestMultiTermQueryRewrites, TestTieredMergePolicy, TestFuzzyQuery,
TestWildcardRandom, TestDoc, TestFilteredSearch, TestReaderClosed, TestTopDocsMerge, TestPhraseQuery,
Nested, TestBagOfPositions, TestBoolean2, TestComplexExplanations, TestArrayUtil, TestDocBoost,
TestIndexableField, TestIndexWriter, TestQueryWrapperFilter, TestFieldCacheRewriteMethod,
TestDemo, TestDeletionPolicy, TestSumDocFreq, TestBytesRefHash, TestSpanFirstQuery, TestSentinelIntSet,
TestExternalCodecs, TestBooleanScorer, TestFieldsReader, TestIndexWriterCommit, TestNumericRangeQuery64,
TestBooleanQuery, TestBackwardsCompatibility3x, TestFileSwitchDirectory, TestSimilarityBase,
TestCodecs, TestParallelAtomicReader, TestLevenshteinAutomata, TestRamUsageEstimatorOnWildAnimals,
TestSameTokenSamePosition, TestSpanExplanationsOfNonMatches, TestTermRangeFilter, TestPackedInts,
TestCloseableThreadLocal, TestBasicOperations, TestOmitPositions, TestSpanSearchEquivalence,
TestCrash, TestBinaryDocument, TestLookaheadTokenFilter, TestAttributeSource, TestTermScorer,
TestBitUtil, TestPriorityQueue, TestIntsRef, TestTopDocsCollector, TestThreadedForceMerge,
TestCrashCausesCorruptIndex, TestPhrasePrefixQuery, TestStressIndexing2, TestLucene40PostingsReader,
TestDirectoryReaderReopen, TestFilterAtomicReader, Before3, Before3, TestBufferedIndexInput,
TestDocument, Test2BPostingsBytes, TestNumericUtils, TestSimilarity, TestDuelingCodecs, TestIdentityHashSet,
TestMultiPhraseQuery, TestTypePromotion, TestStressNRT, Test2BDocs, TestDeterminizeLexicon,
TestDocCount, TestMockCharFilter, TestOpenBitSet, TestWeakIdentityMap, TestCheckIndex, TestTermVectorsReader,
TestDisjunctionMaxQuery, TestPayloadExplanations, TestDateTools, TestNRTReaderWithThreads,
TestPrefixRandom, TestMockAnalyzer, Nested1, TestVersionComparator, TestMultiMMap, TestIsCurrent,
TestPrefixFilter, TestParallelTermEnum, TestIndexWriterConfig, TestExplanations, TestFieldCacheTermsFilter,
TestNeverDelete, TestIndexWriterReader, TestTerm, TestSubScorerFreqs, TestCollectionUtil,
TestIndexableBinaryStringTools, TestAssertions, TestPositionIncrement, TestNGramPhraseQuery,
TestTwoPhaseCommitTool, TestSetOnce, TestStressIndexing, Test4GBStoredFields, TestPayloads,
TestCachingCollector, TestStressAdvance, TestRecyclingIntBlockAllocator, TestBytesRef, Nested2,
Nested1, Nested3, TestPrefixInBooleanQuery, TestTermsEnum2, TestRandomStoredFields, TestDocValues,
Nested, TestMatchAllDocsQuery, TestSearch, TestIndexWriterForceMerge, TestDirectory, InTestMethod,
InBeforeClass, InAfterClass, NonStringProperties, TestNot, TestMockDirectoryWrapper, TestDocTermOrds,
TestFieldCacheSanityChecker, TestBagOfPostings, TestRamUsageEstimator, TestUnicodeUtil, TestNumericTokenStream,
Test2BPostings, TestUTF32ToUTF8, TestIndexWriterOnDiskFull, TestElevationComparator, TestPerFieldPostingsFormat,
TestDateSort, TestSizeBoundedForceMerge, TestFieldCacheRangeFilter, TestHugeRamFile, TestIndexFileDeleter,
TestIndexWriterUnicode, TestTransactionRollback, Test2BTerms, TestRecyclingByteBlockAllocator,
TestIndexWriterWithThreads, TestFSTs, TestGraphTokenizers, TestShardSearching, TestSearcherManager,
TestNumericRangeQuery32, TestNRTThreads, TestBasics, TestByteSlices, TestAddIndexes, TestAtomicUpdate,
TestTermsEnum, TestIndexWriterMerging, TestIndexWriterMergePolicy, TestTimeLimitingCollector,
TestFlushByRamOrCountsPolicy, TestSearchAfter, TestMinimize, TestSloppyPhraseQuery, TestPersistentSnapshotDeletionPolicy,
TestBackwardsCompatibility, TestSort, TestIndexWriterDelete, TestSearchWithThreads, TestNRTCachingDirectory,
TestPagedBytes, TestLongPostings, TestDirectoryReader, TestFixedBitSet, TestToken, TestCompoundFile,
TestSimpleExplanations, TestCustomNorms, TestSnapshotDeletionPolicy, TestDocumentsWriterStallControl,
TestRegexpRandom2, TestDocValuesIndexing, TestConcurrentMergeScheduler]
>> [junit4:junit4] Completed in 1.28s, 5 tests, 1 error <<< FAILURES!
>>
>> [...truncated 387 lines...]
>> BUILD FAILED
>> C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\build.xml:337: The following
error occurred while executing this line:
>> C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\build.xml:39: The following
error occurred while executing this line:
>> C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\lucene\build.xml:50: The
following error occurred while executing this line:
>> C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\lucene\common-build.xml:1163:
The following error occurred while executing this line:
>> C:\Users\JenkinsSlave\workspace\Lucene-Solr-4.x-Windows\lucene\common-build.xml:827:
There were test failures: 325 suites, 1862 tests, 1 error, 22 ignored (11 assumptions)
>>
>> Total time: 8 minutes 33 seconds
>> Build step 'Invoke Ant' marked build as failure
>> Archiving artifacts
>> Recording test results
>> Description set: Java: 32bit/jdk1.7.0_09 -client -XX:+UseParallelGC
>> Email was triggered for: Failure
>> Sending email for trigger: Failure
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

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


Mime
View raw message