Oh yay, the new check found a bug!

Uwe

Am 17. Januar 2017 23:42:22 MEZ schrieb Policeman Jenkins Server 
<jenk...@thetaphi.de>:
>Build: https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/18794/
>Java: 32bit/jdk-9-ea+152 -server -XX:+UseParallelGC
>
>1 tests failed.
>FAILED: 
>org.apache.lucene.analysis.miscellaneous.TestWordDelimiterGraphFilter.testRandomStrings
>
>Error Message:
>startOffset must be non-negative, and endOffset must be >= startOffset,
>and offsets must not go backwards
>startOffset=0,endOffset=6,lastStartOffset=2 for field 'dummy'
>
>Stack Trace:
>java.lang.IllegalArgumentException: startOffset must be non-negative,
>and endOffset must be >= startOffset, and offsets must not go backwards
>startOffset=0,endOffset=6,lastStartOffset=2 for field 'dummy'
>       at
>__randomizedtesting.SeedInfo.seed([83AB357752307251:B2235C9F1342564]:0)
>       at
>org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:773)
>       at
>org.apache.lucene.index.DefaultIndexingChain.processField(DefaultIndexingChain.java:437)
>       at
>org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:393)
>       at
>org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:232)
>       at
>org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:478)
>       at
>org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1579)
>       at
>org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1324)
>       at
>org.apache.lucene.index.RandomIndexWriter.addDocument(RandomIndexWriter.java:171)
>       at
>org.apache.lucene.analysis.BaseTokenStreamTestCase.checkRandomData(BaseTokenStreamTestCase.java:650)
>       at
>org.apache.lucene.analysis.BaseTokenStreamTestCase.checkRandomData(BaseTokenStreamTestCase.java:540)
>       at
>org.apache.lucene.analysis.miscellaneous.TestWordDelimiterGraphFilter.testRandomStrings(TestWordDelimiterGraphFilter.java:368)
>       at
>java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
>Method)
>       at
>java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at
>java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.base/java.lang.reflect.Method.invoke(Method.java:543)
>       at
>com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1713)
>       at
>com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:907)
>       at
>com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:943)
>       at
>com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:957)
>       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:811)
>       at
>com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:462)
>       at
>com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:916)
>       at
>com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:802)
>       at
>com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:852)
>       at
>com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863)
>       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
>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.base/java.lang.Thread.run(Thread.java:844)
>       Suppressed: java.lang.IllegalStateException: close() called in wrong
>state: INCREMENT
>               at
>org.apache.lucene.analysis.MockTokenizer.fail(MockTokenizer.java:126)
>               at
>org.apache.lucene.analysis.MockTokenizer.close(MockTokenizer.java:293)
>               at 
> org.apache.lucene.analysis.TokenFilter.close(TokenFilter.java:58)
>               at
>org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:816)
>               ... 45 more
>
>
>
>
>Build Log:
>[...truncated 2982 lines...]
>[junit4] Suite:
>org.apache.lucene.analysis.miscellaneous.TestWordDelimiterGraphFilter
>[junit4]   2> TEST FAIL: useCharFilter=false
>text='\ub326\uf21d\ud9a0\ude8dG\u7cf4\uf8358 \u2d05\u2d1f\u2d1f\u2d27'
>[junit4]   2> NOTE: reproduce with: ant test 
>-Dtestcase=TestWordDelimiterGraphFilter
>-Dtests.method=testRandomStrings -Dtests.seed=83AB357752307251
>-Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=lag
>-Dtests.timezone=NZ-CHAT -Dtests.asserts=true
>-Dtests.file.encoding=ISO-8859-1
>[junit4] ERROR   0.16s J2 |
>TestWordDelimiterGraphFilter.testRandomStrings <<<
>[junit4]    > Throwable #1: java.lang.IllegalArgumentException:
>startOffset must be non-negative, and endOffset must be >= startOffset,
>and offsets must not go backwards
>startOffset=0,endOffset=6,lastStartOffset=2 for field 'dummy'
>[junit4]    >  at
>__randomizedtesting.SeedInfo.seed([83AB357752307251:B2235C9F1342564]:0)
>[junit4]    >  at
>org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:773)
>[junit4]    >  at
>org.apache.lucene.index.DefaultIndexingChain.processField(DefaultIndexingChain.java:437)
>[junit4]    >  at
>org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:393)
>[junit4]    >  at
>org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:232)
>[junit4]    >  at
>org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:478)
>[junit4]    >  at
>org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1579)
>[junit4]    >  at
>org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1324)
>[junit4]    >  at
>org.apache.lucene.index.RandomIndexWriter.addDocument(RandomIndexWriter.java:171)
>[junit4]    >  at
>org.apache.lucene.analysis.BaseTokenStreamTestCase.checkRandomData(BaseTokenStreamTestCase.java:650)
>[junit4]    >  at
>org.apache.lucene.analysis.BaseTokenStreamTestCase.checkRandomData(BaseTokenStreamTestCase.java:540)
>[junit4]    >  at
>org.apache.lucene.analysis.miscellaneous.TestWordDelimiterGraphFilter.testRandomStrings(TestWordDelimiterGraphFilter.java:368)
>[junit4]    >  at
>java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
>Method)
>[junit4]    >  at
>java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>[junit4]    >  at
>java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>[junit4]    >  at
>java.base/java.lang.reflect.Method.invoke(Method.java:543)
>   [junit4]    >       at java.base/java.lang.Thread.run(Thread.java:844)
>[junit4]    >  Suppressed: java.lang.IllegalStateException: close()
>called in wrong state: INCREMENT
>[junit4]    >          at
>org.apache.lucene.analysis.MockTokenizer.fail(MockTokenizer.java:126)
>[junit4]    >          at
>org.apache.lucene.analysis.MockTokenizer.close(MockTokenizer.java:293)
>[junit4]    >          at
>org.apache.lucene.analysis.TokenFilter.close(TokenFilter.java:58)
>[junit4]    >          at
>org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:816)
>   [junit4]    >               ... 45 more
>[junit4]   2> NOTE: leaving temporary files on disk at:
>/home/jenkins/workspace/Lucene-Solr-master-Linux/lucene/build/analysis/common/test/J2/temp/lucene.analysis.miscellaneous.TestWordDelimiterGraphFilter_83AB357752307251-001
>[junit4]   2> NOTE: test params are: codec=Asserting(Lucene70):
>{dummy=Lucene50(blocksize=128)}, docValues:{},
>maxPointsInLeafNode=1758, maxMBSortInHeap=7.224605616896387,
>sim=RandomSimilarity(queryNorm=false): {dummy=DFR I(F)2}, locale=lag,
>timezone=NZ-CHAT
>[junit4]   2> NOTE: Linux 4.4.0-53-generic i386/Oracle Corporation 9-ea
>(32-bit)/cpus=12,threads=1,free=211024480,total=270532608
>[junit4]   2> NOTE: All tests run in this JVM:
>[TestRemoveDuplicatesTokenFilterFactory, TestKeepCase,
>TestLimitTokenPositionFilterFactory, TestLengthFilterFactory,
>TestCJKBigramFilterFactory, TestCharTokenizers, TestPersianAnalyzer,
>TestAlternateCasing, TestCzechStemFilterFactory, NGramTokenFilterTest,
>TestHindiAnalyzer, TestAnalysisSPILoader, TestCJKBigramFilter,
>TestReversePathHierarchyTokenizer, TestDictionary,
>TestSoraniStemFilterFactory, TestMorphData, TestLithuanianStemming,
>TestAllAnalyzersHaveFactories, TestCollationDocValuesField,
>TestArabicStemFilter, TestFrenchMinimalStemFilter,
>TestSerbianNormalizationRegularFilter, TestFlagLong,
>ShingleAnalyzerWrapperTest, TestLimitTokenOffsetFilter,
>TestGalicianAnalyzer, TestPortugueseAnalyzer, TestPortugueseStemFilter,
>TestSoraniNormalizationFilter, TestHindiStemmer, TestCatalanAnalyzer,
>TestEnglishMinimalStemFilter, TestPatternReplaceCharFilter,
>TestPatternTokenizer, TestApostropheFilter, TestStemmerOverrideFilter,
>TestStopAnalyzer, TestSwedishLightStemFilterFactory,
>TestPerFieldAnalyzerWrapper, NumericPayloadTokenFilterTest,
>TestPatternReplaceFilterFactory, TestCodepointCountFilterFactory,
>GreekAnalyzerTest, TestLimitTokenCountFilterFactory,
>TestOptionalCondition, TestStrangeOvergeneration, TestSnowball,
>TestRandomChains, HTMLStripCharFilterTest, TestSnowballVocab,
>EdgeNGramTokenizerTest, TestTrimFilter, TestKStemmer,
>TestBasqueAnalyzer, TestFinnishLightStemFilter, TestEmptyTokenStream,
>TestReverseStringFilter, TestRomanianAnalyzer,
>TestPatternReplaceFilter, TestPortugueseLightStemFilter,
>TestIndonesianAnalyzer, TestSpanishLightStemFilter,
>TestLatvianAnalyzer, EdgeNGramTokenFilterTest,
>TestPortugueseStemFilterFactory, TestGermanStemFilter,
>TestTurkishAnalyzer, TestNorwegianMinimalStemFilter,
>TestGalicianMinimalStemFilter, TestSwedishLightStemFilter,
>TestRussianAnalyzer, TestItalianLightStemFilter,
>QueryAutoStopWordAnalyzerTest, TestItalianAnalyzer,
>TestCharArrayIterator, TestKStemFilterFactory, TestPersianCharFilter,
>TestHTMLStripCharFilterFactory, TestIndonesianStemmer,
>TestArabicNormalizationFilter, TestPatternTokenizerFactory,
>TestHindiNormalizer, TestShingleFilterFactory,
>TestTurkishLowerCaseFilter, TestWordnetSynonymParser,
>TestStopFilterFactory, TestTypeTokenFilter,
>TestWikipediaTokenizerFactory, TestDelimitedPayloadTokenFilterFactory,
>TestFrenchMinimalStemFilterFactory, TestSpanishLightStemFilterFactory,
>TestStemmerOverrideFilterFactory, TestFrenchLightStemFilterFactory,
>TestLengthFilter, TestDictionaryCompoundWordTokenFilterFactory,
>TestFinnishLightStemFilterFactory, TestGermanStemFilterFactory,
>TestKeywordMarkerFilterFactory, TypeAsPayloadTokenFilterTest,
>TestCJKWidthFilterFactory, TestGermanMinimalStemFilterFactory,
>TestSoraniNormalizationFilterFactory, TestSoraniStemFilter,
>TestFlattenGraphFilter, Test64kAffixes, TestCircumfix, TestConv,
>TestEscaped, TestHomonyms, TestMorph, TestNeedAffix, TestStemmer,
>TestZeroAffix, MinHashFilterTest, TestFingerprintFilterFactory,
>TestLimitTokenCountFilter, TestScandinavianFoldingFilter,
>TestTruncateTokenFilter, TestWordDelimiterGraphFilter]
>[junit4] Completed [276/277 (1!)] on J2 in 9.81s, 24 tests, 1 error <<<
>FAILURES!
>
>[...truncated 61447 lines...]

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de

Reply via email to