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 (JIRA)" <ji...@apache.org> on 2010/12/03 23:12:11 UTC
[jira] Updated: (SOLR-2158) TestDistributedSearch.testDistribSearch
fails often
[ https://issues.apache.org/jira/browse/SOLR-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley updated SOLR-2158:
-------------------------------
Attachment: TEST-org.apache.solr.TestDistributedSearch.txt
Attaching a log file from the hudson machine.
This looks like it fails due to NoHttpResponseException, but it's not clear why that would happen.
>From the request it's executing, it looks like the test is in TestDistributedSearch:95
and has already successfully made other distributed queries (hence all of the embedded jetty servers have returned responses before).
> TestDistributedSearch.testDistribSearch fails often
> ---------------------------------------------------
>
> Key: SOLR-2158
> URL: https://issues.apache.org/jira/browse/SOLR-2158
> Project: Solr
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.1, 4.0
> Environment: Hudson
> Reporter: Robert Muir
> Fix For: 3.1, 4.0
>
> Attachments: TEST-org.apache.solr.TestDistributedSearch.txt
>
>
> TestDistributedSearch.testDistribSearch fails often in hudson, with some threads throwing uncaught exceptions.
> Here is the stacktrace:
> {noformat}
> [junit] Testsuite: org.apache.solr.TestDistributedSearch
> [junit] Testcase: testDistribSearch(org.apache.solr.TestDistributedSearch): FAILED
> [junit] Some threads threw uncaught exceptions!
> [junit] junit.framework.AssertionFailedError: Some threads threw uncaught exceptions!
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:795)
> [junit] at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:768)
> [junit] at org.apache.lucene.util.LuceneTestCase.tearDown(LuceneTestCase.java:416)
> [junit] at org.apache.solr.SolrTestCaseJ4.tearDown(SolrTestCaseJ4.java:76)
> [junit] at org.apache.solr.BaseDistributedSearchTestCase.tearDown(BaseDistributedSearchTestCase.java:144)
> [junit]
> [junit]
> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 382.297 sec
> [junit]
> [junit] ------------- Standard Error -----------------
> [junit] 2010. 10. 15 ?? 2:08:04 org.apache.solr.common.SolrException log
> [junit] ??: org.apache.solr.common.SolrException: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request
> [junit] at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:318)
> [junit] at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
> [junit] at org.apache.solr.core.SolrCore.execute(SolrCore.java:1325)
> [junit] at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:337)
> [junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:240)
> [junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> [junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
> [junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> [junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> [junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> [junit] at org.mortbay.jetty.Server.handle(Server.java:326)
> [junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> [junit] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
> [junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
> [junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> [junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> [junit] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
> [junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> [junit] Caused by: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request
> [junit] at org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:297)
> [junit] at org.apache.solr.handler.component.HttpCommComponent$1.call(SearchHandler.java:513)
> [junit] at org.apache.solr.handler.component.HttpCommComponent$1.call(SearchHandler.java:478)
> [junit] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> [junit] at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> [junit] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> [junit] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> [junit] at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> [junit] at java.lang.Thread.run(Thread.java:636)
> [junit] Caused by: org.apache.solr.client.solrj.SolrServerException: java.net.ConnectException: Operation timed out
> [junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:483)
> [junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
> [junit] at org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:274)
> [junit] ... 10 more
> [junit] Caused by: java.net.ConnectException: Operation timed out
> [junit] at java.net.PlainSocketImpl.socketConnect(Native Method)
> [junit] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
> [junit] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
> [junit] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
> [junit] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
> [junit] at java.net.Socket.connect(Socket.java:546)
> [junit] at java.net.Socket.connect(Socket.java:495)
> [junit] at java.net.Socket.<init>(Socket.java:392)
> [junit] at java.net.Socket.<init>(Socket.java:266)
> [junit] at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
> [junit] at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
> [junit] at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
> [junit] at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
> [junit] at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
> [junit] at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
> [junit] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
> [junit] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
> [junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:427)
> [junit] ... 12 more
> [junit]
> [junit] The following exceptions were thrown by threads:
> [junit] *** Thread: Thread-85 ***
> [junit] java.lang.RuntimeException: org.apache.solr.client.solrj.SolrServerException: Error executing query
> [junit] at org.apache.solr.BaseDistributedSearchTestCase$5.run(BaseDistributedSearchTestCase.java:324)
> [junit] Caused by: org.apache.solr.client.solrj.SolrServerException: Error executing query
> [junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
> [junit] at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:119)
> [junit] at org.apache.solr.BaseDistributedSearchTestCase$5.run(BaseDistributedSearchTestCase.java:319)
> [junit] Caused by: org.apache.solr.common.SolrException: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request org.apache.solr.common.SolrException: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:318) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1325) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:337) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:240) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request at org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:297) at org.apache.solr.handler.component.HttpCommComponent$1.call(SearchHandler.java:513) at org.apache.solr.handler.component.HttpCommComponent$1.call(SearchHandler.java:478) at java.util.concurrent
> [junit]
> [junit] org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request org.apache.solr.common.SolrException: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:318) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1325) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:337) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:240) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request at org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:297) at org.apache.solr.handler.component.HttpCommComponent$1.call(SearchHandler.java:513) at org.apache.solr.handler.component.HttpCommComponent$1.call(SearchHandler.java:478) at java.util.concurrent
> [junit]
> [junit] request: http://localhost:33955/solr/select?q={!func}a_si&shards=localhost:33955/solr|localhost:33332/solr&wt=javabin&version=2
> [junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
> [junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
> [junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
> [junit] ... 2 more
> [junit] ------------- ---------------- ---------------
> [junit] TEST org.apache.solr.TestDistributedSearch FAILED
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org