Sure, if you run "ant test" it works because ivy will fetch junit. It shouldn't work if you just run "ant".

-Flavio

On Dec 17, 2009, at 5:55 PM, Benjamin Reed wrote:

weird. i just did a fresh checkout and ant test and it succeeded.

ben

Flavio Junqueira wrote:
The patch of ZOOKEEPER-623 should fix the cause of the failure.

-Flavio

Begin forwarded message:


From: Apache Hudson Server <hud...@hudson.zones.apache.org>
Date: December 17, 2009 12:07:16 PM GMT+01:00
To: "zookeeper-dev@hadoop.apache.org" <zookeeper-
d...@hadoop.apache.org>
Subject: Build failed in Hudson: ZooKeeper-trunk #629
Reply-To: "zookeeper-dev@hadoop.apache.org" <zookeeper-dev@hadoop.apache.org

See <http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/629/changes

Changes:

[mahadev] ZOOKEEPER-534. The test target in contib/bookkeeper does
not depend on jar target. (phunt via mahadev)

[mahadev] ZOOKEEPER-627. zkpython arbitrarily restricts the size of
a \'get\' to 512 bytes (henry robinson via mahadev)

[phunt] ZOOKEEPER-630. Trunk has duplicate ObserverTest.java files

[phunt] ZOOKEEPER-609. ObserverTest failure "zk should not be
connected expected not same"

------------------------------------------
[...truncated 120676 lines...]
      |                  |            modules            ||
artifacts   |
      |       conf       | number| search|dwnlded|evicted|| number|
dwnlded|

---------------------------------------------------------------------
      |       jdiff      |   2   |   0   |   0   |   0   ||   2
|   0   |

---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.apache.zookeeper#zookeeper
[ivy:retrieve]  confs: [jdiff]
[ivy:retrieve] 2 artifacts copied, 0 already retrieved (1896kB/ 11ms)

write-null:

api-xml:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source files for package org.apache.zookeeper...
[javadoc] Constructing Javadoc information...
[javadoc] JDiff: doclet started ...
[javadoc] JDiff: writing the API to file '<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/java/lib/jdiff/zookeeper_3.3.0.xml' ...

[javadoc] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/java/main/org/apache/zookeeper/ClientWatchManager.java

:38: warning - @return tag has no arguments.

[javadoc] JDiff: finished (took 0s, not including scanning the
source files).
[javadoc] 1 warning

api-report:
  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/docs/jdiff

[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source file <http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/jdiff/lib/Null.java ...

[javadoc] Loading source files for package
org.apache.jute.compiler...
[javadoc] Loading source files for package
org.apache.jute.compiler.generated...
[javadoc] Loading source files for package org.apache.zookeeper...
[javadoc] Loading source files for package
org.apache.zookeeper.common...
[javadoc] Loading source files for package
org.apache.zookeeper.jmx...
[javadoc] Loading source files for package
org.apache.zookeeper.server...
[javadoc] Loading source files for package
org.apache.zookeeper.server.auth...
[javadoc] Loading source files for package
org.apache.zookeeper.server.persistence...
[javadoc] Loading source files for package
org.apache.zookeeper.server.quorum...
[javadoc] Loading source files for package
org.apache.zookeeper.server.quorum.flexible...
[javadoc] Loading source files for package
org.apache.zookeeper.server.upgrade...
[javadoc] Loading source files for package
org.apache.zookeeper.server.util...
[javadoc] Loading source files for package
org.apache.zookeeper.version.util...
[javadoc] Constructing Javadoc information...
[javadoc] JDiff: doclet started ...
[javadoc] JDiff: reading the old API in from file 
'<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/java/lib/jdiff/zookeeper_3.1.1.xml'...Warning

: incorrectly formatted @link in text: API errors.

[javadoc]  This is never thrown by the server, it shouldn't be used
other than
[javadoc]  to indicate a range. Specifically error codes greater
than this
[javadoc]  value are API errors (while values less than this
indicate a
[javadoc]  {...@link #SYSTEMERROR}).
[javadoc]  finished
[javadoc] JDiff: reading the new API in from file 
'<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/java/lib/jdiff/zookeeper_3.3.0.xml'...Warning

: incorrectly formatted @link in text: API errors.

[javadoc]  This is never thrown by the server, it shouldn't be used
other than
[javadoc]  to indicate a range. Specifically error codes greater
than this
[javadoc]  value are API errors (while values less than this
indicate a
[javadoc]  {...@link #SYSTEMERROR}).
[javadoc]  finished
[javadoc] JDiff: comparing the old and new APIs ...
[javadoc]  Approximately 8% difference between the APIs
[javadoc] JDiff: reading the comments in from file '<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/docs/jdiff/user_comments_for_zookeeper_3.1.1_to_zookeeper_3.3.0.xml' ...

[javadoc]  (this will be created)
[javadoc] JDiff: generating HTML report into the file 
'<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/docs/jdiff/changes.html'

and the subdirectory 
'<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/docs/jdiff/changes'


[javadoc] Note: all the comments have been newly generated
[javadoc] JDiff: writing the comments out to file '<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/docs/jdiff/user_comments_for_zookeeper_3.1.1_to_zookeeper_3.3.0.xml' ...

[javadoc] JDiff: finished (took 0s).

check-cppunit-configure:

create-cppunit-configure:

ivy-retrieve-test:
[ivy:retrieve] :: resolving dependencies ::
org.apache.zookeeper#zookeeper;3.3.0
[ivy:retrieve]  confs: [test]
[ivy:retrieve]  found junit#junit;4.7 in public
[ivy:retrieve]  found checkstyle#checkstyle;5.0 in public
[ivy:retrieve]  found antlr#antlr;2.7.6 in public
[ivy:retrieve]  found commons-beanutils#commons-beanutils-core;1.7.0
in public
[ivy:retrieve]  found commons-collections#commons-collections;2.0 in
public
[ivy:retrieve]  found commons-cli#commons-cli;1.0 in public
[ivy:retrieve]  found commons-lang#commons-lang;1.0 in public
[ivy:retrieve] found commons-logging#commons-logging;1.0.3 in public
[ivy:retrieve]  found com.google.collections#google-collections;0.9
in public
[ivy:retrieve] :: resolution report :: resolve 293ms :: artifacts dl
17ms
[ivy:retrieve]  :: evicted modules:
[ivy:retrieve]  commons-logging#commons-logging;1.0 by [commons-
logging#commons-logging;1.0.3] in [test]
[ivy:retrieve]  junit#junit;3.7 by [junit#junit;4.7] in [test]

---------------------------------------------------------------------
      |                  |            modules            ||
artifacts   |
      |       conf       | number| search|dwnlded|evicted|| number|
dwnlded|

---------------------------------------------------------------------
      |       test       |   11  |   0   |   0   |   2   ||   9
|   0   |

---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.apache.zookeeper#zookeeper
[ivy:retrieve]  confs: [test]
[ivy:retrieve]  0 artifacts copied, 9 already retrieved (0kB/5ms)

compile-test:

package:
  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/zookeeper-3.3.0

  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/zookeeper-3.3.0/lib

  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/zookeeper-3.3.0/contrib

  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/zookeeper-3.3.0/recipes

  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/zookeeper-3.3.0/bin

  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/zookeeper-3.3.0/docs

  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/zookeeper-3.3.0/docs/jdiff

  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/zookeeper-3.3.0/docs/api

   [copy] Copying 7 files to 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/zookeeper-3.3.0/lib

package:

setjarname:

checkMainIsAvailable:

checkMainCompiled:

check-contrib:

zookeeperbuildcontrib.init:
   [echo] contrib: bookkeeper
  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/contrib/bookkeeper

  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/contrib/bookkeeper/classes

  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/contrib/bookkeeper/test

  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/contrib/bookkeeper/lib

  [mkdir] Created dir: 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/contrib/bookkeeper/test/lib

init-contrib:

init:

ivy-download:

ivy-init:
Trying to override old definition of datatype
antlib:org.apache.ivy.ant:settings
Trying to override old definition of task
antlib:org.apache.ivy.ant:configure
Trying to override old definition of task
antlib:org.apache.ivy.ant:resolve
Trying to override old definition of task
antlib:org.apache.ivy.ant:retrieve
Trying to override old definition of task
antlib:org.apache.ivy.ant:deliver
Trying to override old definition of task
antlib:org.apache.ivy.ant:publish
Trying to override old definition of task
antlib:org.apache.ivy.ant:extract
Trying to override old definition of task
antlib:org.apache.ivy.ant:cachepath
Trying to override old definition of task
antlib:org.apache.ivy.ant:cachefileset
Trying to override old definition of task
antlib:org.apache.ivy.ant:report
Trying to override old definition of task
antlib:org.apache.ivy.ant:repreport
Trying to override old definition of task
antlib:org.apache.ivy.ant:var
Trying to override old definition of task
antlib:org.apache.ivy.ant:check
Trying to override old definition of task
antlib:org.apache.ivy.ant:artifactproperty
Trying to override old definition of task
antlib:org.apache.ivy.ant:buildlist
Trying to override old definition of task
antlib:org.apache.ivy.ant:install
Trying to override old definition of task
antlib:org.apache.ivy.ant:convertpom
Trying to override old definition of task
antlib:org.apache.ivy.ant:makepom
Trying to override old definition of task
antlib:org.apache.ivy.ant:artifactreport
Trying to override old definition of task
antlib:org.apache.ivy.ant:info
Trying to override old definition of task
antlib:org.apache.ivy.ant:addpath
Trying to override old definition of task
antlib:org.apache.ivy.ant:listmodules
Trying to override old definition of task
antlib:org.apache.ivy.ant:findrevision
Trying to override old definition of task
antlib:org.apache.ivy.ant:buildnumber
Trying to override old definition of task
antlib:org.apache.ivy.ant:cleancache

ivy-retrieve:
[ivy:retrieve] :: Ivy 2.1.0-rc2 - 20090704004254 :: http://ant.apache.org/ivy/
::
[ivy:retrieve] :: loading settings :: url = 
jar:<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/java/lib/ivy-2.1.0-rc2.jar!/org/apache/ivy/core/settings/ivysettings.xml

[ivy:retrieve] :: resolving dependencies ::
org.apache.zookeeper#bookkeeper;3.3.0
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  found log4j#log4j;1.2.15 in public
[ivy:retrieve] :: resolution report :: resolve 101ms :: artifacts dl
2ms

---------------------------------------------------------------------
      |                  |            modules            ||
artifacts   |
      |       conf       | number| search|dwnlded|evicted|| number|
dwnlded|

---------------------------------------------------------------------
      |      default     |   1   |   0   |   0   |   0   ||   1
|   0   |

---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.apache.zookeeper#bookkeeper
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  1 artifacts copied, 0 already retrieved (382kB/7ms)

zookeeperbuildcontrib.compile:
   [echo] contrib: bookkeeper
  [javac] Compiling 28 source files to 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build/contrib/bookkeeper/classes

  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:31: package junit.framework does not exist

  [javac] import junit.framework.TestCase;
  [javac]                       ^
  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:48: cannot find symbol

  [javac] symbol: class TestCase
  [javac] public abstract class ClientBase extends TestCase {
  [javac]                                          ^
  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:107: cannot find symbol

  [javac] symbol  : method fail(java.lang.String)
  [javac] location: class org.apache.bookkeeper.util.ClientBase
  [javac]             fail("Unable to connect to server");
  [javac]             ^
  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:194: cannot find symbol

  [javac] symbol  : method assertFalse(java.lang.String,boolean)
  [javac] location: class org.apache.bookkeeper.util.ClientBase
  [javac]             assertFalse("thread " + thread.getName()
  [javac]             ^
  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:210: cannot find symbol

  [javac] symbol  : method assertFalse(boolean)
  [javac] location: class org.apache.bookkeeper.util.ClientBase
  [javac]         assertFalse(tmpDir.exists()); // never true if
tmpfile does it's job
  [javac]         ^
  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:211: cannot find symbol

  [javac] symbol  : method assertTrue(boolean)
  [javac] location: class org.apache.bookkeeper.util.ClientBase
  [javac]         assertTrue(tmpDir.mkdirs());
  [javac]         ^
  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:227: cannot find symbol

  [javac] symbol  : method assertTrue(java.lang.String,boolean)
  [javac] location: class org.apache.bookkeeper.util.ClientBase
  [javac]         assertTrue("waiting for server up",
  [javac]         ^
  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:241: cannot find symbol

  [javac] symbol  : method assertTrue(java.lang.String,boolean)
  [javac] location: class org.apache.bookkeeper.util.ClientBase
  [javac]             assertTrue("waiting for server down",
  [javac]             ^
  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:261: cannot find symbol

  [javac] symbol  : method getName()
  [javac] location: class org.apache.bookkeeper.util.ClientBase
  [javac]         LOG.info("STARTING " + getName());
  [javac]                                ^
  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:259: method does not override or implement a method from a supertype

  [javac]     @Override
  [javac]     ^
  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:288: cannot find symbol

  [javac] symbol  : method getName()
  [javac] location: class org.apache.bookkeeper.util.ClientBase
  [javac]         LOG.info("FINISHED " + getName());
  [javac]                                ^
  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:274: method does not override or implement a method from a supertype

  [javac]     @Override
  [javac]     ^
  [javac] 
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/bookkeeper/src/java/org/apache/bookkeeper/util/ClientBase.java

:340: cannot find symbol

  [javac] symbol  : method assertEquals(java.lang.String,int,int)
  [javac] location: class org.apache.bookkeeper.util.ClientBase
  [javac]             assertEquals("node count not consistent",
counts[i-1], counts[i]);
  [javac]             ^
  [javac] 13 errors

BUILD FAILED
<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/build.xml

:547: The following error occurred while executing this line:

<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/build.xml

:39: The following error occurred while executing this line:

<http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/ws/trunk/src/contrib/build-contrib.xml

:106: Compile failed; see the compiler error output for details.

Total time: 14 minutes 50 seconds
Publishing Javadoc
Archiving artifacts
Recording test results
Recording fingerprints
Publishing Clover coverage report...
No Clover report will be published due to a Build Failure






Reply via email to