You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2017/04/13 11:55:25 UTC

ZooKeeper-trunk-jdk8 - Build # 1014 - Still Failing

See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1014/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE ###########################
[...truncated 63.66 MB...]
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-13 11:55:16,932 [myid:] - INFO  [SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
    [junit] 2017-04-13 11:55:17,101 [myid:127.0.0.1:11348] - INFO  [main-SendThread(127.0.0.1:11348):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:11348. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-13 11:55:17,102 [myid:127.0.0.1:11348] - WARN  [main-SendThread(127.0.0.1:11348):ClientCnxn$SendThread@1235] - Session 0x200e3e94c9d0000 for server 127.0.0.1/127.0.0.1:11348, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-13 11:55:17,219 [myid:] - INFO  [ProcessThread(sid:0 cport:11468)::PrepRequestProcessor@617] - Processed session termination for sessionid: 0x100e3eca1160000
    [junit] 2017-04-13 11:55:17,219 [myid:] - INFO  [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11468,name1=Connections,name2=127.0.0.1,name3=0x100e3eca1160000]
    [junit] 2017-04-13 11:55:17,219 [myid:] - INFO  [main:ZooKeeper@1324] - Session: 0x100e3eca1160000 closed
    [junit] 2017-04-13 11:55:17,219 [myid:] - INFO  [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x100e3eca1160000
    [junit] 2017-04-13 11:55:17,220 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 178763
    [junit] 2017-04-13 11:55:17,220 [myid:127.0.0.1:11222] - INFO  [main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:11222. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-13 11:55:17,220 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1643
    [junit] 2017-04-13 11:55:17,220 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal
    [junit] 2017-04-13 11:55:17,220 [myid:] - INFO  [main:ClientBase@558] - tearDown starting
    [junit] 2017-04-13 11:55:17,221 [myid:] - INFO  [main:ClientBase@528] - STOPPING server
    [junit] 2017-04-13 11:55:17,221 [myid:] - INFO  [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:11468
    [junit] 2017-04-13 11:55:17,220 [myid:127.0.0.1:11222] - WARN  [main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1235] - Session 0x100e3e581c60000 for server 127.0.0.1/127.0.0.1:11222, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-13 11:55:17,226 [myid:] - INFO  [main:ZooKeeperServer@542] - shutting down
    [junit] 2017-04-13 11:55:17,226 [myid:] - ERROR [main:ZooKeeperServer@506] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes
    [junit] 2017-04-13 11:55:17,227 [myid:] - INFO  [main:SessionTrackerImpl@232] - Shutting down
    [junit] 2017-04-13 11:55:17,227 [myid:] - INFO  [main:PrepRequestProcessor@1008] - Shutting down
    [junit] 2017-04-13 11:55:17,227 [myid:] - INFO  [main:SyncRequestProcessor@191] - Shutting down
    [junit] 2017-04-13 11:55:17,227 [myid:] - INFO  [ProcessThread(sid:0 cport:11468)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
    [junit] 2017-04-13 11:55:17,227 [myid:] - INFO  [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
    [junit] 2017-04-13 11:55:17,227 [myid:] - INFO  [main:FinalRequestProcessor@481] - shutdown of request processor complete
    [junit] 2017-04-13 11:55:17,227 [myid:] - INFO  [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11468,name1=InMemoryDataTree]
    [junit] 2017-04-13 11:55:17,228 [myid:] - INFO  [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11468]
    [junit] 2017-04-13 11:55:17,228 [myid:] - INFO  [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11468
    [junit] 2017-04-13 11:55:17,228 [myid:] - INFO  [main:JMXEnv@146] - ensureOnly:[]
    [junit] 2017-04-13 11:55:17,233 [myid:] - INFO  [main:ClientBase@583] - fdcount after test is: 4834 at start it was 4834
    [junit] 2017-04-13 11:55:17,233 [myid:] - INFO  [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal
    [junit] 2017-04-13 11:55:17,233 [myid:] - INFO  [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal
    [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 473.057 sec, Thread: 1, Class: org.apache.zookeeper.test.NioNettySuiteTest

fail.build.on.test.failure:

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1219: The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1223: Tests failed!

Total time: 11 minutes 6 seconds
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###################################################################################
############################## FAILED TESTS (if any) ##############################
1 tests failed.
FAILED:  org.apache.zookeeper.server.quorum.ReconfigDuringLeaderSyncTest.testDuringLeaderSync

Error Message:
zoo.cfg.dynamic.next is not deleted.

Stack Trace:
junit.framework.AssertionFailedError: zoo.cfg.dynamic.next is not deleted.
	at org.apache.zookeeper.server.quorum.ReconfigDuringLeaderSyncTest.testDuringLeaderSync(ReconfigDuringLeaderSyncTest.java:165)
	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)



ZooKeeper-trunk-jdk8 - Build # 1020 - Still Failing

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1020/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE ###########################
[...truncated 12.13 KB...]
	at java.lang.Thread.run(Thread.java:745)
	at ......remote call to qnode1(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1537)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
	at hudson.remoting.Channel.call(Channel.java:822)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
	at sun.reflect.GeneratedMethodAccessor862.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
	at com.sun.proxy.$Proxy124.execute(Unknown Source)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1061)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1101)
	at hudson.scm.SCM.checkout(SCM.java:495)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1278)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
	at hudson.model.Run.execute(Run.java:1728)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:404)
Caused by: hudson.plugins.git.GitException: Error performing command: git init /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1806)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1772)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1768)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1415)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:662)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:465)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
	at hudson.remoting.Request$2.run(Request.java:336)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Cannot run program "git" (in directory "/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8"): error=11, Resource temporarily unavailable
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
	at hudson.Proc$LocalProc.<init>(Proc.java:245)
	at hudson.Proc$LocalProc.<init>(Proc.java:214)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:846)
	at hudson.Launcher$ProcStarter.start(Launcher.java:384)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1795)
	... 15 more
Caused by: java.io.IOException: error=11, Resource temporarily unavailable
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:187)
	at java.lang.ProcessImpl.start(ProcessImpl.java:130)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
	... 20 more
ERROR: null
[WARNINGS] Skipping publisher since build result is FAILURE
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###################################################################################
############################## FAILED TESTS (if any) ##############################
No tests ran.

ZooKeeper-trunk-jdk8 - Build # 1019 - Still Failing

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1019/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE ###########################
[...truncated 64.19 MB...]
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-18 00:25:46,667 [myid:127.0.0.1:13915] - INFO  [main-SendThread(127.0.0.1:13915):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:13915. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-18 00:25:46,667 [myid:127.0.0.1:13915] - WARN  [main-SendThread(127.0.0.1:13915):ClientCnxn$SendThread@1235] - Session 0x2f7d751430001 for server 127.0.0.1/127.0.0.1:13915, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-18 00:25:47,063 [myid:127.0.0.1:13918] - INFO  [main-SendThread(127.0.0.1:13918):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:13918. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-18 00:25:47,064 [myid:127.0.0.1:13918] - WARN  [main-SendThread(127.0.0.1:13918):ClientCnxn$SendThread@1235] - Session 0x102f7d7532d0001 for server 127.0.0.1/127.0.0.1:13918, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-18 00:25:47,164 [myid:127.0.0.1:13915] - INFO  [main-SendThread(127.0.0.1:13915):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:13915. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-18 00:25:47,164 [myid:127.0.0.1:13915] - WARN  [main-SendThread(127.0.0.1:13915):ClientCnxn$SendThread@1235] - Session 0x2f7d751430000 for server 127.0.0.1/127.0.0.1:13915, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-18 00:25:47,570 [myid:127.0.0.1:13918] - INFO  [main-SendThread(127.0.0.1:13918):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:13918. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-18 00:25:47,571 [myid:127.0.0.1:13918] - WARN  [main-SendThread(127.0.0.1:13918):ClientCnxn$SendThread@1235] - Session 0x102f7d7532d0000 for server 127.0.0.1/127.0.0.1:13918, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-18 00:25:47,831 [myid:127.0.0.1:13915] - INFO  [main-SendThread(127.0.0.1:13915):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:13915. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-18 00:25:47,832 [myid:127.0.0.1:13915] - WARN  [main-SendThread(127.0.0.1:13915):ClientCnxn$SendThread@1235] - Session 0x2f7d751430001 for server 127.0.0.1/127.0.0.1:13915, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-18 00:25:48,759 [myid:127.0.0.1:13915] - INFO  [main-SendThread(127.0.0.1:13915):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:13915. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-18 00:25:48,759 [myid:127.0.0.1:13915] - WARN  [main-SendThread(127.0.0.1:13915):ClientCnxn$SendThread@1235] - Session 0x2f7d751430000 for server 127.0.0.1/127.0.0.1:13915, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] Running org.apache.zookeeper.server.quorum.StandaloneDisabledTest in thread 2
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec, Thread: 2, Class: org.apache.zookeeper.server.quorum.StandaloneDisabledTest
    [junit] Test org.apache.zookeeper.server.quorum.StandaloneDisabledTest FAILED (timeout)

fail.build.on.test.failure:

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1219: The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1223: Tests failed!

Total time: 16 minutes 31 seconds
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###################################################################################
############################## FAILED TESTS (if any) ##############################
2 tests failed.
FAILED:  org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testCurrentObserverIsParticipantInNewConfig

Error Message:
waiting for server 2 being up

Stack Trace:
junit.framework.AssertionFailedError: waiting for server 2 being up
	at org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testCurrentObserverIsParticipantInNewConfig(ReconfigRecoveryTest.java:529)
	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)


FAILED:  org.apache.zookeeper.server.quorum.StandaloneDisabledTest.startSingleServerTest

Error Message:
Timeout occurred. Please note the time in the report does not reflect the time until the timeout.

Stack Trace:
junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.
	at java.lang.Thread.run(Thread.java:745)

ZooKeeper-trunk-jdk8 - Build # 1018 - Still Failing

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1018/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE ###########################
[...truncated 62.67 MB...]
    [junit] 2017-04-17 11:56:59,357 [myid:127.0.0.1:19424] - WARN  [main-SendThread(127.0.0.1:19424):ClientCnxn$SendThread@1235] - Session 0x102f533f8180000 for server 127.0.0.1/127.0.0.1:19424, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-17 11:56:59,436 [myid:] - INFO  [ProcessThread(sid:0 cport:19547)::PrepRequestProcessor@617] - Processed session termination for sessionid: 0x102f5375e540000
    [junit] 2017-04-17 11:56:59,439 [myid:] - INFO  [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19547,name1=Connections,name2=127.0.0.1,name3=0x102f5375e540000]
    [junit] 2017-04-17 11:56:59,439 [myid:] - INFO  [main:ZooKeeper@1324] - Session: 0x102f5375e540000 closed
    [junit] 2017-04-17 11:56:59,439 [myid:] - INFO  [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x102f5375e540000
    [junit] 2017-04-17 11:56:59,440 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 163842
    [junit] 2017-04-17 11:56:59,440 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 859
    [junit] 2017-04-17 11:56:59,440 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal
    [junit] 2017-04-17 11:56:59,440 [myid:] - INFO  [main:ClientBase@558] - tearDown starting
    [junit] 2017-04-17 11:56:59,440 [myid:] - INFO  [main:ClientBase@528] - STOPPING server
    [junit] 2017-04-17 11:56:59,440 [myid:] - INFO  [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:19547
    [junit] 2017-04-17 11:56:59,442 [myid:] - INFO  [main:ZooKeeperServer@542] - shutting down
    [junit] 2017-04-17 11:56:59,442 [myid:] - ERROR [main:ZooKeeperServer@506] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes
    [junit] 2017-04-17 11:56:59,442 [myid:] - INFO  [main:SessionTrackerImpl@232] - Shutting down
    [junit] 2017-04-17 11:56:59,442 [myid:] - INFO  [main:PrepRequestProcessor@1008] - Shutting down
    [junit] 2017-04-17 11:56:59,442 [myid:] - INFO  [main:SyncRequestProcessor@191] - Shutting down
    [junit] 2017-04-17 11:56:59,442 [myid:] - INFO  [ProcessThread(sid:0 cport:19547)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
    [junit] 2017-04-17 11:56:59,443 [myid:] - INFO  [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
    [junit] 2017-04-17 11:56:59,443 [myid:] - INFO  [main:FinalRequestProcessor@481] - shutdown of request processor complete
    [junit] 2017-04-17 11:56:59,443 [myid:] - INFO  [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19547,name1=InMemoryDataTree]
    [junit] 2017-04-17 11:56:59,444 [myid:] - INFO  [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19547]
    [junit] 2017-04-17 11:56:59,444 [myid:] - INFO  [main:FourLetterWordMain@85] - connecting to 127.0.0.1 19547
    [junit] 2017-04-17 11:56:59,444 [myid:] - INFO  [main:JMXEnv@146] - ensureOnly:[]
    [junit] 2017-04-17 11:56:59,449 [myid:] - INFO  [main:ClientBase@583] - fdcount after test is: 2546 at start it was 2546
    [junit] 2017-04-17 11:56:59,450 [myid:] - INFO  [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal
    [junit] 2017-04-17 11:56:59,450 [myid:] - INFO  [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal
    [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 498.339 sec, Thread: 4, Class: org.apache.zookeeper.test.NioNettySuiteTest
    [junit] 2017-04-17 11:56:59,532 [myid:127.0.0.1:19430] - INFO  [main-SendThread(127.0.0.1:19430):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:19430. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-17 11:56:59,533 [myid:127.0.0.1:19430] - WARN  [main-SendThread(127.0.0.1:19430):ClientCnxn$SendThread@1235] - Session 0x302f533f8200000 for server 127.0.0.1/127.0.0.1:19430, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-17 11:56:59,785 [myid:127.0.0.1:19427] - INFO  [main-SendThread(127.0.0.1:19427):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:19427. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-17 11:56:59,786 [myid:127.0.0.1:19427] - WARN  [main-SendThread(127.0.0.1:19427):ClientCnxn$SendThread@1235] - Session 0x202f533f8180000 for server 127.0.0.1/127.0.0.1:19427, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)

fail.build.on.test.failure:

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1219: The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1223: Tests failed!

Total time: 12 minutes 53 seconds
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###################################################################################
############################## FAILED TESTS (if any) ##############################
1 tests failed.
FAILED:  org.apache.zookeeper.test.ReconfigExceptionTest.testReconfigEnabledWithAuthAndACL

Error Message:
test timed out after 10000 milliseconds

Stack Trace:
org.junit.runners.model.TestTimedOutException: test timed out after 10000 milliseconds
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:502)
	at org.apache.zookeeper.ClientCnxn.submitRequest(ClientCnxn.java:1499)
	at org.apache.zookeeper.ClientCnxn.submitRequest(ClientCnxn.java:1487)
	at org.apache.zookeeper.admin.ZooKeeperAdmin.reconfigure(ZooKeeperAdmin.java:181)
	at org.apache.zookeeper.admin.ZooKeeperAdmin.reconfigure(ZooKeeperAdmin.java:200)
	at org.apache.zookeeper.test.ReconfigExceptionTest.reconfigPort(ReconfigExceptionTest.java:217)
	at org.apache.zookeeper.test.ReconfigExceptionTest.testReconfigEnabledWithAuthAndACL(ReconfigExceptionTest.java:177)
	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:745)

ZooKeeper-trunk-jdk8 - Build # 1017 - Still Failing

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1017/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE ###########################
[...truncated 63.25 MB...]
    [junit] java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:24813
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
    [junit] 	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
    [junit] 	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
    [junit] 	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
    [junit] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    [junit] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 2017-04-16 13:07:11,788 [myid:] - INFO  [New I/O boss #5236:ClientCnxnSocketNetty@208] - channel is told closing
    [junit] 2017-04-16 13:07:11,788 [myid:127.0.0.1:24813] - INFO  [main-SendThread(127.0.0.1:24813):ClientCnxn$SendThread@1231] - channel for sessionid 0x202f04ddb120000 is lost, closing socket connection and attempting reconnect
    [junit] 2017-04-16 13:07:11,830 [myid:127.0.0.1:24687] - INFO  [main-SendThread(127.0.0.1:24687):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:24687. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-16 13:07:11,831 [myid:] - INFO  [New I/O boss #34:ClientCnxnSocketNetty$1@127] - future isn't success, cause: {}
    [junit] java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:24687
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
    [junit] 	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
    [junit] 	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
    [junit] 	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
    [junit] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    [junit] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 2017-04-16 13:07:11,877 [myid:] - WARN  [New I/O boss #34:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 0xfeffed03] EXCEPTION: java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:24687
    [junit] java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:24687
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
    [junit] 	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
    [junit] 	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
    [junit] 	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
    [junit] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    [junit] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 2017-04-16 13:07:11,878 [myid:] - INFO  [New I/O boss #34:ClientCnxnSocketNetty@208] - channel is told closing
    [junit] 2017-04-16 13:07:11,878 [myid:127.0.0.1:24687] - INFO  [main-SendThread(127.0.0.1:24687):ClientCnxn$SendThread@1231] - channel for sessionid 0x102f049b0500000 is lost, closing socket connection and attempting reconnect

fail.build.on.test.failure:

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1219: The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1223: Tests failed!

Total time: 12 minutes 52 seconds
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###################################################################################
############################## FAILED TESTS (if any) ##############################
4 tests failed.
FAILED:  org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalFollowerRunWithDiff

Error Message:
expected:<4294967298> but was:<4294967297>

Stack Trace:
junit.framework.AssertionFailedError: expected:<4294967298> but was:<4294967297>
	at org.apache.zookeeper.server.quorum.Zab1_0Test$5.converseWithFollower(Zab1_0Test.java:869)
	at org.apache.zookeeper.server.quorum.Zab1_0Test.testFollowerConversation(Zab1_0Test.java:517)
	at org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalFollowerRunWithDiff(Zab1_0Test.java:784)
	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)


FAILED:  org.apache.zookeeper.test.NonRecoverableErrorTest.testZooKeeperServiceAvailableOnLeader

Error Message:
IOException is expected due to error injected to transaction log commit

Stack Trace:
junit.framework.AssertionFailedError: IOException is expected due to error injected to transaction log commit
	at org.apache.zookeeper.test.NonRecoverableErrorTest.testZooKeeperServiceAvailableOnLeader(NonRecoverableErrorTest.java:115)
	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:745)


FAILED:  org.apache.zookeeper.test.ReadOnlyModeTest.testSessionEstablishment

Error Message:
KeeperErrorCode = ConnectionLoss for /test

Stack Trace:
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /test
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
	at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1424)
	at org.apache.zookeeper.test.ReadOnlyModeTest.testSessionEstablishment(ReadOnlyModeTest.java:238)
	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:745)


FAILED:  org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged

Error Message:
expected:<NodeDataChanged> but was:<NodeDeleted>

Stack Trace:
junit.framework.AssertionFailedError: expected:<NodeDataChanged> but was:<NodeDeleted>
	at org.apache.zookeeper.test.WatchEventWhenAutoResetTest$EventsWatcher.assertEvent(WatchEventWhenAutoResetTest.java:67)
	at org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged(WatchEventWhenAutoResetTest.java:117)
	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)

ZooKeeper-trunk-jdk8 - Build # 1016 - Still Failing

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1016/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE ###########################
[...truncated 61.69 MB...]
    [junit] 2017-04-15 11:57:00,885 [myid:] - ERROR [main:ZooKeeperServer@506] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes
    [junit] 2017-04-15 11:57:00,886 [myid:] - INFO  [main:SessionTrackerImpl@232] - Shutting down
    [junit] 2017-04-15 11:57:00,886 [myid:] - INFO  [main:PrepRequestProcessor@1008] - Shutting down
    [junit] 2017-04-15 11:57:00,886 [myid:] - INFO  [main:SyncRequestProcessor@191] - Shutting down
    [junit] 2017-04-15 11:57:00,886 [myid:] - INFO  [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
    [junit] 2017-04-15 11:57:00,886 [myid:] - INFO  [main:FinalRequestProcessor@481] - shutdown of request processor complete
    [junit] 2017-04-15 11:57:00,886 [myid:] - INFO  [ProcessThread(sid:0 cport:16854)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
    [junit] 2017-04-15 11:57:00,886 [myid:] - INFO  [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16854,name1=InMemoryDataTree]
    [junit] 2017-04-15 11:57:00,887 [myid:] - INFO  [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16854]
    [junit] 2017-04-15 11:57:00,887 [myid:] - INFO  [main:FourLetterWordMain@85] - connecting to 127.0.0.1 16854
    [junit] 2017-04-15 11:57:00,887 [myid:] - INFO  [main:JMXEnv@146] - ensureOnly:[]
    [junit] 2017-04-15 11:57:00,896 [myid:] - INFO  [main:ClientBase@583] - fdcount after test is: 2715 at start it was 2721
    [junit] 2017-04-15 11:57:00,896 [myid:] - INFO  [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal
    [junit] 2017-04-15 11:57:00,896 [myid:] - INFO  [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal
    [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 504.668 sec, Thread: 3, Class: org.apache.zookeeper.test.NettyNettySuiteTest
    [junit] 2017-04-15 11:57:00,946 [myid:127.0.0.1:16731] - INFO  [main-SendThread(127.0.0.1:16731):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:16731. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-15 11:57:00,947 [myid:] - INFO  [New I/O boss #5219:ClientCnxnSocketNetty$1@127] - future isn't success, cause: {}
    [junit] java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:16731
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
    [junit] 	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
    [junit] 	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
    [junit] 	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
    [junit] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    [junit] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 2017-04-15 11:57:00,947 [myid:] - WARN  [New I/O boss #5219:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 0xc6d2ccdb] EXCEPTION: java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:16731
    [junit] java.net.ConnectException: Connection refused: 127.0.0.1/127.0.0.1:16731
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
    [junit] 	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
    [junit] 	at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
    [junit] 	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
    [junit] 	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
    [junit] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    [junit] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    [junit] 	at java.lang.Thread.run(Thread.java:745)
    [junit] 2017-04-15 11:57:00,947 [myid:] - INFO  [New I/O boss #5219:ClientCnxnSocketNetty@208] - channel is told closing
    [junit] 2017-04-15 11:57:00,948 [myid:127.0.0.1:16731] - INFO  [main-SendThread(127.0.0.1:16731):ClientCnxn$SendThread@1231] - channel for sessionid 0x102eae749e80000 is lost, closing socket connection and attempting reconnect

fail.build.on.test.failure:

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1219: The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1223: Tests failed!

Total time: 12 minutes 55 seconds
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###################################################################################
############################## FAILED TESTS (if any) ##############################
1 tests failed.
FAILED:  org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged

Error Message:
expected:<NodeDataChanged> but was:<NodeDeleted>

Stack Trace:
junit.framework.AssertionFailedError: expected:<NodeDataChanged> but was:<NodeDeleted>
	at org.apache.zookeeper.test.WatchEventWhenAutoResetTest$EventsWatcher.assertEvent(WatchEventWhenAutoResetTest.java:67)
	at org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged(WatchEventWhenAutoResetTest.java:126)
	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)



ZooKeeper-trunk-jdk8 - Build # 1015 - Still Failing

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1015/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE ###########################
[...truncated 60.98 MB...]
    [junit] 2017-04-14 11:57:08,770 [myid:127.0.0.1:27503] - WARN  [main-SendThread(127.0.0.1:27503):ClientCnxn$SendThread@1235] - Session 0x102e5c10fc00000 for server 127.0.0.1/127.0.0.1:27503, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-14 11:57:08,999 [myid:127.0.0.1:27506] - INFO  [main-SendThread(127.0.0.1:27506):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:27506. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-14 11:57:09,000 [myid:127.0.0.1:27506] - WARN  [main-SendThread(127.0.0.1:27506):ClientCnxn$SendThread@1235] - Session 0x202e5c113390000 for server 127.0.0.1/127.0.0.1:27506, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
    [junit] 2017-04-14 11:57:09,075 [myid:] - INFO  [ProcessThread(sid:0 cport:27626)::PrepRequestProcessor@617] - Processed session termination for sessionid: 0x102e5c46e8e0000
    [junit] 2017-04-14 11:57:09,077 [myid:] - INFO  [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27626,name1=Connections,name2=127.0.0.1,name3=0x102e5c46e8e0000]
    [junit] 2017-04-14 11:57:09,077 [myid:] - INFO  [main:ZooKeeper@1324] - Session: 0x102e5c46e8e0000 closed
    [junit] 2017-04-14 11:57:09,078 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 102743
    [junit] 2017-04-14 11:57:09,078 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 860
    [junit] 2017-04-14 11:57:09,077 [myid:] - INFO  [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x102e5c46e8e0000
    [junit] 2017-04-14 11:57:09,078 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal
    [junit] 2017-04-14 11:57:09,078 [myid:] - INFO  [main:ClientBase@558] - tearDown starting
    [junit] 2017-04-14 11:57:09,078 [myid:] - INFO  [main:ClientBase@528] - STOPPING server
    [junit] 2017-04-14 11:57:09,079 [myid:] - INFO  [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:27626
    [junit] 2017-04-14 11:57:09,080 [myid:] - INFO  [main:ZooKeeperServer@542] - shutting down
    [junit] 2017-04-14 11:57:09,080 [myid:] - ERROR [main:ZooKeeperServer@506] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes
    [junit] 2017-04-14 11:57:09,080 [myid:] - INFO  [main:SessionTrackerImpl@232] - Shutting down
    [junit] 2017-04-14 11:57:09,080 [myid:] - INFO  [main:PrepRequestProcessor@1008] - Shutting down
    [junit] 2017-04-14 11:57:09,081 [myid:] - INFO  [main:SyncRequestProcessor@191] - Shutting down
    [junit] 2017-04-14 11:57:09,081 [myid:] - INFO  [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
    [junit] 2017-04-14 11:57:09,081 [myid:] - INFO  [main:FinalRequestProcessor@481] - shutdown of request processor complete
    [junit] 2017-04-14 11:57:09,081 [myid:] - INFO  [ProcessThread(sid:0 cport:27626)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
    [junit] 2017-04-14 11:57:09,081 [myid:] - INFO  [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27626,name1=InMemoryDataTree]
    [junit] 2017-04-14 11:57:09,081 [myid:] - INFO  [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27626]
    [junit] 2017-04-14 11:57:09,082 [myid:] - INFO  [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27626
    [junit] 2017-04-14 11:57:09,082 [myid:] - INFO  [main:JMXEnv@146] - ensureOnly:[]
    [junit] 2017-04-14 11:57:09,086 [myid:] - INFO  [main:ClientBase@583] - fdcount after test is: 2537 at start it was 2537
    [junit] 2017-04-14 11:57:09,087 [myid:] - INFO  [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal
    [junit] 2017-04-14 11:57:09,087 [myid:] - INFO  [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal
    [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 509.261 sec, Thread: 7, Class: org.apache.zookeeper.test.NioNettySuiteTest
    [junit] 2017-04-14 11:57:09,487 [myid:127.0.0.1:27509] - INFO  [main-SendThread(127.0.0.1:27509):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:27509. Will not attempt to authenticate using SASL (unknown error)
    [junit] 2017-04-14 11:57:09,487 [myid:127.0.0.1:27509] - WARN  [main-SendThread(127.0.0.1:27509):ClientCnxn$SendThread@1235] - Session 0x302e5c10fc90000 for server 127.0.0.1/127.0.0.1:27509, unexpected error, closing socket connection and attempting reconnect
    [junit] java.net.ConnectException: Connection refused
    [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
    [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
    [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)

fail.build.on.test.failure:

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1219: The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1223: Tests failed!

Total time: 13 minutes 3 seconds
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###################################################################################
############################## FAILED TESTS (if any) ##############################
2 tests failed.
FAILED:  org.apache.zookeeper.server.quorum.CommitProcessorConcurrencyTest.noStarvationOfNonLocalCommittedRequestsTest

Error Message:
test timed out after 1000 milliseconds

Stack Trace:
org.junit.runners.model.TestTimedOutException: test timed out after 1000 milliseconds
	at org.apache.zookeeper.server.quorum.CommitProcessor.run(CommitProcessor.java:200)
	at org.apache.zookeeper.server.quorum.CommitProcessorConcurrencyTest.noStarvationOfNonLocalCommittedRequestsTest(CommitProcessorConcurrencyTest.java:297)
	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:745)


FAILED:  org.apache.zookeeper.server.quorum.ReconfigFailureCasesTest.testLeaderTimesoutOnNewQuorum

Error Message:
Should have been ConnectionLossException!

Stack Trace:
junit.framework.AssertionFailedError: Should have been ConnectionLossException!
	at org.apache.zookeeper.server.quorum.ReconfigFailureCasesTest.testLeaderTimesoutOnNewQuorum(ReconfigFailureCasesTest.java:190)
	at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)