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

Geo3dShapeWGS84ModelRectRelationTest test failure

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7, master (8.0), 7.3
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      It reproduces with ant test -Dtestcase=Geo3dShapeWGS84ModelRectRelationTest -Dtests.method=testGeoPathRect -Dtests.seed=1257A8E5FDB03055 -Dtests.slow=true -Dtests.locale=sq -Dtests.timezone=America/Monterrey -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1:

         [junit4] Suite: org.apache.lucene.spatial.spatial4j.Geo3dShapeWGS84ModelRectRelationTest
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=Geo3dShapeWGS84ModelRectRelationTest -Dtests.method=testGeoPathRect -Dtests.seed=1257A8E5FDB03055 -Dtests.slow=true -Dtests.locale=sq -Dtests.timezone=America/Monterrey -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
         [junit4] ERROR   0.69s | Geo3dShapeWGS84ModelRectRelationTest.testGeoPathRect <<<
         [junit4]    > Throwable #1: java.lang.RuntimeException: Couldn't come up with a plane through three points that included the fourth
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([1257A8E5FDB03055:5B0183E4DD0431E2]:0)
         [junit4]    > 	at org.apache.lucene.spatial3d.geom.GeoStandardPath$SegmentEndpoint.<init>(GeoStandardPath.java:603)
         [junit4]    > 	at org.apache.lucene.spatial3d.geom.GeoStandardPath.done(GeoStandardPath.java:186)
         [junit4]    > 	at org.apache.lucene.spatial3d.geom.GeoStandardPath.<init>(GeoStandardPath.java:68)
         [junit4]    > 	at org.apache.lucene.spatial3d.geom.GeoPathFactory.makeGeoPath(GeoPathFactory.java:39)
         [junit4]    > 	at org.apache.lucene.spatial.spatial4j.Geo3dShapeFactory$Geo3dLineStringBuilder.build(Geo3dShapeFactory.java:285)
         [junit4]    > 	at org.apache.lucene.spatial.spatial4j.ShapeRectRelationTestCase$4.generateRandomShape(ShapeRectRelationTestCase.java:179)
         [junit4]    > 	at org.locationtech.spatial4j.shape.RectIntersectionTestHelper.testRelateWithRectangle(RectIntersectionTestHelper.java:98)
         [junit4]    > 	at org.apache.lucene.spatial.spatial4j.ShapeRectRelationTestCase.testGeoPathRect(ShapeRectRelationTestCase.java:199)
         [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=Lucene70, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@3595d2c2), locale=sq, timezone=America/Monterrey
         [junit4]   2> NOTE: Linux 4.4.0-104-generic amd64/Oracle Corporation 9.0.1 (64-bit)/cpus=12,threads=1,free=134432384,total=260046848
         [junit4]   2> NOTE: All tests run in this JVM: [Geo3dShapeWGS84ModelRectRelationTest]
         [junit4] Completed [1/1 (1!)] in 0.86s, 1 test, 1 error <<< FAILURES!
      

        Attachments

          Activity

            People

            • Assignee:
              kwright@metacarta.com Karl Wright
              Reporter:
              jpountz Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: