lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: [JENKINS] Lucene-Solr-tests-only-4.x - Build # 328 - Still Failing
Date Tue, 24 Jul 2012 19:51:48 GMT
I committed a fix for this (and likely other recent OOMs too)

On Tue, Jul 24, 2012 at 3:38 PM, Robert Muir <rcmuir@gmail.com> wrote:
> I will look into these in a bit. I think we might have a test leak
> (holding onto some huge stuff as static or something):
> TestPostingsFormat is suspect, I just added it :)
>
> On Tue, Jul 24, 2012 at 3:33 PM, Apache Jenkins Server
> <jenkins@builds.apache.org> wrote:
>> Build: https://builds.apache.org/job/Lucene-Solr-tests-only-4.x/328/
>>
>> 1 tests failed.
>> REGRESSION:  org.apache.lucene.util.automaton.TestDeterminizeLexicon.testLexicon
>>
>> Error Message:
>> Java heap space
>>
>> Stack Trace:
>> java.lang.OutOfMemoryError: Java heap space
>>         at __randomizedtesting.SeedInfo.seed([9095E2F784CC8916:2DE3B783D43D9C28]:0)
>>         at org.apache.lucene.util.automaton.RunAutomaton.<init>(RunAutomaton.java:128)
>>         at org.apache.lucene.util.automaton.ByteRunAutomaton.<init>(ByteRunAutomaton.java:31)
>>         at org.apache.lucene.util.automaton.ByteRunAutomaton.<init>(ByteRunAutomaton.java:26)
>>         at org.apache.lucene.util.automaton.TestDeterminizeLexicon.assertLexicon(TestDeterminizeLexicon.java:57)
>>         at org.apache.lucene.util.automaton.TestDeterminizeLexicon.testLexicon(TestDeterminizeLexicon.java:45)
>>         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:616)
>>         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)
>>
>>
>>
>>
>> Build Log:
>> [...truncated 640 lines...]
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestTieredMergePolicy
>> [junit4:junit4] Completed on J0 in 10.83s, 3 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.util.fst.TestFSTs
>> [junit4:junit4] IGNOR/A 0.01s J1 | TestFSTs.testBigSet
>> [junit4:junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly)
>> [junit4:junit4] Completed on J1 in 34.68s, 17 tests, 1 skipped
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestNorms
>> [junit4:junit4] Completed on J1 in 15.15s, 3 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.analysis.TestLookaheadTokenFilter
>> [junit4:junit4] Completed on J1 in 18.38s, 2 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.search.TestShardSearching
>> [junit4:junit4] Completed on J1 in 18.89s, 1 test
>> [junit4:junit4]
>> [junit4:junit4] HEARTBEAT J0: 2012-07-24T19:29:26, no events in: 60.9s, approx. at:
TestIndexWriterWithThreads.testRollbackAndCommitWithThreads
>> [junit4:junit4] Suite: org.apache.lucene.search.TestBoolean2
>> [junit4:junit4] Completed on J1 in 2.31s, 11 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestIndexWriterExceptions
>> [junit4:junit4] Completed on J1 in 5.12s, 24 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestByteSlices
>> [junit4:junit4] Completed on J1 in 10.88s, 1 test
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestDeletionPolicy
>> [junit4:junit4] Completed on J1 in 3.52s, 6 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestAddIndexes
>> [junit4:junit4] Completed on J1 in 3.97s, 20 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestAtomicUpdate
>> [junit4:junit4] Completed on J1 in 4.26s, 1 test
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestIndexWriterWithThreads
>> [junit4:junit4] Completed on J0 in 126.61s, 12 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.search.TestNGramPhraseQuery
>> [junit4:junit4] Completed on J0 in 0.02s, 1 test
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.util.junitcompat.TestSystemPropertiesInvariantRule
>> [junit4:junit4] Completed on J0 in 0.04s, 5 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestTerm
>> [junit4:junit4] Completed on J0 in 0.02s, 1 test
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.search.TestTermRangeQuery
>> [junit4:junit4] Completed on J0 in 0.16s, 7 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.store.TestWindowsMMap
>> [junit4:junit4] Completed on J0 in 0.19s, 1 test
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestMaxTermFrequency
>> [junit4:junit4] Completed on J0 in 0.96s, 1 test
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.util.automaton.TestLevenshteinAutomata
>> [junit4:junit4] Completed on J0 in 3.36s, 4 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestTermsEnum
>> [junit4:junit4] Completed on J1 in 35.33s, 7 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestIndexWriter
>> [junit4:junit4] Completed on J1 in 3.52s, 48 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestIndexWriterMerging
>> [junit4:junit4] Completed on J1 in 1.82s, 6 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.store.TestMultiMMap
>> [junit4:junit4] Completed on J1 in 5.55s, 5 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.util.TestRollingCharBuffer
>> [junit4:junit4] Completed on J0 in 15.70s, 1 test
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.search.TestPositiveScoresOnlyCollector
>> [junit4:junit4] Completed on J0 in 0.02s, 1 test
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.TestDemo
>> [junit4:junit4] Completed on J0 in 0.01s, 1 test
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestNoDeletionPolicy
>> [junit4:junit4] Completed on J0 in 0.03s, 4 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.codecs.lucene40.TestLucene40PostingsReader
>> [junit4:junit4] Completed on J1 in 4.36s, 1 test
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestIndexWriterMergePolicy
>> [junit4:junit4] Completed on J1 in 1.70s, 6 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.search.TestTimeLimitingCollector
>> [junit4:junit4] Completed on J1 in 1.67s, 6 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestNeverDelete
>> [junit4:junit4] Completed on J1 in 4.68s, 1 test
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestBackwardsCompatibility
>> [junit4:junit4] Completed on J0 in 13.52s, 13 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestFlushByRamOrCountsPolicy
>> [junit4:junit4] Completed on J1 in 13.72s, 5 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.index.TestIndexWriterReader
>> [junit4:junit4] Completed on J0 in 24.83s, 20 tests
>> [junit4:junit4]
>> [junit4:junit4] Suite: org.apache.lucene.util.automaton.TestDeterminizeLexicon
>> [junit4:junit4] ERROR   3.34s J0 | TestDeterminizeLexicon.testLexicon
>> [junit4:junit4]    > Throwable #1: java.lang.OutOfMemoryError: Java heap space
>> [junit4:junit4]    >    at __randomizedtesting.SeedInfo.seed([9095E2F784CC8916:2DE3B783D43D9C28]:0)
>> [junit4:junit4]    >    at org.apache.lucene.util.automaton.RunAutomaton.<init>(RunAutomaton.java:128)
>> [junit4:junit4]    >    at org.apache.lucene.util.automaton.ByteRunAutomaton.<init>(ByteRunAutomaton.java:31)
>> [junit4:junit4]    >    at org.apache.lucene.util.automaton.ByteRunAutomaton.<init>(ByteRunAutomaton.java:26)
>> [junit4:junit4]    >    at org.apache.lucene.util.automaton.TestDeterminizeLexicon.assertLexicon(TestDeterminizeLexicon.java:57)
>> [junit4:junit4]    >    at org.apache.lucene.util.automaton.TestDeterminizeLexicon.testLexicon(TestDeterminizeLexicon.java:45)
>> [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:616)
>> [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]    >
>> [junit4:junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestDeterminizeLexicon
-Dtests.method=testLexicon -Dtests.seed=9095E2F784CC8916 -Dtests.multiplier=3 -Dtests.slow=true
-Dtests.locale=fr_CH -Dtests.timezone=Asia/Ashkhabad -Dtests.file.encoding=ISO-8859-1
>> [junit4:junit4]   2>
>> [junit4:junit4]    > (@AfterClass output)
>> [junit4:junit4]   2> NOTE: test params are: codec=Lucene3x, sim=DefaultSimilarity,
locale=fr_CH, timezone=Asia/Ashkhabad
>> [junit4:junit4]   2> NOTE: FreeBSD 9.0-RELEASE amd64/Sun Microsystems Inc. 1.6.0_32
(64-bit)/cpus=16,threads=1,free=137777984,total=477233152
>> [junit4:junit4]   2> NOTE: All tests run in this JVM: [TestOpenBitSet, TestSpanSearchEquivalence,
TestPayloadNearQuery, TestSloppyPhraseQuery, TestSurrogates, TestPositionIncrement, TestSortedVIntList,
TestPhraseQuery, TestSloppyPhraseQuery2, TestSnapshotDeletionPolicy, TestVersion, TestNot,
TestParallelCompositeReader, TestSimilarityProvider, TestRegexpRandom, TestFlex, TestIndexWriterNRTIsCurrent,
Test2BTerms, TestFuzzyQuery, TestIndexWriterCommit, Nested, Nested, Nested, Nested, Nested,
Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested,
Nested, Nested, Nested, Nested, TestWeakIdentityMap, TestSpanFirstQuery, TestSetOnce, TestSearcherManager,
TestIndexableField, TestPrefixInBooleanQuery, TestIndexWriterForceMerge, TestBooleanQueryVisitSubscorers,
TestMultiTermConstantScore, TestFilteredQuery, TestIndexableBinaryStringTools, TestDirectoryReaderReopen,
TestFilterAtomicReader, TestFieldCache, TestSort, TestIndexWriterLockRelease, TestFieldCacheRangeFilter,
TestCompoundFile, TestStressIndexing2, TestPayloadTermQuery, TestCheckIndex, TestDocBoost,
TestGraphTokenizers, TestDocValuesIndexing, TestBitVector, NestedSetupChain, NestedTeardownChain,
TestMultiPhraseQuery, TestTermsEnum2, TestLazyProxSkipping, TestPostingsFormat, TestParallelReaderEmptyIndex,
TestNumericUtils, TestNRTThreads, TestTermScorer, TestTieredMergePolicy, TestIndexWriterWithThreads,
TestNGramPhraseQuery, InBeforeClass, InAfterClass, InTestMethod, NonStringProperties, TestTerm,
TestTermRangeQuery, TestWindowsMMap, TestMaxTermFrequency, TestLevenshteinAutomata, TestRollingCharBuffer,
TestPositiveScoresOnlyCollector, TestDemo, TestNoDeletionPolicy, TestBackwardsCompatibility,
TestIndexWriterReader, TestDeterminizeLexicon]
>> [junit4:junit4]   2>
>> [junit4:junit4] Completed on J0 in 3.35s, 1 test, 1 error <<< FAILURES!
>> [...truncated 445 lines...]
>>
>> [...truncated 1236 lines...]
>>
>> [...truncated 1236 lines...]
>>
>> [...truncated 1236 lines...]
>>
>> [...truncated 1236 lines...]
>>
>> [...truncated 1222 lines...]
>> BUILD FAILED
>> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-4.x/checkout/build.xml:29:
The following error occurred while executing this line:
>> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-4.x/checkout/lucene/build.xml:50:
The following error occurred while executing this line:
>> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-4.x/checkout/lucene/common-build.xml:1094:
The following error occurred while executing this line:
>> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-4.x/checkout/lucene/common-build.xml:789:
There were test failures: 309 suites, 1734 tests, 1 error, 14 ignored (12 assumptions)
>>
>> Total time: 8 minutes 6 seconds
>> Build step 'Execute shell' marked build as failure
>> Archiving artifacts
>> Recording test results
>> Publishing Clover coverage report...
>> No Clover report will be published due to a Build Failure
>> 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
>
>
>
> --
> lucidimagination.com



-- 
lucidimagination.com

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


Mime
View raw message