lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Grand <jpou...@gmail.com>
Subject Re: [JENKINS] Lucene-4x-Linux-Java7-64-test-only - Build # 1930 - Failure!
Date Mon, 04 Nov 2013 17:21:40 GMT
Thanks Robert for the suggestion, I just committed this change!

On Mon, Nov 4, 2013 at 3:48 PM, Robert Muir <rcmuir@gmail.com> wrote:
> perhaps it could just test via term vectors?
>
> On Mon, Nov 4, 2013 at 9:09 AM, Adrien Grand <jpountz@gmail.com> wrote:
>> This specific test shouldn't run with Lucene 3.x. I'll fix the test.
>>
>> On Mon, Nov 4, 2013 at 2:44 PM,  <builder@flonkings.com> wrote:
>>> Build: builds.flonkings.com/job/Lucene-4x-Linux-Java7-64-test-only/1930/
>>>
>>> 1 tests failed.
>>> REGRESSION:  org.apache.lucene.analysis.TestMockAnalyzer.testChangeGaps
>>>
>>> Error Message:
>>> this codec cannot index offsets
>>>
>>> Stack Trace:
>>> java.lang.UnsupportedOperationException: this codec cannot index offsets
>>>         at __randomizedtesting.SeedInfo.seed([6A0684CF826CE4DC:9E192FD25A797F38]:0)
>>>         at org.apache.lucene.codecs.lucene3x.PreFlexRWFieldsWriter.addField(PreFlexRWFieldsWriter.java:89)
>>>         at org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerField.java:336)
>>>         at org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:85)
>>>         at org.apache.lucene.index.TermsHash.flush(TermsHash.java:116)
>>>         at org.apache.lucene.index.DocInverter.flush(DocInverter.java:53)
>>>         at org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81)
>>>         at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:465)
>>>         at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:506)
>>>         at org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:616)
>>>         at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2811)
>>>         at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2966)
>>>         at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2936)
>>>         at org.apache.lucene.index.RandomIndexWriter.getReader(RandomIndexWriter.java:316)
>>>         at org.apache.lucene.index.RandomIndexWriter.getReader(RandomIndexWriter.java:253)
>>>         at org.apache.lucene.analysis.TestMockAnalyzer.testChangeGaps(TestMockAnalyzer.java:334)
>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>         at java.lang.reflect.Method.invoke(Method.java:601)
>>>         at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1559)
>>>         at com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79)
>>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:737)
>>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:773)
>>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:787)
>>>         at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
>>>         at org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51)
>>>         at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>>>         at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>>>         at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
>>>         at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
>>>         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:358)
>>>         at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782)
>>>         at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442)
>>>         at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746)
>>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648)
>>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682)
>>>         at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693)
>>>         at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
>>>         at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
>>>         at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
>>>         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 org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
>>>         at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
>>>         at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
>>>         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:358)
>>>         at java.lang.Thread.run(Thread.java:722)
>>>
>>>
>>>
>>>
>>> Build Log:
>>> [...truncated 615 lines...]
>>>    [junit4] Suite: org.apache.lucene.analysis.TestMockAnalyzer
>>>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestMockAnalyzer
-Dtests.method=testChangeGaps -Dtests.seed=6A0684CF826CE4DC -Dtests.slow=true -Dtests.locale=en_IE
-Dtests.timezone=SystemV/MST7MDT -Dtests.file.encoding=ISO-8859-1
>>>    [junit4] ERROR   0.36s J7 | TestMockAnalyzer.testChangeGaps <<<
>>>    [junit4]    > Throwable #1: java.lang.UnsupportedOperationException: this
codec cannot index offsets
>>>    [junit4]    >        at __randomizedtesting.SeedInfo.seed([6A0684CF826CE4DC:9E192FD25A797F38]:0)
>>>    [junit4]    >        at org.apache.lucene.codecs.lucene3x.PreFlexRWFieldsWriter.addField(PreFlexRWFieldsWriter.java:89)
>>>    [junit4]    >        at org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerField.java:336)
>>>    [junit4]    >        at org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:85)
>>>    [junit4]    >        at org.apache.lucene.index.TermsHash.flush(TermsHash.java:116)
>>>    [junit4]    >        at org.apache.lucene.index.DocInverter.flush(DocInverter.java:53)
>>>    [junit4]    >        at org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81)
>>>    [junit4]    >        at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:465)
>>>    [junit4]    >        at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:506)
>>>    [junit4]    >        at org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:616)
>>>    [junit4]    >        at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2811)
>>>    [junit4]    >        at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2966)
>>>    [junit4]    >        at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2936)
>>>    [junit4]    >        at org.apache.lucene.index.RandomIndexWriter.getReader(RandomIndexWriter.java:316)
>>>    [junit4]    >        at org.apache.lucene.index.RandomIndexWriter.getReader(RandomIndexWriter.java:253)
>>>    [junit4]    >        at org.apache.lucene.analysis.TestMockAnalyzer.testChangeGaps(TestMockAnalyzer.java:334)
>>>    [junit4]    >        at java.lang.Thread.run(Thread.java:722)
>>>    [junit4]   2> NOTE: test params are: codec=Lucene3x, sim=RandomSimilarityProvider(queryNorm=true,coord=crazy):
{f=DFR I(F)L3(800.0)}, locale=en_IE, timezone=SystemV/MST7MDT
>>>    [junit4]   2> NOTE: Linux 3.2.0-26-generic amd64/Oracle Corporation 1.7.0_05
(64-bit)/cpus=8,threads=1,free=109016088,total=262209536
>>>    [junit4]   2> NOTE: All tests run in this JVM: [TestSpansAdvanced2, TestRegexpRandom,
TestIndexSearcher, MultiCollectorTest, TestSmallFloat, TestBlockPostingsFormat3, TestPostingsOffsets,
TestRamUsageEstimator, TestTermRangeFilter, TestIndexWriterLockRelease, TestWorstCaseTestBehavior,
TestScorerPerf, TestSloppyMath, TestReuseDocsEnum, TestDirectoryReaderReopen, TestFileSwitchDirectory,
TestTopDocsCollector, TestTerm, TestNorms, TestTermInfosReaderIndex, TestRAMDirectory, TestMockAnalyzer]
>>>    [junit4] Completed on J7 in 24.86s, 17 tests, 1 error <<< FAILURES!
>>>
>>> [...truncated 843 lines...]
>>> BUILD FAILED
>>> /var/lib/jenkins/workspace/Lucene-4x-Linux-Java7-64-test-only/checkout/lucene/build.xml:49:
The following error occurred while executing this line:
>>> /var/lib/jenkins/workspace/Lucene-4x-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:1263:
The following error occurred while executing this line:
>>> /var/lib/jenkins/workspace/Lucene-4x-Linux-Java7-64-test-only/checkout/lucene/common-build.xml:906:
There were test failures: 379 suites, 2757 tests, 1 error, 107 ignored (94 assumptions)
>>>
>>> Total time: 5 minutes 8 seconds
>>> Build step 'Invoke Ant' marked build as failure
>>> Recording test results
>>> Email was triggered for: Failure
>>> Sending email for trigger: Failure
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>>
>>
>> --
>> Adrien
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>



-- 
Adrien

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message