[ 
https://issues.apache.org/jira/browse/LUCENE-7430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright updated LUCENE-7430:
--------------------------------
    Description: 
Here's the error msg:

{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=testRandomMedium -Dtests.seed=B167D2C466D257A0 -Dtests.slow=true 
-Dtests.locale=pt -Dtests.timezone=Etc/GMT+5 -Dtests.asserts=true 
-Dtests.file.encoding=Cp1252
   [junit4] FAILURE 4.06s J0 | TestGeo3DPoint.testRandomMedium <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: FAIL: id=4546 should 
have matched but did not
   [junit4]    >   shape=GeoWideNorthRectangle: {planetmodel=PlanetModel.WGS84, 
bottomlat=1.5707949696510948(89.99992224138796), 
leftlon=3.141592653589793(180.0), 
rightlon=3.1140200112375265(178.42020396319145)}
   [junit4]    >   bounds=XYZBounds: [xmin=-1.3551580601679786E-6 
xmax=1.3551580601679786E-6 ymin=-1.3551580601679786E-6 
ymax=1.3551580601679786E-6 zmin=0.9977622910211923 zmax=0.9977622930221051]
   [junit4]    >   world bounds=( minX=-1.0011188539924791 
maxX=1.0011188539924791 minY=-1.0011188539924791 maxY=1.0011188539924791 
minZ=-0.9977622920221051 maxZ=0.9977622920221051
   [junit4]    >   quantized point=[X=7.323492821176281E-6, 
Y=-2.3309121299774915E-10, Z=0.9977622921205215] within shape? true within 
bounds? false
   [junit4]    >   unquantized point=[lat=1.570788986986606, 
lon=-1.0056566715747591E-117([X=7.323383942914017E-6, 
Y=-7.364809920694947E-123, Z=0.9977622919954089])] within shape? false within 
bounds? false
   [junit4]    >   docID=4438 deleted?=false
   [junit4]    >   query=PointInGeo3DShapeQuery: field=point: Shape: 
GeoWideNorthRectangle: {planetmodel=PlanetModel.WGS84, 
bottomlat=1.5707949696510948(89.99992224138796), 
leftlon=3.141592653589793(180.0), 
rightlon=3.1140200112375265(178.42020396319145)}
...
{code}


  was:
Here's the error msg:

{code}
Error Message:
FAIL: id=4546 should have matched but did not   shape=GeoWideNorthRectangle: 
{planetmodel=PlanetModel.WGS84, 
bottomlat=1.5707949696510948(89.99992224138796), 
leftlon=3.141592653589793(180.0), 
rightlon=3.1140200112375265(178.42020396319145)}   bounds=XYZBounds: 
[xmin=-1.3551580601679786E-6 xmax=1.3551580601679786E-6 
ymin=-1.3551580601679786E-6 ymax=1.3551580601679786E-6 zmin=0.9977622910211923 
zmax=0.9977622930221051]   world bounds=( minX=-1.0011188539924791 
maxX=1.0011188539924791 minY=-1.0011188539924791 maxY=1.0011188539924791 
minZ=-0.9977622920221051 maxZ=0.9977622920221051   quantized 
point=[X=7.323492821176281E-6, Y=-2.3309121299774915E-10, Z=0.9977622921205215] 
within shape? true within bounds? false   unquantized 
point=[lat=1.570788986986606, 
lon=-1.0056566715747591E-117([X=7.323383942914017E-6, 
Y=-7.364809920694947E-123, Z=0.9977622919954089])] within shape? false within 
bounds? false   docID=4438 deleted?=false   query=PointInGeo3DShapeQuery: 
field=point: Shape: GeoWideNorthRectangle: {planetmodel=PlanetModel.WGS84, 
bottomlat=1.5707949696510948(89.99992224138796), 
leftlon=3.141592653589793(180.0), 
rightlon=3.1140200112375265(178.42020396319145)}   explanation:     target is 
in leaf _1(7.0.0):C14521 of full reader StandardDirectoryReader(segments:5:nrt 
_1(7.0.0):C14521)     full BKD path to target doc:       
Cell(x=-1.0011188543037526 TO 1.0011188543037524 y=-1.0011167835214163 TO 
1.0011082645037634 z=-0.9977622923536127 TO 0.9977622923536126); Shape 
relationship = WITHIN; Quantized point within cell = true; Unquantized point 
within cell = true       Cell(x=0.0 TO 1.0011188543037524 y=-1.0011167835214163 
TO 1.0011082645037634 z=-0.9977622923536127 TO 0.9977622923536126); Shape 
relationship = OVERLAPS; Quantized point within cell = true; Unquantized point 
within cell = true       Cell(x=0.0 TO 1.0011188543037524 y=-1.0011167835214163 
TO 4.661824259954982E-10 z=-0.9977622923536127 TO 0.9977622923536126); Shape 
relationship = OVERLAPS; Quantized point within cell = true; Unquantized point 
within cell = true       Cell(x=0.0 TO 1.0011188543037524 y=-1.0011167835214163 
TO 4.661824259954982E-10 z=0.0 TO 0.9977622923536126); Shape relationship = 
OVERLAPS; Quantized point within cell = true; Unquantized point within cell = 
true       Cell(x=0.0 TO 0.5921489289992575 y=-1.0011167835214163 TO 
4.661824259954982E-10 z=0.0 TO 0.9977622923536126); Shape relationship = 
OVERLAPS; Quantized point within cell = true; Unquantized point within cell = 
true     on cell Cell(x=-1.0011188543037526 TO 1.0011188543037524 
y=-1.0011167835214163 TO 1.0011082645037634 z=-0.9977622923536127 TO 
0.9977622923536126); Shape relationship = WITHIN; Quantized point within cell = 
true; Unquantized point within cell = true, wrapped visitor returned 
CELL_CROSSES_QUERY     on cell Cell(x=0.0 TO 1.0011188543037524 
y=-1.0011167835214163 TO 1.0011082645037634 z=-0.9977622923536127 TO 
0.9977622923536126); Shape relationship = OVERLAPS; Quantized point within cell 
= true; Unquantized point within cell = true, wrapped visitor returned 
CELL_CROSSES_QUERY     on cell Cell(x=0.0 TO 1.0011188543037524 
y=-1.0011167835214163 TO 4.661824259954982E-10 z=-0.9977622923536127 TO 
0.9977622923536126); Shape relationship = OVERLAPS; Quantized point within cell 
= true; Unquantized point within cell = true, wrapped visitor returned 
CELL_CROSSES_QUERY     on cell Cell(x=0.0 TO 1.0011188543037524 
y=-1.0011167835214163 TO 4.661824259954982E-10 z=0.0 TO 0.9977622923536126); 
Shape relationship = OVERLAPS; Quantized point within cell = true; Unquantized 
point within cell = true, wrapped visitor returned CELL_CROSSES_QUERY     on 
cell Cell(x=0.0 TO 0.5921489289992575 y=-1.0011167835214163 TO 
4.661824259954982E-10 z=0.0 TO 0.9977622923536126); Shape relationship = 
OVERLAPS; Quantized point within cell = true; Unquantized point within cell = 
true, wrapped visitor returned CELL_CROSSES_QUERY   leaf visit docID=4438 
x=7.323492821176281E-6 y=-2.3309121299774915E-10 z=0.9977622921205215

Stack Trace:
java.lang.AssertionError: FAIL: id=4546 should have matched but did not
  shape=GeoWideNorthRectangle: {planetmodel=PlanetModel.WGS84, 
bottomlat=1.5707949696510948(89.99992224138796), 
leftlon=3.141592653589793(180.0), 
rightlon=3.1140200112375265(178.42020396319145)}
  bounds=XYZBounds: [xmin=-1.3551580601679786E-6 xmax=1.3551580601679786E-6 
ymin=-1.3551580601679786E-6 ymax=1.3551580601679786E-6 zmin=0.9977622910211923 
zmax=0.9977622930221051]
  world bounds=( minX=-1.0011188539924791 maxX=1.0011188539924791 
minY=-1.0011188539924791 maxY=1.0011188539924791 minZ=-0.9977622920221051 
maxZ=0.9977622920221051
  quantized point=[X=7.323492821176281E-6, Y=-2.3309121299774915E-10, 
Z=0.9977622921205215] within shape? true within bounds? false
  unquantized point=[lat=1.570788986986606, 
lon=-1.0056566715747591E-117([X=7.323383942914017E-6, 
Y=-7.364809920694947E-123, Z=0.9977622919954089])] within shape? false within 
bounds? false
  docID=4438 deleted?=false
  query=PointInGeo3DShapeQuery: field=point: Shape: GeoWideNorthRectangle: 
{planetmodel=PlanetModel.WGS84, 
bottomlat=1.5707949696510948(89.99992224138796), 
leftlon=3.141592653589793(180.0), 
rightlon=3.1140200112375265(178.42020396319145)}
  explanation:
    target is in leaf _1(7.0.0):C14521 of full reader 
StandardDirectoryReader(segments:5:nrt _1(7.0.0):C14521)
    full BKD path to target doc:
      Cell(x=-1.0011188543037526 TO 1.0011188543037524 y=-1.0011167835214163 TO 
1.0011082645037634 z=-0.9977622923536127 TO 0.9977622923536126); Shape 
relationship = WITHIN; Quantized point within cell = true; Unquantized point 
within cell = true
      Cell(x=0.0 TO 1.0011188543037524 y=-1.0011167835214163 TO 
1.0011082645037634 z=-0.9977622923536127 TO 0.9977622923536126); Shape 
relationship = OVERLAPS; Quantized point within cell = true; Unquantized point 
within cell = true
      Cell(x=0.0 TO 1.0011188543037524 y=-1.0011167835214163 TO 
4.661824259954982E-10 z=-0.9977622923536127 TO 0.9977622923536126); Shape 
relationship = OVERLAPS; Quantized point within cell = true; Unquantized point 
within cell = true
      Cell(x=0.0 TO 1.0011188543037524 y=-1.0011167835214163 TO 
4.661824259954982E-10 z=0.0 TO 0.9977622923536126); Shape relationship = 
OVERLAPS; Quantized point within cell = true; Unquantized point within cell = 
true
      Cell(x=0.0 TO 0.5921489289992575 y=-1.0011167835214163 TO 
4.661824259954982E-10 z=0.0 TO 0.9977622923536126); Shape relationship = 
OVERLAPS; Quantized point within cell = true; Unquantized point within cell = 
true
    on cell Cell(x=-1.0011188543037526 TO 1.0011188543037524 
y=-1.0011167835214163 TO 1.0011082645037634 z=-0.9977622923536127 TO 
0.9977622923536126); Shape relationship = WITHIN; Quantized point within cell = 
true; Unquantized point within cell = true, wrapped visitor returned 
CELL_CROSSES_QUERY
    on cell Cell(x=0.0 TO 1.0011188543037524 y=-1.0011167835214163 TO 
1.0011082645037634 z=-0.9977622923536127 TO 0.9977622923536126); Shape 
relationship = OVERLAPS; Quantized point within cell = true; Unquantized point 
within cell = true, wrapped visitor returned CELL_CROSSES_QUERY
    on cell Cell(x=0.0 TO 1.0011188543037524 y=-1.0011167835214163 TO 
4.661824259954982E-10 z=-0.9977622923536127 TO 0.9977622923536126); Shape 
relationship = OVERLAPS; Quantized point within cell = true; Unquantized point 
within cell = true, wrapped visitor returned CELL_CROSSES_QUERY
    on cell Cell(x=0.0 TO 1.0011188543037524 y=-1.0011167835214163 TO 
4.661824259954982E-10 z=0.0 TO 0.9977622923536126); Shape relationship = 
OVERLAPS; Quantized point within cell = true; Unquantized point within cell = 
true, wrapped visitor returned CELL_CROSSES_QUERY
    on cell Cell(x=0.0 TO 0.5921489289992575 y=-1.0011167835214163 TO 
4.661824259954982E-10 z=0.0 TO 0.9977622923536126); Shape relationship = 
OVERLAPS; Quantized point within cell = true; Unquantized point within cell = 
true, wrapped visitor returned CELL_CROSSES_QUERY
  leaf visit docID=4438 x=7.323492821176281E-6 y=-2.3309121299774915E-10 
z=0.9977622921205215
{code}



> Geo3d test failure
> ------------------
>
>                 Key: LUCENE-7430
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7430
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>
> Here's the error msg:
> {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=testRandomMedium -Dtests.seed=B167D2C466D257A0 
> -Dtests.slow=true -Dtests.locale=pt -Dtests.timezone=Etc/GMT+5 
> -Dtests.asserts=true -Dtests.file.encoding=Cp1252
>    [junit4] FAILURE 4.06s J0 | TestGeo3DPoint.testRandomMedium <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: FAIL: id=4546 should 
> have matched but did not
>    [junit4]    >   shape=GeoWideNorthRectangle: 
> {planetmodel=PlanetModel.WGS84, 
> bottomlat=1.5707949696510948(89.99992224138796), 
> leftlon=3.141592653589793(180.0), 
> rightlon=3.1140200112375265(178.42020396319145)}
>    [junit4]    >   bounds=XYZBounds: [xmin=-1.3551580601679786E-6 
> xmax=1.3551580601679786E-6 ymin=-1.3551580601679786E-6 
> ymax=1.3551580601679786E-6 zmin=0.9977622910211923 zmax=0.9977622930221051]
>    [junit4]    >   world bounds=( minX=-1.0011188539924791 
> maxX=1.0011188539924791 minY=-1.0011188539924791 maxY=1.0011188539924791 
> minZ=-0.9977622920221051 maxZ=0.9977622920221051
>    [junit4]    >   quantized point=[X=7.323492821176281E-6, 
> Y=-2.3309121299774915E-10, Z=0.9977622921205215] within shape? true within 
> bounds? false
>    [junit4]    >   unquantized point=[lat=1.570788986986606, 
> lon=-1.0056566715747591E-117([X=7.323383942914017E-6, 
> Y=-7.364809920694947E-123, Z=0.9977622919954089])] within shape? false within 
> bounds? false
>    [junit4]    >   docID=4438 deleted?=false
>    [junit4]    >   query=PointInGeo3DShapeQuery: field=point: Shape: 
> GeoWideNorthRectangle: {planetmodel=PlanetModel.WGS84, 
> bottomlat=1.5707949696510948(89.99992224138796), 
> leftlon=3.141592653589793(180.0), 
> rightlon=3.1140200112375265(178.42020396319145)}
> ...
> {code}



--
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