|
|
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)
|
|
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 < [hidden email]> 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)
|
|
[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 < [hidden email]> 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 < [hidden email]> 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)
|
|
In reply to this post by Ishan Chattopadhyaya
: 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?).
your repo is stale Ishan -- it's a test that was committed today...
https://issues.apache.org/jira/browse/SOLR-14950: On Thu, Jan 7, 2021 at 11:09 PM Timothy Potter < [hidden email]>
: 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)
: >
:
-Hoss
http://www.lucidworks.com/---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
|
|
On Thu, Jan 7, 2021 at 11:54 PM Chris Hostetter < [hidden email]> 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?).
your repo is stale Ishan -- it's a test that was committed today...
https://issues.apache.org/jira/browse/SOLR-14950
: On Thu, Jan 7, 2021 at 11:09 PM Timothy Potter <[hidden email]>
: 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)
: >
:
-Hoss
http://www.lucidworks.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
|
|
On Thu, Jan 7, 2021 at 11:54 PM Chris Hostetter < [hidden email]> 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?).
your repo is stale Ishan -- it's a test that was committed today...
https://issues.apache.org/jira/browse/SOLR-14950
: On Thu, Jan 7, 2021 at 11:09 PM Timothy Potter <[hidden email]>
: 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)
: >
:
-Hoss
http://www.lucidworks.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
|
|
Awesome! Thanks for fixing that quickly ... and thank you Hossman for spotting the discrepancy between Ishan’s result as i was scratching my head on what was wrong with my env, I guess I just assume people sync with upstream before commenting on test failures ;-)
On Thu, Jan 7, 2021 at 11:54 PM Chris Hostetter < [hidden email]> 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?).
your repo is stale Ishan -- it's a test that was committed today...
https://issues.apache.org/jira/browse/SOLR-14950
: On Thu, Jan 7, 2021 at 11:09 PM Timothy Potter <[hidden email]>
: 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)
: >
:
-Hoss
http://www.lucidworks.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
|
|
Yeah, my bad. I was on an older commit (commit e1e55090fb58854ba5bb0b2aa3fdd590a29a1fcc) inadvertently, even though I thought I was on the tip of the branch.
Awesome! Thanks for fixing that quickly ... and thank you Hossman for spotting the discrepancy between Ishan’s result as i was scratching my head on what was wrong with my env, I guess I just assume people sync with upstream before commenting on test failures ;-)
On Thu, Jan 7, 2021 at 11:54 PM Chris Hostetter < [hidden email]> 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?).
your repo is stale Ishan -- it's a test that was committed today...
https://issues.apache.org/jira/browse/SOLR-14950
: On Thu, Jan 7, 2021 at 11:09 PM Timothy Potter <[hidden email]>
: 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)
: >
:
-Hoss
http://www.lucidworks.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
|
|