I committed a fix ... fun empty-string corner cases! Mike McCandless
http://blog.mikemccandless.com On Sat, Apr 4, 2015 at 9:06 PM, Policeman Jenkins Server <[email protected]> wrote: > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/12199/ > Java: 64bit/jdk1.9.0-ea-b54 -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC > > 1 tests failed. > FAILED: > org.apache.lucene.util.automaton.TestAutomaton.testMakeBinaryIntervalRandom > > Error Message: > auotmaton was not minimal > > Stack Trace: > java.lang.AssertionError: auotmaton was not minimal > at > __randomizedtesting.SeedInfo.seed([4DDCFAD524719411:79835CAA97FC45F2]:0) > at org.junit.Assert.fail(Assert.java:93) > at > org.apache.lucene.util.automaton.TestAutomaton.testMakeBinaryIntervalRandom(TestAutomaton.java:1128) > 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 1787 lines...] > [junit4] Suite: org.apache.lucene.util.automaton.TestAutomaton > [junit4] 1> Original was not minimal: > [junit4] 1> Original: > [junit4] 1> digraph Automaton { > [junit4] 1> rankdir = LR > [junit4] 1> initial [shape=plaintext,label="0"] > [junit4] 1> initial -> 0 > [junit4] 1> 0 [shape=doublecircle,label="0"] > [junit4] 1> 1 [shape=doublecircle,label="1"] > [junit4] 1> 1 -> 1 [label="\\U00000000-\\U000000ff"] > [junit4] 1> } > [junit4] 1> Minimized: > [junit4] 1> digraph Automaton { > [junit4] 1> rankdir = LR > [junit4] 1> initial [shape=plaintext,label="0"] > [junit4] 1> initial -> 0 > [junit4] 1> 0 [shape=doublecircle,label="0"] > [junit4] 1> } > [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestAutomaton > -Dtests.method=testMakeBinaryIntervalRandom -Dtests.seed=4DDCFAD524719411 > -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=fr > -Dtests.timezone=America/Rio_Branco -Dtests.asserts=true > -Dtests.file.encoding=ISO-8859-1 > [junit4] FAILURE 0.09s J1 | TestAutomaton.testMakeBinaryIntervalRandom <<< > [junit4] > Throwable #1: java.lang.AssertionError: auotmaton was not > minimal > [junit4] > at > __randomizedtesting.SeedInfo.seed([4DDCFAD524719411:79835CAA97FC45F2]:0) > [junit4] > at > org.apache.lucene.util.automaton.TestAutomaton.testMakeBinaryIntervalRandom(TestAutomaton.java:1128) > [junit4] > at java.lang.Thread.run(Thread.java:745) > [junit4] 1> HERE: digraph Automaton { > [junit4] 1> rankdir = LR > [junit4] 1> initial [shape=plaintext,label="0"] > [junit4] 1> initial -> 0 > [junit4] 1> 0 [shape=doublecircle,label="0"] > [junit4] 1> 0 -> 0 [label="\\U00000000-\\U000000ff"] > [junit4] 1> } > [junit4] 2> NOTE: test params are: codec=Asserting(Lucene50): {}, > docValues:{}, sim=DefaultSimilarity, locale=fr, timezone=America/Rio_Branco > [junit4] 2> NOTE: Linux 3.13.0-48-generic amd64/Oracle Corporation > 1.9.0-ea (64-bit)/cpus=12,threads=1,free=315918512,total=508952576 > [junit4] 2> NOTE: All tests run in this JVM: > [TestTrackingDirectoryWrapper, TestCachingWrapperQuery, > TestPerFieldDocValuesFormat, TestDocsAndPositions, > TestPerFieldPostingsFormat, TestNRTThreads, TestRateLimiter, TestLongBitSet, > TestElevationComparator, TestBytesRefHash, TestExternalCodecs, > TestCompiledAutomaton, TestDeterminizeLexicon, TestMultiMMap, > TestSegmentTermEnum, TestVirtualMethod, TestNGramPhraseQuery, TestAddIndexes, > TestSortedNumericSortField, TestIOUtils, TestTermRangeQuery, Nested, > TestSloppyMath, TestSameTokenSamePosition, TestStressNRT, TestTransactions, > TestNIOFSDirectory, TestConjunctions, TestDocIdSetBuilder, > TestIndexWriterMerging, TestTopFieldCollector, TestAssertions, Nested1, > TestSimpleExplanationsOfNonMatches, TestSearchForDuplicates, TestDocument, > TestRamUsageEstimator, TestRegExp, TestTermVectors, TestTermVectorsWriter, > TestDuelingCodecsAtNight, TestEliasFanoDocIdSet, TestAttributeSource, > TestTerm, TestDisjunctionMaxQuery, TestFilterDirectory, TestLiveFieldValues, > TestIndexReaderClose, TestRoaringDocIdSet, TestToken, TestTermdocPerf, > TestIndexWriterForceMerge, Nested, TestBooleanQuery, TestFilterIterator, > TestDocValuesRangeQuery, TestSubScorerFreqs, TestCachingTokenFilter, > TestSloppyPhraseQuery, TestForceMergeForever, TestBagOfPositions, > TestBooleanScorer, TestNeverDelete, TestIndexWriterNRTIsCurrent, > TestAllFilesHaveCodecHeader, TestWeakIdentityMap, TestFilterSpans, > TestIndexWriterOutOfFileDescriptors, TestCrash, TestSegmentTermDocs, > TestPerFieldPostingsFormat2, TestFieldsReader, TestCustomSearcherSort, > TestDocValuesIndexing, TestPayloadTermQuery, TestSimilarityBase, > TestHugeRamFile, TestBooleanMinShouldMatch, TestTermsEnum2, > TestIndexWriterOnDiskFull, TestSpans, TestCustomNorms, TestMixedCodecs, > TestPayloadSpans, TestTransactionRollback, TestFlex, TestUTF32ToUTF8, > TestCodecs, TestPayloadExplanations, TestIndexInput, TestSloppyPhraseQuery2, > TestMultiValuedNumericRangeQuery, TestDocValuesScoring, TestWindowsMMap, > TestWildcardRandom, TestDirectory, Nested2, Nested3, Nested1, > TestSizeBoundedForceMerge, TestPrefixQuery, TestBlockPostingsFormat, > TestLucene50FieldInfoFormat, TestLucene50NormsFormat, > TestLucene50SegmentInfoFormat, TestLucene50StoredFieldsFormat, > TestLucene50StoredFieldsFormatHighCompression, TestLucene50TermVectorsFormat, > TestTryDelete, TestBooleanCoord, TestConjunctionDISI, > TestControlledRealTimeReopenThread, TestDocValuesRewriteMethod, > TestDocValuesTermsQuery, TestNeedsScores, TestSortRescorer, > TestSortedSetSelector, TestSortedSetSortField, > TestUsageTrackingFilterCachingPolicy, TestDefaultSimilarity, > TestMmapDirectory, TestCharsRefBuilder, TestFixedBitDocIdSet, > TestFrequencyTrackingRingBuffer, TestIntroSorter, TestMergedIterator, > TestNotDocIdSet, TestOfflineSorter, TestAutomaton] > [junit4] Completed on J1 in 3.71s, 54 tests, 1 failure <<< FAILURES! > > [...truncated 32 lines...] > BUILD FAILED > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:519: The following > error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:467: The following > error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:61: The following > error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/extra-targets.xml:39: The > following error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/build.xml:49: The > following error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:1351: > The following error occurred while executing this line: > /home/jenkins/workspace/Lucene-Solr-trunk-Linux/lucene/common-build.xml:958: > There were test failures: 414 suites, 3408 tests, 1 failure, 70 ignored (60 > assumptions) > > Total time: 8 minutes 18 seconds > Build step 'Invoke Ant' marked build as failure > [description-setter] Description set: Java: 64bit/jdk1.9.0-ea-b54 > -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC > 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]
