Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 38414 invoked from network); 4 May 2010 21:36:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 May 2010 21:36:15 -0000 Received: (qmail 17059 invoked by uid 500); 4 May 2010 21:36:14 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 16971 invoked by uid 500); 4 May 2010 21:36:14 -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 16964 invoked by uid 99); 4 May 2010 21:36:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 21:36:14 +0000 X-ASF-Spam-Status: No, hits=-1.7 required=10.0 tests=AWL,HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [128.149.139.105] (HELO mail.jpl.nasa.gov) (128.149.139.105) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 21:36:08 +0000 Received: from mail.jpl.nasa.gov (altvirehtstap02.jpl.nasa.gov [128.149.137.73]) by smtp.jpl.nasa.gov (Switch-3.4.2/Switch-3.4.1) with ESMTP id o44LZlnb028049 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified FAIL) for ; Tue, 4 May 2010 14:35:47 -0700 Received: from ALTPHYEMBEVSP20.RES.AD.JPL ([172.16.0.21]) by ALTVIREHTSTAP02.RES.AD.JPL ([128.149.137.73]) with mapi; Tue, 4 May 2010 14:35:46 -0700 From: "Mattmann, Chris A (388J)" To: "dev@lucene.apache.org" Date: Tue, 4 May 2010 14:35:45 -0700 Subject: Re: Solr/Lucene unit tests broken? Thread-Topic: Solr/Lucene unit tests broken? Thread-Index: AcrrxByioat+UGzuzEikmxnl0rAcyQADaQ9e Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_C805E1411237AChrisAMattmannjplnasagov_" MIME-Version: 1.0 X-Source-IP: altvirehtstap02.jpl.nasa.gov [128.149.137.73] X-Source-Sender: chris.a.mattmann@jpl.nasa.gov X-AUTH: Authorized --_000_C805E1411237AChrisAMattmannjplnasagov_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hey Guys, With r941046, I get a little further and then it dies on a different test: [junit] Testsuite: org.apache.solr.analysis.TestTrimFilterFactory [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.2 sec [junit] [junit] Testsuite: org.apache.solr.client.solrj.embedded.JettyWebappTes= t [junit] Testcase: testJSP(org.apache.solr.client.solrj.embedded.JettyWe= bappTest): Caused an ERROR [junit] Server returned HTTP response code: 500 for URL: http://localho= st:60745/test/ [junit] java.io.IOException: Server returned HTTP response code: 500 fo= r URL: http://localhost:60745/test/ [junit] at sun.net.www.protocol.http.HttpURLConnection.getInputStre= am(HttpURLConnection.java:1313) [junit] at java.net.URL.openStream(URL.java:1010) [junit] at org.apache.solr.client.solrj.embedded.JettyWebappTest.te= stJSP(JettyWebappTest.java:82) [junit] [junit] [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 12.581 sec [junit] [junit] ------------- Standard Error ----------------- [junit] May 4, 2010 2:32:53 PM org.apache.solr.common.SolrException log [junit] SEVERE: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory [junit] at org.apache.solr.response.VelocityResponseWriter.= (VelocityResponseWriter.java:39) [junit] at java.lang.Class.forName0(Native Method) [junit] at java.lang.Class.forName(Class.java:247) [junit] at org.apache.solr.core.SolrResourceLoader.findClass(SolrRe= sourceLoader.java:369) [junit] at org.apache.solr.core.SolrCore.createInstance(SolrCore.ja= va:418) [junit] at org.apache.solr.core.SolrCore.createInitInstance(SolrCor= e.java:440) [junit] at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:= 1504) [junit] at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:= 1498) [junit] at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:= 1531) [junit] at org.apache.solr.core.SolrCore.initWriters(SolrCore.java:= 1414) [junit] at org.apache.solr.core.SolrCore.(SolrCore.java:549) [junit] at org.apache.solr.core.CoreContainer.create(CoreContainer.= java:442) [junit] at org.apache.solr.core.CoreContainer.load(CoreContainer.ja= va:293) [junit] at org.apache.solr.core.CoreContainer.load(CoreContainer.ja= va:205) [junit] at org.apache.solr.core.CoreContainer$Initializer.initializ= e(CoreContainer.java:128) [junit] at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDisp= atchFilter.java:86) [junit] at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHol= der.java:97) [junit] at org.mortbay.component.AbstractLifeCycle.start(AbstractLi= feCycle.java:50) [junit] at org.mortbay.jetty.servlet.ServletHandler.initialize(Serv= letHandler.java:662) [junit] at org.mortbay.jetty.servlet.Context.startContext(Context.j= ava:140) [junit] at org.mortbay.jetty.webapp.WebAppContext.startContext(WebA= ppContext.java:1250) [junit] at org.mortbay.jetty.handler.ContextHandler.doStart(Context= Handler.java:517) [junit] at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppCon= text.java:467) [junit] at org.mortbay.component.AbstractLifeCycle.start(AbstractLi= feCycle.java:50) [junit] at org.mortbay.jetty.handler.HandlerWrapper.doStart(Handler= Wrapper.java:130) [junit] at org.mortbay.jetty.Server.doStart(Server.java:224) [junit] at org.mortbay.component.AbstractLifeCycle.start(AbstractLi= feCycle.java:50) [junit] at org.apache.solr.client.solrj.embedded.JettyWebappTest.se= tUp(JettyWebappTest.java:64) [junit] at junit.framework.TestCase.runBare(TestCase.java:132) [junit] at junit.framework.TestResult$1.protect(TestResult.java:110= ) [junit] at junit.framework.TestResult.runProtected(TestResult.java:= 128) [junit] at junit.framework.TestResult.run(TestResult.java:113) [junit] at junit.framework.TestCase.run(TestCase.java:124) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:232) [junit] at junit.framework.TestSuite.run(TestSuite.java:227) [junit] at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit3= 8ClassRunner.java:83) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.= java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRu= nner.run(JUnitTestRunner.java:420) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRu= nner.launch(JUnitTestRunner.java:911) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRu= nner.main(JUnitTestRunner.java:768) [junit] Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFa= ctory [junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) [junit] at java.security.AccessController.doPrivileged(Native Metho= d) [junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:18= 8) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:315) [junit] at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.= java:592) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:250) [junit] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java= :398) [junit] ... 40 more [junit] [junit] May 4, 2010 2:32:53 PM org.apache.solr.core.SolrCore finalize [junit] SEVERE: REFCOUNT ERROR: unreferenced org.apache.solr.core.SolrC= ore@38bdc9b3 () has a reference count of 1 [junit] ------------- ---------------- --------------- [junit] Test org.apache.solr.client.solrj.embedded.JettyWebappTest FAIL= ED [junit] Testsuite: org.apache.solr.client.solrj.SolrExceptionTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.625 sec [junit] [junit] Testsuite: org.apache.solr.core.TestJmxIntegration [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 16.437 sec [junit] Cheers, Chris On 5/4/10 12:58 PM, "Mattmann, Chris A (388J)" wrote: Hey Guys, Checked out the latest Solr build, r941013, and unit tests aren't passing for me: [junit] [junit] Testsuite: org.apache.lucene.util.automaton.TestBasicOperations [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.428 sec [junit] BUILD FAILED /Users/mattmann/src/solrcene/build.xml:23: The following error occurred while executing this line: /Users/mattmann/src/solrcene/lucene/common-build.xml:493: The following error occurred while executing this line: /Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed! The following error occurred while executing this line: /Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed! The following error occurred while executing this line: /Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed! The following error occurred while executing this line: /Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed! The following error occurred while executing this line: /Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed! The following error occurred while executing this line: /Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed! The following error occurred while executing this line: /Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed! I'm on Darwin, Mac OS X 10.5.6, with JDK 1.6.0. Any ideas? Cheers, Chris ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: Chris.Mattmann@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: Chris.Mattmann@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --_000_C805E1411237AChrisAMattmannjplnasagov_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: Solr/Lucene unit tests broken? Hey Guys,

With r941046, I get a little further and then it dies on a different test:<= BR>
    [junit] Testsuite: org.apache.solr.analysis.TestTri= mFilterFactory
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time = elapsed: 0.2 sec
    [junit]
    [junit] Testsuite: org.apache.solr.client.solrj.emb= edded.JettyWebappTest
    [junit] Testcase: testJSP(org.apache.solr.client.so= lrj.embedded.JettyWebappTest):    Caused an ERROR
    [junit] Server returned HTTP response code: 500 for= URL: http://localhost:60745/test/=
    [junit] java.io.IOException: Server returned HTTP r= esponse code: 500 for URL: http://= localhost:60745/test/
    [junit]     at sun.net.www.prot= ocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)
    [junit]     at java.net.URL.ope= nStream(URL.java:1010)
    [junit]     at org.apache.solr.= client.solrj.embedded.JettyWebappTest.testJSP(JettyWebappTest.java:82)
    [junit]
    [junit]
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time = elapsed: 12.581 sec
    [junit]
    [junit] ------------- Standard Error --------------= ---
    [junit] May 4, 2010 2:32:53 PM org.apache.solr.comm= on.SolrException log
    [junit] SEVERE: java.lang.NoClassDefFoundError: org= /slf4j/LoggerFactory
    [junit]     at org.apache.solr.= response.VelocityResponseWriter.<clinit>(VelocityResponseWriter.java:= 39)
    [junit]     at java.lang.Class.= forName0(Native Method)
    [junit]     at java.lang.Class.= forName(Class.java:247)
    [junit]     at org.apache.solr.= core.SolrResourceLoader.findClass(SolrResourceLoader.java:369)
    [junit]     at org.apache.solr.= core.SolrCore.createInstance(SolrCore.java:418)
    [junit]     at org.apache.solr.= core.SolrCore.createInitInstance(SolrCore.java:440)
    [junit]     at org.apache.solr.= core.SolrCore.initPlugins(SolrCore.java:1504)
    [junit]     at org.apache.solr.= core.SolrCore.initPlugins(SolrCore.java:1498)
    [junit]     at org.apache.solr.= core.SolrCore.initPlugins(SolrCore.java:1531)
    [junit]     at org.apache.solr.= core.SolrCore.initWriters(SolrCore.java:1414)
    [junit]     at org.apache.solr.= core.SolrCore.<init>(SolrCore.java:549)
    [junit]     at org.apache.solr.= core.CoreContainer.create(CoreContainer.java:442)
    [junit]     at org.apache.solr.= core.CoreContainer.load(CoreContainer.java:293)
    [junit]     at org.apache.solr.= core.CoreContainer.load(CoreContainer.java:205)
    [junit]     at org.apache.solr.= core.CoreContainer$Initializer.initialize(CoreContainer.java:128)
    [junit]     at org.apache.solr.= servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:86)
    [junit]     at org.mortbay.jett= y.servlet.FilterHolder.doStart(FilterHolder.java:97)
    [junit]     at org.mortbay.comp= onent.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    [junit]     at org.mortbay.jett= y.servlet.ServletHandler.initialize(ServletHandler.java:662)
    [junit]     at org.mortbay.jett= y.servlet.Context.startContext(Context.java:140)
    [junit]     at org.mortbay.jett= y.webapp.WebAppContext.startContext(WebAppContext.java:1250)
    [junit]     at org.mortbay.jett= y.handler.ContextHandler.doStart(ContextHandler.java:517)
    [junit]     at org.mortbay.jett= y.webapp.WebAppContext.doStart(WebAppContext.java:467)
    [junit]     at org.mortbay.comp= onent.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    [junit]     at org.mortbay.jett= y.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    [junit]     at org.mortbay.jett= y.Server.doStart(Server.java:224)
    [junit]     at org.mortbay.comp= onent.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    [junit]     at org.apache.solr.= client.solrj.embedded.JettyWebappTest.setUp(JettyWebappTest.java:64)
    [junit]     at junit.framework.= TestCase.runBare(TestCase.java:132)
    [junit]     at junit.framework.= TestResult$1.protect(TestResult.java:110)
    [junit]     at junit.framework.= TestResult.runProtected(TestResult.java:128)
    [junit]     at junit.framework.= TestResult.run(TestResult.java:113)
    [junit]     at junit.framework.= TestCase.run(TestCase.java:124)
    [junit]     at junit.framework.= TestSuite.runTest(TestSuite.java:232)
    [junit]     at junit.framework.= TestSuite.run(TestSuite.java:227)
    [junit]     at org.junit.intern= al.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
    [junit]     at junit.framework.= JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit]     at org.apache.tools= .ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)<= BR>     [junit]     at org.apache.tools= .ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:91= 1)
    [junit]     at org.apache.tools= .ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)=
    [junit] Caused by: java.lang.ClassNotFoundException= : org.slf4j.LoggerFactory
    [junit]     at java.net.URLClas= sLoader$1.run(URLClassLoader.java:200)
    [junit]     at java.security.Ac= cessController.doPrivileged(Native Method)
    [junit]     at java.net.URLClas= sLoader.findClass(URLClassLoader.java:188)
    [junit]     at java.lang.ClassL= oader.loadClass(ClassLoader.java:315)
    [junit]     at java.net.Factory= URLClassLoader.loadClass(URLClassLoader.java:592)
    [junit]     at java.lang.ClassL= oader.loadClass(ClassLoader.java:250)
    [junit]     at java.lang.ClassL= oader.loadClassInternal(ClassLoader.java:398)
    [junit]     ... 40 more
    [junit]
    [junit] May 4, 2010 2:32:53 PM org.apache.solr.core= .SolrCore finalize
    [junit] SEVERE: REFCOUNT ERROR: unreferenced org.ap= ache.solr.core.SolrCore@38bdc9b3 () has a reference count of 1
    [junit] ------------- ---------------- ------------= ---
    [junit] Test org.apache.solr.client.solrj.embedded.= JettyWebappTest FAILED
    [junit] Testsuite: org.apache.solr.client.solrj.Sol= rExceptionTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time = elapsed: 0.625 sec
    [junit]
    [junit] Testsuite: org.apache.solr.core.TestJmxInte= gration
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time = elapsed: 16.437 sec
    [junit]


Cheers,
Chris


On 5/4/10 12:58 PM, "Mattmann, Chris A (388J)" <chris.a.mattmann@jpl.nasa.gov> wrote:
Hey Guys,

Checked out the latest Solr build, r941013, and unit tests aren't passing for me:

    [junit]
    [junit] Testsuite: org.apache.lucene.util.automaton= .TestBasicOperations
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time = elapsed: 0.428 sec
    [junit]

BUILD FAILED
/Users/mattmann/src/solrcene/build.xml:23: The following error occurred
while executing this line:
/Users/mattmann/src/solrcene/lucene/common-build.xml:493:
The following error occurred while executing this line:
/Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed!
The following error occurred while executing this line:
/Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed!
The following error occurred while executing this line:
/Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed!
The following error occurred while executing this line:
/Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed!
The following error occurred while executing this line:
/Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed!
The following error occurred while executing this line:
/Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed!
The following error occurred while executing this line:
/Users/mattmann/src/solrcene/lucene/common-build.xml:476: Tests failed!

I'm on Darwin, Mac OS X 10.5.6, with JDK 1.6.0. Any ideas?

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: Chris.Mattmann@jpl.nasa.gov<= /a>
WWW:   
http://sunset= .usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



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




++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: C= hris.Mattmann@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

--_000_C805E1411237AChrisAMattmannjplnasagov_--