it happens due to underflow (in this case the line is 1E-308 long and so on, so the multiply blows it away). I committed a fix.
On Mon, Apr 18, 2016 at 7:28 AM, Apache Jenkins Server <[email protected]> wrote: > Build: https://builds.apache.org/job/Lucene-Solr-Tests-master/1088/ > > 1 tests failed. > FAILED: org.apache.lucene.geo.TestPolygon.testIntersectRandom > > Error Message: > invalid latitude NaN; must be between -90.0 and 90.0 > > Stack Trace: > java.lang.IllegalArgumentException: invalid latitude NaN; must be between > -90.0 and 90.0 > at > __randomizedtesting.SeedInfo.seed([5F4B62851AF7D0EA:BB2613C1230F3056]:0) > at org.apache.lucene.geo.GeoUtils.checkLatitude(GeoUtils.java:62) > at > org.apache.lucene.geo.GeoTestUtil.nextLatitudeNear(GeoTestUtil.java:108) > at > org.apache.lucene.geo.GeoTestUtil.nextPointAroundLine(GeoTestUtil.java:202) > at > org.apache.lucene.geo.GeoTestUtil.nextPointNear(GeoTestUtil.java:257) > at > org.apache.lucene.geo.GeoTestUtil.nextPointNear(GeoTestUtil.java:216) > at > org.apache.lucene.geo.TestPolygon.testIntersectRandom(TestPolygon.java:226) > 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:498) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1764) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:871) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:907) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:921) > at > org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49) > at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) > at > org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48) > at > org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64) > at > org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:367) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:809) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:460) > at > com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:880) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:781) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:816) > at > com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:827) > at > org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41) > at > com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40) > at > com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40) > 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:53) > at > org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47) > at > org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64) > at > org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54) > at > com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) > at > com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:367) > at java.lang.Thread.run(Thread.java:745) > > > > > Build Log: > [...truncated 1368 lines...] > [junit4] Suite: org.apache.lucene.geo.TestPolygon > [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestPolygon > -Dtests.method=testIntersectRandom -Dtests.seed=5F4B62851AF7D0EA > -Dtests.multiplier=2 -Dtests.slow=true -Dtests.locale=en-NZ > -Dtests.timezone=Pacific/Majuro -Dtests.asserts=true > -Dtests.file.encoding=US-ASCII > [junit4] ERROR 16.4s J0 | TestPolygon.testIntersectRandom <<< > [junit4] > Throwable #1: java.lang.IllegalArgumentException: invalid > latitude NaN; must be between -90.0 and 90.0 > [junit4] > at > __randomizedtesting.SeedInfo.seed([5F4B62851AF7D0EA:BB2613C1230F3056]:0) > [junit4] > at > org.apache.lucene.geo.GeoUtils.checkLatitude(GeoUtils.java:62) > [junit4] > at > org.apache.lucene.geo.GeoTestUtil.nextLatitudeNear(GeoTestUtil.java:108) > [junit4] > at > org.apache.lucene.geo.GeoTestUtil.nextPointAroundLine(GeoTestUtil.java:202) > [junit4] > at > org.apache.lucene.geo.GeoTestUtil.nextPointNear(GeoTestUtil.java:257) > [junit4] > at > org.apache.lucene.geo.GeoTestUtil.nextPointNear(GeoTestUtil.java:216) > [junit4] > at > org.apache.lucene.geo.TestPolygon.testIntersectRandom(TestPolygon.java:226) > [junit4] > at java.lang.Thread.run(Thread.java:745) > [junit4] 2> NOTE: test params are: codec=Asserting(Lucene60), > sim=RandomSimilarity(queryNorm=false,coord=yes): {}, locale=en-NZ, > timezone=Pacific/Majuro > [junit4] 2> NOTE: Linux 3.13.0-52-generic amd64/Oracle Corporation > 1.8.0_74 (64-bit)/cpus=4,threads=1,free=144946664,total=362807296 > [junit4] 2> NOTE: All tests run in this JVM: [TestSubScorerFreqs, > TestSpanNotQuery, TestSegmentInfos, TestIndexWriterForceMerge, > TestReusableStringReader, TestDocValuesIndexing, TestBlockPostingsFormat2, > TestBytesRefArray, TestLucene50StoredFieldsFormat, TestShardSearching, > TestTimeLimitingCollector, TestDirectMonotonic, Test4GBStoredFields, > TestIsCurrent, TestCustomNorms, TestThreadedForceMerge, TestMultiFields, > TestNeverDelete, TestBooleanQueryVisitSubscorers, TestFieldType, > TestRegexpRandom, TestMultiCollector, Test2BSortedDocValuesOrds, > TestUnicodeUtil, TestSloppyPhraseQuery2, TestLucene50CompoundFormat, > TestBinaryDocument, TestLockFactory, TestAllFilesHaveChecksumFooter, > TestNGramPhraseQuery, TestSpanCollection, TestDeterminizeLexicon, > TestNoDeletionPolicy, TestTermScorer, TestMultiTermQueryRewrites, > Test2BTerms, TestLRUQueryCache, TestNeedsScores, TestMinimize, > TestWeakIdentityMap, TestTerm, TestParallelCompositeReader, > TestNewestSegment, TestTragicIndexWriterDeadlock, TestDeletionPolicy, > TestMultiValuedNumericRangeQuery, TestSynonymQuery, TestClassicSimilarity, > TestBooleanMinShouldMatch, FuzzyTermOnShortTermsTest, > TestLucene53NormsFormat, TestHighCompressionMode, TestLSBRadixSorter, > TestDeterminism, TestCodecs, TestMultiTermConstantScore, TestUTF32ToUTF8, > TestSentinelIntSet, TestDateSort, TestRateLimiter, TestTermVectorsWriter, > TestIndexWriterDelete, TestTermRangeQuery, TestFieldReuse, > TestFixedBitDocIdSet, TestFilterIterator, TestNumericRangeQuery64, > TestAutomaton, TestSwappedIndexFiles, TestIndexWriter, > TestIndexWriterMerging, TestIndexWriterWithThreads, TestNumericRangeQuery32, > TestIndexWriterExceptions, TestIndexWriterMergePolicy, > TestPersistentSnapshotDeletionPolicy, TestIndexWriterCommit, > TestDirectoryReaderReopen, TestConcurrentMergeScheduler, > TestDocumentsWriterStallControl, TestStressIndexing, TestRollingUpdates, > TestSnapshotDeletionPolicy, TestIndexWriterUnicode, TestTermsEnum, > TestBlockPostingsFormat, TestForUtil, TestLucene50SegmentInfoFormat, > TestPolygon] > [junit4] Completed [353/419 (1!)] on J0 in 59.47s, 16 tests, 1 error <<< > FAILURES! > > [...truncated 233 lines...] > BUILD FAILED > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/build.xml:740: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/build.xml:684: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/build.xml:59: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/lucene/build.xml:50: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/lucene/common-build.xml:1457: > The following error occurred while executing this line: > /x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/lucene/common-build.xml:1014: > There were test failures: 419 suites (1 ignored), 3501 tests, 1 error, 64 > ignored (60 assumptions) [seed: 5F4B62851AF7D0EA] > > Total time: 11 minutes 58 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
