lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Build problems (sorry for the second double-post)
Date Mon, 01 Nov 2010 23:29:22 GMT
Uwe:
Thanks, I'll update the "how to contribute" page with your comments.

Robert:

I'm using ant. I could have been clearer about that. There is no mention of
maven at all on the "how to contribute" page, and I'm playing the
"naive user" role here because it's a natural role for me....

I've attached the test results for your perusal, we'll see if it comes
through, but here are the lines in isolation:


I couldn't find any convenient reproduce-with for a bunch of the ones that
involved failing to remove files, there were only a couple of

Not sure this one matters

    [junit] Testsuite:
org.apache.solr.client.solrj.response.TestSpellCheckResponse
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.346 sec
    [junit]

    [junit] ------------- Standard Error -----------------
    [junit] !!!! WARNING: best effort to remove
C:\apache_trunk\trunk\solr\build\test-results\temp\6\solrtest-TestSpellCheckResponse-1288644520922\spellchecker\_4.cfs
FAILED !!!!!
    [junit] !!!! WARNING: best effort to remove
C:\apache_trunk\trunk\solr\build\test-results\temp\6\solrtest-TestSpellCheckResponse-1288644520922\spellchecker
FAILED !!!!!
    [junit] !!!! WARNING: best effort to remove
C:\apache_trunk\trunk\solr\build\test-results\temp\6\solrtest-TestSpellCheckResponse-1288644520922
FAILED !!!!!
    [junit] ------------- ---------------- ---------------

*************************************
This looks more promising:
    [junit] Testsuite: org.apache.solr.cloud.CloudStateUpdateTest
    [junit] Testcase:
testCoreRegistration(org.apache.solr.cloud.CloudStateUpdateTest): FAILED
    [junit]
    [junit] junit.framework.AssertionFailedError:
    [junit] at
org.apache.solr.cloud.CloudStateUpdateTest.testCoreRegistration(CloudStateUpdateTest.java:170)
    [junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:878)
    [junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:844)
    [junit]
    [junit]
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 18.658 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=CloudStateUpdateTest
-Dtestmethod=testCoreRegistration
-Dtests.seed=8414607260542763597:-837217266387524861
    [junit] NOTE: test params are: codec=Pulsing(freqCutoff=10),
locale=no_NO_NY, timezone=Europe/Berlin
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
NOTE: all tests run in this JVM:
    [junit] Testsuite: org.apache.solr.handler.TestCSVLoader
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.944 sec
    [junit]
    [junit] [OutputWriterTest, TestGroupingSearch,
SnowballPorterFilterFactoryTest, TestCJKTokenizerFactory,
TestFinnishLightStemFilterFactory, TestGreekStemFilterFactory,
TestLuceneMatchVersion, TestPhoneticFilterFactory,
TestRussianLightStemFilterFactory, TestThaiWordFilterFactory,
LargeVolumeBinaryJettyTest, SolrExampleStreamingTest,
TestSpellCheckResponse, CloudStateUpdateTest]
    [junit] ------------- ---------------- ---------------
    [junit] TEST org.apache.solr.cloud.CloudStateUpdateTest FAILED
    [junit]
******************


    [junit] Testsuite: org.apache.solr.velocity.VelocityResponseWriterTest
    [junit] Testcase:
testTemplateName(org.apache.solr.velocity.VelocityResponseWriterTest): Caused
an ERROR
    [junit] org.apache.log4j.Logger.setAdditivity(Z)V
    [junit] java.lang.NoSuchMethodError:
org.apache.log4j.Logger.setAdditivity(Z)V
    [junit] at
org.apache.velocity.runtime.log.Log4JLogChute.initAppender(Log4JLogChute.java:126)
    [junit] at
org.apache.velocity.runtime.log.Log4JLogChute.init(Log4JLogChute.java:85)
    [junit] at
org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:157)
    [junit] at
org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:255)
    [junit] at
org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:795)
    [junit] at
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:250)
    [junit] at
org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:107)
    [junit] at
org.apache.solr.response.VelocityResponseWriter.getEngine(VelocityResponseWriter.java:131)
    [junit] at
org.apache.solr.response.VelocityResponseWriter.write(VelocityResponseWriter.java:39)
    [junit] at
org.apache.solr.velocity.VelocityResponseWriterTest.testTemplateName(VelocityResponseWriterTest.java:22)
    [junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:878)
    [junit] at
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:844)
    [junit]
    [junit]
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.806 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] NOTE: reproduce with: ant test
-Dtestcase=VelocityResponseWriterTest -Dtestmethod=testTemplateName
-Dtests.seed=-7858291185417490026:1327292293616658865
    [junit] NOTE: test params are: codec=MockSep, locale=es_ES,
timezone=Europe/Madrid
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: all tests run in this JVM:
    [junit] [ConvertedLegacyTest, TestPluginEnable, TestArabicFilters,
TestCollationKeyFilterFactory, TestFrenchLightStemFilterFactory,
TestHindiFilters, TestMappingCharFilterFactory, TestPorterStemFilterFactory,
TestShingleFilterFactory, TestTrimFilterFactory, SolrExceptionTest,
LargeVolumeEmbeddedTest, TestSolrProperties, ZkControllerTest,
FileUtilsTest, TestArbitraryIndexDir, TestQuerySenderListener,
AnalysisRequestHandlerTest, TestCSVLoader, TermsComponentTest,
JSONWriterTest, CopyFieldTest, TestBinaryField, TestExtendedDismaxParser,
TestSolrQueryParser, FileBasedSpellCheckerTest,
UpdateRequestProcessorFactoryTest, VelocityResponseWriterTest]
    [junit] ------------- ---------------- ---------------

*********************************
    [junit]
    [junit] Testsuite: org.apache.solr.handler.TestReplicationHandler
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 46.863 sec
    [junit]
    [junit] ------------- Standard Error -----------------
    [junit] 01/11/2010 06:48:51 ? org.apache.solr.handler.SnapPuller
fetchLatestIndex
    [junit] SEVERE: Master at: http://localhost:51343/solr/replication is
not available. Index fetch failed. Exception: Connection refused: connect
    [junit] 01/11/2010 06:49:13 ? org.apache.solr.handler.SnapPuller
fetchLatestIndex
    [junit] SEVERE: Master at: http://localhost:51678/solr/replication is
not available. Index fetch failed. Exception: Connection refused: connect
    [junit] 01/11/2010 06:49:19 ? org.apache.solr.handler.SnapPuller
fetchLatestIndex
    [junit] SEVERE: Master at: http://localhost:51701/solr/replication is
not available. Index fetch failed. Exception: Connection refused: connect
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.schema.BadIndexSchemaTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.884 sec


*************************
    [junit] Testsuite: org.apache.solr.handler.component.DebugComponentTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.399 sec
    [junit]
    [junit] ------------- Standard Error -----------------
    [junit] 11-01-2010 06:49:21 PM org.apache.solr.handler.SnapPuller
fetchLatestIndex
    [junit] GRAVE: Master at: http://localhost:51763/solr/replication is not
available. Index fetch failed. Exception: Connection refused: connect
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.servlet.SolrRequestParserTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.205 sec
    [junit]

*******************
    [junit] Testsuite: org.apache.solr.spelling.SpellCheckCollatorTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.486 sec
    [junit]
    [junit] ------------- Standard Error -----------------
    [junit] !!!! WARNING: best effort to remove
C:\apache_trunk\trunk\solr\build\test-results\temp\1\solrtest-SpellCheckCollatorTest-1288644571796\spellchecker1\_1.cfs
FAILED !!!!!
    [junit] !!!! WARNING: best effort to remove
C:\apache_trunk\trunk\solr\build\test-results\temp\1\solrtest-SpellCheckCollatorTest-1288644571796\spellchecker1
FAILED !!!!!
    [junit] Testsuite: org.apache.solr.analysis.TestSynonymMap
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.066 sec
    [junit]
    [junit] !!!! WARNING: best effort to remove
C:\apache_trunk\trunk\solr\build\test-results\temp\1\solrtest-SpellCheckCollatorTest-1288644571796
FAILED !!!!!
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.util.DateMathParserTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.144 sec
*************************88
    [junit] Testsuite:
org.apache.solr.handler.component.SpellCheckComponentTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.623 sec
    [junit]
    [junit] ------------- Standard Error -----------------
    [junit] !!!! WARNING: best effort to remove
C:\apache_trunk\trunk\solr\build\test-results\temp\5\solrtest-SpellCheckComponentTest-1288644593607\spellchecker1\_4.cfs
FAILED !!!!!
    [junit] !!!! WARNING: best effort to remove
C:\apache_trunk\trunk\solr\build\test-results\temp\5\solrtest-SpellCheckComponentTest-1288644593607\spellchecker1
FAILED !!!!!
    [junit] !!!! WARNING: best effort to remove
C:\apache_trunk\trunk\solr\build\test-results\temp\5\solrtest-SpellCheckComponentTest-1288644593607
FAILED !!!!!
    [junit] ------------- ---------------- ---------------
    [junit] Testsuite: org.apache.solr.schema.PolyFieldTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.594 sec



Erick

On Mon, Nov 1, 2010 at 3:15 PM, Robert Muir <rcmuir@gmail.com> wrote:

> On Mon, Nov 1, 2010 at 1:13 PM, Erick Erickson <erickerickson@gmail.com>
> wrote:
> > Sorry, sent the original to the old dev list. Shows you how long it's
> been
> > since I originated a mail....
> > It's been several weeks since I built Solr, so I removed all the trunk
> code,
> > did a checkout and tried an ant build.  The build starts out by giving a
> > bunch of annoying warnings about not being able to find
> > c:\ant\lib\xbean.jar, xerxedImpl.jar, serializer.jar and others (Yes,
> some
> > of us are forever destined to work on windows boxes).
>
> these might be warnings somehow related to ant's classpath. i think i
> get these... what version of ant by the way?
>
> I'm also getting some
> > test failures....
>
> which ones? can you provide the information it gives you back,
> specifically the 'reproduce-with' command line?????
>
> > I know there have been eMails flying back and forth about Maven etc. but
> > haven't paid much attention.
>
> wait, are you using ant, or maven?!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

Mime
View raw message