[ishan@elite110 solr] $ ant -version Apache Ant(TM) version 1.10.9 compiled on January 10 1970
[ishan@elite110 solr] $ java -version openjdk version "11.0.9.1" 2020-11-04 OpenJDK Runtime Environment 18.9 (build 11.0.9.1+11) OpenJDK 64-Bit Server VM 18.9 (build 11.0.9.1+11, mixed mode, sharing) On Thu, Jan 7, 2021 at 11:32 PM Ishan Chattopadhyaya < [email protected]> wrote: > WHen I try your exact repro line (along with the method name), I get: > BUILD FAILED > /home/ishan/code/lucene-solr/lucene/common-build.xml:1616: Not even a > single test was executed (a typo in the filter pattern maybe?). > > When I remove the method name from the repro line, the suite executes and > passes. > > On Thu, Jan 7, 2021 at 11:09 PM Timothy Potter <[email protected]> > wrote: > >> This test seems to fail consistently for me on 8x: >> >> >> org.apache.solr.rest.schema.TestBulkSchemaAPI.testCopyFieldWithReplace >> >> >> NOTE: reproduce with: ant test -Dtestcase=TestBulkSchemaAPI >> -Dtests.method=testCopyFieldWithReplace -Dtests.seed=7657D4FA16A76DC8 >> -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=es-UY >> -Dtests.timezone=America/Resolute -Dtests.asserts=true >> -Dtests.file.encoding=UTF-8 >> >> java.lang.AssertionError: { >> "responseHeader":{ >> "status":400, >> "QTime":6}, >> "error":{ >> "metadata":[ >> "error-class","org.apache.solr.api.ApiBag$ExceptionWithErrObject", >> >> "root-error-class","org.apache.solr.api.ApiBag$ExceptionWithErrObject"], >> "details":[{ >> "add-field-type":{ >> "name":"myNewTextField", >> "class":"solr.TextField", >> "analyzer":{ >> "charFilters":[{ >> "name":"patternReplace", >> "replacement":"$1$1", >> "pattern":"([a-zA-Z])\\\\1+"}], >> "tokenizer":{"name":"whitespace"}, >> "filters":[{"name":"asciiFolding"}]}}, >> "errorMessages":["Every charFilter must define a class >> property!\n"]}], >> "msg":"error processing commands", >> "code":400}} >> expected null, but was:<{metadata=[error-class, >> org.apache.solr.api.ApiBag$ExceptionWithErrObject, root-error-class, >> org.apache.solr.api.ApiBag$ExceptionWithErrObject], >> details=[{add-field-type={name=myNewTextField, class=solr.TextField, >> analyzer={charFilters=[{name=patternReplace, replacement=$1$1, >> pattern=([a-zA-Z])\\1+}], tokenizer={name=whitespace}, >> filters=[{name=asciiFolding}]}}, errorMessages=[Every charFilter must >> define a class property! >> ]}], msg=error processing commands, code=400}> >> >> at >> __randomizedtesting.SeedInfo.seed([7657D4FA16A76DC8:B096864C3F5D3F33]:0) >> at org.junit.Assert.fail(Assert.java:89) >> at org.junit.Assert.failNotNull(Assert.java:756) >> at org.junit.Assert.assertNull(Assert.java:738) >> at >> org.apache.solr.rest.schema.TestBulkSchemaAPI.testCopyFieldWithReplace(TestBulkSchemaAPI.java:734) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:498) >> >
