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

TestTaxonomySumValueSource.testRandom Failure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.x
    • Fix Version/s: 7.7.1, 8.0, master (9.0)
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Reproducible test failure:

      NOTE: reproduce with: ant test -Dtestcase=TestTaxonomyFacetSumValueSource -Dtests.method=testRandom -Dtests.seed=7F625DA1A252DF8E -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=hu -Dtests.timezone=America/Boa_Vista -Dtests.asserts=true -Dtests.file.encoding=UTF8

      Stacktrace:

      10:45:46    [junit4] FAILURE 0.24s J3 | TestTaxonomyFacetSumValueSource.testRandom <<<
      10:45:46    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<4> but was:<3>
      10:45:46    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([7F625DA1A252DF8E:D2E78AE133269FD]:0)
      10:45:46    [junit4]    > 	at org.apache.lucene.facet.FacetTestCase.assertFloatValuesEquals(FacetTestCase.java:200)
      10:45:46    [junit4]    > 	at org.apache.lucene.facet.FacetTestCase.assertFloatValuesEquals(FacetTestCase.java:193)
      10:45:46    [junit4]    > 	at org.apache.lucene.facet.taxonomy.TestTaxonomyFacetSumValueSource.testRandom(TestTaxonomyFacetSumValueSource.java:477)
      10:45:46    [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
      10:45:46    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene80): {$full_path$=PostingsFormat(name=Direct), $facets=PostingsFormat(name=LuceneVarGapDocFreqInterval), $payloads$=PostingsFormat(name=Direct), f=PostingsFormat(name=LuceneFixedGap), $facets2=PostingsFormat(name=LuceneFixedGap), $b=PostingsFormat(name=LuceneFixedGap), content=TestBloomFilteredLucenePostings(BloomFilteringPostingsFormat(Lucene50(blocksize=128)))}, docValues:{$facets=DocValuesFormat(name=Asserting), price=DocValuesFormat(name=Lucene80), num=DocValuesFormat(name=Direct), $facets2=DocValuesFormat(name=Direct), value=DocValuesFormat(name=Lucene80), $b=DocValuesFormat(name=Direct)}, maxPointsInLeafNode=1902, maxMBSortInHeap=6.164841106101889, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@27ff3281), locale=hu, timezone=America/Boa_Vista
      10:45:46    [junit4]   2> NOTE: Linux 4.15.0-1027-gcp amd64/Oracle Corporation 1.8.0_191 (64-bit)/cpus=16,threads=1,free=394275096,total=523239424
      10:45:46    [junit4]   2> NOTE: All tests run in this JVM: [TestFacetsConfig, TestRandomSamplingFacetsCollector, TestTaxonomyFacetSumValueSource]
      

        Attachments

        1. LUCENE-8686.patch
          1 kB
          Jim Ferenczi

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nknize Nick Knize
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: