Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7131

TestSpanCollection.testNestedNearQuery() failure

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core/search
    • None
    • New

    Description

      My Jenkins found a reproducing seed on master:

         [junit4] Suite: org.apache.lucene.search.spans.TestSpanCollection
         [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=TestSpanCollection -Dtests.method=testNestedNearQuery -Dtests.seed=F74A6883FBD420 -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=be-BY -Dtests.timezone=Australia/Tasmania -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
         [junit4] FAILURE 0.05s J0 | TestSpanCollection.testNestedNearQuery <<<
         [junit4]    > Throwable #1: java.lang.AssertionError: Missing term field:w3
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([F74A6883FBD420:4206DBF382A97067]:0)
         [junit4]    > 	at org.apache.lucene.search.spans.TestSpanCollection.checkCollectedTerms(TestSpanCollection.java:103)
         [junit4]    > 	at org.apache.lucene.search.spans.TestSpanCollection.testNestedNearQuery(TestSpanCollection.java:126)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
         [junit4]   2> NOTE: test params are: codec=Asserting(Lucene60): {field=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128)))}, docValues:{}, maxPointsInLeafNode=349, maxMBSortInHeap=4.321837275051001, sim=RandomSimilarity(queryNorm=true,coord=no): {field=DFR I(F)LZ(0.3)}, locale=be-BY, timezone=Australia/Tasmania
         [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_45 (64-bit)/cpus=16,threads=1,free=203945808,total=344457216
         [junit4]   2> NOTE: All tests run in this JVM: [TestSortedNumericSortField, TestByteArrayDataInput, TestFlushByRamOrCountsPolicy, TestSearchWithThreads, TestDeterminizeLexicon, FuzzyTermOnShortTermsTest, TestSwappedIndexFiles, TestIndexWriterThreadsToSegments, TestCollectionUtil, TestNRTReaderWithThreads, TestIndexWriterFromReader, TestConstantScoreQuery, TestDeletionPolicy, TestIndexCommit, TestIOUtils, TestCrashCausesCorruptIndex, TestForUtil, TestSortedSetDocValues, TestNeverDelete, TestAllFilesHaveChecksumFooter, TestMutableValues, TestSizeBoundedForceMerge, TestDisjunctionMaxQuery, TestUsageTrackingFilterCachingPolicy, TestNGramPhraseQuery, TestIndexWriterDelete, TestNumericDocValuesUpdates, TestCachingTokenFilter, TestSimpleSearchEquivalence, TestNoMergePolicy, TestSpanContainQuery, TestTrackingDirectoryWrapper, TestBlendedTermQuery, TestIndexWriterMerging, Test2BPositions, TestAssertions, TestMultiPhraseEnum, TestMaxPosition, TestIntsRef, TestRamUsageEstimator, TestCodecs, TestSimilarityProvider, TestLazyProxSkipping, Test4GBStoredFields, TestNearSpansOrdered, TestStringHelper, TestMmapDirectory, LimitedFiniteStringsIteratorTest, TestSpanSearchEquivalence, TestLRUQueryCache, TestSegmentTermEnum, TestFSTs, TestSmallFloat, TestPrefixInBooleanQuery, TestPointValues, TestFileSwitchDirectory, TestMinShouldMatch2, TestTryDelete, TestDateSort, TestLucene50TermVectorsFormat, Test2BBinaryDocValues, TestParallelCompositeReader, TestNeedsScores, TestTerms, TestFlex, TestLiveFieldValues, TestField, TestSortRandom, TestSegmentTermDocs, TestLockFactory, TestPerFieldPostingsFormat2, TestOperations, TestQueryCachingPolicy, TestBooleanQuery, TestTimSorterWorstCase, TestFieldType, TestCustomSearcherSort, TestWeakIdentityMap, TestPackedTokenAttributeImpl, TestDocsAndPositions, TestComplexExplanations, TestIndexWriterOnVMError, TestNorms, TestBasics, TestBagOfPositions, TestBufferedChecksum, TestMultiTermsEnum, TestBytesStore, TestTermScorer, TestCharFilter, TestDocValuesRewriteMethod, TestInPlaceMergeSorter, TestMatchAllDocsQuery, TestWildcardRandom, TestExternalCodecs, TestSortedSetSortField, TestIndexWriterOnDiskFull, TestBooleanRewrites, TestPostingsOffsets, TestRecyclingByteBlockAllocator, Test2BBKDPoints, TestSpanBoostQuery, TestIndexWriter, TestReusableStringReader, TestSingleInstanceLockFactory, TestBooleanOr, TestDuelingCodecs, TestStressAdvance, TestTimeLimitingCollector, TestTopDocsMerge, TestLongPostings, TestMinimize, TestSnapshotDeletionPolicy, TestIndexWriterForceMerge, TestPerFieldPostingsFormat, TestTermsEnum, TestBooleanMinShouldMatch, TestTransactionRollback, TestUTF32ToUTF8, TestStressIndexing2, TestMultiPhraseQuery, TestMergeSchedulerExternal, TestTermVectorsWriter, TestOmitPositions, TestBytesRefHash, TestOmitTf, TestDocumentWriter, TestPayloads, TestDoc, TestWildcard, TestSimilarity2, TestFieldMaskingSpanQuery, TestNoDeletionPolicy, TestSimpleExplanationsOfNonMatches, TestRegexpQuery, TestTermVectorsReader, TestIntBlockPool, TestUnicodeUtil, TestAutomatonQuery, TestRegexpRandom, TestPayloadsOnVectors, TestSpanMultiTermQueryWrapper, TestSearchForDuplicates, TestCompiledAutomaton, TestPrefixQuery, TestSpanExplanationsOfNonMatches, TestSetOnce, TestPriorityQueue, TestDocCount, TestBinaryDocument, TestAttributeSource, TestBooleanScorer, TestTwoPhaseCommitTool, TestCloseableThreadLocal, TestCodecHoldsOpenFiles, TestDocBoost, TestSimpleAttributeImpl, Test2BPostingsBytes, Test2BPagedBytes, TestBytesRefAttImpl, TestBlockPostingsFormat, TestBlockPostingsFormat2, TestLucene50FieldInfoFormat, TestLucene50StoredFieldsFormat, TestLucene54DocValuesFormat, Test2BPoints, Test2BSortedDocValuesFixedSorted, Test2BSortedDocValuesOrds, TestAllFilesCheckIndexHeader, TestCodecUtil, TestDocInverterPerFieldErrorInfo, TestDocValues, TestDuelingCodecsAtNight, TestExitableDirectoryReader, TestFieldReuse, TestFilterDirectoryReader, TestIndexWriterDeleteByQuery, TestIndexWriterExceptions2, TestMergePolicyWrapper, TestMergeRateLimiter, TestReaderWrapperDVTypeCheck, TestTermVectors, TestApproximationSearchEquivalence, TestEarlyTermination, TestFieldValueQuery, TestMatchNoDocsQuery, TestMultiCollector, TestMultiset, TestQueryRescorer, TestReqExclBulkScorer, TestClassicSimilarity, TestSpanCollection]
         [junit4] Completed [390/415 (1!)] on J0 in 0.11s, 3 tests, 1 failure <<< FAILURES!
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sarowe Steven Rowe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: