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

Test failure for geo3d bbox queries in TestGeo3DPoint

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: modules/spatial3d
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Here's the test failure, which looks like a garden-variety attempt to create an illegal shape:

         [junit4] Suite: org.apache.lucene.spatial3d.TestGeo3DPoint
         [junit4] IGNOR/A 0.02s J0 | TestGeo3DPoint.testRandomBig
         [junit4]    > Assumption #1: 'nightly' test group is disabled (@Nightly())
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGeo3DPoint -Dtests.method=testRandomTiny -Dtests.seed=92AFBC246156F30B -Dtests.slow=true -Dtests.locale=it-CH -Dtests.timezone=PRC -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
         [junit4] ERROR   0.05s J0 | TestGeo3DPoint.testRandomTiny <<<
         [junit4]    > Throwable #1: java.lang.IllegalArgumentException: Cannot determine sidedness because check point is on plane.
         [junit4]    >        at __randomizedtesting.SeedInfo.seed([92AFBC246156F30B:DBE862623F77CBA7]:0)
         [junit4]    >        at org.apache.lucene.spatial3d.geom.SidedPlane.<init>(SidedPlane.java:95)
         [junit4]    >        at org.apache.lucene.spatial3d.geom.GeoNorthRectangle.<init>(GeoNorthRectangle.java:109)
         [junit4]    >        at org.apache.lucene.spatial3d.geom.GeoBBoxFactory.makeGeoBBox(GeoBBoxFactory.java:103)
         [junit4]    >        at org.apache.lucene.spatial3d.Geo3DPoint.newBoxQuery(Geo3DPoint.java:125)
         [junit4]    >        at org.apache.lucene.spatial3d.TestGeo3DPoint.random3DQuery(TestGeo3DPoint.java:563)
         [junit4]    >        at org.apache.lucene.spatial3d.TestGeo3DPoint.verify(TestGeo3DPoint.java:747)
         [junit4]    >        at org.apache.lucene.spatial3d.TestGeo3DPoint.doTestRandom(TestGeo3DPoint.java:518)
         [junit4]    >        at org.apache.lucene.spatial3d.TestGeo3DPoint.testRandomTiny(TestGeo3DPoint.java:441)
         [junit4]    >        at java.lang.Thread.run(Thread.java:745)
         [junit4]   2> NOTE: test params are: codec=FastCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST, chunkSize=9, maxDocsPerChunk=9, blockSize=931), termVectorsFormat=CompressingTermVectorsFormat(compressionMode=FAST, chunkSize=9, blockSize=931)), sim=RandomSimilarity(queryNorm=true,coord=no): {}, locale=it-CH, timezone=PRC
         [junit4]   2> NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.8.0_45 (64-bit)/cpus=4,threads=1,free=219878656,total=262668288
         [junit4]   2> NOTE: All tests run in this JVM: [TestGeo3DPoint]
         [junit4] Completed [10/10 (1!)] on J0 in 11.15s, 13 tests, 1 error, 1 skipped
       <<< FAILURES!
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: