lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (JIRA)" <>
Subject [jira] [Commented] (SOLR-3780) Maven builds regularly fail on ASF Jenkins
Date Sat, 01 Sep 2012 17:46:07 GMT


Steven Rowe commented on SOLR-3780:

On the dev@l.a.o mailing list, Yonik wrote:

"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?

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:
>             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(
> {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(
> {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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message