I checked out revision 588274 of Nutch trunk. Entered the following
two commands only without making any changes to the trunk.

$ ant
$ ant test

The first command ran fine. But the second command ended with errors.

compile-test:
    [javac] Compiling 1 source file to
/trunk-work/build/urlnormalizer-regex/test
    [javac] Note:
/trunk-work/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:
      [jar] Warning: skipping jar archive
/trunk-work/build/nutch-extensionpoints/nutch-extensionpoints.jar
because no files were included.

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.037 sec
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 21.678 sec

BUILD FAILED
/trunk-work/build.xml:302: The following error occurred while
executing this line:
/trunk-work/src/plugin/build.xml:102: The following error occurred
while executing this line:
/trunk-work/src/plugin/build-plugin.xml:200: Tests failed!

Is this normal? Ideally all tests should pass. Shouldn't they?

Reply via email to