This is triggered by the new random number generator. It picks "whole numbers" first and was able to find better absurd cases across the entire world. I think we should test the whole numbers explicit here too, i will commit a test for that.
On Mon, Apr 18, 2016 at 7:19 PM, Policeman Jenkins Server <[email protected]> wrote: > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-6.x-Linux/451/ > Java: 64bit/jdk-9-ea+114 -XX:+UseCompressedOops -XX:+UseSerialGC > > 1 tests failed. > FAILED: org.apache.lucene.util.TestSloppyMath.testAgainstSlowVersion > > Error Message: > expected:<2.0015113972444657E7> but was:<2.0015114352186374E7> > > Stack Trace: > java.lang.AssertionError: expected:<2.0015113972444657E7> but > was:<2.0015114352186374E7> > at > __randomizedtesting.SeedInfo.seed([D3DA2B623EC8DD41:4B8CD8078A78D7FF]:0) > at org.junit.Assert.fail(Assert.java:93) > at org.junit.Assert.failNotEquals(Assert.java:647) > at org.junit.Assert.assertEquals(Assert.java:443) > at org.junit.Assert.assertEquals(Assert.java:512) > at > org.apache.lucene.util.TestSloppyMath.testAgainstSlowVersion(TestSloppyMath.java:166) > at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native > Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) > 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(java.base@9-ea/Thread.java:804) > > > > > Build Log: > [...truncated 806 lines...] > [junit4] Suite: org.apache.lucene.util.TestSloppyMath > [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestSloppyMath > -Dtests.method=testAgainstSlowVersion -Dtests.seed=D3DA2B623EC8DD41 > -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=en-WS > -Dtests.timezone=America/Argentina/Mendoza -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1 > [junit4] FAILURE 0.06s J1 | TestSloppyMath.testAgainstSlowVersion <<< > [junit4] > Throwable #1: java.lang.AssertionError: > expected:<2.0015113972444657E7> but was:<2.0015114352186374E7> > [junit4] > at > __randomizedtesting.SeedInfo.seed([D3DA2B623EC8DD41:4B8CD8078A78D7FF]:0) > [junit4] > at > org.apache.lucene.util.TestSloppyMath.testAgainstSlowVersion(TestSloppyMath.java:166) > [junit4] > at > java.lang.Thread.run(java.base@9-ea/Thread.java:804) > [junit4] 2> NOTE: test params are: codec=Asserting(Lucene60): {}, > docValues:{}, maxPointsInLeafNode=579, maxMBSortInHeap=6.874131475550572, > sim=RandomSimilarity(queryNorm=false,coord=yes): {}, locale=en-WS, > timezone=America/Argentina/Mendoza > [junit4] 2> NOTE: Linux 4.2.0-34-generic amd64/Oracle Corporation 9-ea > (64-bit)/cpus=12,threads=1,free=372396776,total=508952576 > [junit4] 2> NOTE: All tests run in this JVM: [TestSetOnce, > TestIndexWriterExceptions, TestDuelingCodecs, TestMultiPhraseEnum, > TestBytesRefAttImpl, TestBufferedChecksum, TestIndexWriterOnVMError, > TestDocsAndPositions, TestScoreCachingWrappingScorer, TestSimpleFSDirectory, > TestDocument, TestControlledRealTimeReopenThread, TestBinaryDocValuesUpdates, > TestSimilarityBase, TestNamedSPILoader, TestPrefixInBooleanQuery, > TestStressIndexing, TestNumericDocValuesUpdates, TestBoolean2, > TestFilterDirectoryReader, TestExceedMaxTermLength, TestNRTCachingDirectory, > TestSortedSetSelector, TestStringHelper, TestPerFieldPostingsFormat2, > TestByteSlices, TestRegexpQuery, TestDocumentsWriterStallControl, > TestFlushByRamOrCountsPolicy, TestTermdocPerf, TestRollingBuffer, > TestAddIndexes, TestParallelLeafReader, TestSpanMultiTermQueryWrapper, > TestMaxPosition, TestReadOnlyIndex, TestPerFieldDocValuesFormat, > TestWildcardRandom, TestInfoStream, TestDirectPacked, TestOmitNorms, > TestPackedInts, TestFlex, TestIndexWriterNRTIsCurrent, > TestApproximationSearchEquivalence, TestStressNRT, TestOperations, > TestIndexWriterOnJRECrash, TestByteArrayDataInput, TestPositionIncrement, > FiniteStringsIteratorTest, TestSloppyMath] > [junit4] Completed [184/419 (1!)] on J1 in 1.07s, 7 tests, 1 failure <<< > FAILURES! > > [...truncated 785 lines...] > BUILD FAILED > /home/jenkins/workspace/Lucene-Solr-6.x-Linux/build.xml:740: The following > error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-6.x-Linux/build.xml:684: The following > error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-6.x-Linux/build.xml:59: The following > error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-6.x-Linux/lucene/build.xml:50: The > following error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-6.x-Linux/lucene/common-build.xml:1457: > The following error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-6.x-Linux/lucene/common-build.xml:1014: > There were test failures: 419 suites (1 ignored), 3501 tests, 1 failure, 64 > ignored (60 assumptions) [seed: D3DA2B623EC8DD41] > > Total time: 6 minutes 49 seconds > Build step 'Invoke Ant' marked build as failure > Archiving artifacts > [WARNINGS] Skipping publisher since build result is FAILURE > 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]
