lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Risden (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-12932) ant test (without badapples=false) should pass easily for developers.
Date Wed, 31 Oct 2018 13:12:00 GMT

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

Kevin Risden commented on SOLR-12932:
-------------------------------------

All of the ones I posted above are single failures in a test run. Here is a run with 3 failures:

Test: TestCloudSearcherWarming#testRepFactor1LeaderStartup
{code:java}
reproduce with: ant test  -Dtestcase=TestCloudSearcherWarming -Dtests.method=testRepFactor1LeaderStartup
-Dtests.seed=E30A144FF13D52E7 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=ar-SA
-Dtests.timezone=NZ-CHAT -Dtests.asserts=true -Dtests.file.encoding=UTF-8
   [junit4] ERROR   33.4s J0 | TestCloudSearcherWarming.testRepFactor1LeaderStartup <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: jetty count:0
   [junit4]    > null
   [junit4]    > Live Nodes: [127.0.0.1:44315_solr]
   [junit4]    > Last available state: DocCollection(testRepFactor1LeaderStartup//collections/testRepFactor1LeaderStartup/state.json/4)={
   [junit4]    >   "pullReplicas":"0",
   [junit4]    >   "replicationFactor":"1",
   [junit4]    >   "shards":{"shard1":{
   [junit4]    >       "range":"80000000-7fffffff",
   [junit4]    >       "state":"active",
   [junit4]    >       "replicas":{"core_node2":{
   [junit4]    >           "core":"testRepFactor1LeaderStartup_shard1_replica_n1",
   [junit4]    >           "base_url":"http://127.0.0.1:44315/solr",
   [junit4]    >           "node_name":"127.0.0.1:44315_solr",
   [junit4]    >           "state":"active",
   [junit4]    >           "type":"NRT",
   [junit4]    >           "force_set_state":"false",
   [junit4]    >           "leader":"true"}}}},
   [junit4]    >   "router":{"name":"compositeId"},
   [junit4]    >   "maxShardsPerNode":"1",
   [junit4]    >   "autoAddReplicas":"false",
   [junit4]    >   "nrtReplicas":"1",
   [junit4]    >   "tlogReplicas":"0"}
   [junit4]    > 	at org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:283)
   [junit4]    > 	at org.apache.solr.cloud.SolrCloudTestCase.waitForState(SolrCloudTestCase.java:261)
   [junit4]    > 	at org.apache.solr.cloud.TestCloudSearcherWarming.testRepFactor1LeaderStartup(TestCloudSearcherWarming.java:117)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:748)Throwable #2: org.apache.solr.client.solrj.SolrServerException:
No live SolrServers available to handle this request
   [junit4]    > 	at org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:461)
   [junit4]    > 	at org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1107)
   [junit4]    > 	at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884)
   [junit4]    > 	at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817)
   [junit4]    > 	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194)
   [junit4]    > 	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:211)
   [junit4]    > 	at org.apache.solr.cloud.MiniSolrCloudCluster.deleteAllCollections(MiniSolrCloudCluster.java:508)
   [junit4]    > 	at org.apache.solr.cloud.TestCloudSearcherWarming.tearDown(TestCloudSearcherWarming.java:78)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:748){code}
Test: NodeLostTriggerTest#testListenerAcceptance
{code:java}
NOTE: reproduce with: ant test  -Dtestcase=NodeLostTriggerTest -Dtests.method=testListenerAcceptance
-Dtests.seed=E30A144FF13D52E7 -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=fr-CH
-Dtests.timezone=ART -Dtests.asserts=true -Dtests.file.encoding=UTF-8
   [junit4] FAILURE 0.20s J0 | NodeLostTriggerTest.testListenerAcceptance <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: expected:<1> but was:<0>
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([E30A144FF13D52E7:F2BE4EA848B44611]:0)
   [junit4]    > 	at org.apache.solr.cloud.autoscaling.NodeLostTriggerTest.testListenerAcceptance(NodeLostTriggerTest.java:265)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:748){code}
Test: NodeLostTriggerTest#testTrigger
{code:java}
reproduce with: ant test  -Dtestcase=NodeLostTriggerTest -Dtests.method=testTrigger -Dtests.seed=E30A144FF13D52E7
-Dtests.slow=true -Dtests.badapples=true -Dtests.locale=fr-CH -Dtests.timezone=ART -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
   [junit4] FAILURE 2.04s J0 | NodeLostTriggerTest.testTrigger <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: [127.0.0.1:40385_solr] doesn't
contain 127.0.0.1:45145_solr
   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([E30A144FF13D52E7:80C122CD68F221CA]:0)
   [junit4]    > 	at org.apache.solr.cloud.autoscaling.NodeLostTriggerTest.testTrigger(NodeLostTriggerTest.java:117)
   [junit4]    > 	at java.lang.Thread.run(Thread.java:748){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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message