[
https://issues.apache.org/jira/browse/LUCENE-6776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14731036#comment-14731036
]
Michael McCandless commented on LUCENE-6776:
--------------------------------------------
bq. So I really do need repeatability here to make any progress.
Argh, we are simply hitting this long ago known issue: LUCENE-6194.
The workaround (I think?) is to simply add back the {{-Dtests.iters=10}} that
you had originally specified to {{ant beast}}, but you also must add a wildcard
* at the end of the {{-Dtests.name=XXX}}. E.g. I just hit a failure with your
{{ant beast}} line, confirmed the {{Reproduce with}} line is buggy (does not in
fact reproduce) but then added back the iters and the {{*}} and it does
reproduce:
{noformat}
ant test -Dtestcase=TestGeo3DPointField -Dtests.method=testGeo3DRelations*
-Dtests.seed=B8B6B22C45AFEE9F -Dtests.locale=ms_MY
-Dtests.timezone=America/Moncton -Dtests.asserts=true
-Dtests.file.encoding=US-ASCII -Dtests.iters=10
{noformat}
causes:
{noformat}
[junit4] FAILURE 0.33s | TestGeo3DPointField.testGeo3DRelations {#7
seed=[B8B6B22C45AFEE9F:7CCEE6732E8A91DE]} <<<
[junit4] > Throwable #1: java.lang.AssertionError: invalid hits for
shape=GeoPath: {planetmodel=PlanetModel(ab=1.151145876105594
c=0.8488541238944061), width=0.008726646259971648(0.5),
points={[[lat=-0.6925658899376476, lon=0.6316613927914589],
[lat=0.27828548161836364, lon=0.6785795524104564]]}}
[junit4] > at
__randomizedtesting.SeedInfo.seed([B8B6B22C45AFEE9F:7CCEE6732E8A91DE]:0)
[junit4] > at
org.apache.lucene.bkdtree3d.TestGeo3DPointField.testGeo3DRelations(TestGeo3DPointField.java:708)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] OK 1.64s | TestGeo3DPointField.testGeo3DRelations {#8
seed=[B8B6B22C45AFEE9F:4E62031D59418684]}
[junit4] OK 0.98s | TestGeo3DPointField.testGeo3DRelations {#9
seed=[B8B6B22C45AFEE9F:99E955A73D16B1D6]}
[junit4] 2> NOTE: test params are: codec=Asserting(Lucene53): {},
docValues:{}, sim=RandomSimilarityProvider(queryNorm=true,coord=crazy): {},
locale=ms_MY, timezone=America/Moncton
[junit4] 2> NOTE: Linux 3.13.0-61-generic amd64/Oracle Corporation
1.8.0_40 (64-bit)/cpus=8,threads=1,free=455977424,total=471859200
[junit4] 2> NOTE: All tests run in this JVM: [TestGeo3DPointField]
[junit4] Completed [1/1] in 7.14s, 10 tests, 1 failure <<< FAILURES!
{noformat}
> Randomized planet model shows up additional XYZBounds errors
> ------------------------------------------------------------
>
> Key: LUCENE-6776
> URL: https://issues.apache.org/jira/browse/LUCENE-6776
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/spatial
> Reporter: Karl Wright
> Attachments: LUCENE-6776.patch, LUCENE-6776.patch
>
>
> Adding randomized PlanetModel construction causes points to be generated
> inside a shape that are outside XYZBounds. [~mikemccand] please take note.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]