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

TestInPlaceUpdatesDistrib reproducible fail: Repeated retry for 'set' results against client ... Never got numFound=242; results=> {numFound=0,start=0,docs=[]}

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.0
    • None
    • None
    • None

    Description

      found this while doing jdk9 testing, but the seed reproduces reliably for me with jdk8 as well...

      hossman@tray:~/lucene/dev/solr/core [master] $ git rev-parse HEAD
      c221ef0fdedaa92885746b3073150f0bd558f596
      hossman@tray:~/lucene/dev/solr/core [master] $ ant test  -Dtestcase=TestInPlaceUpdatesDistrib -Dtests.method=test -Dtests.seed=D778831206956D34 -Dtests.nightly=true -Dtests.slow=true -Dtests.locale=es-VE -Dtests.timezone=Africa/Mogadishu -Dtests.asserts=true -Dtests.file.encoding=ANSI_X3.4-1968
      ...
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestInPlaceUpdatesDistrib -Dtests.method=test -Dtests.seed=D778831206956D34 -Dtests.nightly=true -Dtests.slow=true -Dtests.locale=es-VE -Dtests.timezone=Africa/Mogadishu -Dtests.asserts=true -Dtests.file.encoding=ANSI_X3.4-1968
         [junit4] FAILURE 88.1s | TestInPlaceUpdatesDistrib.test <<<
         [junit4]    > Throwable #1: java.lang.AssertionError: Repeated retry for 'set' results against client: org.apache.solr.client.solrj.impl.HttpSolrClient@8684b79 (not leader); Never got numFound=242; results=> {numFound=0,start=0,docs=[]}
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([D778831206956D34:5F2CBCC8A86900CC]:0)
         [junit4]    > 	at org.apache.solr.update.TestInPlaceUpdatesDistrib.assertDocIdsAndValuesAgainstAllClients(TestInPlaceUpdatesDistrib.java:464)
         [junit4]    > 	at org.apache.solr.update.TestInPlaceUpdatesDistrib.docValuesUpdateTest(TestInPlaceUpdatesDistrib.java:371)
         [junit4]    > 	at org.apache.solr.update.TestInPlaceUpdatesDistrib.test(TestInPlaceUpdatesDistrib.java:160)
         [junit4]    > 	at org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:985)
         [junit4]    > 	at org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:960)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
      ...
         [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {title_s=FST50, id=PostingsFormat(name=Memory), id_field_copy_that_does_not_support_in_place_update_s=PostingsFormat(name=MockRandom)}, docValues:{inplace_updatable_float=DocValuesFormat(name=Lucene70), id_i=DocValuesFormat(name=Memory), _version_=DocValuesFormat(name=Asserting), id=DocValuesFormat(name=Lucene70), inplace_updatable_int_with_default=DocValuesFormat(name=Lucene70), inplace_updatable_float_with_default=DocValuesFormat(name=Memory)}, maxPointsInLeafNode=407, maxMBSortInHeap=6.888887639003908, sim=RandomSimilarity(queryNorm=true): {}, locale=es-VE, timezone=Africa/Mogadishu
         [junit4]   2> NOTE: Linux 3.19.0-51-generic amd64/Oracle Corporation 1.8.0_74 (64-bit)/cpus=4,threads=1,free=205771064,total=492830720
         [junit4]   2> NOTE: All tests run in this JVM: [TestInPlaceUpdatesDistrib]
         [junit4] Completed [1/1 (1!)] in 92.63s, 1 test, 1 failure <<< FAILURES!
         [junit4] 
         [junit4] 
         [junit4] Tests with failures [seed: D778831206956D34]:
         [junit4]   - org.apache.solr.update.TestInPlaceUpdatesDistrib.test
      ...
      

      Attachments

        1. SOLR-10354.log.txt
          11.30 MB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              caomanhdat Cao Manh Dat
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: