You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2018/08/17 10:02:00 UTC

[jira] [Commented] (SOLR-12675) Investigate LeaderVoteWaitTimeoutTest failures

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

Shalin Shekhar Mangar commented on SOLR-12675:
----------------------------------------------

Example of {{testMostInSyncReplicasCanWinElection}} failing:

{code}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=LeaderVoteWaitTimeoutTest -Dtests.method=testMostInSyncReplicasCanWinElection -Dtests.seed=59E7EE427B368461 -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-7.x/test-data/enwiki.random.lines.txt -Dtests.locale=hi -Dtests.timezone=EAT -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
   [junit4] FAILURE 20.7s J2 | LeaderVoteWaitTimeoutTest.testMostInSyncReplicasCanWinElection <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: Timeout waiting for new leader
   [junit4]    > null
   [junit4]    > Live Nodes: [127.0.0.1:40330_solr, 127.0.0.1:42699_solr, 127.0.0.1:44374_solr]
   [junit4]    > Last available state: DocCollection(collection1//collections/collection1/state.json/15)={
   [junit4]    >   "pullReplicas":"0",
   [junit4]    >   "replicationFactor":"3",
   [junit4]    >   "shards":{"shard1":{
   [junit4]    >       "range":"80000000-7fffffff",
   [junit4]    >       "state":"active",
   [junit4]    >       "replicas":{
   [junit4]    >         "core_node62":{
   [junit4]    >           "core":"collection1_shard1_replica_n61",
   [junit4]    >           "base_url":"https://127.0.0.1:45266/solr",
   [junit4]    >           "node_name":"127.0.0.1:45266_solr",
   [junit4]    >           "state":"down",
   [junit4]    >           "type":"NRT",
   [junit4]    >           "force_set_state":"false"},
   [junit4]    >         "core_node64":{
   [junit4]    >           "core":"collection1_shard1_replica_n63",
   [junit4]    >           "base_url":"https://127.0.0.1:42699/solr",
   [junit4]    >           "node_name":"127.0.0.1:42699_solr",
   [junit4]    >           "state":"down",
   [junit4]    >           "type":"NRT",
   [junit4]    >           "force_set_state":"false"},
   [junit4]    >         "core_node66":{
   [junit4]    >           "core":"collection1_shard1_replica_n65",
   [junit4]    >           "base_url":"https://127.0.0.1:44374/solr",
   [junit4]    >           "node_name":"127.0.0.1:44374_solr",
   [junit4]    >           "state":"active",
   [junit4]    >           "type":"NRT",
   [junit4]    >           "force_set_state":"false"}}}},
   [junit4]    >   "router":{"name":"compositeId"},
   [junit4]    >   "maxShardsPerNode":"1",
   [junit4]    >   "autoAddReplicas":"false",
   [junit4]    >   "nrtReplicas":"3",
   [junit4]    >   "tlogReplicas":"0"}
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([59E7EE427B368461:F1FBF2F8B976B04B]:0)
   [junit4]    > 	at org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:280)
   [junit4]    > 	at org.apache.solr.cloud.LeaderVoteWaitTimeoutTest.testMostInSyncReplicasCanWinElection(LeaderVoteWaitTimeoutTest.java:189)
{code}

> Investigate LeaderVoteWaitTimeoutTest failures
> ----------------------------------------------
>
>                 Key: SOLR-12675
>                 URL: https://issues.apache.org/jira/browse/SOLR-12675
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>            Reporter: Shalin Shekhar Mangar
>            Priority: Major
>             Fix For: master (8.0), 7.5
>
>
> LeaderVoteWaitTimeoutTest fails on jenkins although not very frequently (Failed 8 out of 555 runs).



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

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