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
    [mkdir] Created dir: /tmp/apache-solr-nightly/build/web

compile-solrj:
    [mkdir] Created dir: /tmp/apache-solr-nightly/build/solrj
    [javac] Compiling 74 source files to /tmp/apache-solr-nightly/build/solrj
    [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:
    [mkdir] Created dir: /tmp/apache-solr-nightly/build/solr
    [javac] Compiling 361 source files to /tmp/apache-solr-nightly/build/solr
    [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.

compileTests:
    [mkdir] Created dir: /tmp/apache-solr-nightly/build/tests
    [javac] Compiling 143 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: 19, Failures: 0, Errors: 0, Time elapsed: 28.74 sec
    [junit] Running org.apache.solr.ConvertedLegacyTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 12.272 sec
    [junit] Running org.apache.solr.DisMaxRequestHandlerTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 5.945 sec
    [junit] Running org.apache.solr.EchoParamsTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.603 sec
    [junit] Running org.apache.solr.OutputWriterTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 3.534 sec
    [junit] Running org.apache.solr.SampleTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.984 sec
    [junit] Running org.apache.solr.SolrInfoMBeanTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.051 sec
    [junit] Running org.apache.solr.TestDistributedSearch
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 28.536 sec
    [junit] Running org.apache.solr.TestTrie
    [junit] <response>
    [junit] <lst name="responseHeader"><int name="status">0</int><int name="QTime">2</int></lst><result name="response" numFound="6" start="0"><doc><float name="id">0.0</float><date name="tdate">2009-03-14T00:00:00Z</date></doc><doc><float name="id">1.0</float><date name="tdate">2009-03-15T00:00:00Z</date></doc><doc><float name="id">2.0</float><date name="tdate">2009-03-16T00:00:00Z</date></doc><doc><float name="id">3.0</float><date name="tdate">2009-03-17T00:00:00Z</date></doc><doc><float name="id">4.0</float><date name="tdate">2009-03-18T00:00:00Z</date></doc><doc><float name="id">5.0</float><date name="tdate">2009-03-19T00:00:00Z</date></doc></result>
    [junit] </response>
    [junit] )
    [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 7.421 sec
    [junit] Test org.apache.solr.TestTrie FAILED
    [junit] Running org.apache.solr.analysis.DoubleMetaphoneFilterFactoryTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.547 sec
    [junit] Running org.apache.solr.analysis.DoubleMetaphoneFilterTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.529 sec
    [junit] Running org.apache.solr.analysis.EnglishPorterFilterFactoryTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.935 sec
    [junit] Running org.apache.solr.analysis.HTMLStripReaderTest
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 1.499 sec
    [junit] Running org.apache.solr.analysis.LengthFilterTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.37 sec
    [junit] Running org.apache.solr.analysis.SnowballPorterFilterFactoryTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.332 sec
    [junit] Running org.apache.solr.analysis.TestBufferedTokenStream
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.523 sec
    [junit] Running org.apache.solr.analysis.TestCapitalizationFilter
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.347 sec
    [junit] Running org.apache.solr.analysis.TestCharFilter
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.389 sec
    [junit] Running org.apache.solr.analysis.TestHyphenatedWordsFilter
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.996 sec
    [junit] Running org.apache.solr.analysis.TestKeepWordFilter
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.223 sec
    [junit] Running org.apache.solr.analysis.TestMappingCharFilter
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.425 sec
    [junit] Running org.apache.solr.analysis.TestMappingCharFilterFactory
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.454 sec
    [junit] Running org.apache.solr.analysis.TestPatternReplaceFilter
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.986 sec
    [junit] Running org.apache.solr.analysis.TestPatternTokenizerFactory
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.213 sec
    [junit] Running org.apache.solr.analysis.TestPhoneticFilter
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.744 sec
    [junit] Running org.apache.solr.analysis.TestRemoveDuplicatesTokenFilter
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.384 sec
    [junit] Running org.apache.solr.analysis.TestSynonymFilter
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 2.713 sec
    [junit] Running org.apache.solr.analysis.TestSynonymMap
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 2.022 sec
    [junit] Running org.apache.solr.analysis.TestTrimFilter
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.005 sec
    [junit] Running org.apache.solr.analysis.TestWordDelimiterFilter
    [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 16.49 sec
    [junit] Running org.apache.solr.client.solrj.SolrExceptionTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.779 sec
    [junit] Running org.apache.solr.client.solrj.SolrQueryTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.468 sec
    [junit] Running org.apache.solr.client.solrj.beans.TestDocumentObjectBinder
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.786 sec
    [junit] Running org.apache.solr.client.solrj.embedded.JettyWebappTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.122 sec
    [junit] Running org.apache.solr.client.solrj.embedded.LargeVolumeBinaryJettyTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.628 sec
    [junit] Running org.apache.solr.client.solrj.embedded.LargeVolumeEmbeddedTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.285 sec
    [junit] Running org.apache.solr.client.solrj.embedded.LargeVolumeJettyTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.122 sec
    [junit] Running org.apache.solr.client.solrj.embedded.MultiCoreEmbeddedTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.303 sec
    [junit] Running org.apache.solr.client.solrj.embedded.MultiCoreExampleJettyTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.233 sec
    [junit] Running org.apache.solr.client.solrj.embedded.SolrExampleEmbeddedTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 13.588 sec
    [junit] Running org.apache.solr.client.solrj.embedded.SolrExampleJettyTest
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 29.192 sec
    [junit] Running org.apache.solr.client.solrj.embedded.SolrExampleStreamingTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 25.336 sec
    [junit] Running org.apache.solr.client.solrj.embedded.TestSolrProperties
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.312 sec
    [junit] Running org.apache.solr.client.solrj.request.TestUpdateRequestCodec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.563 sec
    [junit] Running org.apache.solr.client.solrj.response.QueryResponseTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.703 sec
    [junit] Running org.apache.solr.client.solrj.response.TestSpellCheckResponse
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 9.886 sec
    [junit] Running org.apache.solr.client.solrj.util.ClientUtilsTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.497 sec
    [junit] Running org.apache.solr.common.SolrDocumentTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.52 sec
    [junit] Running org.apache.solr.common.params.ModifiableSolrParamsTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.549 sec
    [junit] Running org.apache.solr.common.params.SolrParamTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.478 sec
    [junit] Running org.apache.solr.common.util.ContentStreamTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.546 sec
    [junit] Running org.apache.solr.common.util.IteratorChainTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.447 sec
    [junit] Running org.apache.solr.common.util.NamedListTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.482 sec
    [junit] Running org.apache.solr.common.util.TestFastInputStream
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.67 sec
    [junit] Running org.apache.solr.common.util.TestHash
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.622 sec
    [junit] Running org.apache.solr.common.util.TestNamedListCodec
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.558 sec
    [junit] Running org.apache.solr.common.util.TestXMLEscaping
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.428 sec
    [junit] Running org.apache.solr.core.AlternateDirectoryTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.07 sec
    [junit] Running org.apache.solr.core.RequestHandlersTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.649 sec
    [junit] Running org.apache.solr.core.ResourceLoaderTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.497 sec
    [junit] Running org.apache.solr.core.SOLR749Test
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.986 sec
    [junit] Running org.apache.solr.core.SolrCoreTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 11.627 sec
    [junit] Running org.apache.solr.core.TestArbitraryIndexDir
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.441 sec
    [junit] Running org.apache.solr.core.TestBadConfig
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.205 sec
    [junit] Running org.apache.solr.core.TestConfig
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 6.304 sec
    [junit] Running org.apache.solr.core.TestJmxIntegration
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.002 sec
    [junit] Running org.apache.solr.core.TestJmxMonitoredMap
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.973 sec
    [junit] Running org.apache.solr.core.TestQuerySenderListener
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.612 sec
    [junit] Running org.apache.solr.core.TestSolrDeletionPolicy1
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 14.247 sec
    [junit] Running org.apache.solr.core.TestSolrDeletionPolicy2
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.34 sec
    [junit] Running org.apache.solr.handler.AnalysisRequestHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.901 sec
    [junit] Running org.apache.solr.handler.MoreLikeThisHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.018 sec
    [junit] Running org.apache.solr.handler.SpellCheckerRequestHandlerTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 8.185 sec
    [junit] Running org.apache.solr.handler.StandardRequestHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.348 sec
    [junit] Running org.apache.solr.handler.TestCSVLoader
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 7.995 sec
    [junit] Running org.apache.solr.handler.TestReplicationHandler
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 59.406 sec
    [junit] Running org.apache.solr.handler.XmlUpdateRequestHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.402 sec
    [junit] Running org.apache.solr.handler.admin.SystemInfoHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.509 sec
    [junit] Running org.apache.solr.handler.component.QueryElevationComponentTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 4.945 sec
    [junit] Running org.apache.solr.handler.component.SearchHandlerTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.378 sec
    [junit] Running org.apache.solr.handler.component.SpellCheckComponentTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 12.475 sec
    [junit] Running org.apache.solr.handler.component.TermVectorComponentTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 7.649 sec
    [junit] Running org.apache.solr.handler.component.TermsComponentTest
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 14.694 sec
    [junit] Running org.apache.solr.highlight.HighlighterConfigTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.46 sec
    [junit] Running org.apache.solr.highlight.HighlighterTest
    [junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed: 25.51 sec
    [junit] Running org.apache.solr.request.JSONWriterTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 5.278 sec
    [junit] Running org.apache.solr.request.SimpleFacetsLegacySortTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.285 sec
    [junit] Running org.apache.solr.request.SimpleFacetsTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 11.857 sec
    [junit] Running org.apache.solr.request.TestBinaryResponseWriter
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.892 sec
    [junit] Running org.apache.solr.request.TestFaceting
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 12.548 sec
    [junit] Running org.apache.solr.request.TestWriterPerf
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.805 sec
    [junit] Running org.apache.solr.schema.BadIndexSchemaTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.906 sec
    [junit] Running org.apache.solr.schema.CopyFieldTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 6.512 sec
    [junit] Running org.apache.solr.schema.DateFieldTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.417 sec
    [junit] Running org.apache.solr.schema.IndexSchemaTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 4.965 sec
    [junit] Running org.apache.solr.schema.LegacyDateFieldTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.394 sec
    [junit] Running org.apache.solr.schema.NotRequiredUniqueKeyTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.813 sec
    [junit] Running org.apache.solr.schema.RequiredFieldsTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 4.943 sec
    [junit] Running org.apache.solr.schema.UUIDFieldTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.626 sec
    [junit] Running org.apache.solr.search.TestDocSet
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.869 sec
    [junit] Running org.apache.solr.search.TestFastLRUCache
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.382 sec
    [junit] Running org.apache.solr.search.TestQueryTypes
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.641 sec
    [junit] Running org.apache.solr.search.TestQueryUtils
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.148 sec
    [junit] Running org.apache.solr.search.function.TestFunctionQuery
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 4.715 sec
    [junit] Running org.apache.solr.servlet.CacheHeaderTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 11.244 sec
    [junit] Running org.apache.solr.servlet.DirectSolrConnectionTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.574 sec
    [junit] Running org.apache.solr.servlet.NoCacheHeaderTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 9.273 sec
    [junit] Running org.apache.solr.servlet.SolrRequestParserTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.851 sec
    [junit] Running org.apache.solr.spelling.FileBasedSpellCheckerTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 5.658 sec
    [junit] Running org.apache.solr.spelling.IndexBasedSpellCheckerTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.577 sec
    [junit] Running org.apache.solr.spelling.SpellingQueryConverterTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.394 sec
    [junit] Running org.apache.solr.update.AutoCommitTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.223 sec
    [junit] Running org.apache.solr.update.DirectUpdateHandlerOptimizeTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.227 sec
    [junit] Running org.apache.solr.update.DirectUpdateHandlerTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 7.654 sec
    [junit] Running org.apache.solr.update.DocumentBuilderTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 4.127 sec
    [junit] Running org.apache.solr.update.processor.SignatureUpdateProcessorFactoryTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.926 sec
    [junit] Running org.apache.solr.update.processor.UpdateRequestProcessorFactoryTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.408 sec
    [junit] Running org.apache.solr.util.ArraysUtilsTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.367 sec
    [junit] Running org.apache.solr.util.DateMathParserTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.59 sec
    [junit] Running org.apache.solr.util.SolrPluginUtilsTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 7.658 sec
    [junit] Running org.apache.solr.util.TestCharArrayMap
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.575 sec
    [junit] Running org.apache.solr.util.TestNumberUtils
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.497 sec
    [junit] Running org.apache.solr.util.TestOpenBitSet
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.352 sec
    [junit] Running org.apache.solr.util.TestUtils
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.436 sec

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

Total time: 13 minutes 43 seconds


Reply | Threaded
Open this post in threaded view
|

Re: Solr nightly build failure

Shalin Shekhar Mangar
On Sat, Mar 14, 2009 at 1:49 PM, <[hidden email]> wrote:

>
>    [junit] Running org.apache.solr.TestTrie
>    [junit] <response>
>    [junit] <lst name="responseHeader"><int name="status">0</int><int
> name="QTime">2</int></lst><result name="response" numFound="6"
> start="0"><doc><float name="id">0.0</float><date
> name="tdate">2009-03-14T00:00:00Z</date></doc><doc><float
> name="id">1.0</float><date
> name="tdate">2009-03-15T00:00:00Z</date></doc><doc><float
> name="id">2.0</float><date
> name="tdate">2009-03-16T00:00:00Z</date></doc><doc><float
> name="id">3.0</float><date
> name="tdate">2009-03-17T00:00:00Z</date></doc><doc><float
> name="id">4.0</float><date
> name="tdate">2009-03-18T00:00:00Z</date></doc><doc><float
> name="id">5.0</float><date
> name="tdate">2009-03-19T00:00:00Z</date></doc></result>
>    [junit] </response>
>    [junit] )
>    [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 7.421 sec
>    [junit] Test org.apache.solr.TestTrie FAILED
>

Is anybody else seeing this test fail on their local box? It passes on my
box.

In case anybody is curious, I'm indexing 10 dates (NOW/DAY to NOW/DAY+9
DAYS) and querying for tdate:[NOW/DAY TO NOW/DAY+5DAYS]. The bounds are
supposed to inclusive so it should give 6 results. But I get only 5 on my
local box but the hudson build returns 6. I'm not able to explain it.

Here's the code for indexing:

SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
    assertU(delQ("*:*"));
    DateMathParser dmp = new DateMathParser(DateField.UTC, Locale.US);
    for (int i = 0; i < 10; i++) {
      // index 10 days starting with today
      assertU(adoc("id", String.valueOf(i), "tdate", format.format(i == 0 ?
dmp.parseMath("/DAY") : dmp.parseMath("/DAY+" + i + "DAYS"))));
    }
    assertU(commit());

Here's the test:
req = req("q", "*:*", "fq", "tdate:[NOW/DAY TO NOW/DAY+5DAYS]");
assertQ("Range filter must match only 5 documents", req,
"//*[@numFound='5']");

--
Regards,
Shalin Shekhar Mangar.
Reply | Threaded
Open this post in threaded view
|

Re: Solr nightly build failure

Yonik Seeley-2-2
Fixed.
SimpleDateFormat needed it's timezone set to UTC in the test (it was
formatting in local time and sticking on a 'Z').


-Yonik
http://www.lucidimagination.com


On Sun, Mar 15, 2009 at 3:32 AM, Shalin Shekhar Mangar
<[hidden email]> wrote:

> On Sat, Mar 14, 2009 at 1:49 PM, <[hidden email]> wrote:
>
>>
>>    [junit] Running org.apache.solr.TestTrie
>>    [junit] <response>
>>    [junit] <lst name="responseHeader"><int name="status">0</int><int
>> name="QTime">2</int></lst><result name="response" numFound="6"
>> start="0"><doc><float name="id">0.0</float><date
>> name="tdate">2009-03-14T00:00:00Z</date></doc><doc><float
>> name="id">1.0</float><date
>> name="tdate">2009-03-15T00:00:00Z</date></doc><doc><float
>> name="id">2.0</float><date
>> name="tdate">2009-03-16T00:00:00Z</date></doc><doc><float
>> name="id">3.0</float><date
>> name="tdate">2009-03-17T00:00:00Z</date></doc><doc><float
>> name="id">4.0</float><date
>> name="tdate">2009-03-18T00:00:00Z</date></doc><doc><float
>> name="id">5.0</float><date
>> name="tdate">2009-03-19T00:00:00Z</date></doc></result>
>>    [junit] </response>
>>    [junit] )
>>    [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 7.421 sec
>>    [junit] Test org.apache.solr.TestTrie FAILED
>>
>
> Is anybody else seeing this test fail on their local box? It passes on my
> box.
>
> In case anybody is curious, I'm indexing 10 dates (NOW/DAY to NOW/DAY+9
> DAYS) and querying for tdate:[NOW/DAY TO NOW/DAY+5DAYS]. The bounds are
> supposed to inclusive so it should give 6 results. But I get only 5 on my
> local box but the hudson build returns 6. I'm not able to explain it.
>
> Here's the code for indexing:
>
> SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
>    assertU(delQ("*:*"));
>    DateMathParser dmp = new DateMathParser(DateField.UTC, Locale.US);
>    for (int i = 0; i < 10; i++) {
>      // index 10 days starting with today
>      assertU(adoc("id", String.valueOf(i), "tdate", format.format(i == 0 ?
> dmp.parseMath("/DAY") : dmp.parseMath("/DAY+" + i + "DAYS"))));
>    }
>    assertU(commit());
>
> Here's the test:
> req = req("q", "*:*", "fq", "tdate:[NOW/DAY TO NOW/DAY+5DAYS]");
> assertQ("Range filter must match only 5 documents", req,
> "//*[@numFound='5']");
>
> --
> Regards,
> Shalin Shekhar Mangar.
>
Reply | Threaded
Open this post in threaded view
|

Re: Solr nightly build failure

Shalin Shekhar Mangar
On Sun, Mar 15, 2009 at 8:25 PM, Yonik Seeley <[hidden email]>wrote:

> Fixed.
> SimpleDateFormat needed it's timezone set to UTC in the test (it was
> formatting in local time and sticking on a 'Z').
>
>
Thanks Yonik!

--
Regards,
Shalin Shekhar Mangar.