See https://hudson.apache.org/hudson/job/ZooKeeper_branch_3_3/179/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 143974 lines...]
[junit] 2011-03-06 09:46:58,745 - INFO
[Thread-3:NIOServerCnxn$StatCommand@1153] - Stat command output
[junit] 2011-03-06 09:46:58,748 - INFO [Thread-3:NIOServerCnxn@1435] -
Closed socket connection for client /127.0.0.1:39348 (no session established
for client)
[junit] ensureOnly:[InMemoryDataTree, StandaloneServer_port]
[junit] expect:InMemoryDataTree
[junit] found:InMemoryDataTree
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
[junit] expect:StandaloneServer_port
[junit] found:StandaloneServer_port
org.apache.ZooKeeperService:name0=StandaloneServer_port-1
[junit] 2011-03-06 09:46:58,754 - INFO [main:ClientBase@407] - Initial
fdcount is: 32
[junit] 2011-03-06 09:46:58,754 - INFO [main:ClientBase@411] - Client test
setup finished
[junit] 2011-03-06 09:46:58,754 - INFO [main:ZooKeeperQuotaTest@45] -
STARTING org.apache.zookeeper.test.ZooKeeperQuotaTest
[junit] 2011-03-06 09:46:58,762 - INFO [main:Environment@97] - Client
environment:zookeeper.version=3.3.3-1078435, built on 03/06/2011 09:31 GMT
[junit] 2011-03-06 09:46:58,762 - INFO [main:Environment@97] - Client
environment:host.name=h2.grid.sp2.yahoo.net
[junit] 2011-03-06 09:46:58,763 - INFO [main:Environment@97] - Client
environment:java.version=1.6.0_23
[junit] 2011-03-06 09:46:58,763 - INFO [main:Environment@97] - Client
environment:java.vendor=Sun Microsystems Inc.
[junit] 2011-03-06 09:46:58,764 - INFO [main:Environment@97] - Client
environment:java.home=/homes/hudson/tools/java/jdk1.6.0_23-32/jre
[junit] 2011-03-06 09:46:58,764 - INFO [main:Environment@97] - Client
environment:java.class.path=/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/test/classes:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/test/lib/antlr-2.7.6.jar:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/test/lib/checkstyle-5.0.jar:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/test/lib/commons-beanutils-core-1.7.0.jar:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/test/lib/commons-cli-1.0.jar:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/test/lib/commons-collections-2.0.jar:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/test/lib/commons-lang-1.0.jar:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/test/lib/commons-logging-1.0.3.jar:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/test/lib/google-collections-0.9.jar:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/test/lib/junit-4.8.1.jar:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/classes:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/src/java/lib/ivy-2.1.0.jar:/homes/hudson/tools/ant/latest/lib/ant.jar:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/lib/jline-0.9.94.jar:/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build/lib/log4j-1.2.15.jar:/homes/hudson/tools/clover/latest/lib/clover.jar:/homes/hudson/tools/ant/apache-ant-1.7.1/lib/ant-launcher.jar:/homes/hudson/tools/ant/latest/lib/ant-junit.jar
[junit] 2011-03-06 09:46:58,765 - INFO [main:Environment@97] - Client
environment:java.library.path=/homes/hudson/tools/java/jdk1.6.0_23-32/jre/lib/i386/server:/homes/hudson/tools/java/jdk1.6.0_23-32/jre/lib/i386:/homes/hudson/tools/java/jdk1.6.0_23-32/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
[junit] 2011-03-06 09:46:58,765 - INFO [main:Environment@97] - Client
environment:java.io.tmpdir=/tmp
[junit] 2011-03-06 09:46:58,765 - INFO [main:Environment@97] - Client
environment:java.compiler=<NA>
[junit] 2011-03-06 09:46:58,766 - INFO [main:Environment@97] - Client
environment:os.name=Linux
[junit] 2011-03-06 09:46:58,766 - INFO [main:Environment@97] - Client
environment:os.arch=i386
[junit] 2011-03-06 09:46:58,767 - INFO [main:Environment@97] - Client
environment:os.version=2.6.28-17-generic
[junit] 2011-03-06 09:46:58,767 - INFO [main:Environment@97] - Client
environment:user.name=hudson
[junit] 2011-03-06 09:46:58,768 - INFO [main:Environment@97] - Client
environment:user.home=/homes/hudson
[junit] 2011-03-06 09:46:58,768 - INFO [main:Environment@97] - Client
environment:user.dir=/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3
[junit] 2011-03-06 09:46:58,770 - INFO [main:ZooKeeper@373] - Initiating
client connection, connectString=127.0.0.1:11221 sessionTimeout=30000
watcher=org.apache.zookeeper.test.ClientBase$CountdownWatcher@1d439fe
[junit] 2011-03-06 09:46:58,787 - INFO
[main-SendThread():ClientCnxn$SendThread@1041] - Opening socket connection to
server /127.0.0.1:11221
[junit] 2011-03-06 09:46:58,788 - INFO
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn$Factory@251] -
Accepted socket connection from /127.0.0.1:39349
[junit] 2011-03-06 09:46:58,788 - INFO
[main-SendThread(localhost:11221):ClientCnxn$SendThread@949] - Socket
connection established to localhost/127.0.0.1:11221, initiating session
[junit] 2011-03-06 09:46:58,792 - INFO
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@777] - Client
attempting to establish new session at /127.0.0.1:39349
[junit] 2011-03-06 09:46:58,795 - INFO [SyncThread:0:FileTxnLog@197] -
Creating new log file: log.1
[junit] 2011-03-06 09:46:58,815 - INFO [SyncThread:0:NIOServerCnxn@1580] -
Established session 0x12e8a9009150000 with negotiated timeout 30000 for client
/127.0.0.1:39349
[junit] 2011-03-06 09:46:58,815 - INFO
[main-SendThread(localhost:11221):ClientCnxn$SendThread@738] - Session
establishment complete on server localhost/127.0.0.1:11221, sessionid =
0x12e8a9009150000, negotiated timeout = 30000
[junit] expect:0x12e8a9009150000
[junit] found:0x12e8a9009150000
org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=Connections,name2=127.0.0.1,name3=0x12e8a9009150000
[junit] 2011-03-06 09:46:58,871 - INFO [main:ClientBase@445] - tearDown
starting
[junit] 2011-03-06 09:46:58,871 - INFO [main:ClientBase@457] - fdcount
after test is: 38
[junit] 2011-03-06 09:46:58,872 - INFO
[ProcessThread:-1:PrepRequestProcessor@387] - Processed session termination for
sessionid: 0x12e8a9009150000
[junit] 2011-03-06 09:46:58,873 - INFO [main:ZooKeeper@538] - Session:
0x12e8a9009150000 closed
[junit] 2011-03-06 09:46:58,873 - INFO
[main-EventThread:ClientCnxn$EventThread@520] - EventThread shut down
[junit] 2011-03-06 09:46:58,874 - INFO
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@1435] - Closed socket
connection for client /127.0.0.1:39349 which had sessionid 0x12e8a9009150000
[junit] 2011-03-06 09:46:58,874 - INFO [main:ClientBase@422] - STOPPING
server
[junit] 2011-03-06 09:46:58,875 - INFO
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn$Factory@278] -
NIOServerCnxn factory exited run method
[junit] 2011-03-06 09:46:58,875 - INFO
[ProcessThread:-1:PrepRequestProcessor@119] - PrepRequestProcessor exited loop!
[junit] 2011-03-06 09:46:58,875 - INFO
[SyncThread:0:SyncRequestProcessor@151] - SyncRequestProcessor exited!
[junit] 2011-03-06 09:46:58,876 - INFO [main:FinalRequestProcessor@378] -
shutdown of request processor complete
[junit] 2011-03-06 09:46:58,877 - INFO [main:ClientBase@220] - connecting
to 127.0.0.1 11221
[junit] ensureOnly:[]
[junit] 2011-03-06 09:46:58,880 - INFO [main:ClientBase@474] - FINISHED
testQuota
[junit] 2011-03-06 09:46:58,880 - INFO [main:ZooKeeperQuotaTest@51] -
STOPPING org.apache.zookeeper.test.ZooKeeperQuotaTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.555 sec
BUILD FAILED
/grid/0/hudson/hudson-slave/workspace/ZooKeeper_branch_3_3/branch-3.3/build.xml:845:
Tests failed!
Total time: 15 minutes 54 seconds
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure
###################################################################################
############################## FAILED TESTS (if any)
##############################
1 tests failed.
REGRESSION: org.apache.zookeeper.test.CnxManagerTest.testWorkerThreads
Error Message:
Address already in use
Stack Trace:
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
at
org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:144)
at
org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:125)
at
org.apache.zookeeper.server.quorum.QuorumPeer.<init>(QuorumPeer.java:461)
at
org.apache.zookeeper.test.CnxManagerTest.testWorkerThreads(CnxManagerTest.java:307)