lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sami Siren <ssi...@gmail.com>
Subject Re: nightly build failures
Date Tue, 10 Apr 2012 08:29:17 GMT
On Tue, Apr 10, 2012 at 12:32 AM, Uwe Schindler <uwe@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


Mime
View raw message