[ https://issues.apache.org/jira/browse/SOLR-3780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446765#comment-13446765 ]
Steven Rowe commented on SOLR-3780: ----------------------------------- On the dev@l.a.o mailing list, Yonik wrote: {quote} "multiple values encountered for non multiValued field val_i: [10, 20]" This should be very deterministic (i.e. it should always fail if it were actually a non multiValued field). The *_i fields are multivalued according to schema.xml, so this exception should not happen (the version=1.0 in schema.xml means multiValued=true by default). Off of the top of my head, the only thing I can figure is that the maven based tests are somehow getting the wrong schema sometimes. Maybe if there's some different with how solr homes are set between ant and maven? {quote} Currently, under the Maven build, solr-core and solrj tests are run together under the solr-core module, because Maven can't handle the dependencies among solr-core, solr test-framework, and solrj. As a result, both solr-core and solrj resources are co-mingled. I think this is what's happening here: due to the apparently non-deterministic solr-home detection logic, in some environments, the "wrong" {{schema.xml}} file is used with some tests. > Maven builds regularly fail on ASF Jenkins > ------------------------------------------ > > Key: SOLR-3780 > URL: https://issues.apache.org/jira/browse/SOLR-3780 > Project: Solr > Issue Type: Bug > Components: Build > Affects Versions: 4.0, 5.0 > Reporter: Steven Rowe > Assignee: Steven Rowe > > branch_4x and to a lesser extent trunk Maven builds on ASF Jenkins regularly > fail with these errors: > {noformat} > ERROR: [doc=one] unknown field 'meta:creation-date' > Stack Trace: > org.apache.solr.common.SolrException: ERROR: [doc=one] unknown field > 'meta:creation-date' > at > __randomizedtesting.SeedInfo.seed([564B8C2811E551FC:388DF7271220FAA9]:0) > at > org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:306) > {noformat} > {noformat} > ERROR: [doc=1000] multiple values encountered for non multiValued field > val_i: [10, 20] > Stack Trace: > org.apache.solr.common.SolrException: ERROR: [doc=1000] multiple values > encountered for non multiValued field val_i: [10, 20] > at > __randomizedtesting.SeedInfo.seed([41D9D56849179839:C03F5B703E48F805]:0) > at > org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:402) > {noformat} > I can't reproduce these errors locally. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org