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

Karl Wright commented on LUCENE-8173:
-------------------------------------

I think that the actual failure is a result of the vector magnitude being 
exactly zero:

{code}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=RandomPlaneTest 
-Dtests.method=testPlaneThreePointsAccuracy -Dtests.seed=AF530D5BB3E29D37 
-Dtests.multiplier=2 -Dtests.slow=true -Dtests.locale=hy-AM 
-Dtests.timezone=CAT -Dtests.asserts=true -Dtests.file.encoding=UTF-8
   [junit4] FAILURE 0.04s | RandomPlaneTest.testPlaneThreePointsAccuracy 
{seed=[AF530D5BB3E29D37:67333841FC91DFF4]}
 <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: -9.99866855977416E-13 
PlanetModel.SPHERE point 1: [lat=-0.014383560214672818, 
lon=0.41800053100596907([X=0.9138078833986019, Y=0.4058919556989371, 
Z=-0.014383064258334952])], point 2: [lat=0.6932931355139935, 
lon=-0.18388926426439056([X=0.7561778076398898, Y=-0.1
4064184629683377, Z=0.6390735437358892])], point 3: 
[lat=-0.014383560214674136,lon=0.41800053101150425([X=0.9138078833963552, 
Y=0.4058919557039952, Z=-0.014383
064258336268])] , check: [lat=-0.08323537864940594, 
lon=0.4347906232623258([X=0.9038183078528319, Y=0.4197622219929782, 
Z=-0.08313930104085177])]
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([AF530D5BB3E29D37:67333841FC91DFF4]:0)
   [junit4]    >        at 
org.apache.lucene.spatial3d.geom.RandomPlaneTest.testPlaneThreePointsAccuracy(RandomPlaneTest.java:74)
   [junit4]    >        at java.lang.Thread.run(Thread.java:745)
   [junit4] OK      0.03s | RandomPlaneTest.testPlaneThreePointsAccuracy 
{seed=[AF530D5BB3E29D37:B0B86EFB98C6E8A6]}
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {}, 
docValues:{}, maxPointsInLeafNode=537, maxMBSortInHeap=7.561334272193783, 
sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@26ca786b),
 locale=hy-AM, timezone=CAT
   [junit4]   2> NOTE: Windows 8.1 6.3 amd64/Oracle Corporation 1.8.0_45 
(64-bit)/cpus=4,threads=1,free=93847952,total=163053568
   [junit4]   2> NOTE: All tests run in this JVM: [RandomPlaneTest]
   [junit4] Completed [1/1 (1!)] in 1.58s, 10 tests, 1 failure <<< FAILURES!
   [junit4]
{code}


> Three-point plane construction test failure
> -------------------------------------------
>
>                 Key: LUCENE-8173
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8173
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>    Affects Versions: master (8.0)
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Major
>
> {noformat}
> Checking out Revision dd08400a3db1c4119a704610ccc4db0d055d8d7f 
> (refs/remotes/origin/master)
> [...]
>   [smoker]    [junit4] Suite: org.apache.lucene.spatial3d.geom.RandomPlaneTest
>   [smoker]    [junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=RandomPlaneTest -Dtests.method=testPlaneThreePointsAccuracy 
> -Dtests.seed=AF530D5BB3E29D37 -Dtests.multiplier=2 -Dtests.locale=hy-AM 
> -Dtests.timezone=CAT -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>   [smoker]    [junit4] FAILURE 0.35s J2 | 
> RandomPlaneTest.testPlaneThreePointsAccuracy 
> {seed=[AF530D5BB3E29D37:67333841FC91DFF4]} <<<
>   [smoker]    [junit4]    > Throwable #1: java.lang.AssertionError: 
> -9.99866855977416E-13 PlanetModel.SPHERE point 1: [lat=-0.014383560214672818, 
> lon=0.41800053100596907([X=0.9138078833986019, Y=0.4058919556989371, 
> Z=-0.014383064258334952])], point 2: [lat=0.6932931355139935, 
> lon=-0.18388926426439056([X=0.7561778076398898, Y=-0.14064184629683377, 
> Z=0.6390735437358892])], point 3: [lat=-0.014383560214674136, 
> lon=0.41800053101150425([X=0.9138078833963552, Y=0.4058919557039952, 
> Z=-0.014383064258336268])] , check: [lat=-0.08323537864940594, 
> lon=0.4347906232623258([X=0.9038183078528319, Y=0.4197622219929782, 
> Z=-0.08313930104085177])]
>   [smoker]    [junit4]    >     at 
> __randomizedtesting.SeedInfo.seed([AF530D5BB3E29D37:67333841FC91DFF4]:0)
>   [smoker]    [junit4]    >     at 
> org.apache.lucene.spatial3d.geom.RandomPlaneTest.testPlaneThreePointsAccuracy(RandomPlaneTest.java:74)
>   [smoker]    [junit4]    >     at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   [smoker]    [junit4]    >     at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   [smoker]    [junit4]    >     at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   [smoker]    [junit4]    >     at 
> java.base/java.lang.reflect.Method.invoke(Method.java:564)
>   [smoker]    [junit4]    >     at 
> java.base/java.lang.Thread.run(Thread.java:844)
>   [smoker]    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
> {}, docValues:{}, maxPointsInLeafNode=537, maxMBSortInHeap=7.561334272193783, 
> sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@7b5f56e9),
>  locale=hy-AM, timezone=CAT
>   [smoker]    [junit4]   2> NOTE: Linux 4.4.0-112-generic amd64/Oracle 
> Corporation 9.0.1 (64-bit)/cpus=4,threads=1,free=225585560,total=264241152
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to