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

TestSpanCollection.testOrQuery() failure: Missing term field:w3

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.1
    • None
    • None
    • New

    Description

      ASF & my Jenkins found reproducing seeds:

      From ASF Jenkins a week ago https://builds.apache.org/job/Lucene-Solr-NightlyTests-master/985/:

      Checking out Revision 67f6283ce418357938fc12d82783a3504ba700d7 (refs/remotes/origin/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=testOrQuery -Dtests.seed=994C4307A532054C -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/x1/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=fr-CH -Dtests.timezone=America/Winnipeg -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
        [junit4] FAILURE 0.08s J0 | TestSpanCollection.testOrQuery <<<
        [junit4]    > Throwable #1: java.lang.AssertionError: Missing term field:w3
        [junit4]    > 	at __randomizedtesting.SeedInfo.seed([994C4307A532054C:F928083254607004]:0)
        [junit4]    > 	at org.apache.lucene.search.spans.TestSpanCollection.checkCollectedTerms(TestSpanCollection.java:103)
        [junit4]    > 	at org.apache.lucene.search.spans.TestSpanCollection.testOrQuery(TestSpanCollection.java:147)
        [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
        [junit4]   2> NOTE: test params are: codec=Lucene60, sim=RandomSimilarity(queryNorm=false,coord=crazy): {field=IB SPL-DZ(0.3)}, locale=fr-CH, timezone=America/Winnipeg
        [junit4]   2> NOTE: Linux 3.13.0-52-generic amd64/Oracle Corporation 1.8.0_74 (64-bit)/cpus=4,threads=1,free=243932576,total=456654848
        [junit4]   2> NOTE: All tests run in this JVM: [TestSPIClassIterator, TestDocValuesIndexing, TestTragicIndexWriterDeadlock, TestTermVectorsWriter, TestBooleanQueryVisitSubscorers, TestForTooMuchCloning, TestNewestSegment, TestTermsEnum, TestTransactionRollback, TestSearcherManager, TestWeakIdentityMap, TestRecyclingByteBlockAllocator, TestNeverDelete, TestIndexWriterThreadsToSegments, TestSubScorerFreqs, TestDemoParallelLeafReader, TestQueryRescorer, TestSingleInstanceLockFactory, TestTimSorterWorstCase, TestPointValues, TestIndexWriterMaxDocs, TestPerFieldPostingsFormat, TestPagedBytes, TestParallelCompositeReader, TestPriorityQueue, TestDirectMonotonic, TestNumericRangeQuery64, TestSparseFixedBitSet, TestMmapDirectory, TestIndexWriterLockRelease, TestDeterminizeLexicon, TestHighCompressionMode, TestUTF32ToUTF8, TestLucene50CompoundFormat, TestShardSearching, TestSynonymQuery, TestConstantScoreQuery, TestCustomNorms, TestAutomatonQuery, TestFixedBitDocIdSet, TestSpansEnum, TestPerSegmentDeletes, TestReusableStringReader, TestRegexpRandom, TestEarlyTermination, TestPhraseQuery, TestIndexWriterCommit, TestSortRandom, TestTimeLimitingCollector, TestMultiFields, FuzzyTermOnShortTermsTest, TestLSBRadixSorter, TestNoDeletionPolicy, Test4GBStoredFields, TestSumDocFreq, TestMultiCollector, TestAutomaton, TestSpanCollection]
        [junit4] Completed [192/419 (1!)] on J0 in 0.32s, 3 tests, 1 failure <<< FAILURES!
      

      From my Jenkins last night:

      Checking out Revision d914ec4a67c42466f19e46169754965a7d5af35c (refs/remotes/origin/branch_6x)
      [...]
        [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=testOrQuery -Dtests.seed=E0D51AE930685152 -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=sq-AL -Dtests.timezone=Indian/Mauritius -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
        [junit4] FAILURE 0.01s J1 | TestSpanCollection.testOrQuery <<<
        [junit4]    > Throwable #1: java.lang.AssertionError: Missing term field:w3
        [junit4]    > 	at __randomizedtesting.SeedInfo.seed([E0D51AE930685152:80B151DCC13A241A]:0)
        [junit4]    > 	at org.apache.lucene.search.spans.TestSpanCollection.checkCollectedTerms(TestSpanCollection.java:103)
        [junit4]    > 	at org.apache.lucene.search.spans.TestSpanCollection.testOrQuery(TestSpanCollection.java:147)
        [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
        [junit4]   2> NOTE: test params are: codec=FastCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST, chunkSize=6915, maxDocsPerChunk=370, blockSize=1), termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST, chunkSize=6915, blockSize=1)), sim=ClassicSimilarity, locale=sq-AL, timezone=Indian/Mauritius
        [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77 (64-bit)/cpus=16,threads=1,free=104831872,total=325058560
        [junit4]   2> NOTE: All tests run in this JVM: [TestFlushByRamOrCountsPolicy, TestDirectoryReader, TestSortedSetSortField, TestConjunctions, TestRollingUpdates, TestFrequencyTrackingRingBuffer, TestNGramPhraseQuery, TestNumericRangeQuery64, TestSegmentMerger, TestBagOfPositions, TestMultiThreadTermVectors, TestNumericUtils, Test2BSortedDocValuesFixedSorted, TestPagedBytes, TestDocValuesIndexing, TestAllFilesCheckIndexHeader, TestSmallFloat, TestIndexWriterOutOfFileDescriptors, TestSpanSearchEquivalence, TestTieredMergePolicy, TestSort, TestSortedSetDocValues, TestReadOnlyIndex, TestCheckIndex, TestBytesStore, TestUTF32ToUTF8, TestIndexWriterOnVMError, TestLucene50CompoundFormat, FuzzyTermOnShortTermsTest, TestStressIndexing, TestCharsRef, TestElevationComparator, TestIntsRef, TestTermVectorsReader, TestStringHelper, TestMixedDocValuesUpdates, TestDeterminizeLexicon, TestForTooMuchCloning, TestForUtil, TestQueryRescorer, TestPerFieldPostingsFormat, TestWeakIdentityMap, TestSearchAfter, TestBKD, TestIndexWriterReader, TestOmitNorms, TestFixedBitSet, TestStressNRT, TestNewestSegment, Test4GBStoredFields, TestSpanTermQuery, TestGrowableByteArrayDataOutput, TestIndexReaderClose, TestFastDecompressionMode, TestTragicIndexWriterDeadlock, TestBooleanScorer, TestCharsRefBuilder, TestPrefixQuery, TestPersistentSnapshotDeletionPolicy, TestAllFilesHaveChecksumFooter, TestParallelLeafReader, TestIndexWriterLockRelease, TestIndexableField, TestSpanOrQuery, TestSimpleExplanationsOfNonMatches, TestPayloadsOnVectors, TestFieldType, TestNumericDocValuesUpdates, TestDocumentsWriterDeleteQueue, TestSubScorerFreqs, TestUsageTrackingFilterCachingPolicy, TestCharFilter, TestToken, TestPostingsOffsets, TestLSBRadixSorter, TestHighCompressionMode, TestPositiveScoresOnlyCollector, TestIndexWriterForceMerge, TestReaderClosed, TestSpansEnum, TestNRTReaderCleanup, TestSpanCollection]
        [junit4] Completed [181/419 (1!)] on J1 in 0.08s, 3 tests, 1 failure <<< FAILURES!
      

      Attachments

        Activity

          People

            romseygeek Alan Woodward
            sarowe Steven Rowe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: