You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2018/03/10 22:51:00 UTC

[jira] [Updated] (SOLR-12079) Reproducable Failure in AutoAddReplicasIntegrationTest.testSimple

     [ https://issues.apache.org/jira/browse/SOLR-12079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson updated SOLR-12079:
----------------------------------
    Summary: Reproducable Failure in AutoAddReplicasIntegrationTest.testSimple  (was: Reproducable Failure in TestAutoAddReplicasIntegrationTest.testSimple)

> Reproducable Failure in AutoAddReplicasIntegrationTest.testSimple
> -----------------------------------------------------------------
>
>                 Key: SOLR-12079
>                 URL: https://issues.apache.org/jira/browse/SOLR-12079
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: master (8.0)
>         Environment: Building on Ubuntu 17.4
> openjdk version "1.8.0_151"
> OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.17.04.2-b12)
> OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
>            Reporter: Gus Heck
>            Priority: Major
>
> With the recent focus on bad tests lately, I decided to inspect some failures that occurred in tests unrelated to my present task when I ran the tests preparing for a pull request and found this failure which reproduces:
> ant test  -Dtestcase=AutoAddReplicasIntegrationTest -Dtests.method=testSimple -Dtests.seed=884DCF71D210D14A -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=de-GR -Dtests.timezone=Pacific/Kwajalein -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>  
> Key excerpt of the log:
> {code:java}
>   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=AutoAddReplicasIntegrationTest -Dtests.method=testSimple -Dtests.seed=884DCF71D210D14A -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=de-GR -Dtests.timezone=Pacific/Kwajalein -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>    [junit4] FAILURE  101s | AutoAddReplicasIntegrationTest.testSimple <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: Waiting for collection testSimple1
>    [junit4]    > null
>    [junit4]    > Live Nodes: [127.0.0.1:33823_solr, 127.0.0.1:41047_solr]
>    [junit4]    > Last available state: DocCollection(testSimple1//collections/testSimple1/state.json/7)={
>    [junit4]    >   "pullReplicas":"0",
>    [junit4]    >   "replicationFactor":"2",
>    [junit4]    >   "shards":{
>    [junit4]    >     "shard1":{
>    [junit4]    >       "range":"80000000-ffffffff",
>    [junit4]    >       "state":"active",
>    [junit4]    >       "replicas":{
>    [junit4]    >         "core_node4":{
>    [junit4]    >           "core":"testSimple1_shard1_replica_n1",
>    [junit4]    >           "base_url":"https://127.0.0.1:45817/solr",
>    [junit4]    >           "node_name":"127.0.0.1:45817_solr",
>    [junit4]    >           "state":"down",
>    [junit4]    >           "type":"NRT"},
>    [junit4]    >         "core_node6":{
>    [junit4]    >           "core":"testSimple1_shard1_replica_n2",
>    [junit4]    >           "base_url":"https://127.0.0.1:33823/solr",
>    [junit4]    >           "node_name":"127.0.0.1:33823_solr",
>    [junit4]    >           "state":"active",
>    [junit4]    >           "type":"NRT",
>    [junit4]    >           "leader":"true"}}},
>    [junit4]    >     "shard2":{
>    [junit4]    >       "range":"0-7fffffff",
>    [junit4]    >       "state":"active",
>    [junit4]    >       "replicas":{
>    [junit4]    >         "core_node7":{
>    [junit4]    >           "core":"testSimple1_shard2_replica_n3",
>    [junit4]    >           "base_url":"https://127.0.0.1:45817/solr",
>    [junit4]    >           "node_name":"127.0.0.1:45817_solr",
>    [junit4]    >           "state":"down",
>    [junit4]    >           "type":"NRT"},
>    [junit4]    >         "core_node8":{
>    [junit4]    >           "core":"testSimple1_shard2_replica_n5",
>    [junit4]    >           "base_url":"https://127.0.0.1:33823/solr",
>    [junit4]    >           "node_name":"127.0.0.1:33823_solr",
>    [junit4]    >           "state":"active",
>    [junit4]    >           "type":"NRT",
>    [junit4]    >           "leader":"true"}}}},
>    [junit4]    >   "router":{"name":"compositeId"},
>    [junit4]    >   "maxShardsPerNode":"2",
>    [junit4]    >   "autoAddReplicas":"true",
>    [junit4]    >   "nrtReplicas":"2",
>    [junit4]    >   "tlogReplicas":"0"}
>    [junit4]    >        at __randomizedtesting.SeedInfo.seed([884DCF71D210D14A:B0FEEB8FF5E3059B]:0)
>    [junit4]    >        at org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:269)
>    [junit4]    >        at org.apache.solr.cloud.autoscaling.AutoAddReplicasIntegrationTest.testSimple(AutoAddReplicasIntegrationTest.java:94)
>    [junit4]    >        at java.lang.Thread.run(Thread.java:748)
>    [junit4]   2> 103449 INFO  (jetty-closer-2-thread-2) [    ] o.e.j.s.AbstractConnector Stopped ServerConnector@57a6f4e{SSL,[ssl, http/1.1]}{127.0.0.1:0}
> {code}



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