lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Hudson Server <hud...@hudson.apache.org>
Subject Build failed in Hudson: Solr-3.x #140
Date Tue, 19 Oct 2010 06:08:28 GMT
See <https://hudson.apache.org/hudson/job/Solr-3.x/140/changes>

Changes:

[uschindler] merge from trunk: fix last commit

[uschindler] merge from trunk:
Reenable the test: The bug was that all classes (even test classes) were handled as SolrInfoMBeans,
so the test loaded all classes. Some tests initialized statics at the wrong time. This patch
adds a check, that only build/solr classes are loaded by classloader.
If there are still problems, we may have solr core classes, that initialize statics in a wrong
way. In this case we have to fix those, these are real bugs!

[ab] SOLR-2157 Suggester should return alpha-sorted results when onlyMorePopular=false.

[mikemccand] LUCENE-2711: also use bulk sub-scorer API in BooleanScorer.nextDoc

------------------------------------------
[...truncated 16408 lines...]
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:778)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:744)
    [junit] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    [junit] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    [junit] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
    [junit] Caused by: java.lang.RuntimeException: com.ctc.wstx.exc.WstxParsingException:
Unexpected close tag </id>; expected </node>.
    [junit]  at [row,col {unknown-source}]: [11,18]
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader.streamRecords(XPathRecordReader.java:181)
    [junit] 	at org.apache.solr.handler.dataimport.XPathEntityProcessor.initQuery(XPathEntityProcessor.java:295)
    [junit] 	... 41 more
    [junit] Caused by: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </id>;
expected </node>.
    [junit]  at [row,col {unknown-source}]: [11,18]
    [junit] 	at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:630)
    [junit] 	at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461)
    [junit] 	at com.ctc.wstx.sr.BasicStreamReader.reportWrongEndElem(BasicStreamReader.java:3258)
    [junit] 	at com.ctc.wstx.sr.BasicStreamReader.readEndElem(BasicStreamReader.java:3200)
    [junit] 	at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2832)
    [junit] 	at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.parse(XPathRecordReader.java:275)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.handleStartElement(XPathRecordReader.java:340)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.parse(XPathRecordReader.java:304)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.handleStartElement(XPathRecordReader.java:340)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.parse(XPathRecordReader.java:304)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader$Node.access$200(XPathRecordReader.java:196)
    [junit] 	at org.apache.solr.handler.dataimport.XPathRecordReader.streamRecords(XPathRecordReader.java:178)
    [junit] 	... 42 more
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestEvaluatorBag
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.024 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: Ignoring test method 'testGetDateFormatEvaluator': Known Locale/TZ problems:
see https://issues.apache.org/jira/browse/SOLR-1916
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestFieldReader
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.022 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestFileListEntityProcessor
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.026 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: Ignoring test method 'testNTOT': Known Locale/TZ problems: see https://issues.apache.org/jira/browse/SOLR-1916
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestJdbcDataSource
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.08 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: Ignoring test method 'testBasic': Needs a Mock database server to work
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestLineEntityProcessor
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.03 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestNumberFormatTransformer
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.038 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestPlainTextEntityProcessor
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.046 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestRegexTransformer
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.017 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestScriptTransformer
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.477 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessor
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.017 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessor2
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.921 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: Ignoring test method 'testLastIndexTime': Known Locale/TZ problems: see
https://issues.apache.org/jira/browse/SOLR-1916
    [junit] 19/10/2010 02:03:49 ? org.apache.solr.handler.dataimport.JdbcDataSource finalize
    [junit] SEVERE: JdbcDataSource was not closed prior to finalize(), indicates a bug --
POSSIBLE RESOURCE LEAK!!!
    [junit] 19/10/2010 02:03:49 ? org.apache.solr.handler.dataimport.JdbcDataSource finalize
    [junit] SEVERE: JdbcDataSource was not closed prior to finalize(), indicates a bug --
POSSIBLE RESOURCE LEAK!!!
    [junit] 19/10/2010 02:03:49 ? org.apache.solr.handler.dataimport.JdbcDataSource finalize
    [junit] SEVERE: JdbcDataSource was not closed prior to finalize(), indicates a bug --
POSSIBLE RESOURCE LEAK!!!
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.534 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta2
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 2.656 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestTemplateString
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.127 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestTemplateTransformer
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.03 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestThreaded
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.476 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestURLDataSource
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.008 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestVariableResolver
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.02 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestXPathEntityProcessor
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.561 sec
    [junit] 
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestXPathRecordReader
    [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 0.052 sec
    [junit] 

compileExtras:

compileExtrasTests:
    [mkdir] Created dir: /usr<https://hudson.apache.org/hudson/job/Solr-3.x/ws/checkout/solr/contrib/dataimporthandler/target/extras/test-classes>
    [javac] Compiling 2 source files to /usr<https://hudson.apache.org/hudson/job/Solr-3.x/ws/checkout/solr/contrib/dataimporthandler/target/extras/test-classes>
    [javac] warning: [path] bad path element "/home/hudson/.ant/lib/xbean.jar": no such file
or directory
    [javac] 1 warning

testExtras:
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestMailEntityProcessor
    [junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.418 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: Ignoring test method 'testConnection': Needs a Mock Mail Server to work
    [junit] NOTE: Ignoring test method 'testRecursion': Needs a Mock Mail Server to work
    [junit] NOTE: Ignoring test method 'testExclude': Needs a Mock Mail Server to work
    [junit] NOTE: Ignoring test method 'testInclude': Needs a Mock Mail Server to work
    [junit] NOTE: Ignoring test method 'testIncludeAndExclude': Needs a Mock Mail Server to
work
    [junit] NOTE: Ignoring test method 'testFetchTimeSince': Needs a Mock Mail Server to work
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.handler.dataimport.TestTikaEntityProcessor
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.184 sec
    [junit] 

test:

init:

init-forrest-entities:

compile-lucene:

compile-solrj:

compile:
    [javac] Compiling 3 source files to /usr<https://hudson.apache.org/hudson/job/Solr-3.x/ws/checkout/solr/build/solr>
    [javac] warning: [path] bad path element "/home/hudson/.ant/lib/xbean.jar": no such file
or directory
    [javac] 1 warning

make-manifest:

compile:

compileTests:
    [mkdir] Created dir: /usr<https://hudson.apache.org/hudson/job/Solr-3.x/ws/checkout/solr/contrib/extraction/build/test-classes>
    [javac] Compiling 1 source file to /usr<https://hudson.apache.org/hudson/job/Solr-3.x/ws/checkout/solr/contrib/extraction/build/test-classes>
    [javac] warning: [path] bad path element "/home/hudson/.ant/lib/xbean.jar": no such file
or directory
    [javac] 1 warning

test:
    [junit] Testsuite: org.apache.solr.handler.ExtractingRequestHandlerTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.6 sec
    [junit] 

test:

clover.check:

clover.setup:
[clover-setup] Clover Version 2.6.3, built on November 20 2009 (build-778)
[clover-setup] Loaded from: /home/hudson/tools/clover/clover2latest/clover-2.6.3.jar
[clover-setup] Clover: Open Source License registered to Apache.
[clover-setup] Clover is enabled with initstring '/usr<https://hudson.apache.org/hudson/job/Solr-3.x/ws/checkout/solr/build/tests/clover/db/solr_coverage.db'>

clover.info:

clover:

generate-clover-reports:
    [mkdir] Created dir: /usr<https://hudson.apache.org/hudson/job/Solr-3.x/ws/checkout/solr/build/tests/clover/reports>
[clover-report] Clover Version 2.6.3, built on November 20 2009 (build-778)
[clover-report] Loaded from: /home/hudson/tools/clover/clover2latest/clover-2.6.3.jar
[clover-report] Clover: Open Source License registered to Apache.
[clover-report] Loading coverage database from: '/usr<https://hudson.apache.org/hudson/job/Solr-3.x/ws/checkout/solr/build/tests/clover/db/solr_coverage.db'>
[clover-report] Loading coverage database from: '/usr<https://hudson.apache.org/hudson/job/Solr-3.x/ws/checkout/solr/build/tests/clover/db/solr_coverage.db'>
[clover-report] Writing report to '/usr<https://hudson.apache.org/hudson/job/Solr-3.x/ws/checkout/solr/build/tests/clover/reports/clover.xml'>
[clover-report] Writing HTML report to '/usr<https://hudson.apache.org/hudson/job/Solr-3.x/ws/checkout/solr/build/tests/clover/reports'>
[clover-report] Done. Processed 36 packages in 11583ms (321ms per package).

BUILD SUCCESSFUL
Total time: 9 minutes 18 seconds
[TASKS] Scanning workspace files for tasks...
Publishing Javadoc
Archiving artifacts
Recording test results
Publishing Clover coverage report...
Publishing Clover HTML report...
Publishing Clover XML report...
Publishing Clover coverage results...
FATAL: Unable to copy coverage from <https://hudson.apache.org/hudson/job/Solr-3.x/ws/checkout/solr/build/tests/clover/reports>
to /home/hudson/hudson/jobs/Solr-3.x/builds/2010-10-19_05-18-14
hudson.util.IOException2: Cannot parse coverage results
	at hudson.plugins.clover.CloverCoverageParser.parse(CloverCoverageParser.java:89)
	at hudson.plugins.clover.CloverCoverageParser.parse(CloverCoverageParser.java:51)
	at hudson.plugins.clover.CloverPublisher.processCloverXml(CloverPublisher.java:202)
	at hudson.plugins.clover.CloverPublisher.perform(CloverPublisher.java:163)
	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
	at hudson.model.Build$RunnerImpl.post2(Build.java:157)
	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
	at hudson.model.Run.run(Run.java:1303)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:140)
Caused by: org.xml.sax.SAXParseException: XML document structures must start and end within
the same entity.
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
	at org.apache.commons.digester.Digester.parse(Digester.java:1666)
	at hudson.plugins.clover.CloverCoverageParser.parse(CloverCoverageParser.java:87)
	... 13 more
ERROR: Publisher hudson.plugins.clover.CloverPublisher aborted due to exception
java.lang.NullPointerException
	at hudson.plugins.clover.CloverBuildAction.<init>(CloverBuildAction.java:133)
	at hudson.plugins.clover.CloverBuildAction.load(CloverBuildAction.java:265)
	at hudson.plugins.clover.CloverPublisher.processCloverXml(CloverPublisher.java:208)
	at hudson.plugins.clover.CloverPublisher.perform(CloverPublisher.java:163)
	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
	at hudson.model.Build$RunnerImpl.post2(Build.java:157)
	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
	at hudson.model.Run.run(Run.java:1303)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:140)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message