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

GeoPolygon test failure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7, 7.6, 8.0
    • Component/s: modules/spatial3d
    • Labels:
      None
    • Lucene Fields:
      New

      Description

       

        [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=RandomGeoPolygonTest -Dtests.method=testCompareSmallPolygons -Dtests.seed=7BA5F34669E15F97 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=es-CU -Dtests.timezone=America/La_Paz -Dtests.asserts=true -Dtests.file.encoding=UTF8
         [junit4] FAILURE 0.01s | RandomGeoPolygonTest.testCompareSmallPolygons {seed=[7BA5F34669E15F97:F73170EC892310D]} <<<
         [junit4]    > Throwable #1: java.lang.AssertionError: Test point1 not correctly in/out of set according to test point2
         [junit4]    > at __randomizedtesting.SeedInfo.seed([7BA5F34669E15F97:F73170EC892310D]:0)
         [junit4]    > at org.apache.lucene.spatial3d.geom.GeoComplexPolygon.<init>(GeoComplexPolygon.java:239)
         [junit4]    > at org.apache.lucene.spatial3d.geom.GeoPolygonFactory$BestShape.createGeoComplexPolygon(GeoPolygonFactory.java:465)
         [junit4]    > at org.apache.lucene.spatial3d.geom.GeoPolygonFactory.makeLargeGeoPolygon(GeoPolygonFactory.java:389)
         [junit4]    > at org.apache.lucene.spatial3d.geom.GeoPolygonFactory.makeGeoPolygon(GeoPolygonFactory.java:226)
         [junit4]    > at org.apache.lucene.spatial3d.geom.GeoPolygonFactory.makeGeoPolygon(GeoPolygonFactory.java:142)
         [junit4]    > at org.apache.lucene.spatial3d.geom.RandomGeoPolygonTest.testComparePolygons(RandomGeoPolygonTest.java:157)
         [junit4]    > at org.apache.lucene.spatial3d.geom.RandomGeoPolygonTest.testCompareSmallPolygons(RandomGeoPolygonTest.java:109)
         [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] OK      0.34s | RandomGeoPolygonTest.testCompareSmallPolygons {seed=[7BA5F34669E15F97:3DDFF260BF592657]}
         [junit4] OK      0.35s | RandomGeoPolygonTest.testCompareSmallPolygons {seed=[7BA5F34669E15F97:EA54A4DADB0E1105]}
         [junit4]   2> NOTE: test params are: codec=HighCompressionCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=HIGH_COMPRESSION, chunkSize=1818, maxDocsPerChunk=791, blockSize=936), termVectorsFormat=CompressingTermVectorsFormat(compressionMode=HIGH_COMPRESSION, chunkSize=1818, blockSize=936)), sim=RandomSimilarity(queryNorm=false): {}, locale=es-CU, timezone=America/La_Paz

        Attachments

        1. LUCENE-8512.patch
          2 kB
          Ignacio Vera

          Activity

            People

            • Assignee:
              kwright@metacarta.com Karl Wright
              Reporter:
              ivera Ignacio Vera
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: