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

Mikhail Khludnev commented on SOLR-10611:
-----------------------------------------

I might cause it under SOLR-9867 by later assigning SDF.cores. The difference 
between passed and failed test is 
{code}
977663 INFO  
(parallelCoreAdminExecutor-3875-thread-1-processing-n:127.0.0.1:37836_solr 
3242b4df-cbc0-448c-9cab-bf31c4e20ca3806815162400450 CREATE) 
[n:127.0.0.1:37836_solr c:solr_9504 s:shard1  x:solr_9504_shard1_replica2] 
o.a.s.u.PeerSync PeerSync: core=solr_9504_shard1_replica2 
url=http://127.0.0.1:37836/solr DONE.  We have no versions.  sync failed.
   [junit4]   2> 977672 ERROR (qtp1297973957-10258) [    ] 
o.a.s.s.SolrDispatchFilter Error processing the request. CoreContainer is 
either not initialized or shutting down.
   [junit4]   2> 977673 WARN  (qtp1297973957-10258) [    ] 
o.e.j.s.ServletHandler /solr/solr_9504_shard1_replica1/get
   [junit4]   2> org.apache.solr.common.SolrException: Error processing the 
request. CoreContainer is either not initialized or shutting down.
   [junit4]   2>        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:311)
   [junit4]   2>        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:301)
   [junit4]   2>        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699)
   [junit4]   2>        at 
org.apache.solr.client.solrj.embedded.JettySolrRunner$DebugFilter.doFilter(JettySolrRunner.java:136)
   [junit4]   2>        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699)
..
   [junit4]   2> 977676 INFO  
(parallelCoreAdminExecutor-3875-thread-1-processing-n:127.0.0.1:37836_solr 
3242b4df-cbc0-448c-9cab-bf31c4e20ca3806815162400450 CREATE) 
[n:127.0.0.1:37836_solr c:solr_9504 s:shard1  x:solr_9504_shard1_replica2] 
o.a.s.c.SyncStrategy Leader's attempt to sync with shard failed, moving to the 
next candidate
{code}  

Can this exception cause test failure? Shouldn't /get request to be retired? 

> TestLeaderElectionWithEmptyReplica failure on jenkins
> -----------------------------------------------------
>
>                 Key: SOLR-10611
>                 URL: https://issues.apache.org/jira/browse/SOLR-10611
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud, Tests
>            Reporter: Shalin Shekhar Mangar
>             Fix For: master (7.0)
>
>         Attachments: consoleText.txt
>
>
> See https://jenkins.thetaphi.de/job/Lucene-Solr-6.x-Windows/875/
> {code}
> FAILED:  org.apache.solr.cloud.TestLeaderElectionWithEmptyReplica.test
> Error Message:
> Shard shard1 replicas do not have same number of documents expected:<10> but 
> was:<0>
> Stack Trace:
> java.lang.AssertionError: Shard shard1 replicas do not have same number of 
> documents expected:<10> but was:<0>
>         at 
> __randomizedtesting.SeedInfo.seed([2093B412EF46AACD:A8C78BC841BAC735]:0)
>         at org.junit.Assert.fail(Assert.java:93)
>         at org.junit.Assert.failNotEquals(Assert.java:647)
>         at org.junit.Assert.assertEquals(Assert.java:128)
>         at org.junit.Assert.assertEquals(Assert.java:472)
>         at 
> org.apache.solr.cloud.TestLeaderElectionWithEmptyReplica.assertConsistentReplicas(TestLeaderElectionWithEmptyReplica.java:119)
>         at 
> org.apache.solr.cloud.TestLeaderElectionWithEmptyReplica.test(TestLeaderElectionWithEmptyReplica.java:101)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to