On Jun 20, 2007, at 12:07 AM, Doğacan Güney wrote: > On 6/20/07, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: >> See http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ >> 123/changes >> >> ------------------------------------------ >> [...truncated 5950 lines...] >> >> init-plugin: >> >> deps-jar: >> >> compile: >> [echo] Compiling plugin: lib-regex-filter >> >> jar: >> >> init: >> >> init-plugin: >> >> deps-jar: >> >> compile: >> [echo] Compiling plugin: lib-regex-filter >> >> compile-test: >> >> compile: >> [echo] Compiling plugin: urlfilter-automaton >> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: >> 1.585 sec >> Overriding previous definition of reference to plugin.deps >> >> init: >> Overriding previous definition of reference to plugin.deps >> >> init-plugin: >> >> deps-jar: >> >> init: >> >> init-plugin: >> >> deps-jar: >> >> compile: >> [echo] Compiling plugin: lib-regex-filter >> >> jar: >> >> init: >> >> init-plugin: >> >> deps-jar: >> >> compile: >> [echo] Compiling plugin: lib-regex-filter >> >> compile-test: >> >> compile: >> [echo] Compiling plugin: urlfilter-regex >> >> compile-test: >> >> compile-test: >> [javac] Compiling 1 source file to http:// >> lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/ >> build/urlfilter-automaton/test >> [javac] Compiling 1 source file to http:// >> lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/ >> build/urlfilter-regex/test >> >> jar: >> >> deps-test: >> >> init: >> >> init-plugin: >> >> deps-jar: >> >> compile: >> [echo] Compiling plugin: lib-regex-filter >> >> jar: >> >> jar: >> >> deps-test: >> >> deps-test: >> >> deploy: >> >> init: >> >> copy-generated-lib: >> >> deploy: >> >> init-plugin: >> >> deps-jar: >> >> compile: >> [echo] Compiling plugin: lib-regex-filter >> Overriding previous definition of reference to plugin.deps >> >> jar: >> >> copy-generated-lib: >> >> deps-test: >> >> deploy: >> >> test: >> [echo] Testing plugin: urlfilter-automaton >> [junit] Running >> org.apache.nutch.urlfilter.automaton.TestAutomatonURLFilter >> >> copy-generated-lib: >> >> deploy: >> Overriding previous definition of reference to plugin.deps >> >> copy-generated-lib: >> >> test: >> [echo] Testing plugin: urlfilter-regex >> [junit] Running >> org.apache.nutch.urlfilter.regex.TestRegexURLFilter >> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: >> 2.812 sec >> >> init: >> >> init-plugin: >> >> deps-jar: >> >> compile: >> [echo] Compiling plugin: urlfilter-suffix >> >> compile-test: >> [javac] Compiling 1 source file to http:// >> lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/ >> build/urlfilter-suffix/test >> >> jar: >> >> deps-test: >> >> deploy: >> >> copy-generated-lib: >> >> test: >> [echo] Testing plugin: urlfilter-suffix >> [junit] Running >> org.apache.nutch.urlfilter.suffix.TestSuffixURLFilter >> [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: >> 0.174 sec >> >> init: >> >> init-plugin: >> >> deps-jar: >> >> compile: >> [echo] Compiling plugin: urlnormalizer-basic >> >> compile-test: >> [javac] Compiling 1 source file to http:// >> lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/ >> build/urlnormalizer-basic/test >> >> jar: >> >> deps-test: >> >> deploy: >> >> copy-generated-lib: >> >> test: >> [echo] Testing plugin: urlnormalizer-basic >> [junit] Running >> org.apache.nutch.net.urlnormalizer.basic.TestBasicURLNormalizer >> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: >> 0.024 sec >> >> init: >> >> init-plugin: >> >> deps-jar: >> >> compile: >> [echo] Compiling plugin: urlnormalizer-pass >> >> compile-test: >> [javac] Compiling 1 source file to http:// >> lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/ >> build/urlnormalizer-pass/test >> >> jar: >> >> deps-test: >> >> deploy: >> >> copy-generated-lib: >> >> test: >> [echo] Testing plugin: urlnormalizer-pass >> [junit] Running >> org.apache.nutch.net.urlnormalizer.pass.TestPassURLNormalizer >> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: >> 0.15 sec >> >> init: >> >> init-plugin: >> >> deps-jar: >> >> compile: >> [echo] Compiling plugin: urlnormalizer-regex >> >> compile-test: >> [javac] Compiling 1 source file to http:// >> lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/trunk/ >> build/urlnormalizer-regex/test >> [javac] Note: http://lucene.zones.apache.org:8080/hudson/job/ >> Nutch-Nightly/ws/trunk/src/plugin/urlnormalizer-regex/src/test/org/ >> apache/nutch/net/urlnormalizer/regex/TestRegexURLNormalizer.java >> uses unchecked or unsafe operations. >> [javac] Note: Recompile with -Xlint:unchecked for details. >> >> jar: >> >> deps-test: >> >> init: >> >> init-plugin: >> >> compile: >> >> jar: >> >> deps-test: >> >> deploy: >> >> copy-generated-lib: >> >> deploy: >> >> copy-generated-lib: >> >> test: >> [echo] Testing plugin: urlnormalizer-regex >> [junit] Running >> org.apache.nutch.net.urlnormalizer.regex.TestRegexURLNormalizer >> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: >> 0.016 sec >> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: >> 7.454 sec >> >> BUILD FAILED >> http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/ >> trunk/build.xml :302: The following error occurred while executing >> this line: >> http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/ >> trunk/src/plugin/build.xml :98: The following error occurred while >> executing this line: >> http://lucene.zones.apache.org:8080/hudson/job/Nutch-Nightly/ws/ >> trunk/src/plugin/build-plugin.xml :200: Tests failed! >> >> Total time: 4 minutes 23 seconds >> Publishing Javadoc >> Recording test results >> >> > > This is rather strange. Here is part of the console output: > > test: > [echo] Testing plugin: parse-swf > [junit] Running org.apache.nutch.parse.swf.TestSWFParser > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: > 2.315 sec > [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: > 5.387 sec > > init: > [junit] Test org.apache.nutch.parse.feed.TestFeedParser FAILED > > > SWFParser fails one of the unit tests but the report says that > FeedParser has failed even though it has actually passed its test: > > test: > [echo] Testing plugin: feed > [junit] Running org.apache.nutch.parse.feed.TestFeedParser > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: > 1.304 sec > > > -- > Doğacan Güney
So ant knows that this test failed which is why the build fails. Hudson then gathers the xml test output files and produces the test report. Either this test isn't generating xml or the xml output is not in the place that Hudson was told about (trunk/build/test/*.xml). Let me know if you need me to a) configure a new ant option/target so the test generates xml b) a new path added to the place Hudson looks for test xml files. Cheers, Nige ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nutch-developers mailing list Nutch-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nutch-developers