This is a similar problem as we had a couple weeks ago, the test failed because of a floating-point rounding error. I committed a fix.
Le mar. 19 janv. 2016 à 19:01, Adrien Grand <[email protected]> a écrit : > This reproduces for me. I'll dig. > > Le mar. 19 janv. 2016 à 16:36, Policeman Jenkins Server < > [email protected]> a écrit : > >> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/15590/ >> Java: 64bit/jdk-9-ea+95 -XX:+UseCompressedOops -XX:+UseParallelGC >> -XX:-CompactStrings >> >> 1 tests failed. >> FAILED: org.apache.lucene.search.TestBooleanRewrites.testRandom >> >> Error Message: >> expected:<14> but was:<16> >> >> Stack Trace: >> java.lang.AssertionError: expected:<14> but was:<16> >> at >> __randomizedtesting.SeedInfo.seed([C4267402E95DB229:B66A510D583D045A]:0) >> at org.junit.Assert.fail(Assert.java:93) >> at org.junit.Assert.failNotEquals(Assert.java:647) >> at org.junit.Assert.assertEquals(Assert.java:128) >> at org.junit.Assert.assertEquals(Assert.java:472) >> at org.junit.Assert.assertEquals(Assert.java:456) >> at >> org.apache.lucene.search.TestBooleanRewrites.assertEquals(TestBooleanRewrites.java:344) >> at >> org.apache.lucene.search.TestBooleanRewrites.testRandom(TestBooleanRewrites.java:289) >> 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:520) >> 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: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: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: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: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: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:367) >> at java.lang.Thread.run(Thread.java:747) >> >> >> >> >> Build Log: >> [...truncated 1520 lines...] >> [junit4] Suite: org.apache.lucene.search.TestBooleanRewrites >> [junit4] 2> NOTE: reproduce with: ant test >> -Dtestcase=TestBooleanRewrites -Dtests.method=testRandom >> -Dtests.seed=C4267402E95DB229 -Dtests.multiplier=3 -Dtests.slow=true >> -Dtests.locale=chr -Dtests.timezone=Europe/Ljubljana -Dtests.asserts=true >> -Dtests.file.encoding=UTF-8 >> [junit4] FAILURE 0.10s J1 | TestBooleanRewrites.testRandom <<< >> [junit4] > Throwable #1: java.lang.AssertionError: expected:<14> >> but was:<16> >> [junit4] > at >> __randomizedtesting.SeedInfo.seed([C4267402E95DB229:B66A510D583D045A]:0) >> [junit4] > at >> org.apache.lucene.search.TestBooleanRewrites.assertEquals(TestBooleanRewrites.java:344) >> [junit4] > at >> org.apache.lucene.search.TestBooleanRewrites.testRandom(TestBooleanRewrites.java:289) >> [junit4] > at java.lang.Thread.run(Thread.java:747) >> [junit4] 2> NOTE: test params are: codec=Asserting(Lucene60): >> {field=PostingsFormat(name=Memory doPackFST= true), >> body=PostingsFormat(name=Memory doPackFST= true)}, docValues:{}, >> sim=RandomSimilarity(queryNorm=true,coord=yes): {field=DFR I(F)2, body=DFR >> GB3(800.0)}, locale=chr, timezone=Europe/Ljubljana >> [junit4] 2> NOTE: Linux 3.19.0-42-generic amd64/Oracle Corporation >> 9-ea (64-bit)/cpus=12,threads=1,free=178983640,total=353370112 >> [junit4] 2> NOTE: All tests run in this JVM: >> [TestLucene50StoredFieldsFormatHighCompression, TestBagOfPostings, >> TestPrefixQuery, TestSimpleExplanationsOfNonMatches, TestOmitNorms, >> TestOmitTf, TestSimilarity, Test2BPostings, TestHugeRamFile, >> TestSpanCollection, TestTerms, TestBytesRefAttImpl, TestDocument, >> Test4GBStoredFields, TestIntsRef, TestField, TestIndexWriterExceptions, >> TestClassicSimilarity, TestLongBitSet, TestDirectory, >> TestSameScoresWithThreads, TestPriorityQueue, TestScorerPerf, >> TestIndexWriterExceptions2, TestAllFilesHaveCodecHeader, >> TestDirectMonotonic, TestNoMergeScheduler, TestNRTCachingDirectory, >> TestSearchAfter, TestPayloads, TestGrowableByteArrayDataOutput, >> TestCodecUtil, TestDirectoryReaderReopen, TestSpanSearchEquivalence, >> TestNotDocIdSet, TestIntArrayDocIdSet, LimitedFiniteStringsIteratorTest, >> TestBooleanCoord, TestLevenshteinAutomata, TestConjunctionDISI, >> TestPhrasePrefixQuery, TestFilterDirectoryReader, TestSegmentTermEnum, >> TestRegExp, TestFlex, TestDuelingCodecs, TestSimilarityProvider, >> TestFieldMaskingSpanQuery, Test2BBinaryDocValues, TestPrefixInBooleanQuery, >> TestRateLimiter, TestSearch, TestBooleanQuery, TestRAMDirectory, >> TestMultiset, TestSegmentMerger, TestIndexWriterNRTIsCurrent, >> TestStressIndexing, TestFileSwitchDirectory, TestDocValuesRewriteMethod, >> TestSegmentInfos, TestWindowsMMap, TestLegacyNumericUtils, >> TestSimilarityBase, TestRoaringDocIdSet, TestDocumentsWriterDeleteQueue, >> TestTerm, TestBoolean2, TestByteSlices, TestSimpleExplanations, >> TestLockFactory, TestPhraseQuery, TestCollectionUtil, TestBagOfPositions, >> TestFixedBitSet, TestFastDecompressionMode, TestParallelCompositeReader, >> TestFieldCacheRewriteMethod, TestTransactions, TestSegmentTermDocs, >> TestPerFieldPostingsFormat2, TestSort, TestMultiDocValues, >> TestFieldsReader, TestBooleanMinShouldMatch, TestIndexWriterOnDiskFull, >> TestCustomNorms, TestMixedCodecs, TestFastCompressionMode, >> TestCharTermAttributeImpl, TestOmitPositions, TestThreadedForceMerge, >> TestSloppyPhraseQuery2, TestDocumentWriter, TestDoc, TestNoDeletionPolicy, >> TestPerSegmentDeletes, TestIntBlockPool, TestTopDocsCollector, >> TestAutomatonQuery, TestTopFieldCollector, TestRegexpRandom, >> TestMultiLevelSkipList, TestBooleanQueryVisitSubscorers, >> TestCompiledAutomaton, TestMatchAllDocsQuery, TestElevationComparator, >> TestSubScorerFreqs, TestConjunctions, TestDateSort, TestFilterLeafReader, >> TestFilterIterator, TestCharsRef, TestDocCount, TestAutomatonQueryUnicode, >> TestRecyclingByteBlockAllocator, TestSpanFirstQuery, TestBytesRef, >> TestAssertions, TestTwoPhaseCommitTool, TestVersion, MultiCollectorTest, >> TestNGramPhraseQuery, TestIOUtils, TestByteArrayDataInput, >> TestPackedTokenAttributeImpl, TestBlockPostingsFormat2, >> TestBlockPostingsFormat3, TestLucene50FieldInfoFormat, >> TestLucene50StoredFieldsFormat, TestLucene53NormsFormat, TestFieldType, >> Test2BSortedDocValuesOrds, TestAllFilesHaveChecksumFooter, >> TestBinaryDocValuesUpdates, TestDocInverterPerFieldErrorInfo, >> TestExceedMaxTermLength, TestIndexReaderClose, TestIndexWriterFromReader, >> TestIndexWriterOnVMError, TestIndexWriterThreadsToSegments, TestInfoStream, >> TestLogMergePolicy, TestMaxPosition, TestMergeRateLimiter, >> TestMultiTermsEnum, TestNRTReaderCleanup, TestNumericDocValuesUpdates, >> TestOrdinalMap, TestStressDeletes, FuzzyTermOnShortTermsTest, >> TestApproximationSearchEquivalence, TestBlendedTermQuery, >> TestBooleanRewrites] >> [junit4] Completed [365/406 (1!)] on J1 in 0.11s, 7 tests, 1 failure >> <<< FAILURES! >> >> [...truncated 153 lines...] >> BUILD FAILED >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:784: The >> following error occurred while executing this line: >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:728: The >> following error occurred while executing this line: >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:59: The >> following error occurred while executing this line: >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/build.xml:50: The >> following error occurred while executing this line: >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:1424: >> The following error occurred while executing this line: >> /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:981: >> There were test failures: 406 suites (1 ignored), 3328 tests, 1 failure, 52 >> ignored (48 assumptions) [seed: C4267402E95DB229] >> >> Total time: 6 minutes 0 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] > >
