You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2011/08/01 06:24:56 UTC

[JENKINS] Lucene-Solr-tests-only-3.x - Build # 9905 - Failure

Build: https://builds.apache.org/job/Lucene-Solr-tests-only-3.x/9905/

1 tests failed.
REGRESSION:  org.apache.solr.client.solrj.embedded.MultiCoreExampleJettyTest.testMultiCore

Error Message:
Can not find: /example/core1/update  Can not find: /example/core1/update  request: http://localhost:43192/example/core1/update?commit=true&waitFlush=true&waitSearcher=true&wt=javabin&version=2

Stack Trace:
org.apache.solr.common.SolrException: Can not find: /example/core1/update

Can not find: /example/core1/update

request: http://localhost:43192/example/core1/update?commit=true&waitFlush=true&waitSearcher=true&wt=javabin&version=2
	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430)
	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
	at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
	at org.apache.solr.client.solrj.MultiCoreExampleTestBase.testMultiCore(MultiCoreExampleTestBase.java:79)
	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1335)
	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1240)




Build Log (for compile errors):
[...truncated 14146 lines...]



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


Re: [JENKINS] Lucene-Solr-tests-only-3.x - Build # 9905 - Failure

Posted by Yonik Seeley <yo...@lucidimagination.com>.
On Mon, Aug 1, 2011 at 2:49 PM, Yonik Seeley <yo...@lucidimagination.com> wrote:
> On trunk currently, it looks like the following data directories
> (outside of /build)  are used by the tests:
>
> ./core/src/test-files/solr/data
> ./example/multicore/core0/data
> ./example/multicore/core1/data
>
> Not sure if this was the case in the past or not... I'll verify.

Yep, older versions of Solr seem to have the same behavior.

-Yonik
http://www.lucidimagination.com

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


Re: [JENKINS] Lucene-Solr-tests-only-3.x - Build # 9905 - Failure

Posted by Yonik Seeley <yo...@lucidimagination.com>.
On trunk currently, it looks like the following data directories
(outside of /build)  are used by the tests:

./core/src/test-files/solr/data
./example/multicore/core0/data
./example/multicore/core1/data

Not sure if this was the case in the past or not... I'll verify.

-Yonik
http://www.lucidimagination.com



On Mon, Aug 1, 2011 at 12:15 PM, Steven A Rowe <sa...@syr.edu> wrote:
> I agree, these events do feel coincidental.
>
> Not sure what constitutes the "example test framework", but I did move the ExternalPaths utility class into the solr test-framework, because it's used from both the Solr core tests and the Solrj tests, which don't depend (anymore) on the Solr core tests. (branch_3x:7/13/2011:r1146191)
>
> I also had to change ExternalPaths.determineSourceHome() to handle the situation where there is no solr/conf/ dir in the classpath, e.g. the situation for Solrj & common tests (which are now housed with the Solrj internal module) -- these tests do not have solr/core/src/test-files/solr/conf/ in their classpath.  (branch_3x:7/22/2011:r1149691)
>
> That all said, it's not clear to me how these changes could have affected directory creation?
>
> Steve
>
>> -----Original Message-----
>> From: yseeley@gmail.com [mailto:yseeley@gmail.com] On Behalf Of Yonik
>> Seeley
>> Sent: Monday, August 01, 2011 11:49 AM
>> To: dev@lucene.apache.org
>> Subject: Re: [JENKINS] Lucene-Solr-tests-only-3.x - Build # 9905 -
>> Failure
>>
>> Caused by: java.io.IOException: Cannot create directory:
>> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-
>> 3.x/checkout/solr/example/multicore/core1/data/index
>>       at
>> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFactory.java:121)
>>       at org.apache.lucene.store.Lock.obtain(Lock.java:72)
>>       at
>> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1116)
>>
>>
>> It feels like we've been experiencing a lot of failures lately in the
>> "example" jetty tests.
>> Although it may be a coincidence, it feels like it coincided with the
>> solr build rewrite (and IIRC there were some changes made to the
>> example test framework at that time?)
>>
>> -Yonik
>> http://www.lucidimagination.com
>>
>>
>>
>> On Mon, Aug 1, 2011 at 12:24 AM, Apache Jenkins Server
>> <je...@builds.apache.org> wrote:
>> > https://builds.apache.org/job/Lucene-Solr-tests-only-3.x/9905/
>>
>> ---------------------------------------------------------------------
>> 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


RE: [JENKINS] Lucene-Solr-tests-only-3.x - Build # 9905 - Failure

Posted by Steven A Rowe <sa...@syr.edu>.
I agree, these events do feel coincidental.

Not sure what constitutes the "example test framework", but I did move the ExternalPaths utility class into the solr test-framework, because it's used from both the Solr core tests and the Solrj tests, which don't depend (anymore) on the Solr core tests. (branch_3x:7/13/2011:r1146191)

I also had to change ExternalPaths.determineSourceHome() to handle the situation where there is no solr/conf/ dir in the classpath, e.g. the situation for Solrj & common tests (which are now housed with the Solrj internal module) -- these tests do not have solr/core/src/test-files/solr/conf/ in their classpath.  (branch_3x:7/22/2011:r1149691)

That all said, it's not clear to me how these changes could have affected directory creation?

Steve

> -----Original Message-----
> From: yseeley@gmail.com [mailto:yseeley@gmail.com] On Behalf Of Yonik
> Seeley
> Sent: Monday, August 01, 2011 11:49 AM
> To: dev@lucene.apache.org
> Subject: Re: [JENKINS] Lucene-Solr-tests-only-3.x - Build # 9905 -
> Failure
> 
> Caused by: java.io.IOException: Cannot create directory:
> /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-
> 3.x/checkout/solr/example/multicore/core1/data/index
> 	at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFactory.java:121)
> 	at org.apache.lucene.store.Lock.obtain(Lock.java:72)
> 	at
> org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1116)
> 
> 
> It feels like we've been experiencing a lot of failures lately in the
> "example" jetty tests.
> Although it may be a coincidence, it feels like it coincided with the
> solr build rewrite (and IIRC there were some changes made to the
> example test framework at that time?)
> 
> -Yonik
> http://www.lucidimagination.com
> 
> 
> 
> On Mon, Aug 1, 2011 at 12:24 AM, Apache Jenkins Server
> <je...@builds.apache.org> wrote:
> > https://builds.apache.org/job/Lucene-Solr-tests-only-3.x/9905/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org


Re: [JENKINS] Lucene-Solr-tests-only-3.x - Build # 9905 - Failure

Posted by Yonik Seeley <yo...@lucidimagination.com>.
Caused by: java.io.IOException: Cannot create directory:
/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests-only-3.x/checkout/solr/example/multicore/core1/data/index
	at org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFactory.java:121)
	at org.apache.lucene.store.Lock.obtain(Lock.java:72)
	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1116)


It feels like we've been experiencing a lot of failures lately in the
"example" jetty tests.
Although it may be a coincidence, it feels like it coincided with the
solr build rewrite (and IIRC there were some changes made to the
example test framework at that time?)

-Yonik
http://www.lucidimagination.com



On Mon, Aug 1, 2011 at 12:24 AM, Apache Jenkins Server
<je...@builds.apache.org> wrote:
> https://builds.apache.org/job/Lucene-Solr-tests-only-3.x/9905/

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