lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@cs.put.poznan.pl>
Subject Re: [JENKINS] Lucene-Solr-tests-only-3.x - Build # 12905 - Failure
Date Thu, 29 Mar 2012 15:21:38 GMT
This looks like a re-thrown (wrapped) failed assumption. Don't know
the logic of that test -- maybe it should be an assumption?

Dawid

Caused by: org.junit.internal.AssumptionViolatedException: failed
assumption: Test data cannot contain '\uFFFF' (Lucene 3.x only)
       at org.apache.lucene.analysis.MockTokenizer.readCodePoint(MockTokenizer.java:136)
       at org.apache.lucene.analysis.MockTokenizer.incrementToken(MockTokenizer.java:111)
       at org.apache.lucene.analysis.BaseTokenStreamTestCase.checkAnalysisConsistency(BaseTokenStreamTestCase.java:427)
       at org.apache.lucene.analysis.BaseTokenStreamTestCase.checkRandomData(BaseTokenStreamTestCase.java:395)

Dawid

On Thu, Mar 29, 2012 at 5:06 PM, Robert Muir <rcmuir@gmail.com> wrote:
> I think this could be bogus? Looks from a stacktrace its failing on an
> assume() from another thread?
>
> You fixed this... but maybe we lost it in some cleanup?
>
> On Thu, Mar 29, 2012 at 11:02 AM, Steven A Rowe <sarowe@syr.edu> wrote:
>> I can reproduce this locally - I'm digging.  BaseTokenStreamTestCase.checkRandomData()
prints to standard error:
>>
>>    [junit] TEST FAIL: useCharFilter=true text='\"&#xff'
>>
>> which is fantastic - very easy to see where to focus the search for problems.
>>
>> Thanks Robert, Mike, and Dawid for all your work beefing up test facilities.
>>
>> Steve
>>
>> -----Original Message-----
>> From: Apache Jenkins Server [mailto:jenkins@builds.apache.org]
>> Sent: Thursday, March 29, 2012 9:18 AM
>> To: dev@lucene.apache.org
>> Subject: [JENKINS] Lucene-Solr-tests-only-3.x - Build # 12905 - Failure
>>
>> Build: https://builds.apache.org/job/Lucene-Solr-tests-only-3.x/12905/
>>
>> 1 tests failed.
>> REGRESSION:  org.apache.lucene.analysis.charfilter.HTMLStripCharFilterTest.testRandom
>>
>> Error Message:
>> Uncaught exception by thread: Thread[Thread-8,5,]
>>
>> Stack Trace:
>> org.apache.lucene.util.UncaughtExceptionsRule$UncaughtExceptionsInBackgroundThread:
Uncaught exception by thread: Thread[Thread-8,5,]
>>        at org.apache.lucene.util.UncaughtExceptionsRule$1.evaluate(UncaughtExceptionsRule.java:83)
>>        at org.apache.lucene.util.LuceneTestCase$SaveThreadAndTestNameRule$1.evaluate(LuceneTestCase.java:508)
>>        at org.junit.rules.RunRules.evaluate(RunRules.java:18)
>>        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
>>        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
>>        at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:146)
>>        at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:50)
>>        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
>>        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
>>        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
>>        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
>>        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
>>        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>>        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
>>        at org.apache.lucene.util.UncaughtExceptionsRule$1.evaluate(UncaughtExceptionsRule.java:74)
>>        at org.apache.lucene.util.StoreClassNameRule$1.evaluate(StoreClassNameRule.java:36)
>>        at org.apache.lucene.util.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:67)
>>        at org.junit.rules.RunRules.evaluate(RunRules.java:18)
>>        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>>        at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
>>        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
>>        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
>>        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
>> Caused by: java.lang.RuntimeException: org.junit.internal.AssumptionViolatedException:
failed assumption: Test data cannot contain '\uFFFF' (Lucene 3.x only)
>>        at org.apache.lucene.analysis.BaseTokenStreamTestCase.checkRandomData(BaseTokenStreamTestCase.java:398)
>>        at org.apache.lucene.analysis.BaseTokenStreamTestCase.access$000(BaseTokenStreamTestCase.java:50)
>>        at org.apache.lucene.analysis.BaseTokenStreamTestCase$AnalysisThread.run(BaseTokenStreamTestCase.java:336)
>> Caused by: org.junit.internal.AssumptionViolatedException: failed assumption: Test
data cannot contain '\uFFFF' (Lucene 3.x only)
>>        at org.apache.lucene.analysis.MockTokenizer.readCodePoint(MockTokenizer.java:136)
>>        at org.apache.lucene.analysis.MockTokenizer.incrementToken(MockTokenizer.java:111)
>>        at org.apache.lucene.analysis.BaseTokenStreamTestCase.checkAnalysisConsistency(BaseTokenStreamTestCase.java:427)
>>        at org.apache.lucene.analysis.BaseTokenStreamTestCase.checkRandomData(BaseTokenStreamTestCase.java:395)
>>        ... 2 more
>>
>>
>>
>>
>> Build Log (for compile errors):
>> [...truncated 11422 lines...]
>>
>>
>
>
>
> --
> lucidimagination.com
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message