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

CdcrBidirectionalTest.testBiDir() reproducing failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.4, 8.0
    • CDCR, Tests
    • None

    Description

      From https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-MacOSX/538/ (also reproduces for me on Linux):

      Checking out Revision e80ee7fff85918e68c212757c0e6c4bddbdb5ab6 (refs/remotes/origin/branch_7x)
      [...]
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=CdcrBidirectionalTest -Dtests.method=testBiDir -Dtests.seed=38DB802FA0173E8D -Dtests.slow=true -Dtests.locale=ro-RO -Dtests.timezone=Etc/GMT-8 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
         [junit4] ERROR   23.3s J0 | CdcrBidirectionalTest.testBiDir <<<
         [junit4]    > Throwable #1: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([38DB802FA0173E8D:7D0070CDB83972CF]:0)
         [junit4]    > 	at java.util.ArrayList.rangeCheck(ArrayList.java:653)
         [junit4]    > 	at java.util.ArrayList.get(ArrayList.java:429)
         [junit4]    > 	at org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.getDocFieldValue(CdcrBidirectionalTest.java:227)
         [junit4]    > 	at org.apache.solr.cloud.cdcr.CdcrBidirectionalTest.testBiDir(CdcrBidirectionalTest.java:200)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:748)
      [...]
         [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70), sim=RandomSimilarity(queryNorm=false): {}, locale=ro-RO, timezone=Etc/GMT-8
         [junit4]   2> NOTE: Mac OS X 10.11.6 x86_64/Oracle Corporation 1.8.0_144 (64-bit)/cpus=3,threads=1,free=160960440,total=347418624
      

      Attachments

        1. SOLR-12150.patch
          4 kB
          Varun Thacker
        2. SOLR-12150.patch
          3 kB
          Varun Thacker
        3. SOLR-12150.patch
          2 kB
          Amrit Sarkar

        Activity

          People

            varun Varun Thacker
            sarowe Steven Rowe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: