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

ShardSplitTest 100% failures on main branch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • main (10.0)
    • None
    • None

    Description

      ShardSplitTest is a nightly only testclass that has 4 test methods which have recently been failing 100% of the time in jenkins, regardless of seed...

      • testSplitMixedReplicaTypes
      • testSplitStaticIndexReplicationLink
      • testSplitStaticIndexReplication
      • testSplitMixedReplicaTypesLink

       

      ...but AFAICT these failures are not new.  IIUC this test has been failing on 100% of – the MAIN branch – jenkins builds since ~ Oct/Nov 2023!

      (I believe the historical graphs since then just look "sporadic" because it's a nightly only test so run's very infrequently and was still (mostly) passing on the 9x branch)

       


       

      It's trivial to see these failures locally, regardless of seed; or whether you run a single test method, or multiple test methods.  

      Example...

      git clean -fd && ./gradlew -p solr/core test -Ptests.nightly=true --tests ShardSplitTest.testSplitMixedReplicaTypes

       

      The failures are all fairly non-sopecific...

         >     java.util.concurrent.TimeoutException: Timeout waiting to see state for collection=testSplitMixedReplicaTypes_rewrite :DocCollection(testSplitMixedReplicaTypes_rewrite//collections/testSplitMixedReplicaTypes_rewrite/state.json/18 )={
         >       "pullReplicas":2,
         >       "configName":"conf1",
      ...
         >         at __randomizedtesting.SeedInfo.seed([462B215EC450E717:FEE875FE388B3262]:0)
         >         at org.apache.solr.common.cloud.ZkStateReader.waitForState(ZkStateReader.java:1884)
         >         at org.apache.solr.cloud.api.collections.ShardSplitTest.doSplitMixedReplicaTypes(ShardSplitTest.java:442)
         >         at org.apache.solr.cloud.api.collections.ShardSplitTest.testSplitMixedReplicaTypes(ShardSplitTest.java:407)

       

      ...with no errors in the logs indicating when/what might be going wrong.

       

      Attachments

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: