You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2016/04/11 17:26:25 UTC

[jira] [Commented] (LUCENE-7201) Test failure for geo3d bbox queries in TestGeo3DPoint

    [ https://issues.apache.org/jira/browse/LUCENE-7201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235281#comment-15235281 ] 

Karl Wright commented on LUCENE-7201:
-------------------------------------

The rectangle that is causing the problem is this one:

{code}
   [junit4]   1>  rectangle: Rectangle(lat=38.74990225383161 TO 90.0 lon=180.0 TO -180.0 [crosses dateline!])
{code}



> Test failure for geo3d bbox queries in TestGeo3DPoint
> -----------------------------------------------------
>
>                 Key: LUCENE-7201
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7201
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>    Affects Versions: master
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>
> Here's the test failure, which looks like a garden-variety attempt to create an illegal shape:
> {code}
>    [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!
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org