Note : the latest stable is 1215090 i.e. things started to get bad when
moving to hadoop 0.22 (rev 1220786).

On 4 January 2012 16:45, Julien Nioche <[email protected]>wrote:

> The problem is not with the urlfilter package as such but with the fact
> that the junit jar is removed from the lib dir before compiling the tests.
> This is due to the fact that the job task is called prior to executing the
> test and I assume that it deletes whatever specific to the test config had
> been added to the lib dir. The reason why we were not getting this before
> is that we were probably getting junit second hand from one of the
> dependencies that we've upgraded lately.
>
> Changing to
> *<dependency org="junit" name="junit" rev="3.8.1" conf="*->default" />*
> solves the compilation problem however which should address this issue in
> a cleaner way and make so that the dependencies are
>
> The main issue here however is that* there has been a number of things
> committed in recent weeks without running the tests first*. I really
> think this is bad practice. Doing the change above shows that test-core is
> still failing. It would be good if you and/or Lewis (as you are the latest
> persons to have committed stuff) could fix your recent commits ASAP so that
> the tests work as they used to. We can't afford to leave things broken and
> not even know what the issues are.
>
> Thanks
>
> Julien
>
>
>
> On 4 January 2012 10:11, Markus Jelsma <[email protected]> wrote:
>
>> No, but iirc it started to show up sometime after lewis was working on
>> removing logutil. I don't how they might have anything to do with
>> eachother
>> though.
>>
>> Also, noone has been working in the urlfilter package for a long time.
>>
>>
>>
>> On Wednesday 04 January 2012 10:52:08 Julien Nioche wrote:
>> > guys,
>> >
>> > any idea as to why this is not compiling anymore?
>> >
>> > J.
>> >
>> > On 4 January 2012 04:20, Apache Jenkins Server
>> <[email protected]>wrote:
>> > > See <https://builds.apache.org/job/Nutch-trunk/1714/>
>> > >
>> > > ------------------------------------------
>> > > [...truncated 2386 lines...]
>> > >
>> > > resolve-default:
>> > > [ivy:resolve] :: loading settings :: file =
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/ivy/ivysettings.xml
>> > >
>> > > compile:
>> > >     [echo] Compiling plugin: scoring-opic
>> > >
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/src/plugin/build-plugin.xml:117: warning: 'includeantruntime'
>> was
>> > > not set, defaulting to
>> > > build.sysclasspath=last; set to false for repeatable builds
>> > >
>> > >    [javac] Compiling 1 source file to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/scoring-opic/classes
>> > >
>> > > jar:
>> > >      [jar] Building jar:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/scoring-opic/scoring-opic.jar
>> > >
>> > > deps-test:
>> > >
>> > > init:
>> > >
>> > > init-plugin:
>> > >
>> > > clean-lib:
>> > >
>> > > resolve-default:
>> > > [ivy:resolve] :: loading settings :: file =
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/ivy/ivysettings.xml
>> > >
>> > > compile:
>> > >
>> > > jar:
>> > >
>> > > deps-test:
>> > >
>> > > deploy:
>> > >
>> > > copy-generated-lib:
>> > >
>> > > deploy:
>> > >     [copy] Copying 1 file to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/plugins/scoring-opic
>> > >
>> > > copy-generated-lib:
>> > >     [copy] Copying 1 file to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/plugins/scoring-opic
>> > >
>> > > init:
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/scoring-link
>> > >
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/scoring-link/classes
>> > >
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/scoring-link/test
>> > >
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/plugins/scoring-link
>> > >
>> > > init-plugin:
>> > >
>> > > deps-jar:
>> > >
>> > > clean-lib:
>> > >
>> > > resolve-default:
>> > > [ivy:resolve] :: loading settings :: file =
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/ivy/ivysettings.xml
>> > >
>> > > compile:
>> > >     [echo] Compiling plugin: scoring-link
>> > >
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/src/plugin/build-plugin.xml:117: warning: 'includeantruntime'
>> was
>> > > not set, defaulting to
>> > > build.sysclasspath=last; set to false for repeatable builds
>> > >
>> > >    [javac] Compiling 1 source file to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/scoring-link/classes
>> > >
>> > > jar:
>> > >      [jar] Building jar:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/scoring-link/scoring-link.jar
>> > >
>> > > deps-test:
>> > >
>> > > init:
>> > >
>> > > init-plugin:
>> > >
>> > > clean-lib:
>> > >
>> > > resolve-default:
>> > > [ivy:resolve] :: loading settings :: file =
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/ivy/ivysettings.xml
>> > >
>> > > compile:
>> > >
>> > > jar:
>> > >
>> > > deps-test:
>> > >
>> > > deploy:
>> > >
>> > > copy-generated-lib:
>> > >
>> > > deploy:
>> > >     [copy] Copying 1 file to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/plugins/scoring-link
>> > >
>> > > copy-generated-lib:
>> > >     [copy] Copying 1 file to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/plugins/scoring-link
>> > >
>> > > init:
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/subcollection
>> > >
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/subcollection/classes
>> > >
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/subcollection/test
>> > >
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/plugins/subcollection
>> > >
>> > > init-plugin:
>> > >
>> > > deps-jar:
>> > >
>> > > clean-lib:
>> > >
>> > > resolve-default:
>> > > [ivy:resolve] :: loading settings :: file =
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/ivy/ivysettings.xml
>> > >
>> > > compile:
>> > >     [echo] Compiling plugin: subcollection
>> > >
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/src/plugin/build-plugin.xml:117: warning: 'includeantruntime'
>> was
>> > > not set, defaulting to
>> > > build.sysclasspath=last; set to false for repeatable builds
>> > >
>> > >    [javac] Compiling 3 source files to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/subcollection/classes
>> > >
>> > >    [javac] Note: Some input files use unchecked or unsafe operations.
>> > >    [javac] Note: Recompile with -Xlint:unchecked for details.
>> > >
>> > > jar:
>> > >      [jar] Building jar:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/subcollection/subcollection.jar
>> > >
>> > > deps-test:
>> > >
>> > > deploy:
>> > >     [copy] Copying 1 file to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/plugins/subcollection
>> > >
>> > > copy-generated-lib:
>> > >     [copy] Copying 1 file to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/plugins/subcollection
>> > >
>> > > init:
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/tld
>> > >
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/tld/classes
>> > >
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/tld/test
>> > >
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/plugins/tld
>> > >
>> > > init-plugin:
>> > >
>> > > deps-jar:
>> > >
>> > > clean-lib:
>> > >
>> > > resolve-default:
>> > > [ivy:resolve] :: loading settings :: file =
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/ivy/ivysettings.xml
>> > >
>> > > compile:
>> > >     [echo] Compiling plugin: tld
>> > >
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/src/plugin/build-plugin.xml:117: warning: 'includeantruntime'
>> was
>> > > not set, defaulting to
>> > > build.sysclasspath=last; set to false for repeatable builds
>> > >
>> > >    [javac] Compiling 2 source files to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/tld/classes
>> > >
>> > > jar:
>> > >      [jar] Building jar:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/tld/tld.jar
>> > >
>> > > deps-test:
>> > >
>> > > deploy:
>> > >     [copy] Copying 1 file to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/plugins/tld
>> > >
>> > > copy-generated-lib:
>> > >     [copy] Copying 1 file to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/plugins/tld
>> > >
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/urlfilter-automaton/test/data
>> > >
>> > >     [copy] Copying 6 files to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/urlfilter-automaton/test/data
>> > >
>> > > init:
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/urlfilter-automaton/classes
>> > >
>> > >    [mkdir] Created dir:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/plugins/urlfilter-automaton
>> > >
>> > > init-plugin:
>> > >
>> > > deps-jar:
>> > >
>> > > init:
>> > >
>> > > init-plugin:
>> > >
>> > > deps-jar:
>> > >
>> > > clean-lib:
>> > >
>> > > resolve-default:
>> > > [ivy:resolve] :: loading settings :: file =
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/ivy/ivysettings.xml
>> > >
>> > > compile:
>> > >     [echo] Compiling plugin: lib-regex-filter
>> > >
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/src/plugin/build-plugin.xml:117: warning: 'includeantruntime'
>> was
>> > > not set, defaulting to
>> > > build.sysclasspath=last; set to false for repeatable builds
>> > >
>> > > jar:
>> > >
>> > > init:
>> > >
>> > > init-plugin:
>> > >
>> > > deps-jar:
>> > >
>> > > clean-lib:
>> > >
>> > > resolve-default:
>> > > [ivy:resolve] :: loading settings :: file =
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/ivy/ivysettings.xml
>> > >
>> > > compile:
>> > >     [echo] Compiling plugin: lib-regex-filter
>> > >
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/src/plugin/build-plugin.xml:117: warning: 'includeantruntime'
>> was
>> > > not set, defaulting to
>> > > build.sysclasspath=last; set to false for repeatable builds
>> > >
>> > > compile-test:
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/src/plugin/build-plugin.xml:180: warning: 'includeantruntime'
>> was
>> > > not set, defaulting to
>> > > build.sysclasspath=last; set to false for repeatable builds
>> > >
>> > >    [javac] Compiling 1 source file to
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build/lib-regex-filter/test
>> > >
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > >
>> k/trunk/src/plugin/lib-regex-filter/src/test/org/apache/nutch/urlfilter/a
>> > > pi/RegexURLFilterBaseTest.java:28: package junit.framework does not
>> exist
>> > >
>> > >    [javac] import junit.framework.TestCase;
>> > >    [javac]                       ^
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > >
>> k/trunk/src/plugin/lib-regex-filter/src/test/org/apache/nutch/urlfilter/a
>> > > pi/RegexURLFilterBaseTest.java:43: cannot find symbol
>> > >
>> > >    [javac] symbol: class TestCase
>> > >    [javac] public abstract class RegexURLFilterBaseTest extends
>> TestCase
>> > >    { [javac]                                                      ^
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > >
>> k/trunk/src/plugin/lib-regex-filter/src/test/org/apache/nutch/urlfilter/a
>> > > pi/RegexURLFilterBaseTest.java:63: cannot find symbol
>> > >
>> > >    [javac] symbol  : method fail(java.lang.String)
>> > >    [javac] location: class
>> > >
>> > > org.apache.nutch.urlfilter.api.RegexURLFilterBaseTest
>> > >
>> > >    [javac]       fail(e.toString());
>> > >    [javac]       ^
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > >
>> k/trunk/src/plugin/lib-regex-filter/src/test/org/apache/nutch/urlfilter/a
>> > > pi/RegexURLFilterBaseTest.java:76: cannot find symbol
>> > >
>> > >    [javac] symbol  : method fail(java.lang.String)
>> > >    [javac] location: class
>> > >
>> > > org.apache.nutch.urlfilter.api.RegexURLFilterBaseTest
>> > >
>> > >    [javac]       fail(e.toString());
>> > >    [javac]       ^
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > >
>> k/trunk/src/plugin/lib-regex-filter/src/test/org/apache/nutch/urlfilter/a
>> > > pi/RegexURLFilterBaseTest.java:87: cannot find symbol
>> > >
>> > >    [javac] symbol  : method fail(java.lang.String)
>> > >    [javac] location: class
>> > >
>> > > org.apache.nutch.urlfilter.api.RegexURLFilterBaseTest
>> > >
>> > >    [javac]       fail(e.toString());
>> > >    [javac]       ^
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > >
>> k/trunk/src/plugin/lib-regex-filter/src/test/org/apache/nutch/urlfilter/a
>> > > pi/RegexURLFilterBaseTest.java:95: cannot find symbol
>> > >
>> > >    [javac] symbol  : method fail(java.lang.String)
>> > >    [javac] location: class
>> > >
>> > > org.apache.nutch.urlfilter.api.RegexURLFilterBaseTest
>> > >
>> > >    [javac]       fail(e.toString());
>> > >    [javac]       ^
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > >
>> k/trunk/src/plugin/lib-regex-filter/src/test/org/apache/nutch/urlfilter/a
>> > > pi/RegexURLFilterBaseTest.java:103: cannot find symbol
>> > >
>> > >    [javac] symbol  : method assertTrue(java.lang.String,boolean)
>> > >    [javac] location: class
>> > >
>> > > org.apache.nutch.urlfilter.api.RegexURLFilterBaseTest
>> > >
>> > >    [javac]         assertTrue(expected[i].url, expected[i].sign);
>> > >    [javac]         ^
>> > >    [javac]
>> > >
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > >
>> k/trunk/src/plugin/lib-regex-filter/src/test/org/apache/nutch/urlfilter/a
>> > > pi/RegexURLFilterBaseTest.java:105: cannot find symbol
>> > >
>> > >    [javac] symbol  : method assertFalse(java.lang.String,boolean)
>> > >    [javac] location: class
>> > >
>> > > org.apache.nutch.urlfilter.api.RegexURLFilterBaseTest
>> > >
>> > >    [javac]         assertFalse(expected[i].url, expected[i].sign);
>> > >    [javac]         ^
>> > >
>> > >    [javac] Note:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > >
>> k/trunk/src/plugin/lib-regex-filter/src/test/org/apache/nutch/urlfilter/a
>> > > pi/RegexURLFilterBaseTest.java uses unchecked or unsafe operations.
>> > >
>> > >    [javac] Note: Recompile with -Xlint:unchecked for details.
>> > >    [javac] 8 errors
>> > >
>> > > BUILD FAILED
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/build.xml:102: The following error occurred while executing
>> this
>> > > line:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/src/plugin/build.xml:56: The following error occurred while
>> > > executing this line:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/src/plugin/urlfilter-automaton/build.xml:25: The following
>> error
>> > > occurred while executing this line:
>> > >
>> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-trun
>> > > k/trunk/src/plugin/build-plugin.xml:180: Compile failed; see the
>> compiler
>> > > error output for details.
>> > >
>> > > Total time: 16 seconds
>> > > Build step 'Execute shell' marked build as failure
>> > > Recording test results
>> > > Publishing Javadoc
>>
>> --
>> Markus Jelsma - CTO - Openindex
>>
>
>
>
> --
> *
> *Open Source Solutions for Text Engineering
>
> http://digitalpebble.blogspot.com/
> http://www.digitalpebble.com
>



-- 
*
*Open Source Solutions for Text Engineering

http://digitalpebble.blogspot.com/
http://www.digitalpebble.com

Reply via email to