Solr nightly build failure

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

Solr nightly build failure

Solr - Dev mailing list

init-forrest-entities:
    [mkdir] Created dir: /tmp/apache-solr-nightly/build

compile-common:
    [mkdir] Created dir: /tmp/apache-solr-nightly/build/common
    [javac] Compiling 31 source files to /tmp/apache-solr-nightly/build/common
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

compile:
    [mkdir] Created dir: /tmp/apache-solr-nightly/build/core
    [javac] Compiling 311 source files to /tmp/apache-solr-nightly/build/core
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

compile-solrj-core:
    [mkdir] Created dir: /tmp/apache-solr-nightly/build/client/solrj
    [javac] Compiling 22 source files to /tmp/apache-solr-nightly/build/client/solrj
    [javac] Note: /tmp/apache-solr-nightly/client/java/solrj/src/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

compile-solrj:
    [javac] Compiling 2 source files to /tmp/apache-solr-nightly/build/client/solrj

compileTests:
    [mkdir] Created dir: /tmp/apache-solr-nightly/build/tests
    [javac] Compiling 88 source files to /tmp/apache-solr-nightly/build/tests
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

junit:
    [mkdir] Created dir: /tmp/apache-solr-nightly/build/test-results
    [junit] Running org.apache.solr.BasicFunctionalityTest
    [junit] Tests run: 25, Failures: 0, Errors: 0, Time elapsed: 113.811 sec
    [junit] Running org.apache.solr.ConvertedLegacyTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 18.676 sec
    [junit] Running org.apache.solr.DisMaxRequestHandlerTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 6.933 sec
    [junit] Running org.apache.solr.EchoParamsTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.717 sec
    [junit] Running org.apache.solr.OutputWriterTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 6.033 sec
    [junit] Running org.apache.solr.SampleTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 8.294 sec
    [junit] Running org.apache.solr.TestDistributedSearch
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 277.707 sec
    [junit] 2008-03-25 11:11:59.770::INFO:  Shutdown hook executing
    [junit] 2008-03-25 11:11:59.770::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:12:00.777::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:12:01.787::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:12:02.796::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:12:03.806::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:12:04.808::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:12:05.816::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:12:06.817::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:12:07.826::INFO:  Shutdown hook complete
    [junit] Running org.apache.solr.analysis.HTMLStripReaderTest
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.717 sec
    [junit] Running org.apache.solr.analysis.TestBufferedTokenStream
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 4.476 sec
    [junit] Running org.apache.solr.analysis.TestCapitalizationFilter
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.539 sec
    [junit] Running org.apache.solr.analysis.TestHyphenatedWordsFilter
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.141 sec
    [junit] Running org.apache.solr.analysis.TestKeepWordFilter
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.587 sec
    [junit] Running org.apache.solr.analysis.TestPatternReplaceFilter
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 4.197 sec
    [junit] Running org.apache.solr.analysis.TestPatternTokenizerFactory
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.062 sec
    [junit] Running org.apache.solr.analysis.TestPhoneticFilter
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 3.161 sec
    [junit] Running org.apache.solr.analysis.TestRemoveDuplicatesTokenFilter
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 2.15 sec
    [junit] Running org.apache.solr.analysis.TestSynonymFilter
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 6.676 sec
    [junit] Running org.apache.solr.analysis.TestTrimFilter
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.768 sec
    [junit] Running org.apache.solr.analysis.TestWordDelimiterFilter
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 22.378 sec
    [junit] Running org.apache.solr.common.SolrDocumentTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.434 sec
    [junit] Running org.apache.solr.common.params.SolrParamTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.384 sec
    [junit] Running org.apache.solr.common.util.ContentStreamTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 4.989 sec
    [junit] Running org.apache.solr.common.util.IteratorChainTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.336 sec
    [junit] Running org.apache.solr.common.util.TestXMLEscaping
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.324 sec
    [junit] Running org.apache.solr.core.RequestHandlersTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 14.016 sec
    [junit] Running org.apache.solr.core.ResourceLoaderTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.457 sec
    [junit] Running org.apache.solr.core.SolrCoreTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.245 sec
    [junit] Running org.apache.solr.core.TestBadConfig
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.441 sec
    [junit] Running org.apache.solr.core.TestConfig
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 7.158 sec
    [junit] Running org.apache.solr.core.TestQuerySenderListener
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.676 sec
    [junit] Running org.apache.solr.handler.AnalysisRequestHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.297 sec
    [junit] Running org.apache.solr.handler.MoreLikeThisHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.595 sec
    [junit] Running org.apache.solr.handler.SpellCheckerRequestHandlerTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 10 sec
    [junit] Running org.apache.solr.handler.StandardRequestHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.47 sec
    [junit] Running org.apache.solr.handler.TestCSVLoader
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 17.09 sec
    [junit] Running org.apache.solr.handler.XmlUpdateRequestHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.691 sec
    [junit] Running org.apache.solr.handler.admin.SystemInfoHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.472 sec
    [junit] Running org.apache.solr.handler.component.QueryElevationComponentTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 19.117 sec
    [junit] Running org.apache.solr.handler.component.SearchHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.862 sec
    [junit] Running org.apache.solr.highlight.HighlighterConfigTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 14.358 sec
    [junit] Running org.apache.solr.highlight.HighlighterTest
    [junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 70.551 sec
    [junit] Running org.apache.solr.request.JSONWriterTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 11.62 sec
    [junit] Running org.apache.solr.schema.BadIndexSchemaTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.387 sec
    [junit] Running org.apache.solr.schema.IndexSchemaTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.35 sec
    [junit] Running org.apache.solr.schema.NotRequiredUniqueKeyTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.639 sec
    [junit] Running org.apache.solr.schema.RequiredFieldsTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 17.418 sec
    [junit] Running org.apache.solr.schema.UUIDFieldTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.901 sec
    [junit] Running org.apache.solr.search.TestDocSet
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.95 sec
    [junit] Running org.apache.solr.search.TestQueryTypes
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.683 sec
    [junit] Running org.apache.solr.search.TestQueryUtils
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.548 sec
    [junit] Running org.apache.solr.search.function.TestFunctionQuery
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 13.121 sec
    [junit] Running org.apache.solr.servlet.CacheHeaderTest
    [junit] Tests run: 3, Failures: 0, Errors: 2, Time elapsed: 24.511 sec
    [junit] 2008-03-25 11:21:57.038::INFO:  Shutdown hook executing
    [junit] 2008-03-25 11:21:57.038::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:21:58.286::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:21:59.406::INFO:  Shutdown hook complete
    [junit] Test org.apache.solr.servlet.CacheHeaderTest FAILED
    [junit] Running org.apache.solr.servlet.DirectSolrConnectionTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 8.512 sec
    [junit] Running org.apache.solr.servlet.NoCacheHeaderTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 32.596 sec
    [junit] 2008-03-25 11:22:43.869::INFO:  Shutdown hook executing
    [junit] 2008-03-25 11:22:43.869::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:22:44.873::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:22:45.883::INFO:  Shutdown hook complete
    [junit] Running org.apache.solr.servlet.SolrRequestParserTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 33.339 sec
    [junit] Running org.apache.solr.update.AutoCommitTest
    [junit] Tests run: 3, Failures: 2, Errors: 0, Time elapsed: 18.152 sec
    [junit] Test org.apache.solr.update.AutoCommitTest FAILED
    [junit] Running org.apache.solr.update.DirectUpdateHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.801 sec
    [junit] Running org.apache.solr.update.DocumentBuilderTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 9.086 sec
    [junit] Running org.apache.solr.update.processor.UpdateRequestProcessorFactoryTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 14.749 sec
    [junit] Running org.apache.solr.util.DateMathParserTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 4.677 sec
    [junit] Running org.apache.solr.util.SolrPluginUtilsTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 36.041 sec
    [junit] Running org.apache.solr.util.TestCharArrayMap
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.601 sec
    [junit] Running org.apache.solr.util.TestOpenBitSet
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.169 sec
    [junit] Running org.apache.solr.util.TestUtils
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.35 sec
    [junit] Running org.apache.solr.client.solrj.SolrExceptionTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.584 sec
    [junit] Running org.apache.solr.client.solrj.SolrQueryTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.331 sec
    [junit] Running org.apache.solr.client.solrj.embedded.JettyWebappTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.489 sec
    [junit] 2008-03-25 11:25:32.929::INFO:  Shutdown hook executing
    [junit] 2008-03-25 11:25:33.062::INFO:  Shutdown hook complete
    [junit] Running org.apache.solr.client.solrj.embedded.LargeVolumeEmbeddedTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.666 sec
    [junit] Running org.apache.solr.client.solrj.embedded.LargeVolumeJettyTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 13.175 sec
    [junit] 2008-03-25 11:25:59.945::INFO:  Shutdown hook executing
    [junit] 2008-03-25 11:25:59.945::INFO:  Shutdown hook complete
    [junit] Running org.apache.solr.client.solrj.embedded.MultiCoreEmbeddedTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.819 sec
    [junit] Running org.apache.solr.client.solrj.embedded.MultiCoreExampleJettyTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 3.332 sec
    [junit] 2008-03-25 11:26:15.577::INFO:  Shutdown hook executing
    [junit] 2008-03-25 11:26:15.583::INFO:  Shutdown hook complete
    [junit] Test org.apache.solr.client.solrj.embedded.MultiCoreExampleJettyTest FAILED
    [junit] Running org.apache.solr.client.solrj.embedded.SolrExampleEmbeddedTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 15.816 sec
    [junit] Running org.apache.solr.client.solrj.embedded.SolrExampleJettyTest
    [junit] Tests run: 6, Failures: 0, Errors: 6, Time elapsed: 19.208 sec
    [junit] 2008-03-25 11:26:54.603::INFO:  Shutdown hook executing
    [junit] 2008-03-25 11:26:55.217::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:26:56.228::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:26:58.266::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:26:59.386::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:27:00.398::INFO:  Shutdown hook complete
    [junit] 2008-03-25 11:27:01.408::INFO:  Shutdown hook complete
    [junit] Test org.apache.solr.client.solrj.embedded.SolrExampleJettyTest FAILED
    [junit] Running org.apache.solr.client.solrj.response.QueryResponseTest
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.316 sec
    [junit] Test org.apache.solr.client.solrj.response.QueryResponseTest FAILED
    [junit] Running org.apache.solr.client.solrj.util.ClientUtilsTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.442 sec

BUILD FAILED
/tmp/apache-solr-nightly/build.xml:498: Tests failed!

Total time: 200 minutes 5 seconds


Reply | Threaded
Open this post in threaded view
|

Re: Solr nightly build failure

hossman

:     [junit] Running org.apache.solr.client.solrj.response.QueryResponseTest
:     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.316 sec

This test seems to have been failing consistently in the nightly build
since March 18th which is when the test was added (new Date Faceting
code)...

http://svn.apache.org/viewvc?view=rev&revision=638357

...it has not failed in hudson, and it doesn't fail for me locally.  i'm
going to go out on a limb and guess that maybe there is an environment
specifc issue here -- i've only give the code a cursory once over, and
nothing jumped out at in QueryResponse itself -- all of hte real parsing
seems to be done elsewhere (which means this probably probably isn't
specific to the date facet stuff).

one thing i did notice: since the test isn't writting anything to stdout,
that implies that the problem isn't just that the individual FacetField
objects contain bad data

(either the FieldReader is null, or the QueryResponse is null, or
qr.getFacetDates() is null, or the first FacetField in qr.getFacetDates()
is null)

Can someone with a login on the Lucene zone check out the f8ll test
results and see which assert failed?

I'm reopening SOLR-497 in the meantime.

-Hoss

Reply | Threaded
Open this post in threaded view
|

Re: Solr nightly build failure

Yonik Seeley-2
On Tue, Mar 25, 2008 at 8:45 PM, Chris Hostetter
<[hidden email]> wrote:
>
>  :     [junit] Running org.apache.solr.client.solrj.response.QueryResponseTest
>
> :     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.316 sec
>
>  This test seems to have been failing consistently in the nightly build
>  since March 18th which is when the test was added (new Date Faceting
>  code)...

The thing that jumped out at me is that it's using new annotations...
I bet the version of junit in ant is out of date on the zone.

I just logged in, and it seems to confirm this:
  <testcase classname="junit.framework.TestSuite$1" name="warning" time="0.01">
    <failure message="No tests found in org.apache.solr.client.solrj.response.Qu
eryResponseTest" type="junit.framework.AssertionFailedError">junit.framework.Ass
ertionFailedError: No tests found in org.apache.solr.client.solrj.response.Query
ResponseTest

I'll look into updating.

-Yonik
Reply | Threaded
Open this post in threaded view
|

Re: Solr nightly build failure

Yonik Seeley-2
I updated to junit4.4 and kicked off the nightly build manually.
We'll see if it fixes things.

-Yonik