lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <sar...@syr.edu>
Subject RE: [JENKINS-MAVEN] Lucene-Solr-Maven-3.x #394: POMs out of sync
Date Fri, 17 Feb 2012 17:18:19 GMT
Fix committed in r1245661. - Steve

> -----Original Message-----
> From: Steven A Rowe [mailto:sarowe@syr.edu]
> Sent: Friday, February 17, 2012 11:20 AM
> To: dev@lucene.apache.org
> Subject: RE: [JENKINS-MAVEN] Lucene-Solr-Maven-3.x #394: POMs out of sync
> 
> Thanks Robert, I'll look into adding this to the Maven configuration. -
> Steve
> 
> > -----Original Message-----
> > From: Robert Muir [mailto:rcmuir@gmail.com]
> > Sent: Friday, February 17, 2012 11:06 AM
> > To: dev@lucene.apache.org
> > Subject: Re: [JENKINS-MAVEN] Lucene-Solr-Maven-3.x #394: POMs out of
> sync
> >
> > This one needs a classpath addition, the 'conf/' directory.
> >
> > Its a challenge sorta like testing the solr example, the way we did
> > this is to copy conf/ as if its in the test classpath (just like test
> > resources get copied).
> >
> > Here was the addition to the ant build.xml as an example:
> >
> >     <target name="compile-test" depends="contrib-build.compile-test">
> >        <!-- copy .alg files as resources for testing -->
> >        <copy todir="${build.dir}/classes/test/conf">
> >          <fileset dir="conf"/>
> >        </copy>
> >     </target>
> >
> >
> > On Fri, Feb 17, 2012 at 10:57 AM, Apache Jenkins Server
> > <jenkins@builds.apache.org> wrote:
> > > Build: https://builds.apache.org/job/Lucene-Solr-Maven-3.x/394/
> > >
> > > 1 tests failed.
> > >
> >
> FAILED:  org.apache.lucene.benchmark.byTask.TestPerfTasksParse.testParseEx
> > amples
> > >
> > > Error Message:
> > > could not find any .alg files!
> > >
> > > Stack Trace:
> > > java.lang.AssertionError: could not find any .alg files!
> > >        at org.junit.Assert.fail(Assert.java:93)
> > >        at
> >
> org.apache.lucene.benchmark.byTask.TestPerfTasksParse.testParseExamples(Te
> > stPerfTasksParse.java:142)
> > >        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:45)
> > >        at
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable
> > .java:15)
> > >        at
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.
> > java:42)
> > >        at
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.j
> > ava:20)
> > >        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.LuceneTestCase$SubclassSetupTeardownRule$1.evaluate
> > (LuceneTestCase.java:606)
> > >        at
> >
> org.apache.lucene.util.LuceneTestCase$InternalSetupTeardownRule$1.evaluate
> > (LuceneTestCase.java:495)
> > >        at
> >
> org.apache.lucene.util.LuceneTestCase$TestResultInterceptorRule$1.evaluate
> > (LuceneTestCase.java:400)
> > >        at
> >
> org.apache.lucene.util.LuceneTestCase$RememberThreadRule$1.evaluate(Lucene
> > TestCase.java:458)
> > >        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.j
> > ava:68)
> > >        at
> >
> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.
> > java:147)
> > >        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.junit.runners.ParentRunner.run(ParentRunner.java:300)
> > >        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 47520 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

Mime
View raw message