Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9600

RulesTest.doIntegrationTest() failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.3, 7.0
    • None
    • None

    Description

      My Jenkins has seen this test fail about 8 times today, mostly on branch_6x but also on master, e.g. http://jenkins.sarowe.net/job/Lucene-Solr-tests-6.x/3049/, http://jenkins.sarowe.net/job/Lucene-Solr-tests-master/8833/. This is new - previous failure on my Jenkins was from August. The failures aren't 100% reproducible.

      From Policeman Jenkins https://jenkins.thetaphi.de/job/Lucene-Solr-master-Windows/6158:

         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=RulesTest -Dtests.method=doIntegrationTest -Dtests.seed=D12AC7FA27544B42 -Dtests.slow=true -Dtests.locale=de-DE -Dtests.timezone=America/New_York -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
         [junit4] ERROR   14.1s J0 | RulesTest.doIntegrationTest <<<
         [junit4]    > Throwable #1: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://127.0.0.1:51451/solr: Could not identify nodes matching the rules [{"cores":"<4"}, {
         [junit4]    >   "replica":"<2",
         [junit4]    >   "node":"*"}, {"freedisk":">1"}]
         [junit4]    >  tag values{
         [junit4]    >   "127.0.0.1:51451_solr":{
         [junit4]    >     "node":"127.0.0.1:51451_solr",
         [junit4]    >     "cores":3,
         [junit4]    >     "freedisk":31},
         [junit4]    >   "127.0.0.1:51444_solr":{
         [junit4]    >     "node":"127.0.0.1:51444_solr",
         [junit4]    >     "cores":1,
         [junit4]    >     "freedisk":31},
         [junit4]    >   "127.0.0.1:51461_solr":{
         [junit4]    >     "node":"127.0.0.1:51461_solr",
         [junit4]    >     "cores":2,
         [junit4]    >     "freedisk":31},
         [junit4]    >   "127.0.0.1:51441_solr":{
         [junit4]    >     "node":"127.0.0.1:51441_solr",
         [junit4]    >     "cores":2,
         [junit4]    >     "freedisk":31},
         [junit4]    >   "127.0.0.1:51454_solr":{
         [junit4]    >     "node":"127.0.0.1:51454_solr",
         [junit4]    >     "cores":2,
         [junit4]    >     "freedisk":31}}
         [junit4]    > Initial state for the coll : {
         [junit4]    >   "shard1":{
         [junit4]    >     "127.0.0.1:51454_solr":1,
         [junit4]    >     "127.0.0.1:51444_solr":1},
         [junit4]    >   "shard2":{
         [junit4]    >     "127.0.0.1:51461_solr":1,
         [junit4]    >     "127.0.0.1:51441_solr":1}}
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([D12AC7FA27544B42:3419807B3B20B940]:0)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:606)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:259)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:439)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:391)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1288)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:1058)
         [junit4]    > 	at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:1000)
         [junit4]    > 	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149)
         [junit4]    > 	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:166)
         [junit4]    > 	at org.apache.solr.cloud.rule.RulesTest.doIntegrationTest(RulesTest.java:81)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
      

      Beasting current master with Miller's beasting script resulted in 6 failures out of 50 iterations.

      I'm running git bisect in combination with beasting to see if I can find the commit where this started happening.

      Attachments

        Issue Links

          Activity

            People

              romseygeek Alan Woodward
              sarowe Steven Rowe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: