lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LUCENE-7269) TestPointQueries failures
Date Mon, 02 May 2016 23:35:13 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15267724#comment-15267724
] 

Steve Rowe edited comment on LUCENE-7269 at 5/2/16 11:34 PM:
-------------------------------------------------------------

This code - added in LUCENE-7262 - is where the assertion is tripped:

{code:java|title=DocIdSetBuilder.java}
101:  DocIdSetBuilder(int maxDoc, int docCount, long valueCount) {
102:    this.maxDoc = maxDoc;
103:    this.multivalued = docCount < 0 || docCount != valueCount;
104:    this.numValuesPerDoc = (docCount < 0 || valueCount < 0)
105:        // assume one value per doc, this means the cost will be overestimated
106:        // if the docs are actually multi-valued
107:        ? 1
108:       // otherwise compute from index stats
109:        : (double) valueCount / docCount;
110:    assert numValuesPerDoc >= 1;
{code}

The same assertion was tripped in {{TestPointQueries.testRandomLongsTiny()}} on Policeman
Jenkins [http://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/16643/]:

{noformat}
   [junit4] Suite: org.apache.lucene.search.TestPointQueries
   [junit4]   2> May 03, 2016 4:32:50 AM com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
uncaughtException
   [junit4]   2> WARNING: Uncaught exception in thread: Thread[T1,5,TGRP-TestPointQueries]
   [junit4]   2> java.lang.AssertionError
   [junit4]   2> 	at __randomizedtesting.SeedInfo.seed([FFA825CE713FFF2F]:0)
   [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
   [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
   [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
   [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
   [junit4]   2> 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
   [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
   [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
   [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
   [junit4]   2> 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
   [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
   [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$1._run(TestPointQueries.java:554)
   [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$1.run(TestPointQueries.java:503)
   [junit4]   2> 
   [junit4]   2> May 03, 2016 4:32:50 AM com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
uncaughtException
   [junit4]   2> WARNING: Uncaught exception in thread: Thread[T0,5,TGRP-TestPointQueries]
   [junit4]   2> java.lang.AssertionError
   [junit4]   2> 	at __randomizedtesting.SeedInfo.seed([FFA825CE713FFF2F]:0)
   [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
   [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
   [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
   [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
   [junit4]   2> 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
   [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
   [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
   [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
   [junit4]   2> 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
   [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
   [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$1._run(TestPointQueries.java:554)
   [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$1.run(TestPointQueries.java:503)
   [junit4]   2> 
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestPointQueries -Dtests.method=testRandomLongsTiny
-Dtests.seed=FFA825CE713FFF2F -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=en-ZM
-Dtests.timezone=Asia/Kuala_Lumpur -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
   [junit4] ERROR   0.03s J2 | TestPointQueries.testRandomLongsTiny <<<
   [junit4]    > Throwable #1: com.carrotsearch.randomizedtesting.UncaughtExceptionError:
Captured an uncaught exception in thread: Thread[id=489, name=T0, state=RUNNABLE, group=TGRP-TestPointQueries]
   [junit4]    > Caused by: java.lang.AssertionError
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([FFA825CE713FFF2F]:0)
   [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
   [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
   [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
   [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
   [junit4]    > 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
   [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
   [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
   [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
   [junit4]    > 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
   [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
   [junit4]    > 	at org.apache.lucene.search.TestPointQueries$1._run(TestPointQueries.java:554)
   [junit4]    > 	at org.apache.lucene.search.TestPointQueries$1.run(TestPointQueries.java:503)Throwable
#2: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception
in thread: Thread[id=490, name=T1, state=RUNNABLE, group=TGRP-TestPointQueries]
   [junit4]    > Caused by: java.lang.AssertionError
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([FFA825CE713FFF2F]:0)
   [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
   [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
   [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
   [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
   [junit4]    > 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
   [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
   [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
   [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
   [junit4]    > 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
   [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
   [junit4]    > 	at org.apache.lucene.search.TestPointQueries$1._run(TestPointQueries.java:554)
   [junit4]    > 	at org.apache.lucene.search.TestPointQueries$1.run(TestPointQueries.java:503)
   [junit4] IGNOR/A 0.00s J2 | TestPointQueries.testRandomLongsBig
   [junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly())
   [junit4] IGNOR/A 0.00s J2 | TestPointQueries.testRandomBinaryBig
   [junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly())
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene60): {id=Lucene50(blocksize=128)},
docValues:{id=DocValuesFormat(name=Lucene54), value=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=32,
maxMBSortInHeap=7.107446227776487, sim=ClassicSimilarity, locale=en-ZM, timezone=Asia/Kuala_Lumpur
   [junit4]   2> NOTE: Linux 4.2.0-35-generic i386/Oracle Corporation 9-ea (32-bit)/cpus=12,threads=1,free=67514616,total=153092096
   [junit4]   2> NOTE: All tests run in this JVM: [TestInfoStream, TestGeoUtils, TestFrequencyTrackingRingBuffer,
TestNRTThreads, TestNumericUtils, TestIOUtils, TestTopDocsMerge, Test2BPoints, TestNearSpansOrdered,
TestMutableValues, TestDocInverterPerFieldErrorInfo, TestCachingCollector, TestSpanExplanationsOfNonMatches,
TestWildcard, TestIndexWriterMerging, TestIndexWriterOnDiskFull, Test2BPositions, TestBytesStore,
TestTimSorter, TestTotalHitCountCollector, TestMixedCodecs, TestTopDocsCollector, TestSpanNearQuery,
TestBooleanOr, TestControlledRealTimeReopenThread, TestDateTools, TestCharTermAttributeImpl,
TestRoaringDocIdSet, TestSpans, TestFuzzyQuery, TestIndexWriterExceptions2, TestSloppyPhraseQuery,
Test2BPagedBytes, TestSearchForDuplicates, TestRollingUpdates, TestArrayUtil, TestNumericRangeQuery32,
TestTermsEnum2, TestSimpleFSLockFactory, TestIndexWriterReader, TestIndexableField, TestRegExp,
TestMultiLevelSkipList, Test2BBinaryDocValues, TestSparseFixedBitDocIdSet, TestElevationComparator,
TestBytesRefHash, TestRegexpRandom2, TestSearch, TestIndexFileDeleter, TestTwoPhaseCommitTool,
TestIntBlockPool, TestPointQueries]
   [junit4] Completed [142/419 (1!)] on J2 in 9.95s, 45 tests, 1 error, 2 skipped <<<
FAILURES!
{noformat}


was (Author: steve_rowe):
This code - added in LUCENE-7262 - is where the assertion is tripped:

{code:java|title=DocIdSetBuilder.java}
101:  DocIdSetBuilder(int maxDoc, int docCount, long valueCount) {
102:    this.maxDoc = maxDoc;
103:    this.multivalued = docCount < 0 || docCount != valueCount;
104:    this.numValuesPerDoc = (docCount < 0 || valueCount < 0)
105:        // assume one value per doc, this means the cost will be overestimated
106:        // if the docs are actually multi-valued
107:        ? 1
108:       // otherwise compute from index stats
109:        : (double) valueCount / docCount;
110:    assert numValuesPerDoc >= 1;
{code}

The same assertion was tripped in {{TestPointQueries.testRandomLongsTiny()}} on ASF Jenkins
[http://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/16643/]:

{noformat}
   [junit4] Suite: org.apache.lucene.search.TestPointQueries
   [junit4]   2> May 03, 2016 4:32:50 AM com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
uncaughtException
   [junit4]   2> WARNING: Uncaught exception in thread: Thread[T1,5,TGRP-TestPointQueries]
   [junit4]   2> java.lang.AssertionError
   [junit4]   2> 	at __randomizedtesting.SeedInfo.seed([FFA825CE713FFF2F]:0)
   [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
   [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
   [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
   [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
   [junit4]   2> 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
   [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
   [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
   [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
   [junit4]   2> 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
   [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
   [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$1._run(TestPointQueries.java:554)
   [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$1.run(TestPointQueries.java:503)
   [junit4]   2> 
   [junit4]   2> May 03, 2016 4:32:50 AM com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
uncaughtException
   [junit4]   2> WARNING: Uncaught exception in thread: Thread[T0,5,TGRP-TestPointQueries]
   [junit4]   2> java.lang.AssertionError
   [junit4]   2> 	at __randomizedtesting.SeedInfo.seed([FFA825CE713FFF2F]:0)
   [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
   [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
   [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
   [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
   [junit4]   2> 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
   [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
   [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
   [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
   [junit4]   2> 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
   [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
   [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$1._run(TestPointQueries.java:554)
   [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$1.run(TestPointQueries.java:503)
   [junit4]   2> 
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestPointQueries -Dtests.method=testRandomLongsTiny
-Dtests.seed=FFA825CE713FFF2F -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=en-ZM
-Dtests.timezone=Asia/Kuala_Lumpur -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
   [junit4] ERROR   0.03s J2 | TestPointQueries.testRandomLongsTiny <<<
   [junit4]    > Throwable #1: com.carrotsearch.randomizedtesting.UncaughtExceptionError:
Captured an uncaught exception in thread: Thread[id=489, name=T0, state=RUNNABLE, group=TGRP-TestPointQueries]
   [junit4]    > Caused by: java.lang.AssertionError
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([FFA825CE713FFF2F]:0)
   [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
   [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
   [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
   [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
   [junit4]    > 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
   [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
   [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
   [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
   [junit4]    > 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
   [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
   [junit4]    > 	at org.apache.lucene.search.TestPointQueries$1._run(TestPointQueries.java:554)
   [junit4]    > 	at org.apache.lucene.search.TestPointQueries$1.run(TestPointQueries.java:503)Throwable
#2: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception
in thread: Thread[id=490, name=T1, state=RUNNABLE, group=TGRP-TestPointQueries]
   [junit4]    > Caused by: java.lang.AssertionError
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([FFA825CE713FFF2F]:0)
   [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
   [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
   [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
   [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
   [junit4]    > 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
   [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
   [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
   [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
   [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
   [junit4]    > 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
   [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
   [junit4]    > 	at org.apache.lucene.search.TestPointQueries$1._run(TestPointQueries.java:554)
   [junit4]    > 	at org.apache.lucene.search.TestPointQueries$1.run(TestPointQueries.java:503)
   [junit4] IGNOR/A 0.00s J2 | TestPointQueries.testRandomLongsBig
   [junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly())
   [junit4] IGNOR/A 0.00s J2 | TestPointQueries.testRandomBinaryBig
   [junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly())
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene60): {id=Lucene50(blocksize=128)},
docValues:{id=DocValuesFormat(name=Lucene54), value=DocValuesFormat(name=Asserting)}, maxPointsInLeafNode=32,
maxMBSortInHeap=7.107446227776487, sim=ClassicSimilarity, locale=en-ZM, timezone=Asia/Kuala_Lumpur
   [junit4]   2> NOTE: Linux 4.2.0-35-generic i386/Oracle Corporation 9-ea (32-bit)/cpus=12,threads=1,free=67514616,total=153092096
   [junit4]   2> NOTE: All tests run in this JVM: [TestInfoStream, TestGeoUtils, TestFrequencyTrackingRingBuffer,
TestNRTThreads, TestNumericUtils, TestIOUtils, TestTopDocsMerge, Test2BPoints, TestNearSpansOrdered,
TestMutableValues, TestDocInverterPerFieldErrorInfo, TestCachingCollector, TestSpanExplanationsOfNonMatches,
TestWildcard, TestIndexWriterMerging, TestIndexWriterOnDiskFull, Test2BPositions, TestBytesStore,
TestTimSorter, TestTotalHitCountCollector, TestMixedCodecs, TestTopDocsCollector, TestSpanNearQuery,
TestBooleanOr, TestControlledRealTimeReopenThread, TestDateTools, TestCharTermAttributeImpl,
TestRoaringDocIdSet, TestSpans, TestFuzzyQuery, TestIndexWriterExceptions2, TestSloppyPhraseQuery,
Test2BPagedBytes, TestSearchForDuplicates, TestRollingUpdates, TestArrayUtil, TestNumericRangeQuery32,
TestTermsEnum2, TestSimpleFSLockFactory, TestIndexWriterReader, TestIndexableField, TestRegExp,
TestMultiLevelSkipList, Test2BBinaryDocValues, TestSparseFixedBitDocIdSet, TestElevationComparator,
TestBytesRefHash, TestRegexpRandom2, TestSearch, TestIndexFileDeleter, TestTwoPhaseCommitTool,
TestIntBlockPool, TestPointQueries]
   [junit4] Completed [142/419 (1!)] on J2 in 9.95s, 45 tests, 1 error, 2 skipped <<<
FAILURES!
{noformat}

> TestPointQueries failures
> -------------------------
>
>                 Key: LUCENE-7269
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7269
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: master
>            Reporter: Steve Rowe
>
> My Jenkins found a reproducing seed on master:
> {noformat}
> Checking out Revision a48245a1bfbef0259d38ef36fec814f3891ab80c (refs/remotes/origin/master)
> [...]
>    [junit4] Suite: org.apache.lucene.search.TestPointQueries
>    [junit4] IGNOR/A 0.00s J1 | TestPointQueries.testRandomBinaryBig
>    [junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly())
>    [junit4]   2> maj 02, 2016 3:29:13 PM com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
uncaughtException
>    [junit4]   2> WARNING: Uncaught exception in thread: Thread[T0,5,TGRP-TestPointQueries]
>    [junit4]   2> java.lang.AssertionError
>    [junit4]   2> 	at __randomizedtesting.SeedInfo.seed([61528898A1A30059]:0)
>    [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
>    [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
>    [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
>    [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
>    [junit4]   2> 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
>    [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
>    [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
>    [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
>    [junit4]   2> 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
>    [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
>    [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$2._run(TestPointQueries.java:805)
>    [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$2.run(TestPointQueries.java:758)
>    [junit4]   2> 
>    [junit4]   2> maj 02, 2016 3:29:13 PM com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
uncaughtException
>    [junit4]   2> WARNING: Uncaught exception in thread: Thread[T1,5,TGRP-TestPointQueries]
>    [junit4]   2> java.lang.AssertionError
>    [junit4]   2> 	at __randomizedtesting.SeedInfo.seed([61528898A1A30059]:0)
>    [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
>    [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
>    [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
>    [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
>    [junit4]   2> 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
>    [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
>    [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
>    [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
>    [junit4]   2> 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
>    [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
>    [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$2._run(TestPointQueries.java:805)
>    [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$2.run(TestPointQueries.java:758)
>    [junit4]   2> 
>    [junit4]   2> maj 02, 2016 3:29:13 PM com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
uncaughtException
>    [junit4]   2> WARNING: Uncaught exception in thread: Thread[T3,5,TGRP-TestPointQueries]
>    [junit4]   2> java.lang.AssertionError
>    [junit4]   2> 	at __randomizedtesting.SeedInfo.seed([61528898A1A30059]:0)
>    [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
>    [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
>    [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
>    [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
>    [junit4]   2> 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
>    [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
>    [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
>    [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
>    [junit4]   2> 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
>    [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
>    [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$2._run(TestPointQueries.java:805)
>    [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$2.run(TestPointQueries.java:758)
>    [junit4]   2> 
>    [junit4]   2> maj 02, 2016 3:29:13 PM com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
uncaughtException
>    [junit4]   2> WARNING: Uncaught exception in thread: Thread[T2,5,TGRP-TestPointQueries]
>    [junit4]   2> java.lang.AssertionError
>    [junit4]   2> 	at __randomizedtesting.SeedInfo.seed([61528898A1A30059]:0)
>    [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
>    [junit4]   2> 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
>    [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
>    [junit4]   2> 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
>    [junit4]   2> 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
>    [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
>    [junit4]   2> 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
>    [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]   2> 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
>    [junit4]   2> 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
>    [junit4]   2> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
>    [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$2._run(TestPointQueries.java:805)
>    [junit4]   2> 	at org.apache.lucene.search.TestPointQueries$2.run(TestPointQueries.java:758)
>    [junit4]   2> 
>    [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=TestPointQueries -Dtests.method=testRandomBinaryTiny
-Dtests.seed=61528898A1A30059 -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt
-Dtests.locale=pl -Dtests.timezone=America/Phoenix -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
>    [junit4] ERROR   0.16s J1 | TestPointQueries.testRandomBinaryTiny <<<
>    [junit4]    > Throwable #1: com.carrotsearch.randomizedtesting.UncaughtExceptionError:
Captured an uncaught exception in thread: Thread[id=463, name=T0, state=RUNNABLE, group=TGRP-TestPointQueries]
>    [junit4]    > Caused by: java.lang.AssertionError
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([61528898A1A30059]:0)
>    [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
>    [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
>    [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
>    [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
>    [junit4]    > 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
>    [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
>    [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
>    [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
>    [junit4]    > 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
>    [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
>    [junit4]    > 	at org.apache.lucene.search.TestPointQueries$2._run(TestPointQueries.java:805)
>    [junit4]    > 	at org.apache.lucene.search.TestPointQueries$2.run(TestPointQueries.java:758)Throwable
#2: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception
in thread: Thread[id=464, name=T1, state=RUNNABLE, group=TGRP-TestPointQueries]
>    [junit4]    > Caused by: java.lang.AssertionError
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([61528898A1A30059]:0)
>    [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
>    [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
>    [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
>    [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
>    [junit4]    > 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
>    [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
>    [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
>    [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
>    [junit4]    > 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
>    [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
>    [junit4]    > 	at org.apache.lucene.search.TestPointQueries$2._run(TestPointQueries.java:805)
>    [junit4]    > 	at org.apache.lucene.search.TestPointQueries$2.run(TestPointQueries.java:758)Throwable
#3: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception
in thread: Thread[id=465, name=T2, state=RUNNABLE, group=TGRP-TestPointQueries]
>    [junit4]    > Caused by: java.lang.AssertionError
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([61528898A1A30059]:0)
>    [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
>    [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
>    [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
>    [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
>    [junit4]    > 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
>    [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
>    [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
>    [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
>    [junit4]    > 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
>    [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
>    [junit4]    > 	at org.apache.lucene.search.TestPointQueries$2._run(TestPointQueries.java:805)
>    [junit4]    > 	at org.apache.lucene.search.TestPointQueries$2.run(TestPointQueries.java:758)Throwable
#4: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception
in thread: Thread[id=466, name=T3, state=RUNNABLE, group=TGRP-TestPointQueries]
>    [junit4]    > Caused by: java.lang.AssertionError
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([61528898A1A30059]:0)
>    [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:110)
>    [junit4]    > 	at org.apache.lucene.util.DocIdSetBuilder.<init>(DocIdSetBuilder.java:98)
>    [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.buildMatchingDocIdSet(PointRangeQuery.java:109)
>    [junit4]    > 	at org.apache.lucene.search.PointRangeQuery$1.scorer(PointRangeQuery.java:213)
>    [junit4]    > 	at org.apache.lucene.search.Weight.bulkScorer(Weight.java:135)
>    [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache(LRUQueryCache.java:683)
>    [junit4]    > 	at org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(LRUQueryCache.java:766)
>    [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]    > 	at org.apache.lucene.search.AssertingWeight.bulkScorer(AssertingWeight.java:68)
>    [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:666)
>    [junit4]    > 	at org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:91)
>    [junit4]    > 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:473)
>    [junit4]    > 	at org.apache.lucene.search.TestPointQueries$2._run(TestPointQueries.java:805)
>    [junit4]    > 	at org.apache.lucene.search.TestPointQueries$2.run(TestPointQueries.java:758)
>    [junit4] IGNOR/A 0.00s J1 | TestPointQueries.testRandomLongsBig
>    [junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly())
>    [junit4]   2> NOTE: test params are: codec=Lucene60, sim=ClassicSimilarity, locale=pl,
timezone=America/Phoenix
>    [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77
(64-bit)/cpus=16,threads=1,free=238466144,total=339214336
>    [junit4]   2> NOTE: All tests run in this JVM: [TestOfflineSorter, TestMathUtil,
TestMergeSchedulerExternal, Test2BTerms, TestPayloads, TestFilterLeafReader, TestMixedCodecs,
TestSegmentInfos, TestGeoEncodingUtils, TestFastCompressionMode, TestMmapDirectory, TestStressIndexing2,
TestCrash, TestBlockPostingsFormat, TestDemoParallelLeafReader, TestBooleanMinShouldMatch,
TestCharsRefBuilder, TestLongPostings, TestPersistentSnapshotDeletionPolicy, TestDocumentsWriterStallControl,
TestSubScorerFreqs, TestLevenshteinAutomata, TestAllFilesDetectTruncation, TestDocValues,
TestRegExp, TestSearch, TestMergePolicyWrapper, TestNRTCachingDirectory, TestExceedMaxTermLength,
TestFieldsReader, Test2BPostings, TestArrayUtil, TestSearchAfter, TestVersion, TestNewestSegment,
TestIndexWriterReader, TestLegacyNumericUtils, TestScoreCachingWrappingScorer, TestSimpleFSDirectory,
TestSpanNotQuery, TestMixedDocValuesUpdates, TestConsistentFieldNumbers, TestPointQueries]
>    [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=TestPointQueries -Dtests.seed=61528898A1A30059
-Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=pl
-Dtests.timezone=America/Phoenix -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
>    [junit4] ERROR   0.00s J1 | TestPointQueries (suite) <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: The test or suite printed
12284 bytes to stdout and stderr, even though the limit was set to 8192 bytes. Increase the
limit with @Limit, ignore it completely with @SuppressSysoutChecks or run with -Dtests.verbose=true
>    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([61528898A1A30059]:0)
>    [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
>    [junit4] Completed [50/419 (1!)] on J1 in 6.63s, 45 tests, 1 failure, 1 error, 2 skipped
<<< FAILURES!
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message