[
https://issues.apache.org/jira/browse/SOLR-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14321702#comment-14321702
]
Shalin Shekhar Mangar commented on SOLR-6924:
---------------------------------------------
Another failure from my local jenkins:
{code}
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestSolrConfigHandlerCloud -Dtests.method=test
-Dtests.seed=59310820B646978D -Dtests.slow=true -Dtests.locale=th_TH
-Dtests.timezone=Africa/Sao_Tome -Dtests.asserts=true
-Dtests.file.encoding=US-ASCII
[junit4] FAILURE 37.5s J1 | TestSolrConfigHandlerCloud.test <<<
[junit4] > Throwable #1: java.lang.AssertionError: Could not get expected
value 'b' for path 'overlay/requestHandler/\/x/a' full output: {
[junit4] > "responseHeader":{
[junit4] > "status":0,
[junit4] > "QTime":0},
[junit4] > "overlay":{
[junit4] > "znodeVersion":0,
[junit4] > "requestHandler":{"/x":{
[junit4] > "name":"/x",
[junit4] > "class":"org.apache.solr.handler.DumpRequestHandler",
[junit4] > "startup":"lazy"}}}}
[junit4] > at
__randomizedtesting.SeedInfo.seed([59310820B646978D:D16537FA18BAFA75]:0)
[junit4] > at
org.apache.solr.core.TestSolrConfigHandler.testForResponseElement(TestSolrConfigHandler.java:399)
[junit4] > at
org.apache.solr.core.TestSolrConfigHandler.reqhandlertests(TestSolrConfigHandler.java:189)
[junit4] > at
org.apache.solr.handler.TestSolrConfigHandlerCloud.testReqHandlerAPIs(TestSolrConfigHandlerCloud.java:90)
[junit4] > at
org.apache.solr.handler.TestSolrConfigHandlerCloud.test(TestSolrConfigHandlerCloud.java:76)
{code}
The root cause seems to be the following:
{code}
[junit4] 2> 1014079 T3226 oasc.ZkController$WatcherImpl$1.run WARN
listener throws error org.apache.solr.common.SolrException: Unable to reload
core [collection1]
[junit4] 2> at
org.apache.solr.core.CoreContainer.reload(CoreContainer.java:615)
[junit4] 2> at
org.apache.solr.core.SolrCore$11.run(SolrCore.java:2696)
[junit4] 2> at
org.apache.solr.cloud.ZkController$WatcherImpl$1.run(ZkController.java:2294)
[junit4] 2> Caused by: org.apache.solr.common.SolrException: Could not
load conf for core collection1: Error loading solr config from solrconfig.xml
[junit4] 2> at
org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66)
[junit4] 2> at
org.apache.solr.core.CoreContainer.reload(CoreContainer.java:608)
[junit4] 2> ... 2 more
[junit4] 2> Caused by: org.apache.solr.common.SolrException: Error loading
solr config from solrconfig.xml
[junit4] 2> at
org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:167)
[junit4] 2> at
org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:80)
[junit4] 2> at
org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:61)
[junit4] 2> ... 3 more
[junit4] 2> Caused by: java.io.IOException: Error opening
/configs/conf1/solrconfig.xml
[junit4] 2> at
org.apache.solr.cloud.ZkSolrResourceLoader.openResource(ZkSolrResourceLoader.java:88)
[junit4] 2> at
org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:309)
[junit4] 2> at org.apache.solr.core.Config.<init>(Config.java:122)
[junit4] 2> at org.apache.solr.core.Config.<init>(Config.java:92)
[junit4] 2> at
org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:180)
[junit4] 2> at
org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:158)
[junit4] 2> ... 5 more
[junit4] 2> Caused by:
org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode =
Session expired for /configs/conf1/solrconfig.xml
[junit4] 2> at
org.apache.zookeeper.KeeperException.create(KeeperException.java:127)
[junit4] 2> at
org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
[junit4] 2> at
org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
{code}
Core load/reload etc is not well tested in the face of zk session expiration I
guess. We should add some (separate) tests for this sort of thing.
> TestSolrConfigHandlerCloud fails frequently.
> --------------------------------------------
>
> Key: SOLR-6924
> URL: https://issues.apache.org/jira/browse/SOLR-6924
> Project: Solr
> Issue Type: Test
> Reporter: Mark Miller
> Assignee: Noble Paul
>
> I see this fail all the time. Usually something like:
> java.lang.AssertionError: Could not get expected value P val for path
> [response, params, y, p] full output {
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]