lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: Build failed in Hudson: Solr-trunk #1204
Date Wed, 14 Jul 2010 11:45:57 GMT
looks like if this test (AutoCommitTest) runs on a slow computer, it can
commit before this assertion and fail:

    // Check it it is in the index
    assertQ("shouldn't find any", req("id:529") ,"//result[@numFound=0]" );

anyone have ideas how to make this one more robust?

On Wed, Jul 14, 2010 at 6:48 AM, Apache Hudson Server <
hudson@hudson.zones.apache.org> wrote:

> See <http://hudson.zones.apache.org/hudson/job/Solr-trunk/1204/changes>
>
> Changes:
>
> [rmuir] quiet this loud test
>
> [rmuir] fix this assertion, so the test isnt sensitive to the speed of your
> computer
>
> [rmuir] speed up test
>
> [rmuir] speed up test
>
> [rmuir] SOLR-2002: make AbstractSolrTestCase extend LuceneTestCase
>
> [mikemccand] LUCENE-2536: fix IW.rollback to not apply buffered deletes
> against flushed segments
>
> [mikemccand] LUCENE-2130: fix performance issue with MultiTermEnum.seek
> when you seek just a bit ahead on each call (which AutomatonFuzzyTermsEnum
> does)
>
> [rmuir] LUCENE-2532: randomize IndexWriter settings in search tests
>
> [mikemccand] LUCENE-2531: fix string sort to only compare-by-value when
> necessary
>
> [mikemccand] LUCENE-2534: fix over-sharing bug in
> MultiTerms/Docs/AndPositionsEnum
>
> [mikemccand] LUCENE-2533: don't return dup Strings from
> FileSwitchDir.listAll
>
> [mikemccand] some corrections for flex migration, thanks to Andi Vajda
>
> ------------------------------------------
> [...truncated 10250 lines...]
>    [junit] SEVERE: Master at: http://localhost:59772/solr/replication is
> not available. Index fetch failed. Exception: Connection refused
>    [junit] Jul 14, 2010 10:27:41 AM org.apache.solr.handler.SnapPuller
> fetchLatestIndex
>    [junit] SEVERE: Master at: http://localhost:TEST_PORT/solr/replication
> is not available. Index fetch failed. Exception: Invalid uri
> 'http://localhost:TEST_PORT/solr/replication': invalid port number
>    [junit] Jul 14, 2010 10:27:42 AM org.apache.solr.handler.SnapPuller
> fetchLatestIndex
>    [junit] SEVERE: Master at: http://localhost:59772/solr/replication is
> not available. Index fetch failed. Exception: Connection refused
>    [junit] Jul 14, 2010 10:27:42 AM org.apache.solr.handler.SnapPuller
> fetchLatestIndex
>    [junit] SEVERE: Master at: http://localhost:TEST_PORT/solr/replication
> is not available. Index fetch failed. Exception: Invalid uri
> 'http://localhost:TEST_PORT/solr/replication': invalid port number
>    [junit] Jul 14, 2010 10:27:43 AM org.apache.solr.handler.SnapPuller
> fetchLatestIndex
>    [junit] SEVERE: Master at: http://localhost:59772/solr/replication is
> not available. Index fetch failed. Exception: Connection refused
>    [junit] Jul 14, 2010 10:27:43 AM org.apache.solr.handler.SnapPuller
> fetchLatestIndex
>    [junit] SEVERE: Master at: http://localhost:TEST_PORT/solr/replication
> is not available. Index fetch failed. Exception: Invalid uri
> 'http://localhost:TEST_PORT/solr/replication': invalid port number
>    [junit] ------------- ---------------- ---------------
>    [junit] Testsuite: org.apache.solr.handler.XmlUpdateRequestHandlerTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10.695 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.handler.admin.LukeRequestHandlerTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.556 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.handler.admin.SystemInfoHandlerTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.783 sec
>    [junit]
>    [junit] Testsuite:
> org.apache.solr.handler.component.DistributedSpellCheckComponentTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 54.251 sec
>    [junit]
>    [junit] Testsuite:
> org.apache.solr.handler.component.DistributedTermsComponentTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 76.79 sec
>    [junit]
>    [junit] Testsuite:
> org.apache.solr.handler.component.QueryElevationComponentTest
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.375 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.handler.component.SearchHandlerTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.78 sec
>    [junit]
>    [junit] Testsuite:
> org.apache.solr.handler.component.SpellCheckComponentTest
>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 13.541 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.handler.component.StatsComponentTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 12.733 sec
>    [junit]
>    [junit] Testsuite:
> org.apache.solr.handler.component.TermVectorComponentTest
>    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 9.23 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.handler.component.TermsComponentTest
>    [junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 7.48 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.highlight.FastVectorHighlighterTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 10.564 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.highlight.HighlighterConfigTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 14.775 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.highlight.HighlighterTest
>    [junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 13.837 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.request.JSONWriterTest
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 9.434 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.request.SimpleFacetsLegacySortTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.942 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.request.SimpleFacetsTest
>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 24.789 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.request.TestBinaryResponseWriter
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 16.167 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.request.TestFaceting
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 50.05 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.request.TestWriterPerf
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.57 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.schema.BadIndexSchemaTest
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 6.559 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.schema.CopyFieldTest
>    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 5.49 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.schema.DateFieldTest
>    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.765 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.schema.IndexSchemaTest
>    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 7.211 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.schema.LegacyDateFieldTest
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.748 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.schema.NotRequiredUniqueKeyTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.083 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.schema.PolyFieldTest
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 16.537 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.schema.RequiredFieldsTest
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 24.58 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.schema.TestBinaryField
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10.687 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.schema.UUIDFieldTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.662 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.FunctionQParserTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.249 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.QueryParsingTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 19.945 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.SpatialFilterTest
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 8.041 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.TestDocSet
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 10.203 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.TestExtendedDismaxParser
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 19.647 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.TestFastLRUCache
>    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 3.281 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.TestIndexSearcher
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.741 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.TestLRUCache
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 2.048 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.TestQueryTypes
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.412 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.TestQueryUtils
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 17.213 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.TestRangeQuery
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 34.172 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.TestSearchPerf
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.525 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.TestSort
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 28.212 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.function.SortByFunctionTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10.997 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.search.function.TestFunctionQuery
>    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 17.889 sec
>    [junit]
>    [junit] Testsuite:
> org.apache.solr.search.function.distance.DistanceFunctionTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 12.716 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.servlet.CacheHeaderTest
>    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 17.178 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.servlet.DirectSolrConnectionTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.252 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.servlet.NoCacheHeaderTest
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 13.165 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.servlet.SolrRequestParserTest
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 15.547 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.spelling.FileBasedSpellCheckerTest
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 34.703 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.spelling.IndexBasedSpellCheckerTest
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.38 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.spelling.SpellingQueryConverterTest
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.586 sec
>    [junit]
>    [junit]  xml response was: <?xml version="1.0" encoding="UTF-8"?>
>    [junit] <response>
>    [junit] <lst name="responseHeader"><int name="status">0</int><int
> name="QTime">1301</int></lst><result name="response" numFound="1"
> start="0"><doc><arr name="field_t"><str>what's inside?</str></arr><int
> name="id">529</int><int name="intDefault">42</int><arr
> name="multiDefault"><str>muLti-Default</str></arr><arr
> name="subject"><str>info</str></arr><date
> name="timestamp">2010-07-14T10:43:32.29Z</date></doc></result>
>    [junit] </response>
>    [junit]
>    [junit]  request was: start=0&q=id:529&qt=standard&rows=20&version=2.2)
>    [junit] Testsuite: org.apache.solr.update.AutoCommitTest
>    [junit] Testcase: testMaxTime(org.apache.solr.update.AutoCommitTest):
>     FAILED
>    [junit] shouldn't find any query failed XPath: //result[@numFound=0]
>    [junit]  xml response was: <?xml version="1.0" encoding="UTF-8"?>
>    [junit] <response>
>    [junit] <lst name="responseHeader"><int name="status">0</int><int
> name="QTime">1301</int></lst><result name="response" numFound="1"
> start="0"><doc><arr name="field_t"><str>what's inside?</str></arr><int
> name="id">529</int><int name="intDefault">42</int><arr
> name="multiDefault"><str>muLti-Default</str></arr><arr
> name="subject"><str>info</str></arr><date
> name="timestamp">2010-07-14T10:43:32.29Z</date></doc></result>
>    [junit] </response>
>    [junit]
>    [junit]  request was: start=0&q=id:529&qt=standard&rows=20&version=2.2
>    [junit] junit.framework.AssertionFailedError: shouldn't find any query
> failed XPath: //result[@numFound=0]
>    [junit]  xml response was: <?xml version="1.0" encoding="UTF-8"?>
>    [junit] <response>
>    [junit] <lst name="responseHeader"><int name="status">0</int><int
> name="QTime">1301</int></lst><result name="response" numFound="1"
> start="0"><doc><arr name="field_t"><str>what's inside?</str></arr><int
> name="id">529</int><int name="intDefault">42</int><arr
> name="multiDefault"><str>muLti-Default</str></arr><arr
> name="subject"><str>info</str></arr><date
> name="timestamp">2010-07-14T10:43:32.29Z</date></doc></result>
>    [junit] </response>
>    [junit]
>    [junit]  request was: start=0&q=id:529&qt=standard&rows=20&version=2.2
>    [junit]     at
> org.apache.solr.util.AbstractSolrTestCase.assertQ(AbstractSolrTestCase.java:238)
>    [junit]     at
> org.apache.solr.update.AutoCommitTest.testMaxTime(AutoCommitTest.java:174)
>    [junit]     at
> org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:277)
>    [junit]
>    [junit]
>    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 22.752 sec
>    [junit]
>    [junit] Test org.apache.solr.update.AutoCommitTest FAILED
>    [junit] Testsuite:
> org.apache.solr.update.DirectUpdateHandlerOptimizeTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 12.555 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.update.DirectUpdateHandlerTest
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 28.411 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.update.DocumentBuilderTest
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 19.314 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.update.TestIndexingPerformance
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 12.667 sec
>    [junit]
>    [junit] Testsuite:
> org.apache.solr.update.processor.SignatureUpdateProcessorFactoryTest
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 19.805 sec
>    [junit]
>    [junit] Testsuite:
> org.apache.solr.update.processor.UpdateRequestProcessorFactoryTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.41 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.util.DateMathParserTest
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.542 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.util.SolrPluginUtilsTest
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 12.207 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.util.TestNumberUtils
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.038 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.util.TestOpenBitSet
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 4.355 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.util.TestUtils
>    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.929 sec
>    [junit]
>    [junit] Testsuite: org.apache.solr.velocity.VelocityResponseWriterTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.705 sec
>    [junit]
>
> BUILD FAILED
> <
> http://hudson.zones.apache.org/hudson/job/Solr-trunk/ws/trunk/solr/build.xml>:390:
> The following error occurred while executing this line:
> <
> http://hudson.zones.apache.org/hudson/job/Solr-trunk/ws/trunk/solr/build.xml>:477:
> Tests failed!
>
> Total time: 51 minutes 10 seconds
> [TASKS] Skipping publisher since build result is FAILURE
> Publishing Javadoc
> Archiving artifacts
> Recording test results
> Publishing Clover coverage report...
> No Clover report will be published due to a Build Failure
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>


-- 
Robert Muir
rcmuir@gmail.com

Mime
View raw message