[
https://issues.apache.org/jira/browse/SOLR-10807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man updated SOLR-10807:
----------------------------
Attachment: core.test.log.fde06f34b7f9d0916a134b3efaa8780892ff8e39.txt
bq. (unless someone has a better idea, i'll probably script up a change to add
an explict, non-randomized, TrieFooField fieldType to any schema whose 'id'
field uses type "foo" and adjust the 'id' field to use that fieldType)
Done.
As of fde06f34b7f9d0916a134b3efaa8780892ff8e39 (branch jira/SOLR-10807) this is
what ant test on solr-core gives ...
{noformat}
[junit4] Tests with failures [seed: 40DB535C83C56F23] (first 10 out of 72):
...
[junit4] Tests summary: 724 suites (8 ignored), 3226 tests, 5 suite-level
errors, 32 errors, 35 failures, 111 ignored (97 assumpassumptions)
{noformat}
The full log is attached. I skimmed the reproduce lines and here's the ones
that jumped out at me as not being obvious "false-negatives" (ie: facet/stats
tests failing on multivalued non-dv points fields, or points tests failing
because they expected errors when they didn't get them, or because of whitebox
introspection that fails because of our schema changes)...
(In otherwords: every thing on the list below concerns/scares me, roughly in
order of how concerned I am)
{noformat}
### Spooky PeerSync failure...
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=PeerSyncTest
-Dtests.method=test -Dtests.seed=40DB535C83C56F23 -Dtests.slow=true
-Dtests.locale=es-US -Dtests.timezone=US/Samoa -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] FAILURE 10.1s J1 | PeerSyncTest.test <<<
[junit4] > Throwable #1: java.lang.AssertionError: expected:<[7001,
7001001, 7001002, 8000, 8000001, 8000002]> but was:<[8000001, 8000002, 8000,
8000003, 8000004, 8000005, 7001001, 7001002, 7001]>
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:C88F6C862D3902DB]:0)
[junit4] > at
org.apache.solr.update.PeerSyncTest.validateQACResponse(PeerSyncTest.java:348)
[junit4] > at
org.apache.solr.update.PeerSyncTest.validateDocs(PeerSyncTest.java:334)
[junit4] > at
org.apache.solr.update.PeerSyncTest.test(PeerSyncTest.java:325)
### Spooky CDCR failure...
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=CdcrBootstrapTest
-Dtests.method=testConvertClusterToCdcrAndBootstrap
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=ja-JP
-Dtests.timezone=Europe/Vaduz -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] FAILURE 13.6s J0 |
CdcrBootstrapTest.testConvertClusterToCdcrAndBootstrap <<<
[junit4] > Throwable #1: java.lang.AssertionError: COLLECTIONCHECKPOINT
from target cluster should have returned the maximum version across all updates
made to source expected:<1569392138418913329> but was:<-1>
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:970C7C2B379AF764]:0)
[junit4] > at
org.apache.solr.cloud.CdcrBootstrapTest.testConvertClusterToCdcrAndBootstrap(CdcrBootstrapTest.java:142)
[junit4] > at java.lang.Thread.run(Thread.java:748)
### Points Numerics don't handle bad input consistent with how Trie numerics
did...
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestCloudDeleteByQuery
-Dtests.method=testMalformedDBQViaShard2LeaderClient
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=en-US
-Dtests.timezone=Asia/Nicosia -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] FAILURE 0.18s J1 |
TestCloudDeleteByQuery.testMalformedDBQViaShard2LeaderClient <<<
[junit4] > Throwable #1: java.lang.AssertionError: not the expected DBQ
failure: Error from server at http://127.0.0.1:33708/solr/test_col: Async
exception during distributed update: Error from server at
http://127.0.0.1:52266/solr/test_col_shard1_replica_n1: Server Error
[junit4] > request:
http://127.0.0.1:52266/solr/test_col_shard1_replica_n1/update?update.distrib=TOLEADER&distrib.from=http%3A%2F%2F127.0.0.1%3A33708%2Fsolr%2Ftest_col_shard2_replica_n1%2F&wt=javabin&version=2
[junit4] > Remote error message: For input string: "not_a_num"
expected:<400> but was:<500>
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestCloudDeleteByQuery -Dtests.method=testMalformedDBQViaCloudClient
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=en-US
-Dtests.timezone=Asia/Nicosia -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestCloudDeleteByQuery
-Dtests.method=testMalformedDBQViaShard1LeaderClient
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=en-US
-Dtests.timezone=Asia/Nicosia -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestCloudDeleteByQuery
-Dtests.method=testMalformedDBQViaShard1NonLeaderClient
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=en-US
-Dtests.timezone=Asia/Nicosia -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestCloudDeleteByQuery
-Dtests.method=testMalformedDBQViaNoCollectionClient
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=en-US
-Dtests.timezone=Asia/Nicosia -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestCloudDeleteByQuery
-Dtests.method=testMalformedDBQViaShard2NonLeaderClient
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=en-US
-Dtests.timezone=Asia/Nicosia -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestTolerantUpdateProcessorCloud -Dtests.method=testSanity
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=en-PH
-Dtests.timezone=Hongkong -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] FAILURE 0.31s J0 | TestTolerantUpdateProcessorCloud.testSanity <<<
[junit4] > Throwable #1: java.lang.AssertionError: not the expected DBQ
failure: Error from server at https://127.0.0.1:59814/solr/test_col: Async
exception during distributed update: Error from server at
https://127.0.0.1:37939/solr/test_col_shard2_replica_n1: Server Error
[junit4] > request:
https://127.0.0.1:37939/solr/test_col_shard2_replica_n1/update?update.distrib=TOLEADER&distrib.from=https%3A%2F%2F127.0.0.1%3A59814%2Fsolr%2Ftest_col_shard1_replica_n2%2F&wt=javabin&version=2
[junit4] > Remote error message: For input string: "not_a_num"
expected:<400> but was:<500>
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestIntervalFaceting -Dtests.method=testParse
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=ar-DZ
-Dtests.timezone=Africa/Luanda -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 0.02s J0 | TestIntervalFaceting.testParse <<<
[junit4] > Throwable #1: java.lang.NumberFormatException: For input
string: "A"
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:2F5E18043FB35CCC]:0)
[junit4] > at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
[junit4] > at java.lang.Long.parseLong(Long.java:589)
[junit4] > at java.lang.Long.parseLong(Long.java:631)
[junit4] > at
org.apache.solr.schema.LongPointField.readableToIndexed(LongPointField.java:126)
[junit4] > at
org.apache.solr.schema.PointField.toInternalByteRef(PointField.java:194)
[junit4] > at
org.apache.solr.request.IntervalFacets$FacetInterval.getLimitFromString(IntervalFacets.java:699)
[junit4] > at
org.apache.solr.request.IntervalFacets$FacetInterval.getLimitFromString(IntervalFacets.java:691)
[junit4] > at
org.apache.solr.request.IntervalFacets$FacetInterval.<init>(IntervalFacets.java:571)
[junit4] > at
org.apache.solr.request.TestIntervalFaceting.assertBadInterval(TestIntervalFaceting.java:565)
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=BasicFunctionalityTest
-Dtests.method=testClientErrorOnMalformedNumbers -Dtests.seed=40DB535C83C56F23
-Dtests.slow=true -Dtests.locale=es -Dtests.timezone=Brazil/DeNoronha
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 0.00s J1 |
BasicFunctionalityTest.testClientErrorOnMalformedNumbers <<<
[junit4] > Throwable #1: java.lang.NumberFormatException: For input
string: "NOT_A_NUMBER"
### Export writer aparently requires Trie fields...
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestSQLHandler
-Dtests.method=doTest -Dtests.seed=40DB535C83C56F23 -Dtests.slow=true
-Dtests.locale=ja -Dtests.timezone=Canada/East-Saskatchewan
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 22.3s J0 | TestSQLHandler.doTest <<<
[junit4] > Throwable #1: java.io.IOException: -->
http://127.0.0.1:33899/collection1:Failed to execute sqlQuery 'select id,
field_i, str_s from collection1 where (text='(XXXX)' OR text='XXXX') AND
text='XXXX' order by field_i desc' against JDBC connection 'jdbc:calcitesolr:'.
[junit4] > Error while executing SQL "select id, field_i, str_s from
collection1 where (text='(XXXX)' OR text='XXXX') AND text='XXXX' order by
field_i desc": java.io.IOException: java.util.concurrent.ExecutionException:
java.io.IOException: --> http://127.0.0.1:33899/collection1/:Export fields must
either be one of the following types: int,float,long,double,string,date,boolean
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestExportWriter
-Dtests.method=testSortingOutput -Dtests.seed=40DB535C83C56F23
-Dtests.slow=true -Dtests.locale=en-PH
-Dtests.timezone=America/Kentucky/Louisville -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] FAILURE 0.03s J1 | TestExportWriter.testSortingOutput <<<
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestExportWriter
-Dtests.method=testExportRequiredParams -Dtests.seed=40DB535C83C56F23
-Dtests.slow=true -Dtests.locale=en-PH
-Dtests.timezone=America/Kentucky/Louisville -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 0.01s J1 | TestExportWriter.testExportRequiredParams <<<
[junit4] > Throwable #1: java.io.IOException: Sort fields must be one of
the following types: int,float,long,double,string,date,boolean
### SpatialPointVectorFieldType requires Trie fields...
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestGeoJSONResponseWriter -Dtests.seed=40DB535C83C56F23
-Dtests.slow=true -Dtests.locale=zh -Dtests.timezone=Brazil/Acre
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 0.00s J1 | TestGeoJSONResponseWriter (suite) <<<
[junit4] > Throwable #1: org.apache.solr.common.SolrException: Can't load
schema
/home/hossman/lucene/dev/solr/core/src/test-files/solr/collection1/conf/schema-spatial.xml:
field type must be TrieDoubleField:
tdouble{class=org.apache.solr.schema.DoublePointField,analyzer=org.apache.solr.schema.FieldType$DefaultAnalyzer,args={precisionStep=8,
class=solr.DoublePointField}}
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestSolr4Spatial
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=ar-SD
-Dtests.timezone=Europe/Belgrade -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 0.00s J1 | TestSolr4Spatial (suite) <<<
[junit4] > Throwable #1: org.apache.solr.common.SolrException: Can't load
schema
/home/hossman/lucene/dev/solr/core/src/test-files/solr/collection1/conf/schema-spatial.xml:
field type must be TrieDoubleField:
tdouble{class=org.apache.solr.schema.DoublePointField,analyzer=org.apache.solr.schema.FieldType$DefaultAnalyzer,args={precisionStep=8,
class=solr.DoublePointField}}
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestSolr4Spatial2
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=fi
-Dtests.timezone=Asia/Srednekolymsk -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 0.00s J1 | TestSolr4Spatial2 (suite) <<<
[junit4] > Throwable #1: org.apache.solr.common.SolrException: Can't load
schema
/home/hossman/lucene/dev/solr/core/src/test-files/solr/collection1/conf/schema-spatial.xml:
field type must be TrieDoubleField:
tdouble{class=org.apache.solr.schema.DoublePointField,analyzer=org.apache.solr.schema.FieldType$DefaultAnalyzer,args={precisionStep=8,
class=solr.DoublePointField}}
### Inexplicable incorrect "results" of some kind (maybe hidden cascading
failure caused by something above?)
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestDistributedGrouping -Dtests.method=test
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=ar-YE
-Dtests.timezone=Africa/Juba -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] FAILURE 7.93s J2 | TestDistributedGrouping.test <<<
[junit4] > Throwable #1: junit.framework.AssertionFailedError:
.facet_counts.facet_fields.a_t.0:2!=1
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:C88F6C862D3902DB]:0)
[junit4] > at junit.framework.Assert.fail(Assert.java:50)
[junit4] > at
org.apache.solr.BaseDistributedSearchTestCase.compareSolrResponses(BaseDistributedSearchTestCase.java:913)
[junit4] > at
org.apache.solr.BaseDistributedSearchTestCase.compareResponses(BaseDistributedSearchTestCase.java:932)
[junit4] > at
org.apache.solr.BaseDistributedSearchTestCase.query(BaseDistributedSearchTestCase.java:607)
[junit4] > at
org.apache.solr.BaseDistributedSearchTestCase.query(BaseDistributedSearchTestCase.java:587)
[junit4] > at
org.apache.solr.BaseDistributedSearchTestCase.query(BaseDistributedSearchTestCase.java:566)
[junit4] > at
org.apache.solr.TestDistributedGrouping.test(TestDistributedGrouping.java:214)
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=SpatialHeatmapFacetsTest -Dtests.method=test
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=es-BO
-Dtests.timezone=Antarctica/South_Pole -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] FAILURE 1.23s J1 | SpatialHeatmapFacetsTest.test <<<
[junit4] > Throwable #1: java.lang.AssertionError: expected:<400> but
was:<500>
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:C88F6C862D3902DB]:0)
[junit4] > at
org.apache.solr.handler.component.SpatialHeatmapFacetsTest.test(SpatialHeatmapFacetsTest.java:62)
[junit4] > at
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsRepeatStatement.callStatement(BaseDistributedSearchTestCase.java:1011)
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=HardAutoCommitTest
-Dtests.method=testCommitWithin -Dtests.seed=40DB535C83C56F23 -Dtests.slow=true
-Dtests.locale=en-MT -Dtests.timezone=Africa/Conakry -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 0.29s J1 | HardAutoCommitTest.testCommitWithin <<<
[junit4] > Throwable #1: java.lang.RuntimeException: Exception during
query
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:FA093C2400EB8136]:0)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:940)
[junit4] > at
org.apache.solr.update.HardAutoCommitTest.testCommitWithin(HardAutoCommitTest.java:100)
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestFaceting
-Dtests.method=testFacetSortWithMinCount0 -Dtests.seed=40DB535C83C56F23
-Dtests.slow=true -Dtests.locale=en-US -Dtests.timezone=America/Indiana/Marengo
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 0.01s J2 | TestFaceting.testFacetSortWithMinCount0 <<<
[junit4] > Throwable #1: java.lang.RuntimeException: Exception during
query
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:9A441BC96DFD46D9]:0)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:940)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:907)
[junit4] > at
org.apache.solr.request.TestFaceting.testFacetSortWithMinCount0(TestFaceting.java:337)
[junit4] > at java.lang.Thread.run(Thread.java:748)
[junit4] > Caused by: java.lang.RuntimeException: REQUEST FAILED:
xpath=*[count(//lst[@name='f_td']/int)=3]
[junit4] > xml response was: <?xml version="1.0" encoding="UTF-8"?>
[junit4] > <response>
[junit4] > <lst name="responseHeader"><int name="status">0</int><int
name="QTime">0</int></lst><result name="response" numFound="1"
start="0"><doc><float name="id">1.0</float><double
name="f_td">-420.126</double><long
name="_version_">1569393347178528768</long></doc></result><lst
name="facet_counts"><lst name="facet_queries"/><lst name="facet_fields"><lst
name="f_td"><int name="-420.126">1</int></lst></lst><lst
name="facet_ranges"/><lst name="facet_intervals"/><lst
name="facet_heatmaps"/></lst>
[junit4] > </response>
[junit4] > request
was:q=id:1.0&facet.field=f_td&f.f_td.facet.sort=index&facet.method=fc&facet.mincount=0&facet=true&wt=xml
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestFaceting
-Dtests.method=testTrieFields -Dtests.seed=40DB535C83C56F23 -Dtests.slow=true
-Dtests.locale=en-US -Dtests.timezone=America/Indiana/Marengo
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 0.01s J2 | TestFaceting.testTrieFields <<<
[junit4] > Throwable #1: java.lang.RuntimeException: Exception during
query
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:25664F12A6A7456E]:0)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:940)
[junit4] > at
org.apache.solr.request.TestFaceting.testTrieFields(TestFaceting.java:289)
[junit4] > at java.lang.Thread.run(Thread.java:748)
[junit4] > Caused by: java.lang.RuntimeException: REQUEST FAILED:
xpath=*[count(//lst[@name='f_ti']/int)=1]
[junit4] > xml response was: <?xml version="1.0" encoding="UTF-8"?>
[junit4] > <response>
[junit4] > <lst name="responseHeader"><int name="status">0</int><int
name="QTime">0</int></lst><result name="response" numFound="0"
start="0"></result><lst name="facet_counts"><lst name="facet_queries"/><lst
name="facet_fields"><lst name="f_ti"/></lst><lst name="facet_ranges"/><lst
name="facet_intervals"/><lst name="facet_heatmaps"/></lst>
[junit4] > </response>
[junit4] > request
was:q=f_ti:43&facet.field=f_ti&facet.method=enum&facet.mincount=0&facet=true&wt=xml&facet.sort=count
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestGraphTermsQParserPlugin -Dtests.method=testQueries
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=es-CU
-Dtests.timezone=Asia/Macao -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 0.07s J1 | TestGraphTermsQParserPlugin.testQueries <<<
[junit4] > Throwable #1: java.lang.RuntimeException: Exception during
query
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:1C559F8799ACDA8D]:0)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:940)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:907)
[junit4] > at
org.apache.solr.search.TestGraphTermsQParserPlugin.testQueries(TestGraphTermsQParserPlugin.java:106)
[junit4] > at java.lang.Thread.run(Thread.java:748)
[junit4] > Caused by: java.lang.RuntimeException: REQUEST FAILED:
xpath=*[count(//doc)=5]
[junit4] > xml response was: <?xml version="1.0" encoding="UTF-8"?>
[junit4] > <response>
[junit4] > <lst name="responseHeader">
[junit4] > <int name="status">0</int>
[junit4] > <int name="QTime">0</int>
[junit4] > </lst>
[junit4] > <result name="response" numFound="0" start="0">
[junit4] > </result>
### Test timeouts (possibly unrelated to points work?)
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=UnloadDistributedZkTest -Dtests.method=test
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=sr-ME
-Dtests.timezone=Etc/GMT+2 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 106s J0 | UnloadDistributedZkTest.test <<<
[junit4] > Throwable #1:
com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught
exception in thread: Thread[id=14493, name=testExecutor-5210-thread-1,
state=RUNNABLE, group=TGRP-UnloadDistributedZkTest]
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:C88F6C862D3902DB]:0)
[junit4] > Caused by: java.lang.RuntimeException:
org.apache.solr.client.solrj.SolrServerException: Timeout occured while waiting
response from server at: http://127.0.0.1:46895
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23]:0)
[junit4] > at
org.apache.solr.cloud.UnloadDistributedZkTest.lambda$testUnloadLotsOfCores$0(UnloadDistributedZkTest.java:412)
### ExternalFileField/FileFloatSource doesn't work if *keyField* is points
based numeric
# Root cause seems to be because no term enum for points fields.
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestFunctionQuery
-Dtests.method=testExternalFileFieldNumericKey -Dtests.seed=40DB535C83C56F23
-Dtests.slow=true -Dtests.locale=es-AR
-Dtests.timezone=America/Argentina/San_Juan -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 0.01s J2 |
TestFunctionQuery.testExternalFileFieldNumericKey <<<
[junit4] > Throwable #1: java.lang.RuntimeException: Exception during
query
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:6C2C41715AC0AECB]:0)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:940)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:907)
[junit4] > at
org.apache.solr.search.function.TestFunctionQuery.singleTest(TestFunctionQuery.java:126)
[junit4] > at
org.apache.solr.search.function.TestFunctionQuery.singleTest(TestFunctionQuery.java:132)
[junit4] > at
org.apache.solr.search.function.TestFunctionQuery.testExternalFileFieldNumericKey(TestFunctionQuery.java:302)
[junit4] > at java.lang.Thread.run(Thread.java:748)
[junit4] > Caused by: java.lang.NullPointerException
[junit4] > at
org.apache.solr.search.function.FileFloatSource.getFloats(FileFloatSource.java:273)
### Terms component doesn't work with Points
[junit4] 2> 1597484 INFO
(TEST-DistributedTermsComponentTest.test-seed#[40DB535C83C56F23]) [ ]
o.e.j.s.h.ContextHandler Stopp
ed o.e.j.s.ServletContextHandler@146e0738{/,null,UNAVAILABLE}
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=DistributedTermsComponentTest -Dtests.method=test
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=und
-Dtests.timezone=Pacific/Guam -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 1.64s J2 | DistributedTermsComponentTest.test <<<
[junit4] > Throwable #1:
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error
from server at http://127.0.0.1:47383//collection1: Can't generate internal
string in PointField. use PointField.toInternalByteRef
### ord() and rord() functions don't play nice with points?
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=DisMaxRequestHandlerTest -Dtests.method=testSomeStuff
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=sl
-Dtests.timezone=Atlantic/South_Georgia -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 0.00s J2 | DisMaxRequestHandlerTest.testSomeStuff <<<
[junit4] > Throwable #1: java.lang.RuntimeException: Exception during
query
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:AEC94260775C9E19]:0)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:940)
[junit4] > at
org.apache.solr.DisMaxRequestHandlerTest.doTestSomeStuff(DisMaxRequestHandlerTest.java:76)
[junit4] > at
org.apache.solr.DisMaxRequestHandlerTest.testSomeStuff(DisMaxRequestHandlerTest.java:72)
[junit4] > at java.lang.Thread.run(Thread.java:748)
[junit4] > Caused by: java.lang.IllegalStateException: unexpected
docvalues type NONE for field 'iind' (expected one of [SORTED, SORTED_SET]).
Re-index with correct docvalues type.
[junit4] > at
org.apache.lucene.index.DocValues.checkField(DocValues.java:340)
[junit4] > at
org.apache.lucene.index.DocValues.getSortedSet(DocValues.java:433)
[junit4] > at
org.apache.solr.search.function.ReverseOrdFieldSource.getValues(ReverseOrdFieldSource.java:98)
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=DisMaxRequestHandlerTest -Dtests.method=testExtraBlankBQ
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=sl
-Dtests.timezone=Atlantic/South_Georgia -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 0.01s J2 | DisMaxRequestHandlerTest.testExtraBlankBQ <<<
[junit4] > Throwable #1: java.lang.IllegalStateException: unexpected
docvalues type NONE for field 'iind' (expected one of [SORTED, SORTED_SET]).
Re-index with correct docvalues type.
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:F5DCCAEC43212E62]:0)
[junit4] > at
org.apache.lucene.index.DocValues.checkField(DocValues.java:340)
[junit4] > at
org.apache.lucene.index.DocValues.getSortedSet(DocValues.java:433)
[junit4] > at
org.apache.solr.search.function.ReverseOrdFieldSource.getValues(ReverseOrdFieldSource.java:98)
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestFunctionQuery
-Dtests.method=testGeneral -Dtests.seed=40DB535C83C56F23 -Dtests.slow=true
-Dtests.locale=es-AR -Dtests.timezone=America/Argentina/San_Juan
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 0.11s J2 | TestFunctionQuery.testGeneral <<<
[junit4] > Throwable #1: java.lang.RuntimeException: Exception during
query
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:76294761B4024BBD]:0)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:940)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:907)
[junit4] > at
org.apache.solr.search.function.TestFunctionQuery.testGeneral(TestFunctionQuery.java:333)
[junit4] > at java.lang.Thread.run(Thread.java:748)
[junit4] > Caused by: java.lang.IllegalStateException: Type mismatch: id
was indexed with multiple values per document, use SORTED_SET instead
[junit4] > at
org.apache.solr.uninverting.FieldCacheImpl$SortedDocValuesCache.createValue(FieldCacheImpl.java:931)
[junit4] > at
org.apache.solr.uninverting.FieldCacheImpl$Cache.get(FieldCacheImpl.java:199)
[junit4] > at
org.apache.solr.uninverting.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:899)
[junit4] > at
org.apache.solr.uninverting.FieldCacheImpl.getTermsIndex(FieldCacheImpl.java:879)
[junit4] > at
org.apache.solr.uninverting.UninvertingReader.getSortedDocValues(UninvertingReader.java:339)
[junit4] > at
org.apache.lucene.index.MultiDocValues.getSortedValues(MultiDocValues.java:586)
[junit4] > at
org.apache.solr.index.SlowCompositeReaderWrapper.getSortedDocValues(SlowCompositeReaderWrapper.java:132)
[junit4] > at
org.apache.lucene.index.DocValues.getSortedSet(DocValues.java:431)
[junit4] > at
org.apache.solr.search.function.OrdFieldSource.getValues(OrdFieldSource.java:98)
{noformat}
----
I want to dig into this list a bit and open new jiras once i've confirmed they
are real problems and not just silly mistakes on my end -- but before I do that
the other idea that occured to me is to go ahead and kludge in a quick & dirty
version of SOLR-10808 (assumes docValues="true" unless explicitly told
otherwise ... or maybe just only in PointsField and only in "pretend i'm a test
mode" ?).
This might produce more "false failures" in whitebox style tests, or in
TestPointFields where it's expecting errors when docValues aren't used -- but
for all the *older* tests where we've swapped points fields in for trie fields
it should help get past the current "can't facet on multivalued poins w/o DV"
errors to see if anything else goes wrong -- The idea being: if we assume that
moving forward we want points as defaults, and if we assume moving forward
we'll just tell people "you need docValues to facet/stats on points" then let's
brute force test *that* scenerio and see if there are any problems.
> Randomize PointFields in all tests unless explicit reason not to
> -----------------------------------------------------------------
>
> Key: SOLR-10807
> URL: https://issues.apache.org/jira/browse/SOLR-10807
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Hoss Man
> Assignee: Hoss Man
> Priority: Blocker
> Fix For: master (7.0)
>
> Attachments:
> core.test.log.fde06f34b7f9d0916a134b3efaa8780892ff8e39.txt, core.test.log.txt
>
>
> We need to seriously beef up our testing of PointFields to figure out what
> Solr features don't currently work with PointFields.
> The existing Trie/Point randomization logic in SolrTestCaseJ4 is a good start
> -- but only a handful of schema files leverage it.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]