Steve Rowe created SOLR-10923:
---------------------------------

             Summary: AutoScalingHandlerTest.testPolicyAndPreferences() 
failure: Adding a policy with 'cores' attribute should not have succeeded
                 Key: SOLR-10923
                 URL: https://issues.apache.org/jira/browse/SOLR-10923
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Steve Rowe


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

{noformat}
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
{noformat}

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

{noformat}
   [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)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to