Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 595AD9441 for ; Wed, 30 Nov 2011 15:05:43 +0000 (UTC) Received: (qmail 38309 invoked by uid 500); 30 Nov 2011 15:05:42 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 38265 invoked by uid 500); 30 Nov 2011 15:05:42 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 38258 invoked by uid 99); 30 Nov 2011 15:05:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 15:05:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rcmuir@gmail.com designates 209.85.161.48 as permitted sender) Received: from [209.85.161.48] (HELO mail-fx0-f48.google.com) (209.85.161.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 15:05:35 +0000 Received: by faao14 with SMTP id o14so778354faa.35 for ; Wed, 30 Nov 2011 07:05:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=ep4t3i/a64r1/2wp8GGM9YL+6WfK8EhIg4SzqyDXuOM=; b=I0D5LFkC1zKvYhQ9Njktw1mx0MOzF8+ImuxUwxGorP8nfpJ8xSAdbZxkDIPMNErmt5 j/uD9DwZ/4iRtThppob/i3pRCYfQUm9Nz/ckLC6VU57LE19aTZgz+k9mCtMSXCmrPa+g u4GkwG5crsAOpy8+RpqqBvO3Q1yahJCnEMu9M= Received: by 10.205.135.129 with SMTP id ig1mr2788348bkc.106.1322665514868; Wed, 30 Nov 2011 07:05:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.102.135 with HTTP; Wed, 30 Nov 2011 07:04:53 -0800 (PST) In-Reply-To: <6C78E97C707B5B4C8CC61D44F87545860747D6@SUEX10-mbx-03.ad.syr.edu> References: <1802432074.1021322657969076.JavaMail.hudson@aegis> <6C78E97C707B5B4C8CC61D44F87545860747D6@SUEX10-mbx-03.ad.syr.edu> From: Robert Muir Date: Wed, 30 Nov 2011 10:04:53 -0500 Message-ID: Subject: Re: [JENKINS-MAVEN] Lucene-Solr-Maven-3.x #316: POMs out of sync To: dev@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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 wrote: > I looked at the Surefire report 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 syn= c >> >> 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 >> wrote: >> > Build: https://builds.apache.org/job/Lucene-Solr-Maven-3.x/316/ >> > >> > 2 tests failed. >> > >> FAILED: =C2=A0org.apache.lucene.queryParser.standard.TestNumericQueryPar= ser.org >> .apache.lucene.queryParser.standard.TestNumericQueryParser >> > >> > Error Message: >> > Unparseable date: "1867.06.20 6=E6=99=8234=E5=88=8609=E7=A7=92 CET =C2= =A09 +0100 1867" >> > >> > Stack Trace: >> > java.text.ParseException: Unparseable date: "1867.06.20 6=E6=99=8234= =E5=88=8609=E7=A7=92 CET =C2=A09 >> +0100 1867" >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.text.DateFormat.parse(DateFormat.ja= va:354) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.lucene.queryParser.standard.TestNumericQueryParser.checkDateF= or >> matSanity(TestNumericQueryParser.java:88) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.lucene.queryParser.standard.TestNumericQueryParser.beforeClas= s( >> TestNumericQueryParser.java:145) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at sun.reflect.NativeMethodAccessorImpl.inv= oke0(Native Method) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav= a: >> 57) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Im >> pl.java:43) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.reflect.Method.invoke(Method.j= ava:616) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMet= ho >> d.java:44) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallab= le >> .java:15) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMetho= d. >> java:41) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.jav= a: >> 27) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:= 31 >> ) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.junit.runners.ParentRunner.run(Paren= tRunner.java:236) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.jav= a: >> 53) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Pro= vi >> der.java:123) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.ja= va >> :104) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at sun.reflect.NativeMethodAccessorImpl.inv= oke0(Native Method) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav= a: >> 57) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Im >> pl.java:43) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.reflect.Method.invoke(Method.j= ava:616) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Ref= le >> ctionUtils.java:164) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Pr= ov >> iderFactory.java:110) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(Surefire= St >> arter.java:175) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenF= or >> ked(SurefireStarter.java:107) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) >> > >> > >> > >> FAILED: =C2=A0org.apache.lucene.queryParser.standard.TestNumericQueryPar= ser.org >> .apache.lucene.queryParser.standard.TestNumericQueryParser >> > >> > Error Message: >> > null >> > >> > Stack Trace: >> > java.lang.NullPointerException >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.lucene.queryParser.standard.TestNumericQueryParser.afterClass= (T >> estNumericQueryParser.java:495) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at sun.reflect.NativeMethodAccessorImpl.inv= oke0(Native Method) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav= a: >> 57) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Im >> pl.java:43) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.reflect.Method.invoke(Method.j= ava:616) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMet= ho >> d.java:44) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallab= le >> .java:15) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMetho= d. >> java:41) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:= 37 >> ) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.junit.runners.ParentRunner.run(Paren= tRunner.java:236) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.jav= a: >> 53) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Pro= vi >> der.java:123) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.ja= va >> :104) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at sun.reflect.NativeMethodAccessorImpl.inv= oke0(Native Method) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav= a: >> 57) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Im >> pl.java:43) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.reflect.Method.invoke(Method.j= ava:616) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Ref= le >> ctionUtils.java:164) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Pr= ov >> iderFactory.java:110) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(Surefire= St >> arter.java:175) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenF= or >> ked(SurefireStarter.java:107) >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0at >> 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 > > --=20 lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org