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

TriggerIntegrationTest failures on jenkins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.1
    • 7.2, 8.0
    • AutoScaling, Tests
    • None

    Description

      I have seen a few TriggerIntegrationTest failures due to timing issues of triggers firing before waitFor period is over. We added a small delta to fix this problem with other trigger tests but TestTriggerIntegration slipped through the cracks.

      An example of such failure is at https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Linux/768

      [junit4]   2> 3025388 DEBUG (AutoscalingActionExecutor-5242-thread-1-processing-n:127.0.0.1:34271_solr) [n:127.0.0.1:34271_solr    ] o.a.s.c.a.TriggerIntegrationTest --throwable
         [junit4]   2> java.lang.AssertionError: node_added_restore_trigger was fired before the configured waitFor period
         [junit4]   2> 	at org.junit.Assert.fail(Assert.java:93)
         [junit4]   2> 	at org.apache.solr.cloud.autoscaling.TriggerIntegrationTest$TestTriggerAction.process(TriggerIntegrationTest.java:591)
         [junit4]   2> 	at org.apache.solr.cloud.autoscaling.ScheduledTriggers.lambda$add$2(ScheduledTriggers.java:248)
         [junit4]   2> 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
      

      Attachments

        1. SOLR-11621.patch
          3 kB
          Shalin Shekhar Mangar

        Issue Links

          Activity

            People

              shalin Shalin Shekhar Mangar
              shalin Shalin Shekhar Mangar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: