Test failure locally, something about solrconfig.snippet.randomindexconfig

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Test failure locally, something about solrconfig.snippet.randomindexconfig

Erick Erickson
Seeing this on trunk, checkout this morning. I was off on vacation so I haven't a clue when it started, could have been any time in the last week. partial trace below.

Getting this running OpenCloseCoreStressTest, but since I don't see this from Jenkins it must be something local? Note it's using a different solrconfig than the default....

Thanks,
Erick

Caused by: org.apache.solr.common.SolrException: Unable to create core: 00011_core
[junit4:junit4]   2> at org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:1258)
[junit4:junit4]   2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:777)
[junit4:junit4]   2> at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:989)
[junit4:junit4]   2> ... 27 more
[junit4:junit4]   2> Caused by: org.apache.solr.common.SolrException: Could not load config for solrconfig-minimal.xml
[junit4:junit4]   2> at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:703)
[junit4:junit4]   2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:768)
[junit4:junit4]   2> ... 28 more
[junit4:junit4]   2> Caused by: org.xml.sax.SAXParseException; systemId: solrres:/solrconfig-minimal.xml; lineNumber: 31; columnNumber: 107; An include with href 'solrconfig.snippet.randomindexconfig.xml'failed, and no fallback element was found.
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.reportError(XIncludeHandler.java:2326)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.reportFatalError(XIncludeHandler.java:2321)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.emptyElement(XIncludeHandler.java:948)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:353)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2717)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:607)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:489)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:237)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
[junit4:junit4]   2> at org.apache.solr.core.Config.<init>(Config.java:133)
[junit4:junit4]   2> at org.apache.solr.core.Config.<init>(Config.java:85)
[junit4:junit4]   2> at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:120)
[junit4:junit4]   2> at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:700)
[junit4:junit4]   2> ... 29 more
[junit4:junit4]   2>
Reply | Threaded
Open this post in threaded view
|

Re: Test failure locally, something about solrconfig.snippet.randomindexconfig

Erick Erickson
OK, found it. Two problems:

1> OpenCloseCoreStressTest constructs various sub-directories for cores, bypassing the place where the included XML snippet is copied to the same dir as solrconfig-minimal.xml. Easy fix.

2> The test swallows the exception rather than failing, I can fix that too.

Sorry for the noise.



On Thu, Jun 27, 2013 at 12:52 PM, Erick Erickson <[hidden email]> wrote:
Seeing this on trunk, checkout this morning. I was off on vacation so I haven't a clue when it started, could have been any time in the last week. partial trace below.

Getting this running OpenCloseCoreStressTest, but since I don't see this from Jenkins it must be something local? Note it's using a different solrconfig than the default....

Thanks,
Erick

Caused by: org.apache.solr.common.SolrException: Unable to create core: 00011_core
[junit4:junit4]   2> at org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:1258)
[junit4:junit4]   2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:777)
[junit4:junit4]   2> at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:989)
[junit4:junit4]   2> ... 27 more
[junit4:junit4]   2> Caused by: org.apache.solr.common.SolrException: Could not load config for solrconfig-minimal.xml
[junit4:junit4]   2> at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:703)
[junit4:junit4]   2> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:768)
[junit4:junit4]   2> ... 28 more
[junit4:junit4]   2> Caused by: org.xml.sax.SAXParseException; systemId: solrres:/solrconfig-minimal.xml; lineNumber: 31; columnNumber: 107; An include with href 'solrconfig.snippet.randomindexconfig.xml'failed, and no fallback element was found.
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:325)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.reportError(XIncludeHandler.java:2326)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.reportFatalError(XIncludeHandler.java:2321)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.emptyElement(XIncludeHandler.java:948)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:353)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2717)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:607)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:489)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:237)
[junit4:junit4]   2> at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
[junit4:junit4]   2> at org.apache.solr.core.Config.<init>(Config.java:133)
[junit4:junit4]   2> at org.apache.solr.core.Config.<init>(Config.java:85)
[junit4:junit4]   2> at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:120)
[junit4:junit4]   2> at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:700)
[junit4:junit4]   2> ... 29 more
[junit4:junit4]   2>