[ 
https://issues.apache.org/jira/browse/SOLR-12932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16672523#comment-16672523
 ] 

Erick Erickson commented on SOLR-12932:
---------------------------------------

Running with a fresh pull rather than applying a patch I get this one failure 
in 10 runs:

{code}
[junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=TestCollectionStateWatchers -Dtests.method=testSimpleCollectionWatch 
-Dtests.seed=F61CC9E5F0069834 -Dtests.slow=true -Dtests.badapples=true 
-Dtests.locale=ms -Dtests.timezone=SystemV/HST10 -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
   [junit4] ERROR   45.3s J2 | 
TestCollectionStateWatchers.testSimpleCollectionWatch <<<
   [junit4]    > Throwable #1: java.lang.RuntimeException: 
org.apache.solr.common.SolrException: java.util.concurrent.TimeoutException: 
Could not connect to ZooKeeper 127.0.0.1:60124 within 30000 ms
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([F61CC9E5F0069834:AB270695B70B070A]:0)
   [junit4]    >        at 
org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:588)
   [junit4]    >        at 
org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:514)
   [junit4]    >        at 
org.apache.solr.cloud.MiniSolrCloudCluster.<init>(MiniSolrCloudCluster.java:245)
   [junit4]    >        at 
org.apache.solr.cloud.SolrCloudTestCase$Builder.build(SolrCloudTestCase.java:200)
   [junit4]    >        at 
org.apache.solr.cloud.SolrCloudTestCase$Builder.configure(SolrCloudTestCase.java:192)
   [junit4]    >        at 
org.apache.solr.common.cloud.TestCollectionStateWatchers.prepareCluster(TestCollectionStateWatchers.java:66)
   [junit4]    >        at java.lang.Thread.run(Thread.java:748)
   [junit4]    > Caused by: org.apache.solr.common.SolrException: 
java.util.concurrent.TimeoutException: Could not connect to ZooKeeper 
127.0.0.1:60124 within 30000 ms
   [junit4]    >        at 
org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:201)
   [junit4]    >        at 
org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:126)
   [junit4]    >        at 
org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:121)
   [junit4]    >        at 
org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:108)
   [junit4]    >        at 
org.apache.solr.cloud.ZkTestServer.init(ZkTestServer.java:439)
   [junit4]    >        at 
org.apache.solr.cloud.ZkTestServer.run(ZkTestServer.java:585)
   [junit4]    >        ... 43 more
   [junit4]    > Caused by: java.util.concurrent.TimeoutException: Could not 
connect to ZooKeeper 127.0.0.1:60124 within 30000 ms
   [junit4]    >        at 
org.apache.solr.common.cloud.ConnectionManager.waitForConnected(ConnectionManager.java:250)
   [junit4]    >        at 
org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:193)
   [junit4]    >        ... 48 more
   [junit4]   1> 14:12:06.626 [ZkTestServer Run Thread] ERROR 
org.apache.zookeeper.server.ZooKeeperServer - ZKShutdownHandler is not 
registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN 
server state changes
   [junit4]   1
{code}

> ant test (without badapples=false) should pass easily for developers.
> ---------------------------------------------------------------------
>
>                 Key: SOLR-12932
>                 URL: https://issues.apache.org/jira/browse/SOLR-12932
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Major
>
> If we fix the tests we will end up here anyway, but we can shortcut this.
> Once I get my first patch in, anyone who mentions a test that fails locally 
> for them at any time (not jenkins), I will fix it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to