Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12513

Reproducing TestCodecSupport.testMixedCompressionMode failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • None
    • None

    Description

      From https://jenkins.thetaphi.de/job/Lucene-Solr-master-Windows/7375/ (reproduces for me on Linux):

      Checking out Revision 3b9d3a760a432b97aad2c08b2f778fa2344eb14a (refs/remotes/origin/master)
      [...]
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestCodecSupport -Dtests.method=testMixedCompressionMode -Dtests.seed=F584376A20EC9B2D -Dtests.slow=true -Dtests.locale=ha-GH -Dtests.timezone=Africa/Nairobi -Dtests.asserts=true -Dtests.file.encoding=UTF-8
         [junit4] FAILURE 0.59s J1 | TestCodecSupport.testMixedCompressionMode <<<
         [junit4]    > Throwable #1: org.junit.ComparisonFailure: Expecting compression mode string to be BEST_SPEED but got: BEST_COMPRESSION
         [junit4]    >  SegmentInfo: _5(8.0.0):c1
         [junit4]    >  SegmentInfos: segments_e: _7(8.0.0):c2 _5(8.0.0):c1
         [junit4]    >  Codec: Lucene70 expected:<BEST_[SPEED]> but was:<BEST_[COMPRESSION]>
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([F584376A20EC9B2D:2BF1400E658E6E9C]:0)
         [junit4]    > 	at org.apache.solr.core.TestCodecSupport.lambda$assertCompressionMode$0(TestCodecSupport.java:115)
         [junit4]    > 	at org.apache.solr.core.SolrCore.withSearcher(SolrCore.java:1874)
         [junit4]    > 	at org.apache.solr.core.TestCodecSupport.assertCompressionMode(TestCodecSupport.java:112)
         [junit4]    > 	at org.apache.solr.core.TestCodecSupport.testMixedCompressionMode(TestCodecSupport.java:157)
         [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [junit4]    > 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [junit4]    > 	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
         [junit4]    > 	at java.base/java.lang.Thread.run(Thread.java:844)
      [...]
         [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {}, docValues:{}, maxPointsInLeafNode=1658, maxMBSortInHeap=7.737749859284375, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@2da9a1c5), locale=ha-GH, timezone=Africa/Nairobi
         [junit4]   2> NOTE: Windows 10 10.0 amd64/Oracle Corporation 10.0.1 (64-bit)/cpus=3,threads=1,free=39067800,total=97320960
      

      Attachments

        1. SOLR-12513.patch
          100 kB
          Erick Erickson
        2. SOLR-12513.patch
          313 kB
          Erick Erickson

        Issue Links

          Activity

            People

              erickerickson Erick Erickson
              sarowe Steven Rowe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: