You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Yonik Seeley <yo...@lucidimagination.com> on 2012/04/09 22:32:51 UTC

nightly build failures

I've noticed our jenkins nightly build pretty much always fails
recently (only 2 successes on the whole page)
https://builds.apache.org/job/Solr-trunk/
while the normal tests pretty much always pass (only 2 failures on the
whole page)
https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/

Any ideas how to fix this so we have nightly builds again?

-Yonik
lucenerevolution.com - Lucene/Solr Open Source Search Conference.
Boston May 7-10

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


Re: nightly build failures

Posted by Sami Siren <ss...@gmail.com>.
oh, hossman fixed this already in SOLR-3335.

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


Re: nightly build failures

Posted by Sami Siren <ss...@gmail.com>.
On Tue, Apr 10, 2012 at 12:32 AM, Uwe Schindler <uw...@thetaphi.de> wrote:
> The difference in the nightly builds is -Dtests.nightly=true and
> -Dtests.multiplier=5
>
> Maybe that's related here?

I think it is. The build fails here locally almost every time when I run:

ant test -Dtestcase=TestDistributedSearch
-Dtestmethod=testDistribSearch -Dtests.nightly=true

The reason for failure is different, I am seeing the test fails
because of connection refused not connection timeout but the line
where the problem occurs is the same:

    [junit] Testsuite: org.apache.solr.TestDistributedSearch
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 30.713 sec
    [junit]
    [junit] ------------- Standard Error -----------------
    [junit]
    [junit] ===>
    [junit] Uncaught exception by thread: Thread[Thread-731,5,main]
    [junit] java.lang.RuntimeException:
org.apache.solr.client.solrj.SolrServerException: Server refused
connection at: http://localhost:51246/solr
    [junit] 	at
org.apache.solr.TestDistributedSearch$1.run(TestDistributedSearch.java:396)
    [junit] Caused by:
org.apache.solr.client.solrj.SolrServerException: Server refused
connection at: http://localhost:51246/solr
    [junit] 	at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:354)
    [junit] 	at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:209)
    [junit] 	at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90)
    [junit] 	at
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:312)
    [junit] 	at
org.apache.solr.TestDistributedSearch$1.run(TestDistributedSearch.java:391)
    [junit] Caused by: org.apache.http.conn.HttpHostConnectException:
Connection to http://localhost:51246 refused
    [junit] 	at or
    [junit] 	at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
    [junit] 	at
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
    [junit] 	at
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
    [junit] 	at
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:575)
    [junit] 	at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
    [junit] 	at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
    [junit] 	at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
    [junit] 	at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
    [junit] 	at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:304)
    [junit] 	... 4 more
    [junit] Caused by: java.net.ConnectException: Connection refused
    [junit] 	at java.net.PlainSocketImpl.socketConnect(Native Method)
    [junit] 	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    [junit] 	at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    [junit] 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    [junit] 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    [junit] 	at java.net.Socket.connect(Socket.java:529)
    [junit] 	at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123)
    [junit] 	at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
    [junit] 	... 12 more
    [junit] <===
    [junit]
    [junit] NOTE: reproduce with: ant test
-Dtestcase=TestDistributedSearch -Dtestmethod=testDistribSearch
-Dtests.seed=-70d22b050dcbaec5:525101d22648d741:5a7e55192cefeaeb
-Dtests.nightly=true -Dargs="-Dfile.encoding=UTF-8"
    [junit] ------------- ---------------- ---------------
    [junit] Testcase:
testDistribSearch(org.apache.solr.TestDistributedSearch):	Caused an
ERROR
    [junit] Uncaught exception by thread: Thread[Thread-731,5,]
    [junit] org.apache.lucene.util.UncaughtExceptionsRule$UncaughtExceptionsInBackgroundThread:
Uncaught exception by thread: Thread[Thread-731,5,]
    [junit] 	at
org.apache.lucene.util.UncaughtExceptionsRule$1.evaluate(UncaughtExceptionsRule.java:84)
    [junit] 	at
org.apache.lucene.util.LuceneTestCase$SaveThreadAndTestNameRule$1.evaluate(LuceneTestCase.java:642)
    [junit] 	at org.junit.rules.RunRules.evaluate(RunRules.java:18)
    [junit] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
    [junit] 	at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
    [junit] 	at
org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:164)
    [junit] 	at
org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57)
    [junit] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    [junit] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    [junit] 	at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    [junit] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    [junit] 	at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
    [junit] 	at
org.apache.lucene.util.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:63)
    [junit] 	at
org.apache.lucene.util.UncaughtExceptionsRule$1.evaluate(UncaughtExceptionsRule.java:75)
    [junit] 	at
org.apache.lucene.util.StoreClassNameRule$1.evaluate(StoreClassNameRule.java:38)
    [junit] 	at
org.apache.lucene.util.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:69)
    [junit] 	at org.junit.rules.RunRules.evaluate(RunRules.java:18)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
    [junit] 	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
    [junit] Caused by: java.lang.RuntimeException:
org.apache.solr.client.solrj.SolrServerException: Server refused
connection at: http://localhost:51246/solr
    [junit] 	at
org.apache.solr.TestDistributedSearch$1.run(TestDistributedSearch.java:396)
    [junit] Caused by:
org.apache.solr.client.solrj.SolrServerException: Server refused
connection at: http://localhost:51246/solr
    [junit] 	at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:354)
    [junit] 	at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:209)
    [junit] 	at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90)
    [junit] 	at
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:312)
    [junit] 	at
org.apache.solr.TestDistributedSearch$1.run(TestDistributedSearch.java:391)
    [junit] Caused by: org.apache.http.conn.HttpHostConnectException:
Connection to http://localhost:51246 refused
    [junit] 	at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
    [junit] 	at
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
    [junit] 	at
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
    [junit] 	at
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:575)
    [junit] 	at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
    [junit] 	at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
    [junit] 	at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
    [junit] 	at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
    [junit] 	at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:304)
    [junit] 	... 4 more
    [junit] Caused by: java.net.ConnectException: Connection refused
    [junit] 	at java.net.PlainSocketImpl.socketConnect(Native Method)
    [junit] 	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    [junit] 	at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    [junit] 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    [junit] 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    [junit] 	at java.net.Socket.connect(Socket.java:529)
    [junit] 	at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123)
    [junit] 	at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
    [junit] 	... 12 more

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


RE: nightly build failures

Posted by Uwe Schindler <uw...@thetaphi.de>.
The difference in the nightly builds is -Dtests.nightly=true and
-Dtests.multiplier=5 

Maybe that's related here?

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Chris Hostetter [mailto:hossman_lucene@fucit.org]
> Sent: Monday, April 09, 2012 10:41 PM
> To: dev@lucene.apache.org; yonik@lucidimagination.com
> Subject: Re: nightly build failures
> 
> 
> : I've noticed our jenkins nightly build pretty much always fails
> : recently (only 2 successes on the whole page)
> : https://builds.apache.org/job/Solr-trunk/
> 
> most of the recent full nightly build failures are because
> TestDistributedSearch.testDistribSearch fails in that build, (but not in
the test-
> only build) i htought you were actively looking into that in
> SOLR-3335 ?
> 
> 
> -Hoss
> 
> ---------------------------------------------------------------------
> 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: nightly build failures

Posted by Chris Hostetter <ho...@fucit.org>.
: I've noticed our jenkins nightly build pretty much always fails
: recently (only 2 successes on the whole page)
: https://builds.apache.org/job/Solr-trunk/

most of the recent full nightly build failures are because 
TestDistributedSearch.testDistribSearch fails in that build, (but not in 
the test-only build) i htought you were actively looking into that in 
SOLR-3335 ?


-Hoss

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