You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/08/19 16:06:27 UTC

[jira] [Created] (SOLR-2720) TestLBHttpSolrServer sometimes fails

TestLBHttpSolrServer sometimes fails
------------------------------------

                 Key: SOLR-2720
                 URL: https://issues.apache.org/jira/browse/SOLR-2720
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.0
            Reporter: Robert Muir


Triggered a random fail with this test on tnrk.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-2720) TestLBHttpSolrServer sometimes fails

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087725#comment-13087725 ] 

Robert Muir commented on SOLR-2720:
-----------------------------------

{noformat}
    [junit] Testsuite: org.apache.solr.client.solrj.TestLBHttpSolrServer
    [junit] Testcase: testReliability(org.apache.solr.client.solrj.TestLBHttpSolrServer):	Caused an ERROR
    [junit] No live SolrServers available to handle this request
    [junit] 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:442)
    [junit] 	at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
    [junit] 	at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:119)
    [junit] 	at org.apache.solr.client.solrj.TestLBHttpSolrServer.testReliability(TestLBHttpSolrServer.java:176)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1526)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1428)
    [junit] Caused by: org.apache.solr.client.solrj.SolrServerException: java.net.SocketTimeoutException: Read timed out
    [junit] 	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:482)
    [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:395)
    [junit] Caused by: java.net.SocketTimeoutException: Read timed out
    [junit] 	at jrockit.net.SocketNativeIO.readBytesPinned(Native Method)
    [junit] 	at jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:32)
    [junit] 	at java.net.SocketInputStream.socketRead0(SocketInputStream.java)
    [junit] 	at java.net.SocketInputStream.read(SocketInputStream.java:129)
    [junit] 	at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    [junit] 	at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    [junit] 	at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
    [junit] 	at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
    [junit] 	at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
    [junit] 	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
    [junit] 	at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
    [junit] 	at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
    [junit] 	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
    [junit] 	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    [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:426)
    [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:395)
    [junit] 	at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
    [junit] 	at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:119)
    [junit] 	at org.apache.solr.client.solrj.TestLBHttpSolrServer.testReliability(TestLBHttpSolrServer.java:176)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1526)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1428)
    [junit] 
    [junit] 
    [junit] Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 13.537 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestLBHttpSolrServer -Dtestmethod=testReliability -Dtests.seed=6954804f80726637:5cbc2a8458b1473f:4a2ea5b4bd8b97d5 -Dtests.multiplier=3
{noformat}

> TestLBHttpSolrServer sometimes fails
> ------------------------------------
>
>                 Key: SOLR-2720
>                 URL: https://issues.apache.org/jira/browse/SOLR-2720
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>
> Triggered a random fail with this test on tnrk.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-2720) TestLBHttpSolrServer sometimes fails

Posted by "Mark Miller (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141317#comment-13141317 ] 

Mark Miller commented on SOLR-2720:
-----------------------------------

{noformat}
Build: https://hudson.apache.org/hudson/job/Solr-trunk/1342/

1 tests failed.
REGRESSION:  org.apache.solr.client.solrj.TestLBHttpSolrServer.testSimple

Error Message:
expected:<3> but was:<2>

Stack Trace:
junit.framework.AssertionFailedError: expected:<3> but was:<2>
	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1043)
	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:981)
	at org.apache.solr.client.solrj.TestLBHttpSolrServer.testSimple(TestLBHttpSolrServer.java:126)


{noformat}
                
> TestLBHttpSolrServer sometimes fails
> ------------------------------------
>
>                 Key: SOLR-2720
>                 URL: https://issues.apache.org/jira/browse/SOLR-2720
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>
> Triggered a random fail with this test on tnrk.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-2720) TestLBHttpSolrServer sometimes fails

Posted by "Sami Siren (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143793#comment-13143793 ] 

Sami Siren commented on SOLR-2720:
----------------------------------

New failure with 3.x:

https://builds.apache.org/job/Lucene-Solr-tests-only-3.x-java7/838/testReport/junit/org.apache.solr.client.solrj/TestLBHttpSolrServer/testReliability/

 [junit] No live SolrServers available to handle this request
    [junit] 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:222)
    [junit] 	at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
    [junit] 	at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:266)
    [junit] 	at org.apache.solr.client.solrj.TestLBHttpSolrServer.waitForServer(TestLBHttpSolrServer.java:189)
    [junit] 	at org.apache.solr.client.solrj.TestLBHttpSolrServer.testReliability(TestLBHttpSolrServer.java:182)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$2$1.evaluate(LuceneTestCase.java:440)
    [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:147)
    [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:50)
    [junit] Caused by: org.apache.solr.client.solrj.SolrServerException: java.net.SocketTimeoutException: Read timed out
    [junit] 	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:480)
    [junit] 	at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:246)
    [junit] 	at org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:206)
    [junit] Caused by: java.net.SocketTimeoutException: Read timed out
    [junit] 	at java.net.SocketInputStream.socketRead0(Native Method)
    [junit] 	at java.net.SocketInputStream.read(SocketInputStream.java:150)
    [junit] 	at java.net.SocketInputStream.read(SocketInputStream.java:121)
    [junit] 	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
    [junit] 	at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
    [junit] 	at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
    [junit] 	at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
    [junit] 	at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
    [junit] 	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
    [junit] 	at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
    [junit] 	at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
    [junit] 	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
    [junit] 	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    [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:424)

                
> TestLBHttpSolrServer sometimes fails
> ------------------------------------
>
>                 Key: SOLR-2720
>                 URL: https://issues.apache.org/jira/browse/SOLR-2720
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>
> Triggered a random fail with this test on tnrk.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-2720) TestLBHttpSolrServer sometimes fails

Posted by "Sami Siren (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143015#comment-13143015 ] 

Sami Siren commented on SOLR-2720:
----------------------------------

I have been trying to reproduce the problems of this test and so far I have had very little success.

I have not been able to reproduce either of these in isolation, I mean by executing only this single test case (have ran it several thousands of times).
I was able to see the assertion failed error once when running solrj tests. That time I saw OOM Exception in the logs:

{code}
java.lang.OutOfMemoryError: unable to create new native thread
{code}

During that time I was doing other heavy actions in other processes and I suspect that the cause was indeed another process running on the same machine. In general it seems to be easy to have some sporadic errors related to that same problem: "unable to create new native thread" in many tests when the machine running the tests is used heavily for something else at the same time.

                
> TestLBHttpSolrServer sometimes fails
> ------------------------------------
>
>                 Key: SOLR-2720
>                 URL: https://issues.apache.org/jira/browse/SOLR-2720
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>
> Triggered a random fail with this test on tnrk.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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