[ https://issues.apache.org/jira/browse/LUCENE-6936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15063989#comment-15063989 ]
ASF subversion and git services commented on LUCENE-6936: --------------------------------------------------------- Commit 1720798 from [~mikemccand] in branch 'dev/trunk' [ https://svn.apache.org/r1720798 ] LUCENE-6936: don't try to merge dimentional values that have 0 points/documents (when all docs having dimensional values were deleted) > TestDimensionalRangeQuery failures: AIOOBE while merging > --------------------------------------------------------- > > Key: LUCENE-6936 > URL: https://issues.apache.org/jira/browse/LUCENE-6936 > Project: Lucene - Core > Issue Type: Bug > Affects Versions: Trunk > Reporter: Steve Rowe > Assignee: Michael McCandless > > From [http://jenkins.sarowe.net/job/Lucene-Solr-Nightly-trunk/105/] - neither > failure reproduced for me on the same box: > {noformat} > [junit4] Suite: org.apache.lucene.search.TestDimensionalRangeQuery > [junit4] 2> NOTE: download the large Jenkins line-docs file by running > 'ant get-jenkins-line-docs' in the lucene directory. > [junit4] 2> NOTE: reproduce with: ant test > -Dtestcase=TestDimensionalRangeQuery -Dtests.method=testRandomLongsBig > -Dtests.seed=BEF1D45ADA12B09B -Dtests.multiplier=2 -Dtests.nightly=true > -Dtests.slow=true > -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt > -Dtests.locale=cs_CZ -Dtests.timezone=Africa/Porto-Novo -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1 > [junit4] ERROR 43.4s J5 | TestDimensionalRangeQuery.testRandomLongsBig > <<< > [junit4] > Throwable #1: > org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed > [junit4] > at > __randomizedtesting.SeedInfo.seed([BEF1D45ADA12B09B:95C7B6D701973443]:0) > [junit4] > at > org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:714) > [junit4] > at > org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:728) > [junit4] > at > org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1459) > [junit4] > at > org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1242) > [junit4] > at > org.apache.lucene.index.RandomIndexWriter.addDocument(RandomIndexWriter.java:170) > [junit4] > at > org.apache.lucene.search.TestDimensionalRangeQuery.verifyLongs(TestDimensionalRangeQuery.java:208) > [junit4] > at > org.apache.lucene.search.TestDimensionalRangeQuery.doTestRandomLongs(TestDimensionalRangeQuery.java:147) > [junit4] > at > org.apache.lucene.search.TestDimensionalRangeQuery.testRandomLongsBig(TestDimensionalRangeQuery.java:114) > [junit4] > at java.lang.Thread.run(Thread.java:745) > [junit4] > Caused by: java.lang.ArrayIndexOutOfBoundsException: 1024 > [junit4] > at > org.apache.lucene.util.bkd.BKDWriter$MergeReader.next(BKDWriter.java:279) > [junit4] > at > org.apache.lucene.util.bkd.BKDWriter.merge(BKDWriter.java:413) > [junit4] > at > org.apache.lucene.codecs.lucene60.Lucene60DimensionalWriter.merge(Lucene60DimensionalWriter.java:159) > [junit4] > at > org.apache.lucene.index.SegmentMerger.mergeDimensionalValues(SegmentMerger.java:168) > [junit4] > at > org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:117) > [junit4] > at > org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4062) > [junit4] > at > org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3642) > [junit4] > at > org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:588) > [junit4] > at > org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:626) > [junit4] 2> NOTE: leaving temporary files on disk at: > /var/lib/jenkins/jobs/Lucene-Solr-Nightly-trunk/workspace/lucene/build/core/test/J5/temp/lucene.search.TestDimensionalRangeQuery_BEF1D45ADA12B09B-001 > [junit4] 2> Dec 15, 2015 11:03:38 PM > com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler > uncaughtException > [junit4] 2> WARNING: Uncaught exception in thread: Thread[Lucene Merge > Thread #634,5,TGRP-TestDimensionalRangeQuery] > [junit4] 2> org.apache.lucene.index.MergePolicy$MergeException: > java.lang.ArrayIndexOutOfBoundsException: 1024 > [junit4] 2> at > __randomizedtesting.SeedInfo.seed([BEF1D45ADA12B09B]:0) > [junit4] 2> at > org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:668) > [junit4] 2> at > org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:648) > [junit4] 2> Caused by: java.lang.ArrayIndexOutOfBoundsException: 1024 > [junit4] 2> at > org.apache.lucene.util.bkd.BKDWriter$MergeReader.next(BKDWriter.java:279) > [junit4] 2> at > org.apache.lucene.util.bkd.BKDWriter.merge(BKDWriter.java:413) > [junit4] 2> at > org.apache.lucene.codecs.lucene60.Lucene60DimensionalWriter.merge(Lucene60DimensionalWriter.java:159) > [junit4] 2> at > org.apache.lucene.index.SegmentMerger.mergeDimensionalValues(SegmentMerger.java:168) > [junit4] 2> at > org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:117) > [junit4] 2> at > org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4062) > [junit4] 2> at > org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3642) > [junit4] 2> at > org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:588) > [junit4] 2> at > org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:626) > [junit4] 2> > [junit4] 2> Dec 15, 2015 11:03:38 PM > com.carrotsearch.randomizedtesting.ThreadLeakControl checkThreadLeaks > [junit4] 2> WARNING: Will linger awaiting termination of 1 leaked > thread(s). > [junit4] 2> NOTE: test params are: > codec=FastCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST, > chunkSize=4, maxDocsPerChunk=729, blockSize=3), > termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST, > chunkSize=4, blockSize=3)), > sim=RandomSimilarityProvider(queryNorm=false,coord=no): {}, locale=cs_CZ, > timezone=Africa/Porto-Novo > [junit4] 2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation > 1.8.0_45 (64-bit)/cpus=16,threads=1,free=166342976,total=535298048 > [junit4] 2> NOTE: All tests run in this JVM: [TestPositionIncrement, > TestConcurrentMergeScheduler, TestDimensionalRangeQuery] > [junit4] 2> NOTE: download the large Jenkins line-docs file by running > 'ant get-jenkins-line-docs' in the lucene directory. > [junit4] 2> NOTE: reproduce with: ant test > -Dtestcase=TestDimensionalRangeQuery -Dtests.seed=BEF1D45ADA12B09B > -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true > -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt > -Dtests.locale=cs_CZ -Dtests.timezone=Africa/Porto-Novo -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1 > [junit4] ERROR 0.00s J5 | TestDimensionalRangeQuery (suite) <<< > [junit4] > Throwable #1: > com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an > uncaught exception in thread: Thread[id=5397, name=Lucene Merge Thread #634, > state=RUNNABLE, group=TGRP-TestDimensionalRangeQuery] > [junit4] > Caused by: > org.apache.lucene.index.MergePolicy$MergeException: > java.lang.ArrayIndexOutOfBoundsException: 1024 > [junit4] > at > __randomizedtesting.SeedInfo.seed([BEF1D45ADA12B09B]:0) > [junit4] > at > org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:668) > [junit4] > at > org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:648) > [junit4] > Caused by: java.lang.ArrayIndexOutOfBoundsException: 1024 > [junit4] > at > org.apache.lucene.util.bkd.BKDWriter$MergeReader.next(BKDWriter.java:279) > [junit4] > at > org.apache.lucene.util.bkd.BKDWriter.merge(BKDWriter.java:413) > [junit4] > at > org.apache.lucene.codecs.lucene60.Lucene60DimensionalWriter.merge(Lucene60DimensionalWriter.java:159) > [junit4] > at > org.apache.lucene.index.SegmentMerger.mergeDimensionalValues(SegmentMerger.java:168) > [junit4] > at > org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:117) > [junit4] > at > org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4062) > [junit4] > at > org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3642) > [junit4] > at > org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:588) > [junit4] > at > org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:626) > [junit4] Completed [185/403 (1!)] on J5 in 727.10s, 17 tests, 2 errors <<< > FAILURES! > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org