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

Karl Wright commented on LUCENE-6535:
-------------------------------------

I tried to repeat this on both trunk and on the 5.2 branch.  Didn't fail either 
time, with the following command line:

{code}
ant -Dtestcase=Geo3dRptTest -Dtests.seed=ADFCC7193C72FA89:9BDCDB8859624E4 test
{code}

For the failure itself, from what I can see the following fix (made on trunk) 
should have fixed this:

{code}
r1683532 | dsmiley | 2015-06-04 08:32:45 -0400 (Thu, 04 Jun 2015) | 1 line

LUCENE-6520: Geo3D GeoPath.done() would throw an NPE if adjacent path segments 
were co-linear
{code}

This fix was not pulled up to the 5.2 branch, however, which could explain the 
failure seen there.


> Geo3D test failure, June 6th
> ----------------------------
>
>                 Key: LUCENE-6535
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6535
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial
>    Affects Versions: 5.2
>            Reporter: David Smiley
>            Assignee: David Smiley
>
> This reproduces:
> {noformat}
> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/12789/
> Java: 64bit/jdk1.7.0_80 -XX:-UseCompressedOops -XX:+UseG1GC
> 1 tests failed.
> FAILED:  org.apache.lucene.spatial.spatial4j.Geo3dRptTest.testOperations {#5 
> seed=[ADFCC7193C72FA89:9BDCDB8859624E4]}
> Error Message:
> [Intersects] qIdx:34 Shouldn't match 
> I#1:Rect(minX=131.0,maxX=143.0,minY=39.0,maxY=54.0) 
> Q:Geo3dShape{planetmodel=PlanetModel.SPHERE, shape=GeoPath: 
> {planetmodel=PlanetModel.SPHERE, width=0.5061454830783556(29.0), 
> points={[[X=0.5155270860898133, Y=-0.25143936017440033, 
> Z=0.8191520442889918], [X=-6.047846824324981E-17, Y=9.57884834439237E-18, 
> Z=-1.0], [X=-0.5677569555011356, Y=0.1521300177236823, Z=0.8090169943749475], 
> [X=5.716531405282095E-17, Y=2.1943708116382607E-17, Z=-1.0]]}}}
> Stack Trace:
> java.lang.AssertionError: [Intersects] qIdx:34 Shouldn't match 
> I#1:Rect(minX=131.0,maxX=143.0,minY=39.0,maxY=54.0) 
> Q:Geo3dShape{planetmodel=PlanetModel.SPHERE, shape=GeoPath: 
> {planetmodel=PlanetModel.SPHERE, width=0.5061454830783556(29.0), 
> points={[[X=0.5155270860898133, Y=-0.25143936017440033, 
> Z=0.8191520442889918], [X=-6.047846824324981E-17, Y=9.57884834439237E-18, 
> Z=-1.0], [X=-0.5677569555011356, Y=0.1521300177236823, Z=0.8090169943749475], 
> [X=5.716531405282095E-17, Y=2.1943708116382607E-17, Z=-1.0]]}}}
>         at 
> __randomizedtesting.SeedInfo.seed([ADFCC7193C72FA89:9BDCDB8859624E4]:0)
>         at org.junit.Assert.fail(Assert.java:93)
>         at 
> org.apache.lucene.spatial.prefix.RandomSpatialOpStrategyTestCase.fail(RandomSpatialOpStrategyTestCase.java:127)
>         at 
> org.apache.lucene.spatial.prefix.RandomSpatialOpStrategyTestCase.testOperation(RandomSpatialOpStrategyTestCase.java:116)
>         at 
> org.apache.lucene.spatial.prefix.RandomSpatialOpStrategyTestCase.testOperationRandomShapes(RandomSpatialOpStrategyTestCase.java:56)
>         at 
> org.apache.lucene.spatial.spatial4j.Geo3dRptTest.testOperations(Geo3dRptTest.java:100)
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to