lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: [JENKINS-MAVEN] Lucene-Solr-Maven-3.x #316: POMs out of sync
Date Wed, 30 Nov 2011 15:04:53 GMT
Thanks Steven.

I think this is a bug in LuceneTestCase (I'll open an issue), because
if I add the following to TestDemo, i get no seed or anything at all:

  @BeforeClass
  public static void beforeClass() throws Exception {
    throw new NullPointerException();
  }

junit-sequential:
    [junit] Testsuite: org.apache.lucene.TestDemo
    [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.143 sec
    [junit]
    [junit] Testcase: org.apache.lucene.TestDemo:	Caused an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit] 	at org.apache.lucene.TestDemo.beforeClass(TestDemo.java:44)
    [junit]
    [junit]
    [junit] Test org.apache.lucene.TestDemo FAILED


On Wed, Nov 30, 2011 at 9:59 AM, Steven A Rowe <sarowe@syr.edu> wrote:
> I looked at the Surefire report <https://builds.apache.org/job/Lucene-Solr-Maven-3.x/ws/checkout/lucene/build/contrib/queryparser/surefire-reports/TEST-org.apache.lucene.queryParser.standard.TestNumericQueryParser.xml/*view*/>
and I don't see any more information.
>
>> -----Original Message-----
>> From: Robert Muir [mailto:rcmuir@gmail.com]
>> Sent: Wednesday, November 30, 2011 9:55 AM
>> To: dev@lucene.apache.org
>> Subject: Re: [JENKINS-MAVEN] Lucene-Solr-Maven-3.x #316: POMs out of sync
>>
>> This looks like a localization bug. is it possible to get the seed or
>> more information on this test fail?
>>
>> Did maven truncate the test output or is there a bug in LuceneTestCase
>> where its not providing the "reproduce-with (hopefully)" that it
>> should if beforeClass() throws an exception?
>>
>> I looked at the console log and there wasn't any failure information
>> there...
>>
>> On Wed, Nov 30, 2011 at 7:59 AM, Apache Jenkins Server
>> <jenkins@builds.apache.org> wrote:
>> > Build: https://builds.apache.org/job/Lucene-Solr-Maven-3.x/316/
>> >
>> > 2 tests failed.
>> >
>> FAILED:  org.apache.lucene.queryParser.standard.TestNumericQueryParser.org
>> .apache.lucene.queryParser.standard.TestNumericQueryParser
>> >
>> > Error Message:
>> > Unparseable date: "1867.06.20 6時34分09秒 CET  9 +0100 1867"
>> >
>> > Stack Trace:
>> > java.text.ParseException: Unparseable date: "1867.06.20 6時34分09秒 CET  9
>> +0100 1867"
>> >        at java.text.DateFormat.parse(DateFormat.java:354)
>> >        at
>> org.apache.lucene.queryParser.standard.TestNumericQueryParser.checkDateFor
>> matSanity(TestNumericQueryParser.java:88)
>> >        at
>> org.apache.lucene.queryParser.standard.TestNumericQueryParser.beforeClass(
>> TestNumericQueryParser.java:145)
>> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>> 57)
>> >        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> >        at java.lang.reflect.Method.invoke(Method.java:616)
>> >        at
>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMetho
>> d.java:44)
>> >        at
>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable
>> .java:15)
>> >        at
>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.
>> java:41)
>> >        at
>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:
>> 27)
>> >        at
>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31
>> )
>> >        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>> >        at
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
>> 53)
>> >        at
>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provi
>> der.java:123)
>> >        at
>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java
>> :104)
>> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>> 57)
>> >        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> >        at java.lang.reflect.Method.invoke(Method.java:616)
>> >        at
>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Refle
>> ctionUtils.java:164)
>> >        at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Prov
>> iderFactory.java:110)
>> >        at
>> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireSt
>> arter.java:175)
>> >        at
>> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenFor
>> ked(SurefireStarter.java:107)
>> >        at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
>> >
>> >
>> >
>> FAILED:  org.apache.lucene.queryParser.standard.TestNumericQueryParser.org
>> .apache.lucene.queryParser.standard.TestNumericQueryParser
>> >
>> > Error Message:
>> > null
>> >
>> > Stack Trace:
>> > java.lang.NullPointerException
>> >        at
>> org.apache.lucene.queryParser.standard.TestNumericQueryParser.afterClass(T
>> estNumericQueryParser.java:495)
>> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>> 57)
>> >        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> >        at java.lang.reflect.Method.invoke(Method.java:616)
>> >        at
>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMetho
>> d.java:44)
>> >        at
>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable
>> .java:15)
>> >        at
>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.
>> java:41)
>> >        at
>> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37
>> )
>> >        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>> >        at
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
>> 53)
>> >        at
>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provi
>> der.java:123)
>> >        at
>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java
>> :104)
>> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>> 57)
>> >        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> >        at java.lang.reflect.Method.invoke(Method.java:616)
>> >        at
>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Refle
>> ctionUtils.java:164)
>> >        at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Prov
>> iderFactory.java:110)
>> >        at
>> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireSt
>> arter.java:175)
>> >        at
>> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenFor
>> ked(SurefireStarter.java:107)
>> >        at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
>> >
>> >
>> >
>> >
>> > Build Log (for compile errors):
>> > [...truncated 26196 lines...]
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> > For additional commands, e-mail: dev-help@lucene.apache.org
>> >
>> >
>>
>>
>>
>> --
>> lucidimagination.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>
>



-- 
lucidimagination.com

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


Mime
View raw message