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

Steve Rowe commented on SOLR-13027:
-----------------------------------

This seed reproduces for me 10/10 iterations on Java8, from 
[https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/23304/]:

{noformat}
Checking out Revision aaa64d7015998f28aaffac031c4032abf73bebd6 
(refs/remotes/origin/master)
[...]
[java-info] java version "10.0.1"
[java-info] OpenJDK Runtime Environment (10.0.1+10, Oracle Corporation)
[java-info] OpenJDK 64-Bit Server VM (10.0.1+10, Oracle Corporation)
[java-info] Test args: [-XX:+UseCompressedOops -XX:+UseSerialGC]
[...]
   [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=LeaderTragicEventTest -Dtests.method=test 
-Dtests.seed=482611237BA22E39 -Dtests.multiplier=3 -Dtests.slow=true 
-Dtests.locale=fo-FO -Dtests.timezone=Asia/Kolkata -Dtests.asserts=true 
-Dtests.file.encoding=US-ASCII
   [junit4] FAILURE 47.8s J1 | LeaderTragicEventTest.test <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: Timeout waiting for 
new replica become leader
   [junit4]    > Timeout waiting to see state for collection=collection1 
:DocCollection(collection1//collections/collection1/state.json/5)={
   [junit4]    >   "pullReplicas":"0",
   [junit4]    >   "replicationFactor":"2",
   [junit4]    >   "shards":{"shard1":{
   [junit4]    >       "range":"80000000-7fffffff",
   [junit4]    >       "state":"active",
   [junit4]    >       "replicas":{
   [junit4]    >         "core_node3":{
   [junit4]    >           "core":"collection1_shard1_replica_n1",
   [junit4]    >           "base_url":"http://127.0.0.1:39173/solr";,
   [junit4]    >           "node_name":"127.0.0.1:39173_solr",
   [junit4]    >           "state":"active",
   [junit4]    >           "type":"NRT",
   [junit4]    >           "force_set_state":"false",
   [junit4]    >           "leader":"true"},
   [junit4]    >         "core_node4":{
   [junit4]    >           "core":"collection1_shard1_replica_n2",
   [junit4]    >           "base_url":"http://127.0.0.1:40623/solr";,
   [junit4]    >           "node_name":"127.0.0.1:40623_solr",
   [junit4]    >           "state":"active",
   [junit4]    >           "type":"NRT",
   [junit4]    >           "force_set_state":"false"}}}},
   [junit4]    >   "router":{"name":"compositeId"},
   [junit4]    >   "maxShardsPerNode":"1",
   [junit4]    >   "autoAddReplicas":"false",
   [junit4]    >   "nrtReplicas":"2",
   [junit4]    >   "tlogReplicas":"0"}
   [junit4]    > Live Nodes: [127.0.0.1:39173_solr, 127.0.0.1:40623_solr]
   [junit4]    > Last available state: 
DocCollection(collection1//collections/collection1/state.json/5)={
   [junit4]    >   "pullReplicas":"0",
   [junit4]    >   "replicationFactor":"2",
   [junit4]    >   "shards":{"shard1":{
   [junit4]    >       "range":"80000000-7fffffff",
   [junit4]    >       "state":"active",
   [junit4]    >       "replicas":{
   [junit4]    >         "core_node3":{
   [junit4]    >           "core":"collection1_shard1_replica_n1",
   [junit4]    >           "base_url":"http://127.0.0.1:39173/solr";,
   [junit4]    >           "node_name":"127.0.0.1:39173_solr",
   [junit4]    >           "state":"active",
   [junit4]    >           "type":"NRT",
   [junit4]    >           "force_set_state":"false",
   [junit4]    >           "leader":"true"},
   [junit4]    >         "core_node4":{
   [junit4]    >           "core":"collection1_shard1_replica_n2",
   [junit4]    >           "base_url":"http://127.0.0.1:40623/solr";,
   [junit4]    >           "node_name":"127.0.0.1:40623_solr",
   [junit4]    >           "state":"active",
   [junit4]    >           "type":"NRT",
   [junit4]    >           "force_set_state":"false"}}}},
   [junit4]    >   "router":{"name":"compositeId"},
   [junit4]    >   "maxShardsPerNode":"1",
   [junit4]    >   "autoAddReplicas":"false",
   [junit4]    >   "nrtReplicas":"2",
   [junit4]    >   "tlogReplicas":"0"}
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([482611237BA22E39:C0722EF9D55E43C1]:0)
   [junit4]    >        at 
org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:289)
   [junit4]    >        at 
org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:267)
   [junit4]    >        at 
org.apache.solr.cloud.LeaderTragicEventTest.test(LeaderTragicEventTest.java:84)
   [junit4]    >        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [junit4]    >        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   [junit4]    >        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [junit4]    >        at 
java.base/java.lang.reflect.Method.invoke(Method.java:564)
   [junit4]    >        at java.base/java.lang.Thread.run(Thread.java:844)
{noformat}

> Harden LeaderTragicEventTest.
> -----------------------------
>
>                 Key: SOLR-13027
>                 URL: https://issues.apache.org/jira/browse/SOLR-13027
>             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
>




--
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