Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14208

Reproducible test failure on TestBulkSchemaConcurrent

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tests
    • Labels:
      None

      Description

      I found the following test failure on master branch while running tests on SOLR-14207. The test failure is reproducible without the SOLR-14207 patch.

      ant test  -Dtestcase=TestBulkSchemaConcurrent -Dtests.method=test -Dtests.seed=AE6DC9DB591DAB9E -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=hi-IN -Dtests.timezone=Atlantic/Madeira -Dtests.asserts=true -Dtests.file.encoding=UTF-8
      

      The logs are full of the following warning repeated over and over:

      [junit4]   2> 32396 WARN  (qtp1791658098-110) [n:127.0.0.1:46453_rx_%2Fr c:collection1 s:shard2 r:core_node8 x:collection1_shard2_replica_n5 ] o.a.s.s.SchemaManager Unable to retrieve fresh managed schema managed-schema
         [junit4]   2>           => java.lang.IllegalArgumentException: Path must start with / character
         [junit4]   2> 	at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:51)
         [junit4]   2> java.lang.IllegalArgumentException: Path must start with / character
         [junit4]   2> 	at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:51) ~[zookeeper-3.5.5.jar:3.5.5]
         [junit4]   2> 	at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:2000) ~[zookeeper-3.5.5.jar:3.5.5]
         [junit4]   2> 	at org.apache.solr.common.cloud.SolrZkClient.lambda$exists$3(SolrZkClient.java:314) ~[java/:?]
         [junit4]   2> 	at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:71) ~[java/:?]
         [junit4]   2> 	at org.apache.solr.common.cloud.SolrZkClient.exists(SolrZkClient.java:314) ~[java/:?]
         [junit4]   2> 	at org.apache.solr.schema.SchemaManager.getFreshManagedSchema(SchemaManager.java:427) ~[java/:?]
         [junit4]   2> 	at org.apache.solr.schema.SchemaManager.doOperations(SchemaManager.java:107) ~[java/:?]
         [junit4]   2> 	at org.apache.solr.schema.SchemaManager.performOperations(SchemaManager.java:92) ~[java/:?]
         [junit4]   2> 	at org.apache.solr.handler.SchemaHandler.handleRequestBody(SchemaHandler.java:90) ~[java/:?]
         [junit4]   2> 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:208) ~[java/:?]
         [junit4]   2> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:2582) ~[java/:?]
         [junit4]   2> 	at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:799) ~[java/:?]
         [junit4]   2> 	at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:578) ~[java/:?]
         [junit4]   2> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:419) ~[java/:?]
         [junit4]   2> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:351) ~[java/:?]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shalin Shalin Shekhar Mangar
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: