The root cause is that Spatial4j’s DistanceUtils.distHaversineRAD returned
NaN for a pair of anti-podal points.  I filled a bug in Spatial4j:
https://github.com/spatial4j/spatial4j/issues/104

On Thu, Apr 30, 2015 at 10:19 PM [email protected] <
[email protected]> wrote:

> I’ll look into it.
>
>
> On Thu, Apr 30, 2015 at 10:17 PM Policeman Jenkins Server <
> [email protected]> wrote:
>
>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/12349/
>> Java: 32bit/jdk1.9.0-ea-b60 -server -XX:+UseG1GC
>>
>> 1 tests failed.
>> FAILED:
>> org.apache.lucene.spatial.composite.CompositeStrategyTest.testOperations
>> {#6 seed=[B2B9C743868F80F5:2826A9642D5B4E9E]}
>>
>> Error Message:
>> [Intersects] Should have matched I#3:Circle(Pt(x=-94.0,y=-12.0), d=45.0°
>> 5000.49km) Q:Circle(Pt(x=86.0,y=12.0), d=64.5° 7172.92km)
>>
>> Stack Trace:
>> java.lang.AssertionError: [Intersects] Should have matched
>> I#3:Circle(Pt(x=-94.0,y=-12.0), d=45.0° 5000.49km)
>> Q:Circle(Pt(x=86.0,y=12.0), d=64.5° 7172.92km)
>>         at
>> __randomizedtesting.SeedInfo.seed([B2B9C743868F80F5:2826A9642D5B4E9E]: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:121)
>>         at
>> org.apache.lucene.spatial.prefix.RandomSpatialOpStrategyTestCase.testOperationRandomShapes(RandomSpatialOpStrategyTestCase.java:56)
>>         at
>> org.apache.lucene.spatial.composite.CompositeStrategyTest.testOperations(CompositeStrategyTest.java:99)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:502)
>>         at
>> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1627)
>>         at
>> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
>>         at
>> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
>>         at
>> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
>>         at
>> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>>         at
>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>>         at
>> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
>>         at
>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
>>         at
>> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>>         at
>> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>>         at
>> com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
>>         at
>> com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
>>         at
>> com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
>>         at
>> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:845)
>>         at
>> com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
>>         at
>> com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
>>         at
>> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
>>         at
>> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>>         at
>> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>>         at
>> org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
>>         at
>> com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>>         at
>> com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
>>         at
>> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>>         at
>> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>>         at
>> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>>         at
>> org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:54)
>>         at
>> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>>         at
>> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
>>         at
>> org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
>>         at
>> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
>>         at
>> com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
>>         at java.lang.Thread.run(Thread.java:745)
>>
>>
>>
>>
>> Build Log:
>> [...truncated 8453 lines...]
>>    [junit4] Suite:
>> org.apache.lucene.spatial.composite.CompositeStrategyTest
>>    [junit4]   2> NOTE: reproduce with: ant test
>> -Dtestcase=CompositeStrategyTest -Dtests.method=testOperations
>> -Dtests.seed=B2B9C743868F80F5 -Dtests.multiplier=3 -Dtests.slow=true
>> -Dtests.locale=da_DK -Dtests.timezone=Europe/Jersey -Dtests.asserts=true
>> -Dtests.file.encoding=UTF-8
>>    [junit4] FAILURE 0.14s J2 | CompositeStrategyTest.testOperations {#6
>> seed=[B2B9C743868F80F5:2826A9642D5B4E9E]} <<<
>>    [junit4]    > Throwable #1: java.lang.AssertionError: [Intersects]
>> Should have matched I#3:Circle(Pt(x=-94.0,y=-12.0), d=45.0° 5000.49km)
>> Q:Circle(Pt(x=86.0,y=12.0), d=64.5° 7172.92km)
>>    [junit4]    >        at
>> __randomizedtesting.SeedInfo.seed([B2B9C743868F80F5:2826A9642D5B4E9E]:0)
>>    [junit4]    >        at
>> org.apache.lucene.spatial.prefix.RandomSpatialOpStrategyTestCase.fail(RandomSpatialOpStrategyTestCase.java:127)
>>    [junit4]    >        at
>> org.apache.lucene.spatial.prefix.RandomSpatialOpStrategyTestCase.testOperation(RandomSpatialOpStrategyTestCase.java:121)
>>    [junit4]    >        at
>> org.apache.lucene.spatial.prefix.RandomSpatialOpStrategyTestCase.testOperationRandomShapes(RandomSpatialOpStrategyTestCase.java:56)
>>    [junit4]    >        at
>> org.apache.lucene.spatial.composite.CompositeStrategyTest.testOperations(CompositeStrategyTest.java:99)
>>    [junit4]    >        at java.lang.Thread.run(Thread.java:745)
>>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene50): {},
>> docValues:{}, sim=RandomSimilarityProvider(queryNorm=true,coord=no): {},
>> locale=da_DK, timezone=Europe/Jersey
>>    [junit4]   2> NOTE: Linux 3.13.0-49-generic i386/Oracle Corporation
>> 1.9.0-ea (32-bit)/cpus=12,threads=1,free=343763096,total=536870912
>>    [junit4]   2> NOTE: All tests run in this JVM:
>> [DateRangePrefixTreeTest, PortedSolr3Test, SpatialPrefixTreeTest,
>> SpatialArgsParserTest, TestTermQueryPrefixGridStrategy,
>> QueryEqualsHashCodeTest, CompositeStrategyTest]
>>    [junit4] Completed [19/19] on J2 in 4.01s, 20 tests, 1 failure <<<
>> FAILURES!
>>
>> [...truncated 11 lines...]
>> BUILD FAILED
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:536: The
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:484: The
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The following
>> error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-targets.xml:39: The
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build.xml:466: The
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:2229:
>> The following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-build.xml:58:
>> The following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:1433:
>> The following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:991:
>> There were test failures: 19 suites, 207 tests, 1 failure, 3 ignored (2
>> assumptions)
>>
>> Total time: 22 minutes 3 seconds
>> Build step 'Invoke Ant' marked build as failure
>> Archiving artifacts
>> Recording test results
>> Email was triggered for: Failure - Any
>> Sending email for trigger: Failure - Any
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>
>

Reply via email to