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

AutoScalingHandlerTest.testPolicyAndPreferences() failure: Adding a policy with 'cores' attribute should not have succeeded

    XMLWordPrintableJSON

Details

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

    Description

      Policeman Jenkins found a reproducing seed https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/19914:

      Checking out Revision b1b566f57bba46cadae33bc8198246fa05609287 (refs/remotes/origin/master)
      [...]
         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=AutoScalingHandlerTest -Dtests.method=testPolicyAndPreferences -Dtests.seed=DB220AFF163D3283 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=to-TO -Dtests.timezone=America/Montserrat -Dtests.asserts=true -Dtests.file.encoding=UTF-8
         [junit4] FAILURE 0.01s J2 | AutoScalingHandlerTest.testPolicyAndPreferences <<<
         [junit4]    > Throwable #1: java.lang.AssertionError: Adding a policy with 'cores' attribute should not have succeeded.
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([DB220AFF163D3283:7AEA54D66F7B348D]:0)
         [junit4]    > 	at org.apache.solr.cloud.autoscaling.AutoScalingHandlerTest.testPolicyAndPreferences(AutoScalingHandlerTest.java:83)
         [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [junit4]    > 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [junit4]    > 	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      [...]
         [junit4]   2> NOTE: test params are: codec=Lucene70, sim=RandomSimilarity(queryNorm=true): {}, locale=to-TO, timezone=America/Montserrat
         [junit4]   2> NOTE: Linux 4.10.0-21-generic i386/Oracle Corporation 9-ea (32-bit)/cpus=8,threads=1,free=151310248,total=411041792
      

      Another reproducing seed https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/19916:

         [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=AutoScalingHandlerTest -Dtests.method=testPolicyAndPreferences -Dtests.seed=3D04238B59F9D32D -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=en-MW -Dtests.timezone=America/Recife -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
         [junit4] FAILURE 0.02s J2 | AutoScalingHandlerTest.testPolicyAndPreferences <<<
         [junit4]    > Throwable #1: java.lang.AssertionError: Adding a policy with 'cores' attribute should not have succeeded.
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([3D04238B59F9D32D:9CCC7DA220BFD523]:0)
         [junit4]    > 	at org.apache.solr.cloud.autoscaling.AutoScalingHandlerTest.testPolicyAndPreferences(AutoScalingHandlerTest.java:83)
         [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [junit4]    > 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [junit4]    > 	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      

      Attachments

        Issue Links

          Activity

            People

              caomanhdat Cao Manh Dat
              sarowe Steven Rowe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: