You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2019/12/19 23:41:00 UTC
[jira] [Updated] (SOLR-14127) SystemCollectionCompatTest triggers
schema.xml loading failures via Schema API ?
[ https://issues.apache.org/jira/browse/SOLR-14127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris M. Hostetter updated SOLR-14127:
--------------------------------------
Attachment: thetaphi_Lucene-Solr-master-Linux_25177.log.txt
Status: Open (was: Open)
I'm attaching thetaphi_Lucene-Solr-master-Linux_25177.log.txt which is an example the following type of failure from SystemCollectionCompatTest...
{noformat}
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=SystemCollectionCompatTest -Dtests.method=testBackCompat -Dtests.seed=451A4BC22BC91B57 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=mer-KE -Dtests.timezone=Atlantic/Azores -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 2.91s J0 | SystemCollectionCompatTest.testBackCompat <<<
[junit4] > Throwable #1: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://127.0.0.1:45347/solr/.system: Error reading input String Can't find resource 'schema.xml' in classpath or '/configs/.system', cwd=/home/jenkins/workspace/Lucene-Solr-master-Linux/solr/build/solr-core/test/J0
[junit4] > at __randomizedtesting.SeedInfo.seed([451A4BC22BC91B57:35EFE86B4B01B221]:0)
[junit4] > at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:665)
[junit4] > at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:265)
[junit4] > at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248)
[junit4] > at org.apache.solr.client.solrj.impl.LBSolrClient.doRequest(LBSolrClient.java:368)
[junit4] > at org.apache.solr.client.solrj.impl.LBSolrClient.request(LBSolrClient.java:296)
[junit4] > at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.sendRequest(BaseCloudSolrClient.java:1143)
[junit4] > at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:906)
[junit4] > at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.request(BaseCloudSolrClient.java:838)
[junit4] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:207)
[junit4] > at org.apache.solr.cloud.SystemCollectionCompatTest.setupSystemCollection(SystemCollectionCompatTest.java:104)
{noformat}
Note that {{SystemCollectionCompatTest.java:104}} currently corresponds to this line of code {{setupSystemCollection}} "Before" method...
{code:java}
SchemaResponse.UpdateResponse replaceFieldResponse = replaceFieldRequest.process(solrClient, CollectionAdminParams.SYSTEM_COLL);
{code}
...and that this code/error occurs *after* the system collection has already been successfully created, and a document has been added to it.
So why/how is ZkSolrResourceLoader complaining that it can't find the schema _now_?
----
Jenkins builds with this type of failure in the psat 7 days:
* thetaphi_Lucene-Solr-master-Linux_25168.log.txt
* thetaphi_Lucene-Solr-master-Linux_25177.log.txt (x2)
> SystemCollectionCompatTest triggers schema.xml loading failures via Schema API ?
> --------------------------------------------------------------------------------
>
> Key: SOLR-14127
> URL: https://issues.apache.org/jira/browse/SOLR-14127
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Chris M. Hostetter
> Priority: Major
> Attachments: thetaphi_Lucene-Solr-master-Linux_25177.log.txt
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org