ZooKeeper_branch34_jdk7 - Build # 1339 - Failure

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk7/1339/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 230805 lines...]
[junit] 2016-12-23 07:45:58,787 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - 
NIOServerCnxn factory exited run method
[junit] 2016-12-23 07:45:58,787 [myid:] - INFO  [main:ZooKeeperServer@497] 
- shutting down
[junit] 2016-12-23 07:45:58,788 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-23 07:45:58,788 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2016-12-23 07:45:58,788 [myid:] - INFO  
[main:PrepRequestProcessor@765] - Shutting down
[junit] 2016-12-23 07:45:58,788 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2016-12-23 07:45:58,788 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2016-12-23 07:45:58,789 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2016-12-23 07:45:58,789 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2016-12-23 07:45:58,790 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-12-23 07:45:58,790 [myid:] - INFO  [main:JMXEnv@147] - 
ensureOnly:[]
[junit] 2016-12-23 07:45:58,792 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2016-12-23 07:45:58,792 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2016-12-23 07:45:58,792 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2016-12-23 07:45:58,793 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2016-12-23 07:45:58,793 [myid:] - INFO  [main:ZooKeeperServer@173] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/build/test/tmp/test3188739163492533133.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/build/test/tmp/test3188739163492533133.junit.dir/version-2
[junit] 2016-12-23 07:45:58,798 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-23 07:45:58,798 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-12-23 07:45:58,799 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:54636
[junit] 2016-12-23 07:45:58,799 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:54636
[junit] 2016-12-23 07:45:58,800 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2016-12-23 07:45:58,800 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1008] - Closed socket connection for client 
/127.0.0.1:54636 (no session established for client)
[junit] 2016-12-23 07:45:58,800 [myid:] - INFO  [main:JMXEnv@230] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-23 07:45:58,803 [myid:] - INFO  [main:JMXEnv@247] - 
expect:InMemoryDataTree
[junit] 2016-12-23 07:45:58,803 [myid:] - INFO  [main:JMXEnv@251] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2016-12-23 07:45:58,803 [myid:] - INFO  [main:JMXEnv@247] - 
expect:StandaloneServer_port
[junit] 2016-12-23 07:45:58,803 [myid:] - INFO  [main:JMXEnv@251] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2016-12-23 07:45:58,804 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 32679
[junit] 2016-12-23 07:45:58,804 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2016-12-23 07:45:58,804 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2016-12-23 07:45:58,804 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2016-12-23 07:45:58,869 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x1592aa4c565 closed
[junit] 2016-12-23 07:45:58,870 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2016-12-23 07:45:58,870 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - 
NIOServerCnxn factory exited run method
[junit] 2016-12-23 

ZooKeeper_branch35_solaris - Build # 367 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/367/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 474974 lines...]
[junit] 2016-12-23 07:19:12,322 [myid:] - INFO  [main:ClientBase@386] - 
CREATING server instance 127.0.0.1:11222
[junit] 2016-12-23 07:19:12,322 [myid:] - INFO  
[main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 
kB direct buffers.
[junit] 2016-12-23 07:19:12,323 [myid:] - INFO  
[main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222
[junit] 2016-12-23 07:19:12,323 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2016-12-23 07:19:12,324 [myid:] - INFO  [main:ZooKeeperServer@893] 
- minSessionTimeout set to 6000
[junit] 2016-12-23 07:19:12,324 [myid:] - INFO  [main:ZooKeeperServer@902] 
- maxSessionTimeout set to 6
[junit] 2016-12-23 07:19:12,324 [myid:] - INFO  [main:ZooKeeperServer@159] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test6145344082114783289.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test6145344082114783289.junit.dir/version-2
[junit] 2016-12-23 07:19:12,325 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test6145344082114783289.junit.dir/version-2/snapshot.b
[junit] 2016-12-23 07:19:12,327 [myid:] - INFO  [main:FileTxnSnapLog@306] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test6145344082114783289.junit.dir/version-2/snapshot.b
[junit] 2016-12-23 07:19:12,328 [myid:] - ERROR [main:ZooKeeperServer@505] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-23 07:19:12,328 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-12-23 07:19:12,329 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:58582
[junit] 2016-12-23 07:19:12,329 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:58582
[junit] 2016-12-23 07:19:12,330 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-12-23 07:19:12,330 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@614] - Closed socket connection for client 
/127.0.0.1:58582 (no session established for client)
[junit] 2016-12-23 07:19:12,330 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-23 07:19:12,331 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-12-23 07:19:12,331 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-12-23 07:19:12,332 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-12-23 07:19:12,332 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-12-23 07:19:12,332 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17749
[junit] 2016-12-23 07:19:12,332 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-12-23 07:19:12,332 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-12-23 07:19:12,333 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-23 07:19:12,412 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x125a7860a1f closed
[junit] 2016-12-23 07:19:12,412 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x125a7860a1f
[junit] 2016-12-23 07:19:12,412 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-23 07:19:12,413 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-12-23 07:19:12,413 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-12-23 07:19:12,413 [myid:] - INFO  

[jira] [Commented] (ZOOKEEPER-2656) Fix ServerConfigTest#testValidArguments test case failures

2016-12-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15772105#comment-15772105
 ] 

Hudson commented on ZOOKEEPER-2656:
---

SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #3209 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/3209/])
ZOOKEEPER-2656: Fix ServerConfigTest#testValidArguments test case fai… (hanm: 
rev 085a7ab4efe04e566e952af1123e98eda609bd1b)
* (edit) src/java/test/org/apache/zookeeper/ServerConfigTest.java


> Fix ServerConfigTest#testValidArguments test case failures
> --
>
> Key: ZOOKEEPER-2656
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2656
> Project: ZooKeeper
>  Issue Type: Test
>Reporter: Rakesh R
>Assignee: Rakesh R
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
>
> This jira to fix ServerConfigTest#testValidArguments test case failure. 
> Reference: 
> https://builds.apache.org/job/ZooKeeper-trunk/3207/testReport/org.apache.zookeeper/ServerConfigTest/testValidArguments/
> {code}
> Error Message
> expected: java.lang.String but was: java.io.File
> Stacktrace
> junit.framework.AssertionFailedError: expected: java.lang.String 
> but was: java.io.File
>   at 
> org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


ZooKeeper-trunk-WinVS2008 - Build # 2378 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008/2378/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 93 lines...]
[ivy:retrieve]  found org.slf4j#slf4j-api;1.7.5 in maven2
[ivy:retrieve]  found org.slf4j#slf4j-log4j12;1.7.5 in maven2
[ivy:retrieve]  found commons-cli#commons-cli;1.2 in maven2
[ivy:retrieve]  found log4j#log4j;1.2.17 in maven2
[ivy:retrieve]  found io.netty#netty;3.10.5.Final in maven2
[ivy:retrieve]  found net.java.dev.javacc#javacc;5.0 in maven2
[ivy:retrieve] :: resolution report :: resolve 477ms :: artifacts dl 27ms
-
|  |modules||   artifacts   |
|   conf   | number| search|dwnlded|evicted|| number|dwnlded|
-
|  default |   16  |   0   |   0   |   0   ||   16  |   0   |
-
[ivy:retrieve] :: retrieving :: org.apache.zookeeper#zookeeper
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  16 artifacts copied, 0 already retrieved (4635kB/73ms)

generate_jute_parser:
[mkdir] Created dir: 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build\jute_compiler\org\apache\jute\compiler\generated
[ivy:artifactproperty] DEPRECATED: 'ivy.conf.file' is deprecated, use 
'ivy.settings.file' instead
[ivy:artifactproperty] :: loading settings :: file = 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\ivysettings.xml
 [move] Moving 1 file to 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build\lib
   [javacc] Java Compiler Compiler Version 5.0 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\java\main\org\apache\jute\compiler\generated\rcc.jj
 . . .
   [javacc] File "TokenMgrError.java" does not exist.  Will create one.
   [javacc] File "ParseException.java" does not exist.  Will create one.
   [javacc] File "Token.java" does not exist.  Will create one.
   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
   [javacc] Parser generated successfully.

jute:
[javac] Compiling 39 source files to 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build\classes
[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.7
[javac] 1 warning

compile_jute_uptodate:

compile_jute:
[mkdir] Created dir: 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\java\generated
[mkdir] Created dir: 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\c\generated
 [java] ../../zookeeper.jute Parsed Successfully
 [java] ../../zookeeper.jute Parsed Successfully
[touch] Creating 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\java\generated\.generated

BUILD SUCCESSFUL
Total time: 6 seconds
[ZooKeeper-trunk-WinVS2008] $ cmd /c call 
C:\Users\jenkins\AppData\Local\Temp\1\hudson7887623286788500689.bat

f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008>set 
ZOOKEEPER_HOME=f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008 

f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008>msbuild 
src/c/zookeeper.sln /p:Configuration=Release 
'msbuild' is not recognized as an internal or external command,
operable program or batch file.

f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008>exit 9009 
Build step 'Execute Windows batch command' marked build as failure
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

[jira] [Commented] (ZOOKEEPER-2652) Fix HierarchicalQuorumTest.java

2016-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15772074#comment-15772074
 ] 

ASF GitHub Bot commented on ZOOKEEPER-2652:
---

Github user rakeshadr closed the pull request at:

https://github.com/apache/zookeeper/pull/132


> Fix HierarchicalQuorumTest.java
> ---
>
> Key: ZOOKEEPER-2652
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2652
> Project: ZooKeeper
>  Issue Type: Bug
>Affects Versions: 3.4.10
>Reporter: Rakesh R
>Assignee: Rakesh R
> Fix For: 3.4.10
>
>
> The commit of ZOOKEEPER-2479 has introduced a compilation error(due to 
> diamond operator usage) in {{branch-3.4}}, which uses {{JDK 1.6}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zookeeper pull request #132: ZOOKEEPER-2652: Fix HierarchicalQuorumTest.java

2016-12-22 Thread rakeshadr
Github user rakeshadr closed the pull request at:

https://github.com/apache/zookeeper/pull/132


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (ZOOKEEPER-2652) Fix HierarchicalQuorumTest.java

2016-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15772075#comment-15772075
 ] 

ASF GitHub Bot commented on ZOOKEEPER-2652:
---

Github user rakeshadr commented on the issue:

https://github.com/apache/zookeeper/pull/132
  
Sure, closing the PR manually.


> Fix HierarchicalQuorumTest.java
> ---
>
> Key: ZOOKEEPER-2652
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2652
> Project: ZooKeeper
>  Issue Type: Bug
>Affects Versions: 3.4.10
>Reporter: Rakesh R
>Assignee: Rakesh R
> Fix For: 3.4.10
>
>
> The commit of ZOOKEEPER-2479 has introduced a compilation error(due to 
> diamond operator usage) in {{branch-3.4}}, which uses {{JDK 1.6}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zookeeper issue #132: ZOOKEEPER-2652: Fix HierarchicalQuorumTest.java

2016-12-22 Thread rakeshadr
Github user rakeshadr commented on the issue:

https://github.com/apache/zookeeper/pull/132
  
Sure, closing the PR manually.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (ZOOKEEPER-2652) Fix HierarchicalQuorumTest.java

2016-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15772066#comment-15772066
 ] 

ASF GitHub Bot commented on ZOOKEEPER-2652:
---

Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/132
  
@rakeshadr I think you could close this PR - it's supposed to be closed by 
https://github.com/apache/zookeeper/commit/3b65d7513b69c436fb8461a630d2f35bf418fb6c
 but does not for some reasons.


> Fix HierarchicalQuorumTest.java
> ---
>
> Key: ZOOKEEPER-2652
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2652
> Project: ZooKeeper
>  Issue Type: Bug
>Affects Versions: 3.4.10
>Reporter: Rakesh R
>Assignee: Rakesh R
> Fix For: 3.4.10
>
>
> The commit of ZOOKEEPER-2479 has introduced a compilation error(due to 
> diamond operator usage) in {{branch-3.4}}, which uses {{JDK 1.6}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zookeeper issue #132: ZOOKEEPER-2652: Fix HierarchicalQuorumTest.java

2016-12-22 Thread hanm
Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/132
  
@rakeshadr I think you could close this PR - it's supposed to be closed by 
https://github.com/apache/zookeeper/commit/3b65d7513b69c436fb8461a630d2f35bf418fb6c
 but does not for some reasons.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (ZOOKEEPER-2549) As NettyServerCnxn.sendResponse() allows all the exception to bubble up it can stop main ZK requests processing thread

2016-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15772059#comment-15772059
 ] 

ASF GitHub Bot commented on ZOOKEEPER-2549:
---

Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/99
  
@yufeldman could you please fix some coding style issues pointed out by 
@eribeiro (4 spaces indentation, extra white space, etc)? I'll merge your patch 
once those comments are addressed. Thanks.


> As NettyServerCnxn.sendResponse() allows all the exception to bubble up it 
> can stop main ZK requests processing thread
> --
>
> Key: ZOOKEEPER-2549
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2549
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.5.1
>Reporter: Yuliya Feldman
>Assignee: Yuliya Feldman
> Attachments: ZOOKEEPER-2549-2.patch, ZOOKEEPER-2549-3.patch, 
> ZOOKEEPER-2549-3.patch, ZOOKEEPER-2549-4.patch, ZOOKEEPER-2549-5.patch, 
> ZOOKEEPER-2549.patch, ZOOKEEPER-2549.patch, zookeeper-2549-1.patch
>
>
> As NettyServerCnxn.sendResponse() allows all the exception to bubble up it 
> can stop main ZK requests processing thread and make Zookeeper server look 
> like it is hanging, while it just can not process any request anymore.
> Idea is to catch all the exceptions in NettyServerCnxn.sendResponse() , 
> convert them to IOException and allow it propagating up



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zookeeper issue #99: ZOOKEEPER-2549 Add exception handling to sendResponse

2016-12-22 Thread hanm
Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/99
  
@yufeldman could you please fix some coding style issues pointed out by 
@eribeiro (4 spaces indentation, extra white space, etc)? I'll merge your patch 
once those comments are addressed. Thanks.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Resolved] (ZOOKEEPER-2656) Fix ServerConfigTest#testValidArguments test case failures

2016-12-22 Thread Michael Han (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Han resolved ZOOKEEPER-2656.

   Resolution: Fixed
Fix Version/s: 3.5.3
   3.4.10
   3.6.0

Issue resolved by pull request 134
[https://github.com/apache/zookeeper/pull/134]

> Fix ServerConfigTest#testValidArguments test case failures
> --
>
> Key: ZOOKEEPER-2656
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2656
> Project: ZooKeeper
>  Issue Type: Test
>Reporter: Rakesh R
>Assignee: Rakesh R
> Fix For: 3.6.0, 3.4.10, 3.5.3
>
>
> This jira to fix ServerConfigTest#testValidArguments test case failure. 
> Reference: 
> https://builds.apache.org/job/ZooKeeper-trunk/3207/testReport/org.apache.zookeeper/ServerConfigTest/testValidArguments/
> {code}
> Error Message
> expected: java.lang.String but was: java.io.File
> Stacktrace
> junit.framework.AssertionFailedError: expected: java.lang.String 
> but was: java.io.File
>   at 
> org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Failed: ZOOKEEPER- PreCommit Build #152

2016-12-22 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/152/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 30 lines...]
at hudson.remoting.Request$2.run(Request.java:332)
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)
at ..remote call to H7(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:781)
at 
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:249)
at com.sun.proxy.$Proxy90.checkoutBranch(Unknown Source)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl.checkoutBranch(RemoteGitImpl.java:327)
at 
com.cloudbees.jenkins.plugins.git.vmerge.BuildChooserImpl.getCandidateRevisions(BuildChooserImpl.java:78)
at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:984)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1087)
at hudson.scm.SCM.checkout(SCM.java:485)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
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:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: hudson.plugins.git.GitException: Command "git checkout -f 
origin/trunk" returned status code 1:
stdout: 
stderr: error: pathspec 'origin/trunk' did not match any file(s) known to git.

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1723)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1699)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1695)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1317)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1329)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:1979)
at 
org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.checkoutBranch(AbstractGitAPIImpl.java:82)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:884)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:859)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:818)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:332)
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)
Archiving artifacts
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
[description-setter] Could not determine description.
Putting comment on the pull request
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

Failed: ZOOKEEPER- PreCommit Build #151

2016-12-22 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/151/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 30 lines...]
at hudson.remoting.Request$2.run(Request.java:332)
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)
at ..remote call to H7(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:781)
at 
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:249)
at com.sun.proxy.$Proxy90.checkoutBranch(Unknown Source)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl.checkoutBranch(RemoteGitImpl.java:327)
at 
com.cloudbees.jenkins.plugins.git.vmerge.BuildChooserImpl.getCandidateRevisions(BuildChooserImpl.java:78)
at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:984)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1087)
at hudson.scm.SCM.checkout(SCM.java:485)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
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:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: hudson.plugins.git.GitException: Command "git checkout -f 
origin/trunk" returned status code 1:
stdout: 
stderr: error: pathspec 'origin/trunk' did not match any file(s) known to git.

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1723)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1699)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1695)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1317)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1329)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:1979)
at 
org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.checkoutBranch(AbstractGitAPIImpl.java:82)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:884)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:859)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:818)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:332)
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)
Archiving artifacts
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
[description-setter] Could not determine description.
Putting comment on the pull request
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

[jira] [Commented] (ZOOKEEPER-2656) Fix ServerConfigTest#testValidArguments test case failures

2016-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15772030#comment-15772030
 ] 

ASF GitHub Bot commented on ZOOKEEPER-2656:
---

Github user asfgit closed the pull request at:

https://github.com/apache/zookeeper/pull/134


> Fix ServerConfigTest#testValidArguments test case failures
> --
>
> Key: ZOOKEEPER-2656
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2656
> Project: ZooKeeper
>  Issue Type: Test
>Reporter: Rakesh R
>Assignee: Rakesh R
>
> This jira to fix ServerConfigTest#testValidArguments test case failure. 
> Reference: 
> https://builds.apache.org/job/ZooKeeper-trunk/3207/testReport/org.apache.zookeeper/ServerConfigTest/testValidArguments/
> {code}
> Error Message
> expected: java.lang.String but was: java.io.File
> Stacktrace
> junit.framework.AssertionFailedError: expected: java.lang.String 
> but was: java.io.File
>   at 
> org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zookeeper pull request #134: ZOOKEEPER-2656: Fix ServerConfigTest#testValidA...

2016-12-22 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/zookeeper/pull/134


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (ZOOKEEPER-2656) Fix ServerConfigTest#testValidArguments test case failures

2016-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15772028#comment-15772028
 ] 

ASF GitHub Bot commented on ZOOKEEPER-2656:
---

Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/134
  
LGTM, thanks @rakeshadr !


> Fix ServerConfigTest#testValidArguments test case failures
> --
>
> Key: ZOOKEEPER-2656
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2656
> Project: ZooKeeper
>  Issue Type: Test
>Reporter: Rakesh R
>Assignee: Rakesh R
>
> This jira to fix ServerConfigTest#testValidArguments test case failure. 
> Reference: 
> https://builds.apache.org/job/ZooKeeper-trunk/3207/testReport/org.apache.zookeeper/ServerConfigTest/testValidArguments/
> {code}
> Error Message
> expected: java.lang.String but was: java.io.File
> Stacktrace
> junit.framework.AssertionFailedError: expected: java.lang.String 
> but was: java.io.File
>   at 
> org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zookeeper issue #134: ZOOKEEPER-2656: Fix ServerConfigTest#testValidArgument...

2016-12-22 Thread hanm
Github user hanm commented on the issue:

https://github.com/apache/zookeeper/pull/134
  
LGTM, thanks @rakeshadr !


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


ZooKeeper-trunk-WinVS2008 - Build # 2377 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008/2377/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 93 lines...]
[ivy:retrieve]  found org.slf4j#slf4j-api;1.7.5 in maven2
[ivy:retrieve]  found org.slf4j#slf4j-log4j12;1.7.5 in maven2
[ivy:retrieve]  found commons-cli#commons-cli;1.2 in maven2
[ivy:retrieve]  found log4j#log4j;1.2.17 in maven2
[ivy:retrieve]  found io.netty#netty;3.10.5.Final in maven2
[ivy:retrieve]  found net.java.dev.javacc#javacc;5.0 in maven2
[ivy:retrieve] :: resolution report :: resolve 485ms :: artifacts dl 22ms
-
|  |modules||   artifacts   |
|   conf   | number| search|dwnlded|evicted|| number|dwnlded|
-
|  default |   16  |   0   |   0   |   0   ||   16  |   0   |
-
[ivy:retrieve] :: retrieving :: org.apache.zookeeper#zookeeper
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  16 artifacts copied, 0 already retrieved (4635kB/92ms)

generate_jute_parser:
[mkdir] Created dir: 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build\jute_compiler\org\apache\jute\compiler\generated
[ivy:artifactproperty] DEPRECATED: 'ivy.conf.file' is deprecated, use 
'ivy.settings.file' instead
[ivy:artifactproperty] :: loading settings :: file = 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\ivysettings.xml
 [move] Moving 1 file to 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build\lib
   [javacc] Java Compiler Compiler Version 5.0 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\java\main\org\apache\jute\compiler\generated\rcc.jj
 . . .
   [javacc] File "TokenMgrError.java" does not exist.  Will create one.
   [javacc] File "ParseException.java" does not exist.  Will create one.
   [javacc] File "Token.java" does not exist.  Will create one.
   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
   [javacc] Parser generated successfully.

jute:
[javac] Compiling 39 source files to 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build\classes
[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.7
[javac] 1 warning

compile_jute_uptodate:

compile_jute:
[mkdir] Created dir: 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\java\generated
[mkdir] Created dir: 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\c\generated
 [java] ../../zookeeper.jute Parsed Successfully
 [java] ../../zookeeper.jute Parsed Successfully
[touch] Creating 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\java\generated\.generated

BUILD SUCCESSFUL
Total time: 5 seconds
[ZooKeeper-trunk-WinVS2008] $ cmd /c call 
C:\Users\jenkins\AppData\Local\Temp\1\hudson6168835307852944946.bat

f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008>set 
ZOOKEEPER_HOME=f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008 

f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008>msbuild 
src/c/zookeeper.sln /p:Configuration=Release 
'msbuild' is not recognized as an internal or external command,
operable program or batch file.

f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008>exit 9009 
Build step 'Execute Windows batch command' marked build as failure
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

[jira] [Commented] (ZOOKEEPER-2656) Fix ServerConfigTest#testValidArguments test case failures

2016-12-22 Thread Rakesh R (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15771923#comment-15771923
 ] 

Rakesh R commented on ZOOKEEPER-2656:
-

It looks like 
{{ReconfigRecoveryTest.testCurrentServersAreObserversInNextConfig}} case 
failure will be handled by ZOOKEEPER-2080.

> Fix ServerConfigTest#testValidArguments test case failures
> --
>
> Key: ZOOKEEPER-2656
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2656
> Project: ZooKeeper
>  Issue Type: Test
>Reporter: Rakesh R
>Assignee: Rakesh R
>
> This jira to fix ServerConfigTest#testValidArguments test case failure. 
> Reference: 
> https://builds.apache.org/job/ZooKeeper-trunk/3207/testReport/org.apache.zookeeper/ServerConfigTest/testValidArguments/
> {code}
> Error Message
> expected: java.lang.String but was: java.io.File
> Stacktrace
> junit.framework.AssertionFailedError: expected: java.lang.String 
> but was: java.io.File
>   at 
> org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ZOOKEEPER-2656) Fix ServerConfigTest#testValidArguments test case failures

2016-12-22 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15771918#comment-15771918
 ] 

Hadoop QA commented on ZOOKEEPER-2656:
--

-1 overall.  GitHub Pull Request  Build
  

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 3 new or modified tests.

+1 javadoc.  The javadoc tool did not generate any warning messages.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

+1 findbugs.  The patch does not introduce any new Findbugs (version 3.0.1) 
warnings.

+1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

-1 core tests.  The patch failed core unit tests.

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/150//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/150//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/150//console

This message is automatically generated.

> Fix ServerConfigTest#testValidArguments test case failures
> --
>
> Key: ZOOKEEPER-2656
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2656
> Project: ZooKeeper
>  Issue Type: Test
>Reporter: Rakesh R
>Assignee: Rakesh R
>
> This jira to fix ServerConfigTest#testValidArguments test case failure. 
> Reference: 
> https://builds.apache.org/job/ZooKeeper-trunk/3207/testReport/org.apache.zookeeper/ServerConfigTest/testValidArguments/
> {code}
> Error Message
> expected: java.lang.String but was: java.io.File
> Stacktrace
> junit.framework.AssertionFailedError: expected: java.lang.String 
> but was: java.io.File
>   at 
> org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Failed: ZOOKEEPER- PreCommit Build #150

2016-12-22 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/150/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 473355 lines...]
 [exec] 
 [exec] +1 javadoc.  The javadoc tool did not generate any warning 
messages.
 [exec] 
 [exec] +1 javac.  The applied patch does not increase the total number 
of javac compiler warnings.
 [exec] 
 [exec] +1 findbugs.  The patch does not introduce any new Findbugs 
(version 3.0.1) warnings.
 [exec] 
 [exec] +1 release audit.  The applied patch does not increase the 
total number of release audit warnings.
 [exec] 
 [exec] -1 core tests.  The patch failed core unit tests.
 [exec] 
 [exec] +1 contrib tests.  The patch passed contrib unit tests.
 [exec] 
 [exec] Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/150//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/150//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/150//console
 [exec] 
 [exec] This message is automatically generated.
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Adding comment to Jira.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] Comment added.
 [exec] e8b5f382995af423986a2f8dc689a2d6c8bd38d1 logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] mv: 
'/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess'
 and 
'/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess'
 are the same file

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1628:
 exec returned: 1

Total time: 13 minutes 20 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Compressed 574.06 KB of artifacts by 27.9% relative to #135
Recording test results
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[description-setter] Description set: ZOOKEEPER-2656
Putting comment on the pull request
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7



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

Error Message:
waiting for server 3 being up

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




[jira] [Commented] (ZOOKEEPER-2656) Fix ServerConfigTest#testValidArguments test case failures

2016-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15771861#comment-15771861
 ] 

ASF GitHub Bot commented on ZOOKEEPER-2656:
---

GitHub user rakeshadr opened a pull request:

https://github.com/apache/zookeeper/pull/134

ZOOKEEPER-2656: Fix ServerConfigTest#testValidArguments test case fai…

…lures

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rakeshadr/zookeeper-1 ZK-2656

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zookeeper/pull/134.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #134


commit 02daa84d8a2cf12e7324f250544db530ee2b49ed
Author: Rakesh Radhakrishnan 
Date:   2016-12-23T04:30:19Z

ZOOKEEPER-2656: Fix ServerConfigTest#testValidArguments test case failures




> Fix ServerConfigTest#testValidArguments test case failures
> --
>
> Key: ZOOKEEPER-2656
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2656
> Project: ZooKeeper
>  Issue Type: Test
>Reporter: Rakesh R
>Assignee: Rakesh R
>
> This jira to fix ServerConfigTest#testValidArguments test case failure. 
> Reference: 
> https://builds.apache.org/job/ZooKeeper-trunk/3207/testReport/org.apache.zookeeper/ServerConfigTest/testValidArguments/
> {code}
> Error Message
> expected: java.lang.String but was: java.io.File
> Stacktrace
> junit.framework.AssertionFailedError: expected: java.lang.String 
> but was: java.io.File
>   at 
> org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zookeeper pull request #134: ZOOKEEPER-2656: Fix ServerConfigTest#testValidA...

2016-12-22 Thread rakeshadr
GitHub user rakeshadr opened a pull request:

https://github.com/apache/zookeeper/pull/134

ZOOKEEPER-2656: Fix ServerConfigTest#testValidArguments test case fai…

…lures

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rakeshadr/zookeeper-1 ZK-2656

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zookeeper/pull/134.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #134


commit 02daa84d8a2cf12e7324f250544db530ee2b49ed
Author: Rakesh Radhakrishnan 
Date:   2016-12-23T04:30:19Z

ZOOKEEPER-2656: Fix ServerConfigTest#testValidArguments test case failures




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (ZOOKEEPER-2470) ServerConfig#parse(String[]) ignores tickTime

2016-12-22 Thread Rakesh R (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15771851#comment-15771851
 ] 

Rakesh R commented on ZOOKEEPER-2470:
-

{{ServerConfigTest#testValidArguments}} test case is failing, I've created 
ZOOKEEPER-2656 to fix the same.

> ServerConfig#parse(String[])  ignores tickTime
> --
>
> Key: ZOOKEEPER-2470
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2470
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.4.7, 3.5.1
>Reporter: Alexander Shraer
>Assignee: Edward Ribeiro
>Priority: Trivial
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
> Attachments: ZOOKEEPER-2470.patch
>
>
> Based on bug report from ykgarfield:
> ServerConfig#parse(String[]) method has the following code:
> public void parse(String[] args) {
> ...
> if (args.length == 3) {
> tickTime = Integer.parseInt(args[2]);
> }
> if (args.length == 4) {
> maxClientCnxns = Integer.parseInt(args[3]);
> }
> }
> ```
> So if args.length == 4 tickTime isn't parsed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ZOOKEEPER-2655) Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly

2016-12-22 Thread Rakesh R (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15771848#comment-15771848
 ] 

Rakesh R commented on ZOOKEEPER-2655:
-

Thanks [~eribeiro] for the reviews.
Thanks [~hanm] for the reviews and commits.


> Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly
> --
>
> Key: ZOOKEEPER-2655
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2655
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Reporter: Rakesh R
>Assignee: Rakesh R
>Priority: Minor
> Fix For: 3.5.3, 3.6.0
>
>
> This jira to improve the semantics of the following internal functions to 
> make it more readable:
> # {{NIOServerCnxn#isZKServerRunning()}} => return true if the server is 
> running, false otherwise.
> # {{AbstractFourLetterCommand#isZKServerRunning()}} => return true if the 
> server is running, false otherwise.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ZOOKEEPER-2656) Fix ServerConfigTest#testValidArguments test case failures

2016-12-22 Thread Rakesh R (JIRA)
Rakesh R created ZOOKEEPER-2656:
---

 Summary: Fix ServerConfigTest#testValidArguments test case failures
 Key: ZOOKEEPER-2656
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2656
 Project: ZooKeeper
  Issue Type: Test
Reporter: Rakesh R
Assignee: Rakesh R


This jira to fix ServerConfigTest#testValidArguments test case failure. 
Reference: 
https://builds.apache.org/job/ZooKeeper-trunk/3207/testReport/org.apache.zookeeper/ServerConfigTest/testValidArguments/
{code}
Error Message

expected: java.lang.String but was: java.io.File
Stacktrace

junit.framework.AssertionFailedError: expected: java.lang.String but 
was: java.io.File
at 
org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


ZooKeeper_branch35_solaris - Build # 366 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/366/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 471201 lines...]
[junit] 2016-12-23 03:30:34,133 [myid:] - INFO  [main:ClientBase@386] - 
CREATING server instance 127.0.0.1:11222
[junit] 2016-12-23 03:30:34,133 [myid:] - INFO  
[main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 
kB direct buffers.
[junit] 2016-12-23 03:30:34,133 [myid:] - INFO  
[main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222
[junit] 2016-12-23 03:30:34,134 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2016-12-23 03:30:34,134 [myid:] - INFO  [main:ZooKeeperServer@893] 
- minSessionTimeout set to 6000
[junit] 2016-12-23 03:30:34,135 [myid:] - INFO  [main:ZooKeeperServer@902] 
- maxSessionTimeout set to 6
[junit] 2016-12-23 03:30:34,135 [myid:] - INFO  [main:ZooKeeperServer@159] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test7964377619608330366.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test7964377619608330366.junit.dir/version-2
[junit] 2016-12-23 03:30:34,135 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test7964377619608330366.junit.dir/version-2/snapshot.b
[junit] 2016-12-23 03:30:34,137 [myid:] - INFO  [main:FileTxnSnapLog@306] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test7964377619608330366.junit.dir/version-2/snapshot.b
[junit] 2016-12-23 03:30:34,139 [myid:] - ERROR [main:ZooKeeperServer@505] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-23 03:30:34,139 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-12-23 03:30:34,139 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:39048
[junit] 2016-12-23 03:30:34,140 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:39048
[junit] 2016-12-23 03:30:34,140 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-12-23 03:30:34,140 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@614] - Closed socket connection for client 
/127.0.0.1:39048 (no session established for client)
[junit] 2016-12-23 03:30:34,140 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-23 03:30:34,142 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-12-23 03:30:34,142 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-12-23 03:30:34,142 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-12-23 03:30:34,142 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-12-23 03:30:34,142 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17746
[junit] 2016-12-23 03:30:34,143 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-12-23 03:30:34,143 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-12-23 03:30:34,143 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-23 03:30:34,222 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x125a6b4b8c0 closed
[junit] 2016-12-23 03:30:34,222 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x125a6b4b8c0
[junit] 2016-12-23 03:30:34,222 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-23 03:30:34,222 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-12-23 03:30:34,222 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-12-23 03:30:34,222 [myid:] - INFO  

ZooKeeper_branch35_solaris - Build # 365 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/365/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 462299 lines...]
[junit] 2016-12-23 02:17:50,954 [myid:] - INFO  [main:ClientBase@386] - 
CREATING server instance 127.0.0.1:11222
[junit] 2016-12-23 02:17:50,954 [myid:] - INFO  
[main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 
kB direct buffers.
[junit] 2016-12-23 02:17:50,955 [myid:] - INFO  
[main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222
[junit] 2016-12-23 02:17:50,956 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2016-12-23 02:17:50,956 [myid:] - INFO  [main:ZooKeeperServer@893] 
- minSessionTimeout set to 6000
[junit] 2016-12-23 02:17:50,956 [myid:] - INFO  [main:ZooKeeperServer@902] 
- maxSessionTimeout set to 6
[junit] 2016-12-23 02:17:50,956 [myid:] - INFO  [main:ZooKeeperServer@159] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test813260410856813.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test813260410856813.junit.dir/version-2
[junit] 2016-12-23 02:17:50,957 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test813260410856813.junit.dir/version-2/snapshot.b
[junit] 2016-12-23 02:17:50,959 [myid:] - INFO  [main:FileTxnSnapLog@306] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test813260410856813.junit.dir/version-2/snapshot.b
[junit] 2016-12-23 02:17:50,960 [myid:] - ERROR [main:ZooKeeperServer@505] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-23 02:17:50,961 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-12-23 02:17:50,961 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:52385
[junit] 2016-12-23 02:17:50,962 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:52385
[junit] 2016-12-23 02:17:50,962 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-12-23 02:17:50,962 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@614] - Closed socket connection for client 
/127.0.0.1:52385 (no session established for client)
[junit] 2016-12-23 02:17:50,962 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-23 02:17:50,964 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-12-23 02:17:50,964 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-12-23 02:17:50,964 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-12-23 02:17:50,964 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-12-23 02:17:50,964 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17895
[junit] 2016-12-23 02:17:50,965 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-12-23 02:17:50,965 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-12-23 02:17:50,965 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-23 02:17:51,042 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x125a6722577 closed
[junit] 2016-12-23 02:17:51,042 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x125a6722577
[junit] 2016-12-23 02:17:51,042 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-23 02:17:51,043 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-12-23 02:17:51,043 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-12-23 02:17:51,043 [myid:] - INFO  

ZooKeeper-trunk-solaris - Build # 1436 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/1436/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 613929 lines...]
[junit] 2016-12-23 00:30:59,452 [myid:] - INFO  [main:ClientBase@386] - 
CREATING server instance 127.0.0.1:11222
[junit] 2016-12-23 00:30:59,453 [myid:] - INFO  
[main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 
kB direct buffers.
[junit] 2016-12-23 00:30:59,453 [myid:] - INFO  
[main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222
[junit] 2016-12-23 00:30:59,454 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2016-12-23 00:30:59,454 [myid:] - INFO  [main:ZooKeeperServer@894] 
- minSessionTimeout set to 6000
[junit] 2016-12-23 00:30:59,454 [myid:] - INFO  [main:ZooKeeperServer@903] 
- maxSessionTimeout set to 6
[junit] 2016-12-23 00:30:59,454 [myid:] - INFO  [main:ZooKeeperServer@160] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test3412316235794068716.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test3412316235794068716.junit.dir/version-2
[junit] 2016-12-23 00:30:59,455 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test3412316235794068716.junit.dir/version-2/snapshot.b
[junit] 2016-12-23 00:30:59,457 [myid:] - INFO  [main:FileTxnSnapLog@306] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test3412316235794068716.junit.dir/version-2/snapshot.b
[junit] 2016-12-23 00:30:59,458 [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] 2016-12-23 00:30:59,458 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-12-23 00:30:59,459 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:33712
[junit] 2016-12-23 00:30:59,459 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:33712
[junit] 2016-12-23 00:30:59,460 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-12-23 00:30:59,460 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@614] - Closed socket connection for client 
/127.0.0.1:33712 (no session established for client)
[junit] 2016-12-23 00:30:59,460 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-23 00:30:59,461 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-12-23 00:30:59,462 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-12-23 00:30:59,462 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-12-23 00:30:59,462 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-12-23 00:30:59,462 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17814
[junit] 2016-12-23 00:30:59,462 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-12-23 00:30:59,463 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-12-23 00:30:59,463 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-23 00:30:59,542 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x125a610505c closed
[junit] 2016-12-23 00:30:59,542 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x125a610505c
[junit] 2016-12-23 00:30:59,542 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-23 00:30:59,542 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-12-23 00:30:59,542 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-12-23 00:30:59,543 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- 

[jira] [Commented] (ZOOKEEPER-1078) add maven build support to ZooKeeper

2016-12-22 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15771475#comment-15771475
 ] 

Hadoop QA commented on ZOOKEEPER-1078:
--

-1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12814865/ZOOKEEPER-1078-05.patch
  against trunk revision f588e1982f382a586fea53a1fbb11914d48560de.

+1 @author.  The patch does not contain any @author tags.

+1 tests included.  The patch appears to include 27 new or modified tests.

-1 patch.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3554//console

This message is automatically generated.

> add maven build support to ZooKeeper
> 
>
> Key: ZOOKEEPER-1078
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1078
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: build
>Reporter: Patrick Hunt
>Assignee: Arshad Mohammad
> Fix For: 3.5.3, 3.6.0
>
> Attachments: ZOOKEEPER-1078-04.patch, ZOOKEEPER-1078-05.patch, 
> ZOOKEEPER-1078.patch, ZOOKEEPER-1078.patch, ZOOKEEPER-1078.patch
>
>
> I've taken a stab at creating a maven build for ZooKeeper. (attachment to 
> follow).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Failed: ZOOKEEPER-1078 PreCommit Build #3554

2016-12-22 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1078
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3554/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 122 lines...]
 [exec] PATCH APPLICATION FAILED
 [exec] 
 [exec] 
 [exec] 
 [exec] 
 [exec] -1 overall.  Here are the results of testing the latest attachment 
 [exec]   
http://issues.apache.org/jira/secure/attachment/12814865/ZOOKEEPER-1078-05.patch
 [exec]   against trunk revision f588e1982f382a586fea53a1fbb11914d48560de.
 [exec] 
 [exec] +1 @author.  The patch does not contain any @author tags.
 [exec] 
 [exec] +1 tests included.  The patch appears to include 27 new or 
modified tests.
 [exec] 
 [exec] -1 patch.  The patch command could not apply the patch.
 [exec] 
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3554//console
 [exec] 
 [exec] This message is automatically generated.
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Adding comment to Jira.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] Comment added.
 [exec] b0eaeab94e28d5219650843a67b2b11521c37532 logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] mv: 
‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/patchprocess’ 
and 
‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/patchprocess’ 
are the same file

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/build.xml:1607: 
exec returned: 1

Total time: 42 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Recording test results
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files 
were found. Configuration error?
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[description-setter] Description set: ZOOKEEPER-1078
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7



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

ZooKeeper_branch35_openjdk7 - Build # 344 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/344/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by an SCM change
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H16 (ubuntu) in workspace 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_openjdk7
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10
Fetching upstream changes from git://git.apache.org/zookeeper.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > git://git.apache.org/zookeeper.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/branch-3.5^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/branch-3.5^{commit} # timeout=10
Checking out Revision b98ee36461b15e2706f7fbb596ee896757c575b8 
(refs/remotes/origin/branch-3.5)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b98ee36461b15e2706f7fbb596ee896757c575b8
 > git rev-list 9efc3d3dedefc7db9255b5b11bd77ed518399e3f # timeout=10
No emails were triggered.
[ZooKeeper_branch35_openjdk7] $ /home/jenkins/tools/ant/latest/bin/ant 
-Dtest.output=yes -Dtest.junit.threads=8 -Dtest.junit.output.format=xml 
-Djavac.target=1.7 clean test-core-java
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64//bin/java
Build step 'Invoke Ant' marked build as 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_branch35_jdk8 - Build # 348 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/348/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 613462 lines...]
[junit] 2016-12-23 00:26:17,736 [myid:] - WARN  [New I/O boss 
#2295:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 
0x816297d7] EXCEPTION: java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:14006
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:14006
[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] 2016-12-23 00:26:17,736 [myid:] - INFO  [New I/O boss 
#2295:ClientCnxnSocketNetty@208] - channel is told closing
[junit] 2016-12-23 00:26:17,736 [myid:127.0.0.1:14006] - INFO  
[main-SendThread(127.0.0.1:14006):ClientCnxn$SendThread@1231] - channel for 
sessionid 0x7026ed7c715 is lost, closing socket connection and attempting 
reconnect
[junit] 2016-12-23 00:26:18,014 [myid:127.0.0.1:13994] - INFO  
[main-SendThread(127.0.0.1:13994):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:13994. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-23 00:26:18,015 [myid:] - INFO  [New I/O boss 
#2322:ClientCnxnSocketNetty$1@127] - future isn't success, cause: {}
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:13994
[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] 2016-12-23 00:26:18,015 [myid:] - WARN  [New I/O boss 
#2322:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 
0x9a624c77] EXCEPTION: java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:13994
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:13994
[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 

ZooKeeper-trunk-openjdk7 - Build # 1292 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1292/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by an SCM change
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H17 (ubuntu) in workspace 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from git://git.apache.org/zookeeper.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > git://git.apache.org/zookeeper.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision f588e1982f382a586fea53a1fbb11914d48560de 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f588e1982f382a586fea53a1fbb11914d48560de
 > git rev-list ef0a8ae686c100f1dc71d7526af962c635696466 # timeout=10
No emails were triggered.
[ZooKeeper-trunk-openjdk7] $ /home/jenkins/tools/ant/latest/bin/ant 
-Dtest.output=yes -Dtest.junit.threads=8 -Dtest.junit.output.format=xml 
-Djavac.target=1.7 clean test-core-java
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64//bin/java
Build step 'Invoke Ant' marked build as 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.

[jira] [Commented] (ZOOKEEPER-1078) add maven build support to ZooKeeper

2016-12-22 Thread Christopher Tubbs (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15771466#comment-15771466
 ] 

Christopher Tubbs commented on ZOOKEEPER-1078:
--

Really wishing this were working with current releases. Trying to package 
ZooKeeper for EPEL7 (for use in CentOS7) and having a lot of difficulty dealing 
with ivy. :(
Doing dependency convergence with xmvn macros are much easier than patching 
ivy, and ivy-local (available in Fedora) helps do dependency resolution from 
locally installed RPM dependencies. It's a bit trickier to do that manually. 
ZooKeeper as a maven project (even if it used 'maven-ant-plugin' for ant tasks) 
would be HUGELY convenient. :)

> add maven build support to ZooKeeper
> 
>
> Key: ZOOKEEPER-1078
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1078
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: build
>Reporter: Patrick Hunt
>Assignee: Arshad Mohammad
> Fix For: 3.5.3, 3.6.0
>
> Attachments: ZOOKEEPER-1078-04.patch, ZOOKEEPER-1078-05.patch, 
> ZOOKEEPER-1078.patch, ZOOKEEPER-1078.patch, ZOOKEEPER-1078.patch
>
>
> I've taken a stab at creating a maven build for ZooKeeper. (attachment to 
> follow).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


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

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/870/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 462201 lines...]
[junit] 2016-12-22 23:55:54,491 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port22238,name1=Connections,name2=127.0.0.1,name3=0x101bcaca395]
[junit] 2016-12-22 23:55:54,592 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x101bcaca395 closed
[junit] 2016-12-22 23:55:54,592 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 162093
[junit] 2016-12-22 23:55:54,592 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1643
[junit] 2016-12-22 23:55:54,592 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-12-22 23:55:54,592 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-22 23:55:54,592 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-22 23:55:54,593 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:22238
[junit] 2016-12-22 23:55:54,592 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x101bcaca395
[junit] 2016-12-22 23:55:54,597 [myid:] - INFO  [main:ZooKeeperServer@534] 
- shutting down
[junit] 2016-12-22 23:55:54,597 [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] 2016-12-22 23:55:54,597 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-12-22 23:55:54,597 [myid:] - INFO  
[main:PrepRequestProcessor@1009] - Shutting down
[junit] 2016-12-22 23:55:54,598 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-12-22 23:55:54,598 [myid:] - INFO  [ProcessThread(sid:0 
cport:22238)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
[junit] 2016-12-22 23:55:54,598 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-12-22 23:55:54,598 [myid:] - INFO  
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2016-12-22 23:55:54,598 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port22238,name1=InMemoryDataTree]
[junit] 2016-12-22 23:55:54,599 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port22238]
[junit] 2016-12-22 23:55:54,599 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 22238
[junit] 2016-12-22 23:55:54,599 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-12-22 23:55:54,604 [myid:] - INFO  [main:ClientBase@568] - 
fdcount after test is: 4826 at start it was 4826
[junit] 2016-12-22 23:55:54,604 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-12-22 23:55:54,604 [myid:] - INFO  [main:ZKTestCase$1@60] - 
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
701.99 sec, Thread: 5, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2016-12-22 23:55:54,979 [myid:127.0.0.1:22115] - INFO  
[main-SendThread(127.0.0.1:22115):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:22115. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-22 23:55:54,980 [myid:127.0.0.1:22115] - WARN  
[main-SendThread(127.0.0.1:22115):ClientCnxn$SendThread@1235] - Session 
0x101bca8c2ca for server 127.0.0.1/127.0.0.1:22115, 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] 2016-12-22 23:55:55,084 [myid:127.0.0.1:22118] - INFO  
[main-SendThread(127.0.0.1:22118):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:22118. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-22 23:55:55,085 [myid:127.0.0.1:22118] - WARN  
[main-SendThread(127.0.0.1:22118):ClientCnxn$SendThread@1235] - Session 
0x201bca8c354 for server 127.0.0.1/127.0.0.1:22118, unexpected error, 
closing socket connection and attempting 

ZooKeeper_branch35_jdk7 - Build # 779 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/779/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 489247 lines...]
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
602.615 sec, Thread: 7, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2016-12-22 23:34:44,318 [myid:127.0.0.1:27380] - INFO  
[main-SendThread(127.0.0.1:27380):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:27380. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-22 23:34:44,319 [myid:127.0.0.1:27380] - WARN  
[main-SendThread(127.0.0.1:27380):ClientCnxn$SendThread@1235] - Session 
0x1042e267fef for server 127.0.0.1/127.0.0.1:27380, 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:744)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-12-22 23:34:44,484 [myid:127.0.0.1:27507] - INFO  
[main-SendThread(127.0.0.1:27507):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:27507. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-22 23:34:44,485 [myid:127.0.0.1:27507] - WARN  
[main-SendThread(127.0.0.1:27507):ClientCnxn$SendThread@1235] - Session 
0x3042e2c07a1 for server 127.0.0.1/127.0.0.1:27507, 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:744)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-12-22 23:35:31,921 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 34567
[junit] 2016-12-22 23:35:31,921 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 55
[junit] 2016-12-22 23:35:31,922 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testManyChildWatchersAutoReset
[junit] 2016-12-22 23:35:31,922 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-22 23:35:31,922 [myid:] - INFO  [ProcessThread(sid:0 
cport:30076)::PrepRequestProcessor@656] - Processed session termination for 
sessionid: 0x1042e24b125
[junit] 2016-12-22 23:35:31,955 [myid:] - INFO  
[NIOWorkerThread-26:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port30076,name1=Connections,name2=127.0.0.1,name3=0x1042e24b125]
[junit] 2016-12-22 23:35:31,955 [myid:] - INFO  
[NIOWorkerThread-26:NIOServerCnxn@614] - Closed socket connection for client 
/127.0.0.1:47507 which had sessionid 0x1042e24b125
[junit] 2016-12-22 23:35:31,956 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x1042e24b125 closed
[junit] 2016-12-22 23:35:31,956 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1042e24b125
[junit] 2016-12-22 23:35:32,056 [myid:] - INFO  [ProcessThread(sid:0 
cport:30076)::PrepRequestProcessor@656] - Processed session termination for 
sessionid: 0x1042e24b1250001
[junit] 2016-12-22 23:35:32,071 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x1042e24b1250001 closed
[junit] 2016-12-22 23:35:32,072 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-22 23:35:32,071 [myid:] - INFO  
[NIOWorkerThread-12:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port30076,name1=Connections,name2=127.0.0.1,name3=0x1042e24b1250001]
[junit] 2016-12-22 23:35:32,071 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1042e24b1250001
[junit] 2016-12-22 23:35:32,072 [myid:] - INFO  
[NIOWorkerThread-12:NIOServerCnxn@614] - Closed socket connection for client 
/127.0.0.1:47541 which had sessionid 0x1042e24b1250001
[junit] 2016-12-22 23:35:32,072 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-12-22 23:35:32,074 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-12-22 23:35:32,074 [myid:] - 

ZooKeeper-trunk - Build # 3208 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/3208/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 478550 lines...]
[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:1145)
[junit] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-12-22 23:27:40,595 [myid:] - INFO  [New I/O boss 
#9966:ClientCnxnSocketNetty@208] - channel is told closing
[junit] 2016-12-22 23:27:40,595 [myid:127.0.0.1:27501] - INFO  
[main-SendThread(127.0.0.1:27501):ClientCnxn$SendThread@1231] - channel for 
sessionid 0x101bc954da2 is lost, closing socket connection and attempting 
reconnect
[junit] 2016-12-22 23:27:40,673 [myid:] - INFO  [ProcessThread(sid:0 
cport:27624)::PrepRequestProcessor@618] - Processed session termination for 
sessionid: 0x101bc989a9f
[junit] 2016-12-22 23:27:40,673 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port27624,name1=Connections,name2=127.0.0.1,name3=0x101bc989a9f]
[junit] 2016-12-22 23:27:40,674 [myid:] - INFO  
[main:ClientCnxnSocketNetty@208] - channel is told closing
[junit] 2016-12-22 23:27:40,674 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x101bc989a9f closed
[junit] 2016-12-22 23:27:40,674 [myid:] - INFO  [New I/O worker 
#16009:ClientCnxnSocketNetty$ZKClientHandler@384] - channel is disconnected: 
[id: 0x2ffd2a06, /127.0.0.1:59760 :> 127.0.0.1/127.0.0.1:27624]
[junit] 2016-12-22 23:27:40,674 [myid:] - INFO  [New I/O worker 
#16009:ClientCnxnSocketNetty@208] - channel is told closing
[junit] 2016-12-22 23:27:40,674 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 196140
[junit] 2016-12-22 23:27:40,674 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x101bc989a9f
[junit] 2016-12-22 23:27:40,675 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1813
[junit] 2016-12-22 23:27:40,675 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-12-22 23:27:40,675 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-22 23:27:40,675 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-22 23:27:40,675 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:27624
[junit] 2016-12-22 23:27:40,679 [myid:] - INFO  [main:ZooKeeperServer@534] 
- shutting down
[junit] 2016-12-22 23:27:40,679 [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] 2016-12-22 23:27:40,680 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-12-22 23:27:40,680 [myid:] - INFO  
[main:PrepRequestProcessor@1009] - Shutting down
[junit] 2016-12-22 23:27:40,680 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-12-22 23:27:40,680 [myid:] - INFO  [ProcessThread(sid:0 
cport:27624)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
[junit] 2016-12-22 23:27:40,680 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-12-22 23:27:40,682 [myid:] - INFO  
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2016-12-22 23:27:40,682 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port27624,name1=InMemoryDataTree]
[junit] 2016-12-22 23:27:40,682 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27624]
[junit] 2016-12-22 23:27:40,704 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 27624
[junit] 2016-12-22 23:27:40,704 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-12-22 23:27:40,710 [myid:] - INFO  [main:ClientBase@568] - 
fdcount after test is: 5212 at start it was 5212
[junit] 2016-12-22 23:27:40,711 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-12-22 23:27:40,711 [myid:] - INFO  [main:ZKTestCase$1@60] - 
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time 

ZooKeeper-trunk - Build # 3207 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/3207/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 474360 lines...]
[junit] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-12-22 23:27:07,464 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port24931,name1=Connections,name2=127.0.0.1,name3=0x101b9471a7c]
[junit] 2016-12-22 23:27:07,564 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x101b9471a7c closed
[junit] 2016-12-22 23:27:07,564 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x101b9471a7c
[junit] 2016-12-22 23:27:07,564 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 181660
[junit] 2016-12-22 23:27:07,565 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1643
[junit] 2016-12-22 23:27:07,565 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-12-22 23:27:07,565 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-22 23:27:07,565 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-22 23:27:07,565 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:24931
[junit] 2016-12-22 23:27:07,568 [myid:] - INFO  [main:ZooKeeperServer@534] 
- shutting down
[junit] 2016-12-22 23:27:07,570 [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] 2016-12-22 23:27:07,570 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-12-22 23:27:07,570 [myid:] - INFO  
[main:PrepRequestProcessor@1009] - Shutting down
[junit] 2016-12-22 23:27:07,570 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-12-22 23:27:07,570 [myid:] - INFO  [ProcessThread(sid:0 
cport:24931)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
[junit] 2016-12-22 23:27:07,570 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-12-22 23:27:07,571 [myid:] - INFO  
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2016-12-22 23:27:07,572 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port24931,name1=InMemoryDataTree]
[junit] 2016-12-22 23:27:07,573 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port24931]
[junit] 2016-12-22 23:27:07,573 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24931
[junit] 2016-12-22 23:27:07,574 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-12-22 23:27:07,581 [myid:] - INFO  [main:ClientBase@568] - 
fdcount after test is: 4825 at start it was 4825
[junit] 2016-12-22 23:27:07,581 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-12-22 23:27:07,581 [myid:] - INFO  [main:ZKTestCase$1@60] - 
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
425.637 sec, Thread: 6, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2016-12-22 23:27:07,761 [myid:127.0.0.1:24811] - INFO  
[main-SendThread(127.0.0.1:24811):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:24811. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-22 23:27:07,762 [myid:127.0.0.1:24811] - WARN  
[main-SendThread(127.0.0.1:24811):ClientCnxn$SendThread@1235] - Session 
0x201b9442f1c for server 127.0.0.1/127.0.0.1:24811, 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:744)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-12-22 23:27:07,831 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
[junit] 2016-12-22 23:27:07,831 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1324: The 
following error occurred 

[jira] [Commented] (ZOOKEEPER-2655) Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly

2016-12-22 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15771386#comment-15771386
 ] 

Hudson commented on ZOOKEEPER-2655:
---

FAILURE: Integrated in Jenkins build ZooKeeper-trunk #3207 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/3207/])
ZOOKEEPER-2655: Improve NIOServerCnxn#isZKServerRunning to reflect the (hanm: 
rev f588e1982f382a586fea53a1fbb11914d48560de)
* (edit) src/java/main/org/apache/zookeeper/server/command/WatchCommand.java
* (edit) src/java/main/org/apache/zookeeper/server/command/ConsCommand.java
* (edit) src/java/main/org/apache/zookeeper/server/NIOServerCnxn.java
* (edit) 
src/java/main/org/apache/zookeeper/server/command/AbstractFourLetterCommand.java
* (edit) src/java/main/org/apache/zookeeper/server/command/ConfCommand.java
* (edit) src/java/main/org/apache/zookeeper/server/command/IsroCommand.java
* (edit) src/java/main/org/apache/zookeeper/server/command/DumpCommand.java
* (edit) 
src/java/main/org/apache/zookeeper/server/command/CnxnStatResetCommand.java
* (edit) src/java/main/org/apache/zookeeper/server/command/DirsCommand.java
* (edit) src/java/main/org/apache/zookeeper/server/command/StatCommand.java
* (edit) src/java/main/org/apache/zookeeper/server/command/MonitorCommand.java
* (edit) src/java/main/org/apache/zookeeper/server/command/StatResetCommand.java


> Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly
> --
>
> Key: ZOOKEEPER-2655
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2655
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Reporter: Rakesh R
>Assignee: Rakesh R
>Priority: Minor
> Fix For: 3.5.3, 3.6.0
>
>
> This jira to improve the semantics of the following internal functions to 
> make it more readable:
> # {{NIOServerCnxn#isZKServerRunning()}} => return true if the server is 
> running, false otherwise.
> # {{AbstractFourLetterCommand#isZKServerRunning()}} => return true if the 
> server is running, false otherwise.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


ZooKeeper-trunk-WinVS2008 - Build # 2376 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008/2376/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 93 lines...]
[ivy:retrieve]  found org.slf4j#slf4j-api;1.7.5 in maven2
[ivy:retrieve]  found org.slf4j#slf4j-log4j12;1.7.5 in maven2
[ivy:retrieve]  found commons-cli#commons-cli;1.2 in maven2
[ivy:retrieve]  found log4j#log4j;1.2.17 in maven2
[ivy:retrieve]  found io.netty#netty;3.10.5.Final in maven2
[ivy:retrieve]  found net.java.dev.javacc#javacc;5.0 in maven2
[ivy:retrieve] :: resolution report :: resolve 492ms :: artifacts dl 18ms
-
|  |modules||   artifacts   |
|   conf   | number| search|dwnlded|evicted|| number|dwnlded|
-
|  default |   16  |   0   |   0   |   0   ||   16  |   0   |
-
[ivy:retrieve] :: retrieving :: org.apache.zookeeper#zookeeper
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  16 artifacts copied, 0 already retrieved (4635kB/68ms)

generate_jute_parser:
[mkdir] Created dir: 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build\jute_compiler\org\apache\jute\compiler\generated
[ivy:artifactproperty] DEPRECATED: 'ivy.conf.file' is deprecated, use 
'ivy.settings.file' instead
[ivy:artifactproperty] :: loading settings :: file = 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\ivysettings.xml
 [move] Moving 1 file to 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build\lib
   [javacc] Java Compiler Compiler Version 5.0 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\java\main\org\apache\jute\compiler\generated\rcc.jj
 . . .
   [javacc] File "TokenMgrError.java" does not exist.  Will create one.
   [javacc] File "ParseException.java" does not exist.  Will create one.
   [javacc] File "Token.java" does not exist.  Will create one.
   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
   [javacc] Parser generated successfully.

jute:
[javac] Compiling 39 source files to 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\build\classes
[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 1.7
[javac] 1 warning

compile_jute_uptodate:

compile_jute:
[mkdir] Created dir: 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\java\generated
[mkdir] Created dir: 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\c\generated
 [java] ../../zookeeper.jute Parsed Successfully
 [java] ../../zookeeper.jute Parsed Successfully
[touch] Creating 
f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\src\java\generated\.generated

BUILD SUCCESSFUL
Total time: 6 seconds
[ZooKeeper-trunk-WinVS2008] $ cmd /c call 
C:\Users\jenkins\AppData\Local\Temp\1\hudson6020826912635232158.bat

f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008>set 
ZOOKEEPER_HOME=f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008 

f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008>msbuild 
src/c/zookeeper.sln /p:Configuration=Release 
'msbuild' is not recognized as an internal or external command,
operable program or batch file.

f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008>exit 9009 
Build step 'Execute Windows batch command' marked build as failure
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

Failed: ZOOKEEPER- PreCommit Build #149

2016-12-22 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/149/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 30 lines...]
at hudson.remoting.Request$2.run(Request.java:332)
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)
at ..remote call to H7(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:781)
at 
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:249)
at com.sun.proxy.$Proxy90.checkoutBranch(Unknown Source)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl.checkoutBranch(RemoteGitImpl.java:327)
at 
com.cloudbees.jenkins.plugins.git.vmerge.BuildChooserImpl.getCandidateRevisions(BuildChooserImpl.java:78)
at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:984)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1087)
at hudson.scm.SCM.checkout(SCM.java:485)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
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:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: hudson.plugins.git.GitException: Command "git checkout -f 
origin/trunk" returned status code 1:
stdout: 
stderr: error: pathspec 'origin/trunk' did not match any file(s) known to git.

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1723)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1699)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1695)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1317)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1329)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:1979)
at 
org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.checkoutBranch(AbstractGitAPIImpl.java:82)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:884)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:859)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:818)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:332)
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)
Archiving artifacts
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
[description-setter] Could not determine description.
Putting comment on the pull request
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

[jira] [Resolved] (ZOOKEEPER-2655) Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly

2016-12-22 Thread Michael Han (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Han resolved ZOOKEEPER-2655.

Resolution: Fixed

Issue resolved by pull request 133
[https://github.com/apache/zookeeper/pull/133]

> Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly
> --
>
> Key: ZOOKEEPER-2655
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2655
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Reporter: Rakesh R
>Assignee: Rakesh R
>Priority: Minor
> Fix For: 3.6.0, 3.5.3
>
>
> This jira to improve the semantics of the following internal functions to 
> make it more readable:
> # {{NIOServerCnxn#isZKServerRunning()}} => return true if the server is 
> running, false otherwise.
> # {{AbstractFourLetterCommand#isZKServerRunning()}} => return true if the 
> server is running, false otherwise.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ZOOKEEPER-2655) Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly

2016-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15771260#comment-15771260
 ] 

ASF GitHub Bot commented on ZOOKEEPER-2655:
---

Github user asfgit closed the pull request at:

https://github.com/apache/zookeeper/pull/133


> Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly
> --
>
> Key: ZOOKEEPER-2655
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2655
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Reporter: Rakesh R
>Assignee: Rakesh R
>Priority: Minor
> Fix For: 3.5.3, 3.6.0
>
>
> This jira to improve the semantics of the following internal functions to 
> make it more readable:
> # {{NIOServerCnxn#isZKServerRunning()}} => return true if the server is 
> running, false otherwise.
> # {{AbstractFourLetterCommand#isZKServerRunning()}} => return true if the 
> server is running, false otherwise.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zookeeper pull request #133: ZOOKEEPER-2655: Improve NIOServerCnxn#isZKServe...

2016-12-22 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/zookeeper/pull/133


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


ZOOKEEPER-1416 and ZOOKEEPER-153

2016-12-22 Thread Jordan Zimmerman
A “firehose” watcher would be really useful. There have been several proposals 
over the years including ZOOKEEPER-1416 and ZOOKEEPER-153. I also heard that 
Facebook has something in their internal fork. Here at Elasticsearch Cloud 
we’re starting to deal with millions of watchers and a firehose would be better 
for us. Is there any interest in finally adding this to ZooKeeper? If so, I’d 
be happy to do it. If so, is there any preference for ZOOKEEPER-1416, 
ZOOKEEPER-153, both, a mixture?

-Jordan

ZooKeeper_branch35_openjdk7 - Build # 343 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/343/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 478238 lines...]
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-12-22 20:06:47,329 [myid:127.0.0.1:27504] - INFO  
[main-SendThread(127.0.0.1:27504):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:27504. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-22 20:06:47,330 [myid:127.0.0.1:27504] - WARN  
[main-SendThread(127.0.0.1:27504):ClientCnxn$SendThread@1235] - Session 
0x200e84c59f6 for server 127.0.0.1/127.0.0.1:27504, 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:744)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-12-22 20:06:47,671 [myid:127.0.0.1:27380] - INFO  
[main-SendThread(127.0.0.1:27380):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:27380. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-22 20:06:47,672 [myid:127.0.0.1:27380] - WARN  
[main-SendThread(127.0.0.1:27380):ClientCnxn$SendThread@1235] - Session 
0x100e8488900 for server 127.0.0.1/127.0.0.1:27380, 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:744)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-12-22 20:06:48,205 [myid:] - INFO  [ProcessThread(sid:0 
cport:27624)::PrepRequestProcessor@656] - Processed session termination for 
sessionid: 0x100e84f5da5
[junit] 2016-12-22 20:06:48,209 [myid:] - INFO  [New I/O worker 
#1811:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port27624,name1=Connections,name2=127.0.0.1,name3=0x100e84f5da5]
[junit] 2016-12-22 20:06:48,209 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x100e84f5da5 closed
[junit] 2016-12-22 20:06:48,209 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x100e84f5da5
[junit] 2016-12-22 20:06:48,209 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 62364
[junit] 2016-12-22 20:06:48,210 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 467
[junit] 2016-12-22 20:06:48,210 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-12-22 20:06:48,210 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-22 20:06:48,210 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-22 20:06:48,210 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:27624
[junit] 2016-12-22 20:06:48,214 [myid:] - INFO  [main:ZooKeeperServer@533] 
- shutting down
[junit] 2016-12-22 20:06:48,214 [myid:] - ERROR [main:ZooKeeperServer@505] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-22 20:06:48,214 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-12-22 20:06:48,215 [myid:] - INFO  
[main:PrepRequestProcessor@974] - Shutting down
[junit] 2016-12-22 20:06:48,215 [myid:] - INFO  [ProcessThread(sid:0 
cport:27624)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-12-22 20:06:48,215 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-12-22 20:06:48,215 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-12-22 20:06:48,216 [myid:] - INFO  
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-12-22 20:06:48,216 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port27624,name1=InMemoryDataTree]
[junit] 2016-12-22 20:06:48,216 [myid:] - INFO  

ZooKeeper-trunk-openjdk7 - Build # 1291 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1291/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H17 (ubuntu) in workspace 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from git://git.apache.org/zookeeper.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > git://git.apache.org/zookeeper.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision ef0a8ae686c100f1dc71d7526af962c635696466 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ef0a8ae686c100f1dc71d7526af962c635696466
 > git rev-list ef0a8ae686c100f1dc71d7526af962c635696466 # timeout=10
No emails were triggered.
[ZooKeeper-trunk-openjdk7] $ /home/jenkins/tools/ant/latest/bin/ant 
-Dtest.output=yes -Dtest.junit.threads=8 -Dtest.junit.output.format=xml 
-Djavac.target=1.7 clean test-core-java
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64//bin/java
Build step 'Invoke Ant' marked build as 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_branch35_jdk8 - Build # 347 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/347/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 472850 lines...]
[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] 2016-12-22 19:19:48,613 [myid:127.0.0.1:24811] - INFO  
[main-SendThread(127.0.0.1:24811):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:24811. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-22 19:19:48,614 [myid:127.0.0.1:24811] - WARN  
[main-SendThread(127.0.0.1:24811):ClientCnxn$SendThread@1235] - Session 
0x20152f3254e for server 127.0.0.1/127.0.0.1:24811, 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] 2016-12-22 19:19:48,977 [myid:] - INFO  [ProcessThread(sid:0 
cport:24931)::PrepRequestProcessor@656] - Processed session termination for 
sessionid: 0x10152f67df6
[junit] 2016-12-22 19:19:48,986 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x10152f67df6 closed
[junit] 2016-12-22 19:19:48,986 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port24931,name1=Connections,name2=127.0.0.1,name3=0x10152f67df6]
[junit] 2016-12-22 19:19:48,986 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 183617
[junit] 2016-12-22 19:19:48,987 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2428
[junit] 2016-12-22 19:19:48,987 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-12-22 19:19:48,987 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-22 19:19:48,987 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-22 19:19:48,987 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:24931
[junit] 2016-12-22 19:19:48,986 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x10152f67df6
[junit] 2016-12-22 19:19:48,994 [myid:] - INFO  [main:ZooKeeperServer@533] 
- shutting down
[junit] 2016-12-22 19:19:48,994 [myid:] - ERROR [main:ZooKeeperServer@505] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-22 19:19:48,994 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-12-22 19:19:48,995 [myid:] - INFO  
[main:PrepRequestProcessor@974] - Shutting down
[junit] 2016-12-22 19:19:48,995 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-12-22 19:19:48,995 [myid:] - INFO  [ProcessThread(sid:0 
cport:24931)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-12-22 19:19:48,995 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-12-22 19:19:49,001 [myid:] - INFO  
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-12-22 19:19:49,002 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port24931,name1=InMemoryDataTree]
[junit] 2016-12-22 19:19:49,002 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port24931]
[junit] 2016-12-22 19:19:49,052 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24931
[junit] 2016-12-22 19:19:49,053 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2016-12-22 19:19:49,069 [myid:127.0.0.1:24808] - INFO  
[main-SendThread(127.0.0.1:24808):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:24808. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-22 19:19:49,069 [myid:127.0.0.1:24808] - WARN  
[main-SendThread(127.0.0.1:24808):ClientCnxn$SendThread@1235] - Session 
0x10152f321c6 for server 127.0.0.1/127.0.0.1:24808, unexpected error, 
closing socket connection and attempting reconnect
[junit] java.net.ConnectException: 

Failed: ZOOKEEPER- PreCommit Build #148

2016-12-22 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/148/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 470642 lines...]
 [exec] +0 tests included.  The patch appears to be a documentation 
patch that doesn't require tests.
 [exec] 
 [exec] +1 javadoc.  The javadoc tool did not generate any warning 
messages.
 [exec] 
 [exec] +1 javac.  The applied patch does not increase the total number 
of javac compiler warnings.
 [exec] 
 [exec] +1 findbugs.  The patch does not introduce any new Findbugs 
(version 3.0.1) warnings.
 [exec] 
 [exec] +1 release audit.  The applied patch does not increase the 
total number of release audit warnings.
 [exec] 
 [exec] -1 core tests.  The patch failed core unit tests.
 [exec] 
 [exec] +1 contrib tests.  The patch passed contrib unit tests.
 [exec] 
 [exec] Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/148//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/148//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/148//console
 [exec] 
 [exec] This message is automatically generated.
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Adding comment to Jira.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] Error: No value specified for option "issue"
 [exec] ab9513dec49b49cd66aa464167709fc30f082d7e logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] mv: 
'/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess'
 and 
'/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess'
 are the same file

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1628:
 exec returned: 1

Total time: 13 minutes 6 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Compressed 574.06 KB of artifacts by 27.9% relative to #135
Recording test results
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[description-setter] Could not determine description.
Putting comment on the pull request
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7



###
## FAILED TESTS (if any) 
##
1 tests failed.
FAILED:  org.apache.zookeeper.ServerConfigTest.testValidArguments

Error Message:
expected: java.lang.String but was: java.io.File

Stack Trace:
junit.framework.AssertionFailedError: expected: java.lang.String but 
was: java.io.File
at 
org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)




[jira] [Commented] (ZOOKEEPER-2383) Startup race in ZooKeeperServer

2016-12-22 Thread Rakesh R (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15770897#comment-15770897
 ] 

Rakesh R commented on ZOOKEEPER-2383:
-

Thanks [~hanm] for merging this to {{branch-3.5}}

> Startup race in ZooKeeperServer
> ---
>
> Key: ZOOKEEPER-2383
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2383
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: jmx, server
>Affects Versions: 3.4.8
>Reporter: Steve Rowe
>Assignee: Rakesh R
>Priority: Blocker
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
> Attachments: TestZkStandaloneJMXRegistrationRaceConcurrent.java, 
> ZOOKEEPER-2383-br-3-4.patch, ZOOKEEPER-2383.patch, ZOOKEEPER-2383.patch, 
> ZOOKEEPER-2383.patch, ZOOKEEPER-2383.patch, 
> release-3.4.8-extra-logging.patch, zk-3.4.8-MBeanRegistry.log, 
> zk-3.4.8-NPE.log
>
>
> In attempting to upgrade Solr's ZooKeeper dependency from 3.4.6 to 3.4.8 
> (SOLR-8724) I ran into test failures where attempts to create a node in a 
> newly started standalone ZooKeeperServer were failing because of an assertion 
> in MBeanRegistry.
> ZooKeeperServer.startup() first sets up its request processor chain then 
> registers itself in JMX, but if a connection comes in before the server's JMX 
> registration happens, registration of the connection will fail because it 
> trips the assertion that (effectively) its parent (the server) has already 
> registered itself.
> {code:java|title=ZooKeeperServer.java}
> public synchronized void startup() {
> if (sessionTracker == null) {
> createSessionTracker();
> }
> startSessionTracker();
> setupRequestProcessors();
> registerJMX();
> state = State.RUNNING;
> notifyAll();
> }
> {code}
> {code:java|title=MBeanRegistry.java}
> public void register(ZKMBeanInfo bean, ZKMBeanInfo parent)
> throws JMException
> {
> assert bean != null;
> String path = null;
> if (parent != null) {
> path = mapBean2Path.get(parent);
> assert path != null;
> }
> {code}
> This problem appears to be new with ZK 3.4.8 - AFAIK Solr never had this 
> issue with ZK 3.4.6. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2655) Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly

2016-12-22 Thread Rakesh R (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rakesh R updated ZOOKEEPER-2655:

Component/s: server

> Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly
> --
>
> Key: ZOOKEEPER-2655
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2655
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Reporter: Rakesh R
>Assignee: Rakesh R
>Priority: Minor
> Fix For: 3.5.3, 3.6.0
>
>
> This jira to improve the semantics of the following internal functions to 
> make it more readable:
> # {{NIOServerCnxn#isZKServerRunning()}} => return true if the server is 
> running, false otherwise.
> # {{AbstractFourLetterCommand#isZKServerRunning()}} => return true if the 
> server is running, false otherwise.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


ZooKeeper_branch35_jdk7 - Build # 778 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/778/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 488234 lines...]
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromTaskLoop(AbstractNioWorker.java:151)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioChannel$WriteTask.run(AbstractNioChannel.java:315)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
[junit] at 
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
[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:1145)
[junit] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-12-22 19:33:49,665 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port16852,name1=Connections,name2=127.0.0.1,name3=0x1013f9031d4]
[junit] 2016-12-22 19:33:49,684 [myid:127.0.0.1:16735] - INFO  
[main-SendThread(127.0.0.1:16735):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:16735. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-22 19:33:49,684 [myid:127.0.0.1:16735] - WARN  
[main-SendThread(127.0.0.1:16735):ClientCnxn$SendThread@1235] - Session 
0x3013f8cda03 for server 127.0.0.1/127.0.0.1:16735, 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:744)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-12-22 19:33:49,765 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x1013f9031d4 closed
[junit] 2016-12-22 19:33:49,765 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1013f9031d4
[junit] 2016-12-22 19:33:49,765 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 195084
[junit] 2016-12-22 19:33:49,766 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1642
[junit] 2016-12-22 19:33:49,766 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-12-22 19:33:49,766 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-22 19:33:49,766 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-22 19:33:49,766 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:16852
[junit] 2016-12-22 19:33:49,771 [myid:] - INFO  [main:ZooKeeperServer@533] 
- shutting down
[junit] 2016-12-22 19:33:49,771 [myid:] - ERROR [main:ZooKeeperServer@505] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-22 19:33:49,771 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-12-22 19:33:49,772 [myid:] - INFO  
[main:PrepRequestProcessor@974] - Shutting down
[junit] 2016-12-22 19:33:49,772 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-12-22 19:33:49,772 [myid:] - INFO  [ProcessThread(sid:0 
cport:16852)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-12-22 19:33:49,772 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-12-22 19:33:49,772 [myid:] - INFO  
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-12-22 19:33:49,772 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port16852,name1=InMemoryDataTree]
[junit] 2016-12-22 19:33:49,773 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16852]
[junit] 2016-12-22 19:33:49,773 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 

[jira] [Commented] (ZOOKEEPER-2655) Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly

2016-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15770887#comment-15770887
 ] 

ASF GitHub Bot commented on ZOOKEEPER-2655:
---

Github user rakeshadr commented on the issue:

https://github.com/apache/zookeeper/pull/133
  
Thanks @eribeiro. I've modified the title.


> Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly
> --
>
> Key: ZOOKEEPER-2655
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2655
> Project: ZooKeeper
>  Issue Type: Improvement
>Reporter: Rakesh R
>Assignee: Rakesh R
>Priority: Minor
> Fix For: 3.5.3, 3.6.0
>
>
> This jira to improve the semantics of the following internal functions to 
> make it more readable:
> # {{NIOServerCnxn#isZKServerRunning()}} => return true if the server is 
> running, false otherwise.
> # {{AbstractFourLetterCommand#isZKServerRunning()}} => return true if the 
> server is running, false otherwise.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zookeeper issue #133: ZOOKEEPER-2655: Improve NIOServerCnxn#isZKServerRunnin...

2016-12-22 Thread rakeshadr
Github user rakeshadr commented on the issue:

https://github.com/apache/zookeeper/pull/133
  
Thanks @eribeiro. I've modified the title.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


ZooKeeper_branch35_solaris - Build # 364 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/364/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 469819 lines...]
[junit] 2016-12-22 19:19:48,705 [myid:] - INFO  [main:ClientBase@386] - 
CREATING server instance 127.0.0.1:11222
[junit] 2016-12-22 19:19:48,705 [myid:] - INFO  
[main:NIOServerCnxnFactory@673] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 16 worker threads, and 64 
kB direct buffers.
[junit] 2016-12-22 19:19:48,705 [myid:] - INFO  
[main:NIOServerCnxnFactory@686] - binding to port 0.0.0.0/0.0.0.0:11222
[junit] 2016-12-22 19:19:48,706 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2016-12-22 19:19:48,706 [myid:] - INFO  [main:ZooKeeperServer@893] 
- minSessionTimeout set to 6000
[junit] 2016-12-22 19:19:48,706 [myid:] - INFO  [main:ZooKeeperServer@902] 
- maxSessionTimeout set to 6
[junit] 2016-12-22 19:19:48,706 [myid:] - INFO  [main:ZooKeeperServer@159] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test5466251874999354127.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test5466251874999354127.junit.dir/version-2
[junit] 2016-12-22 19:19:48,707 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test5466251874999354127.junit.dir/version-2/snapshot.b
[junit] 2016-12-22 19:19:48,709 [myid:] - INFO  [main:FileTxnSnapLog@306] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test5466251874999354127.junit.dir/version-2/snapshot.b
[junit] 2016-12-22 19:19:48,710 [myid:] - ERROR [main:ZooKeeperServer@505] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-22 19:19:48,711 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-12-22 19:19:48,711 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:43663
[junit] 2016-12-22 19:19:48,712 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:43663
[junit] 2016-12-22 19:19:48,712 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-12-22 19:19:48,712 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@611] - Closed socket connection for client 
/127.0.0.1:43663 (no session established for client)
[junit] 2016-12-22 19:19:48,712 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-22 19:19:48,714 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-12-22 19:19:48,714 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-12-22 19:19:48,714 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-12-22 19:19:48,714 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-12-22 19:19:48,714 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17747
[junit] 2016-12-22 19:19:48,715 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-12-22 19:19:48,715 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-12-22 19:19:48,715 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-22 19:19:48,792 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x125a4f36b03 closed
[junit] 2016-12-22 19:19:48,792 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x125a4f36b03
[junit] 2016-12-22 19:19:48,792 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-22 19:19:48,793 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-12-22 19:19:48,793 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-12-22 19:19:48,793 [myid:] - INFO  

[GitHub] zookeeper issue #133: ZK-2655: Improve NIOServerCnxn#isZKServerRunning to re...

2016-12-22 Thread eribeiro
Github user eribeiro commented on the issue:

https://github.com/apache/zookeeper/pull/133
  
+1. LGTM.

Nit: if you change the title to "ZOOKEEPER-2655 ..." it will link with the 
JIRA, if not already, I guess.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Failed: ZOOKEEPER- PreCommit Build #147

2016-12-22 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/147/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 473881 lines...]
 [exec] +0 tests included.  The patch appears to be a documentation 
patch that doesn't require tests.
 [exec] 
 [exec] +1 javadoc.  The javadoc tool did not generate any warning 
messages.
 [exec] 
 [exec] +1 javac.  The applied patch does not increase the total number 
of javac compiler warnings.
 [exec] 
 [exec] +1 findbugs.  The patch does not introduce any new Findbugs 
(version 3.0.1) warnings.
 [exec] 
 [exec] +1 release audit.  The applied patch does not increase the 
total number of release audit warnings.
 [exec] 
 [exec] -1 core tests.  The patch failed core unit tests.
 [exec] 
 [exec] +1 contrib tests.  The patch passed contrib unit tests.
 [exec] 
 [exec] Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/147//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/147//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/147//console
 [exec] 
 [exec] This message is automatically generated.
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Adding comment to Jira.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] Error: No value specified for option "issue"
 [exec] 1c9db2cf8170a251a7ddf377ee9a1c642a6118e1 logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] mv: 
'/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess'
 and 
'/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess'
 are the same file

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1628:
 exec returned: 1

Total time: 13 minutes 21 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Compressed 574.07 KB of artifacts by 27.9% relative to #135
Recording test results
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[description-setter] Could not determine description.
Putting comment on the pull request
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7



###
## FAILED TESTS (if any) 
##
2 tests failed.
FAILED:  org.apache.zookeeper.ServerConfigTest.testValidArguments

Error Message:
expected: java.lang.String but was: java.io.File

Stack Trace:
junit.framework.AssertionFailedError: expected: java.lang.String but 
was: java.io.File
at 
org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)


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)




[GitHub] zookeeper pull request #133: ZK-2655: Improve NIOServerCnxn#isZKServerRunnin...

2016-12-22 Thread rakeshadr
GitHub user rakeshadr opened a pull request:

https://github.com/apache/zookeeper/pull/133

ZK-2655: Improve NIOServerCnxn#isZKServerRunning to reflect the seman…

…tics correctly

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rakeshadr/zookeeper-1 ZK-2655

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/zookeeper/pull/133.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #133


commit 7e1a8fafa1380ac504147616b756ddf1bbbeb325
Author: Rakesh Radhakrishnan 
Date:   2016-12-22T18:44:36Z

ZK-2655: Improve NIOServerCnxn#isZKServerRunning to reflect the semantics 
correctly




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (ZOOKEEPER-2655) Improve NIOServerCnxn#isZKServerRunning to reflect the semantics correctly

2016-12-22 Thread Rakesh R (JIRA)
Rakesh R created ZOOKEEPER-2655:
---

 Summary: Improve NIOServerCnxn#isZKServerRunning to reflect the 
semantics correctly
 Key: ZOOKEEPER-2655
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2655
 Project: ZooKeeper
  Issue Type: Improvement
Reporter: Rakesh R
Assignee: Rakesh R
Priority: Minor
 Fix For: 3.5.3, 3.6.0


This jira to improve the semantics of the following internal functions to make 
it more readable:

# {{NIOServerCnxn#isZKServerRunning()}} => return true if the server is 
running, false otherwise.
# {{AbstractFourLetterCommand#isZKServerRunning()}} => return true if the 
server is running, false otherwise.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ZOOKEEPER-2654) Support Fedora 25: use pkg-config instead of obsolete M4 macros

2016-12-22 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15770698#comment-15770698
 ] 

Hadoop QA commented on ZOOKEEPER-2654:
--

-1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12844437/ZOOKEEPER-2654.2.patch
  against trunk revision ef0a8ae686c100f1dc71d7526af962c635696466.

+1 @author.  The patch does not contain any @author tags.

-1 tests included.  The patch doesn't appear to include any new or modified 
tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

+1 javadoc.  The javadoc tool did not generate any warning messages.

+1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

+1 findbugs.  The patch does not introduce any new Findbugs (version 3.0.1) 
warnings.

+1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

-1 core tests.  The patch failed core unit tests.

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3553//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3553//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3553//console

This message is automatically generated.

> Support Fedora 25: use pkg-config instead of obsolete M4 macros
> ---
>
> Key: ZOOKEEPER-2654
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2654
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: build
>Reporter: Olaf Flebbe
>Assignee: Olaf Flebbe
> Attachments: ZOOKEEPER-2654.2.patch
>
>
> While compiling Bigtop on Fedora 25 we found that there is an issue with the 
> autoconf detection of cppunit: See BIGTOP-2642 for error.
> Some background regarding the issue can be found here: 
> https://bugzilla.redhat.com/show_bug.cgi?id=1311694
> The fedora maintainers encourage use of pkg-config rather crufty *.m4 
> autoconf magic by only supplying pkg-config files *.pc.
> The patch is surprisingly easy but adds the additional requirement for 
> pkg-config which should be available on every well maintained system for ages.
> Please see for me proposed patch. Works for me for Fedora 25, Centos 6, 
> MacOSX with HomeBrew.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Failed: ZOOKEEPER-2654 PreCommit Build #3553

2016-12-22 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2654
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3553/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 470628 lines...]
 [exec] 
 [exec] +1 javadoc.  The javadoc tool did not generate any warning 
messages.
 [exec] 
 [exec] +1 javac.  The applied patch does not increase the total number 
of javac compiler warnings.
 [exec] 
 [exec] +1 findbugs.  The patch does not introduce any new Findbugs 
(version 3.0.1) warnings.
 [exec] 
 [exec] +1 release audit.  The applied patch does not increase the 
total number of release audit warnings.
 [exec] 
 [exec] -1 core tests.  The patch failed core unit tests.
 [exec] 
 [exec] +1 contrib tests.  The patch passed contrib unit tests.
 [exec] 
 [exec] Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3553//testReport/
 [exec] Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3553//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3553//console
 [exec] 
 [exec] This message is automatically generated.
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Adding comment to Jira.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] Comment added.
 [exec] b670e0ed541f927e081bd94dd3ca45cc2e65c08e logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] mv: 
‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/patchprocess’ 
and 
‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/patchprocess’ 
are the same file

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/build.xml:1607: 
exec returned: 2

Total time: 13 minutes 20 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Compressed 555.97 KB of artifacts by 40.3% relative to #3550
Recording test results
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[description-setter] Description set: ZOOKEEPER-2654
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7



###
## FAILED TESTS (if any) 
##
1 tests failed.
FAILED:  org.apache.zookeeper.ServerConfigTest.testValidArguments

Error Message:
expected: java.lang.String but was: java.io.File

Stack Trace:
junit.framework.AssertionFailedError: expected: java.lang.String but 
was: java.io.File
at 
org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)




Failed: ZOOKEEPER- PreCommit Build #146

2016-12-22 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/146/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 30 lines...]
at hudson.remoting.Request$2.run(Request.java:332)
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)
at ..remote call to H7(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:781)
at 
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:249)
at com.sun.proxy.$Proxy90.checkoutBranch(Unknown Source)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl.checkoutBranch(RemoteGitImpl.java:327)
at 
com.cloudbees.jenkins.plugins.git.vmerge.BuildChooserImpl.getCandidateRevisions(BuildChooserImpl.java:78)
at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:984)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1087)
at hudson.scm.SCM.checkout(SCM.java:485)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
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:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: hudson.plugins.git.GitException: Command "git checkout -f 
origin/trunk" returned status code 1:
stdout: 
stderr: error: pathspec 'origin/trunk' did not match any file(s) known to git.

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1723)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1699)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1695)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1317)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1329)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:1979)
at 
org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.checkoutBranch(AbstractGitAPIImpl.java:82)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:884)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:859)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:818)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:332)
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)
Archiving artifacts
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
[description-setter] Could not determine description.
Putting comment on the pull request
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



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

[jira] [Updated] (ZOOKEEPER-2654) Support Fedora 25: use pkg-config instead of obsolete M4 macros

2016-12-22 Thread Olaf Flebbe (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olaf Flebbe updated ZOOKEEPER-2654:
---
Attachment: ZOOKEEPER-2654.2.patch

Sigh, patch without prefix

> Support Fedora 25: use pkg-config instead of obsolete M4 macros
> ---
>
> Key: ZOOKEEPER-2654
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2654
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: build
>Reporter: Olaf Flebbe
>Assignee: Olaf Flebbe
> Attachments: ZOOKEEPER-2654.2.patch
>
>
> While compiling Bigtop on Fedora 25 we found that there is an issue with the 
> autoconf detection of cppunit: See BIGTOP-2642 for error.
> Some background regarding the issue can be found here: 
> https://bugzilla.redhat.com/show_bug.cgi?id=1311694
> The fedora maintainers encourage use of pkg-config rather crufty *.m4 
> autoconf magic by only supplying pkg-config files *.pc.
> The patch is surprisingly easy but adds the additional requirement for 
> pkg-config which should be available on every well maintained system for ages.
> Please see for me proposed patch. Works for me for Fedora 25, Centos 6, 
> MacOSX with HomeBrew.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2654) Support Fedora 25: use pkg-config instead of obsolete M4 macros

2016-12-22 Thread Olaf Flebbe (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olaf Flebbe updated ZOOKEEPER-2654:
---
Attachment: (was: ZOOKEEPER-2654.patch)

> Support Fedora 25: use pkg-config instead of obsolete M4 macros
> ---
>
> Key: ZOOKEEPER-2654
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2654
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: build
>Reporter: Olaf Flebbe
>Assignee: Olaf Flebbe
>
> While compiling Bigtop on Fedora 25 we found that there is an issue with the 
> autoconf detection of cppunit: See BIGTOP-2642 for error.
> Some background regarding the issue can be found here: 
> https://bugzilla.redhat.com/show_bug.cgi?id=1311694
> The fedora maintainers encourage use of pkg-config rather crufty *.m4 
> autoconf magic by only supplying pkg-config files *.pc.
> The patch is surprisingly easy but adds the additional requirement for 
> pkg-config which should be available on every well maintained system for ages.
> Please see for me proposed patch. Works for me for Fedora 25, Centos 6, 
> MacOSX with HomeBrew.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ZOOKEEPER-2654) Support Fedora 25: use pkg-config instead of obsolete M4 macros

2016-12-22 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15770650#comment-15770650
 ] 

Hadoop QA commented on ZOOKEEPER-2654:
--

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12844435/ZOOKEEPER-2654.patch
  against trunk revision ef0a8ae686c100f1dc71d7526af962c635696466.

+1 @author.  The patch does not contain any @author tags.

-1 tests included.  The patch doesn't appear to include any new or modified 
tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

-1 patch.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3552//console

This message is automatically generated.

> Support Fedora 25: use pkg-config instead of obsolete M4 macros
> ---
>
> Key: ZOOKEEPER-2654
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2654
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: build
>Reporter: Olaf Flebbe
>Assignee: Olaf Flebbe
> Attachments: ZOOKEEPER-2654.patch
>
>
> While compiling Bigtop on Fedora 25 we found that there is an issue with the 
> autoconf detection of cppunit: See BIGTOP-2642 for error.
> Some background regarding the issue can be found here: 
> https://bugzilla.redhat.com/show_bug.cgi?id=1311694
> The fedora maintainers encourage use of pkg-config rather crufty *.m4 
> autoconf magic by only supplying pkg-config files *.pc.
> The patch is surprisingly easy but adds the additional requirement for 
> pkg-config which should be available on every well maintained system for ages.
> Please see for me proposed patch. Works for me for Fedora 25, Centos 6, 
> MacOSX with HomeBrew.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Failed: ZOOKEEPER-2654 PreCommit Build #3552

2016-12-22 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2654
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3552/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 142 lines...]
 [exec] 
 [exec] 
 [exec] 
 [exec] -1 overall.  Here are the results of testing the latest attachment 
 [exec]   
http://issues.apache.org/jira/secure/attachment/12844435/ZOOKEEPER-2654.patch
 [exec]   against trunk revision ef0a8ae686c100f1dc71d7526af962c635696466.
 [exec] 
 [exec] +1 @author.  The patch does not contain any @author tags.
 [exec] 
 [exec] -1 tests included.  The patch doesn't appear to include any new 
or modified tests.
 [exec] Please justify why no new tests are needed 
for this patch.
 [exec] Also please list what manual steps were 
performed to verify this patch.
 [exec] 
 [exec] -1 patch.  The patch command could not apply the patch.
 [exec] 
 [exec] Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3552//console
 [exec] 
 [exec] This message is automatically generated.
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Adding comment to Jira.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] Comment added.
 [exec] 7a1fd36e4849eb31fc12287aa76050995e462ede logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] mv: 
‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/patchprocess’ 
and 
‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/patchprocess’ 
are the same file

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/build.xml:1607: 
exec returned: 1

Total time: 45 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Recording test results
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files 
were found. Configuration error?
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[description-setter] Description set: ZOOKEEPER-2654
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7



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

[jira] [Commented] (ZOOKEEPER-2654) Support Fedora 25: use pkg-config instead of obsolete M4 macros

2016-12-22 Thread Olaf Flebbe (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15770646#comment-15770646
 ] 

Olaf Flebbe commented on ZOOKEEPER-2654:


One additinal benefit of this patch is that one does not need to have cppunit 
installed when regenerating the autoconf files.


> Support Fedora 25: use pkg-config instead of obsolete M4 macros
> ---
>
> Key: ZOOKEEPER-2654
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2654
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: build
>Reporter: Olaf Flebbe
>Assignee: Olaf Flebbe
> Attachments: ZOOKEEPER-2654.patch
>
>
> While compiling Bigtop on Fedora 25 we found that there is an issue with the 
> autoconf detection of cppunit: See BIGTOP-2642 for error.
> Some background regarding the issue can be found here: 
> https://bugzilla.redhat.com/show_bug.cgi?id=1311694
> The fedora maintainers encourage use of pkg-config rather crufty *.m4 
> autoconf magic by only supplying pkg-config files *.pc.
> The patch is surprisingly easy but adds the additional requirement for 
> pkg-config which should be available on every well maintained system for ages.
> Please see for me proposed patch. Works for me for Fedora 25, Centos 6, 
> MacOSX with HomeBrew.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ZOOKEEPER-2654) Support Fedora 25: use pkg-config instead of obsolete M4 macros

2016-12-22 Thread Olaf Flebbe (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olaf Flebbe updated ZOOKEEPER-2654:
---
Attachment: ZOOKEEPER-2654.patch

> Support Fedora 25: use pkg-config instead of obsolete M4 macros
> ---
>
> Key: ZOOKEEPER-2654
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2654
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: build
>Reporter: Olaf Flebbe
>Assignee: Olaf Flebbe
> Attachments: ZOOKEEPER-2654.patch
>
>
> While compiling Bigtop on Fedora 25 we found that there is an issue with the 
> autoconf detection of cppunit: See BIGTOP-2642 for error.
> Some background regarding the issue can be found here: 
> https://bugzilla.redhat.com/show_bug.cgi?id=1311694
> The fedora maintainers encourage use of pkg-config rather crufty *.m4 
> autoconf magic by only supplying pkg-config files *.pc.
> The patch is surprisingly easy but adds the additional requirement for 
> pkg-config which should be available on every well maintained system for ages.
> Please see for me proposed patch. Works for me for Fedora 25, Centos 6, 
> MacOSX with HomeBrew.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ZOOKEEPER-2654) Support Fedora 25: use pkg-config instead of obsolete M4 macros

2016-12-22 Thread Olaf Flebbe (JIRA)
Olaf Flebbe created ZOOKEEPER-2654:
--

 Summary: Support Fedora 25: use pkg-config instead of obsolete M4 
macros
 Key: ZOOKEEPER-2654
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2654
 Project: ZooKeeper
  Issue Type: Bug
  Components: build
Reporter: Olaf Flebbe
Assignee: Olaf Flebbe


While compiling Bigtop on Fedora 25 we found that there is an issue with the 
autoconf detection of cppunit: See BIGTOP-2642 for error.

Some background regarding the issue can be found here: 
https://bugzilla.redhat.com/show_bug.cgi?id=1311694

The fedora maintainers encourage use of pkg-config rather crufty *.m4 autoconf 
magic by only supplying pkg-config files *.pc.

The patch is surprisingly easy but adds the additional requirement for 
pkg-config which should be available on every well maintained system for ages.

Please see for me proposed patch. Works for me for Fedora 25, Centos 6, MacOSX 
with HomeBrew.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


ZooKeeper_branch35_solaris - Build # 363 - Failure

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/363/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 466022 lines...]
[junit] 2016-12-22 17:15:50,157 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2016-12-22 17:15:50,157 [myid:] - INFO  [main:ZooKeeperServer@893] 
- minSessionTimeout set to 6000
[junit] 2016-12-22 17:15:50,157 [myid:] - INFO  [main:ZooKeeperServer@902] 
- maxSessionTimeout set to 6
[junit] 2016-12-22 17:15:50,158 [myid:] - INFO  [main:ZooKeeperServer@159] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test7124000811042059883.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test7124000811042059883.junit.dir/version-2
[junit] 2016-12-22 17:15:50,158 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test7124000811042059883.junit.dir/version-2/snapshot.b
[junit] 2016-12-22 17:15:50,160 [myid:] - INFO  [main:FileTxnSnapLog@306] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test7124000811042059883.junit.dir/version-2/snapshot.b
[junit] 2016-12-22 17:15:50,162 [myid:] - ERROR [main:ZooKeeperServer@505] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-22 17:15:50,162 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-12-22 17:15:50,162 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:56971
[junit] 2016-12-22 17:15:50,163 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:56971
[junit] 2016-12-22 17:15:50,163 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-12-22 17:15:50,163 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:56971 (no session established for client)
[junit] 2016-12-22 17:15:50,164 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-22 17:15:50,165 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-12-22 17:15:50,165 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-12-22 17:15:50,165 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-12-22 17:15:50,165 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-12-22 17:15:50,166 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17749
[junit] 2016-12-22 17:15:50,166 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-12-22 17:15:50,166 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-12-22 17:15:50,166 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-22 17:15:50,242 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x125a481eada closed
[junit] 2016-12-22 17:15:50,242 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x125a481eada
[junit] 2016-12-22 17:15:50,242 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-22 17:15:50,243 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-12-22 17:15:50,243 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-12-22 17:15:50,243 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-12-22 17:15:50,243 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-12-22 17:15:50,243 [myid:] - INFO  [main:ZooKeeperServer@533] 
- shutting down
[junit] 2016-12-22 17:15:50,244 [myid:] - ERROR [main:ZooKeeperServer@505] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take 

[jira] [Created] (ZOOKEEPER-2653) epoch files do not match snapshots and logs

2016-12-22 Thread Lasaro Camargos (JIRA)
Lasaro Camargos created ZOOKEEPER-2653:
--

 Summary: epoch files do not match snapshots and logs
 Key: ZOOKEEPER-2653
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2653
 Project: ZooKeeper
  Issue Type: Bug
Affects Versions: 3.4.9
 Environment: Linux  3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 
UTC 2015 x86_64 x86_64 x86_64 GNU/Linux (centos)
Reporter: Lasaro Camargos


Hi all.
After shutting zk down and upgrading to centos 7, ZK would not start with 
exception

Removing file: Dec 19, 2016 10:55:08 PM /hedvig/hpod/log/version-2/log.300ee0308
Removing file: Dec 19, 2016 7:11:23 PM  
/hedvig/hpod/data/version-2/snapshot.300ee0307
java.lang.RuntimeException: Unable to run quorum server
at 
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:558)
at 
org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:500)
at 
org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:153)
at com.hedvig.hpod.service.PodnetService$1.run(PodnetService.java:2262)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: The current epoch, 3, is older than the last 
zxid, 17179871862
at 
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:539)
... 4 more

All logs are empty, and the following snapshot and commit logs exist

find .
.
./log
./log/version-2
./log/version-2/log.4010a
./log/version-2/log.300ef712b
./log/version-2/log.300f0659e
./log/version-2/.ignore
./data
./data/version-2
./data/version-2/snapshot.40109
./data/version-2/currentEpoch
./data/version-2/acceptedEpoch
./data/version-2/snapshot.300ef712a
./data/version-2/snapshot.300f0659d
./data/myid.bak
./data/myid


On other nodes we had the same exception but no commit log deletion.
java.lang.RuntimeException: Unable to run quorum server
   at 
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:558)
at 
org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:500)
at 
org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:153)
at com.hedvig.hpod.service.PodnetService$1.run(PodnetService.java:2262)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: The current epoch, 3, is older than the last 
zxid, 17179871862
at 
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:539)

./log
./log/version-2
./log/version-2/log.300f06cfc
./log/version-2/log.300f03890
./log/version-2/.ignore
./data
./data/version-2
./data/version-2/snapshot.300f06cfb
./data/version-2/snapshot.300f06f10
./data/version-2/currentEpoch
./data/version-2/acceptedEpoch
./data/version-2/snapshot.300f0388f
./data/myid.bak
./data/myid


/log
./log/version-2
./log/version-2/log.300f06dbf
./log/version-2/log.300ed96fc
./log/version-2/log.300ef1048
./log/version-2/.ignore
./data
./data/version-2
./data/version-2/snapshot.300f06dbe
./data/version-2/currentEpoch
./data/version-2/acceptedEpoch
./data/version-2/snapshot.300ed96fb
./data/version-2/snapshot.300ef1048
./data/myid.bak
./data/myid

The symptoms look like ZOOKEEPER-1549, but we are running 3.4.9 here.

Any ideas?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


ZooKeeper_branch34_solaris - Build # 1402 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_solaris/1402/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 190626 lines...]
[junit] 2016-12-22 13:54:12,724 [myid:] - INFO  [main:ZooKeeperServer@497] 
- shutting down
[junit] 2016-12-22 13:54:12,724 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-22 13:54:12,725 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2016-12-22 13:54:12,725 [myid:] - INFO  
[main:PrepRequestProcessor@765] - Shutting down
[junit] 2016-12-22 13:54:12,725 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2016-12-22 13:54:12,725 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2016-12-22 13:54:12,725 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2016-12-22 13:54:12,725 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2016-12-22 13:54:12,726 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-12-22 13:54:12,726 [myid:] - INFO  [main:JMXEnv@147] - 
ensureOnly:[]
[junit] 2016-12-22 13:54:12,727 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2016-12-22 13:54:12,727 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2016-12-22 13:54:12,727 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2016-12-22 13:54:12,728 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2016-12-22 13:54:12,728 [myid:] - INFO  [main:ZooKeeperServer@173] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/build/test/tmp/test9029440728203469592.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/build/test/tmp/test9029440728203469592.junit.dir/version-2
[junit] 2016-12-22 13:54:12,731 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-22 13:54:12,731 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-12-22 13:54:12,731 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:37769
[junit] 2016-12-22 13:54:12,731 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:37769
[junit] 2016-12-22 13:54:12,732 [myid:] - INFO  
[Thread-5:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2016-12-22 13:54:12,732 [myid:] - INFO  
[Thread-5:NIOServerCnxn@1008] - Closed socket connection for client 
/127.0.0.1:37769 (no session established for client)
[junit] 2016-12-22 13:54:12,733 [myid:] - INFO  [main:JMXEnv@230] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-22 13:54:12,734 [myid:] - INFO  [main:JMXEnv@247] - 
expect:InMemoryDataTree
[junit] 2016-12-22 13:54:12,734 [myid:] - INFO  [main:JMXEnv@251] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2016-12-22 13:54:12,734 [myid:] - INFO  [main:JMXEnv@247] - 
expect:StandaloneServer_port
[junit] 2016-12-22 13:54:12,734 [myid:] - INFO  [main:JMXEnv@251] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2016-12-22 13:54:12,735 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 8958
[junit] 2016-12-22 13:54:12,735 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2016-12-22 13:54:12,735 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2016-12-22 13:54:12,735 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2016-12-22 13:54:12,811 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x15926cf881e closed
[junit] 2016-12-22 13:54:12,811 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2016-12-22 13:54:12,811 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x15926cf881e
[junit] 2016-12-22 13:54:12,813 [myid:] - INFO  [main:ZooKeeperServer@497] 
- shutting down
[junit] 2016-12-22 13:54:12,813 [myid:] - 

[jira] [Updated] (ZOOKEEPER-2649) The ZooKeeper do not write in log session ID in which the client has been authenticated.

2016-12-22 Thread Flavio Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Junqueira updated ZOOKEEPER-2649:

Assignee: Alex Zhou

> The ZooKeeper do not write in log session ID in which the client has been 
> authenticated.
> 
>
> Key: ZOOKEEPER-2649
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2649
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Affects Versions: 3.4.9, 3.5.2
>Reporter: Alex Zhou
>Assignee: Alex Zhou
>Priority: Trivial
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
>
> The ZooKeeper do not write in log session ID in which the client has been 
> authenticated. This occurs for digest and for SASL authentications:
> bq. 2016-12-09 15:46:34,808 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158e39a0a960001 
> with negotiated timeout 3 for client /0:0:0:0:0:0:0:1:52626
> bq. 2016-12-09 15:46:34,838 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@118] - 
> Successfully authenticated client: authenticationID=bob;  authorizationID=bob.
> bq. 2016-12-09 15:46:34,848 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@134] - 
> Setting authorizedID: bob
> bq. 2016-12-09 15:46:34,848 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@1024] - adding 
> SASL authorization for authorizationID: bob
> bq. 2016-12-13 10:52:54,915 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158f72acaed0001 
> with negotiated timeout 3 for client /172.20.97.175:52217
> bq. 2016-12-13 10:52:55,070 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@118] - 
> Successfully authenticated client: authenticationID=u...@billab.ru;  
> authorizationID=u...@billab.ru.
> bq. 2016-12-13 10:52:55,075 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@134] - 
> Setting authorizedID: u...@billab.ru
> bq. 2016-12-13 10:52:55,075 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@1024] - adding 
> SASL authorization for authorizationID: u...@billab.ru
> bq. 2016-12-19 17:43:01,395 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158fd72521f 
> with negotiated timeout 3 for client /172.20.97.175:57633
> bq. 2016-12-19 17:45:53,497 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@952] - got auth 
> packet /172.20.97.175:57633
> bq. 2016-12-19 17:45:53,508 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@986] - auth 
> success /172.20.97.175:57633
> So, it is difficult to determine which client made changes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


ZooKeeper_branch35_jdk8 - Build # 346 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/346/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 479247 lines...]
[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] 2016-12-22 11:33:18,054 [myid:127.0.0.1:11349] - INFO  
[main-SendThread(127.0.0.1:11349):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:11349. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-22 11:33:18,054 [myid:127.0.0.1:11349] - WARN  
[main-SendThread(127.0.0.1:11349):ClientCnxn$SendThread@1235] - Session 
0x30151480127 for server 127.0.0.1/127.0.0.1:11349, 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] 2016-12-22 11:33:18,259 [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] 2016-12-22 11:33:18,260 [myid:127.0.0.1:11222] - WARN  
[main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1235] - Session 
0x1015144463e 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] 2016-12-22 11:33:18,445 [myid:] - INFO  [ProcessThread(sid:0 
cport:11466)::PrepRequestProcessor@656] - Processed session termination for 
sessionid: 0x101514b6298
[junit] 2016-12-22 11:33:18,462 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port11466,name1=Connections,name2=127.0.0.1,name3=0x101514b6298]
[junit] 2016-12-22 11:33:18,462 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x101514b6298 closed
[junit] 2016-12-22 11:33:18,463 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 232712
[junit] 2016-12-22 11:33:18,463 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2428
[junit] 2016-12-22 11:33:18,463 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-12-22 11:33:18,463 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-22 11:33:18,463 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-22 11:33:18,464 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:11466
[junit] 2016-12-22 11:33:18,462 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x101514b6298
[junit] 2016-12-22 11:33:18,470 [myid:] - INFO  [main:ZooKeeperServer@533] 
- shutting down
[junit] 2016-12-22 11:33:18,470 [myid:] - ERROR [main:ZooKeeperServer@505] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-22 11:33:18,470 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-12-22 11:33:18,471 [myid:] - INFO  
[main:PrepRequestProcessor@974] - Shutting down
[junit] 2016-12-22 11:33:18,471 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-12-22 11:33:18,471 [myid:] - INFO  [ProcessThread(sid:0 
cport:11466)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-12-22 11:33:18,471 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-12-22 11:33:18,477 [myid:] - INFO  
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-12-22 11:33:18,478 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 

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

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/869/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 481728 lines...]
[junit] 2016-12-22 11:58:05,882 [myid:] - WARN  [New I/O worker 
#6635:NettyServerCnxnFactory$CnxnChannelHandler@142] - Exception caught [id: 
0x2435d013, /127.0.0.1:56186 :> /127.0.0.1:16852] EXCEPTION: 
java.nio.channels.ClosedChannelException
[junit] java.nio.channels.ClosedChannelException
[junit] at 
sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:270)
[junit] at 
sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:461)
[junit] at 
org.jboss.netty.channel.socket.nio.SocketSendBufferPool$UnpooledSendBuffer.transferTo(SocketSendBufferPool.java:203)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioWorker.write0(AbstractNioWorker.java:201)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromTaskLoop(AbstractNioWorker.java:151)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioChannel$WriteTask.run(AbstractNioChannel.java:315)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
[junit] at 
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
[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] 2016-12-22 11:58:05,882 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port16852,name1=Connections,name2=127.0.0.1,name3=0x1013deef6cc]
[junit] 2016-12-22 11:58:05,941 [myid:127.0.0.1:16735] - INFO  
[main-SendThread(127.0.0.1:16735):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:16735. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-22 11:58:05,941 [myid:127.0.0.1:16735] - WARN  
[main-SendThread(127.0.0.1:16735):ClientCnxn$SendThread@1235] - Session 
0x3013debed67 for server 127.0.0.1/127.0.0.1:16735, 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] 2016-12-22 11:58:05,983 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x1013deef6cc closed
[junit] 2016-12-22 11:58:05,983 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 169891
[junit] 2016-12-22 11:58:05,983 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1644
[junit] 2016-12-22 11:58:05,983 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-12-22 11:58:05,983 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-22 11:58:05,983 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-22 11:58:05,983 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:16852
[junit] 2016-12-22 11:58:05,983 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1013deef6cc
[junit] 2016-12-22 11:58:05,988 [myid:] - INFO  [main:ZooKeeperServer@534] 
- shutting down
[junit] 2016-12-22 11:58:05,989 [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] 2016-12-22 11:58:05,989 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-12-22 11:58:05,989 [myid:] - INFO  
[main:PrepRequestProcessor@1009] - Shutting down
[junit] 2016-12-22 11:58:05,989 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-12-22 11:58:05,990 [myid:] - INFO  [ProcessThread(sid:0 
cport:16852)::PrepRequestProcessor@157] - 

ZooKeeper_branch35_jdk7 - Build # 777 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/777/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 485494 lines...]
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:30197
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
[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:1145)
[junit] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[junit] at java.lang.Thread.run(Thread.java:745)
[junit] 2016-12-22 09:57:14,431 [myid:] - INFO  [New I/O boss 
#:ClientCnxnSocketNetty@208] - channel is told closing
[junit] 2016-12-22 09:57:14,433 [myid:127.0.0.1:30197] - INFO  
[main-SendThread(127.0.0.1:30197):ClientCnxn$SendThread@1231] - channel for 
sessionid 0x2042b3fa6b9 is lost, closing socket connection and attempting 
reconnect
[junit] 2016-12-22 09:58:01,292 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 23459
[junit] 2016-12-22 09:58:01,293 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 55
[junit] 2016-12-22 09:58:01,293 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testManyChildWatchersAutoReset
[junit] 2016-12-22 09:58:01,293 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-22 09:58:01,294 [myid:] - INFO  [ProcessThread(sid:0 
cport:11225)::PrepRequestProcessor@656] - Processed session termination for 
sessionid: 0x1042b381885
[junit] 2016-12-22 09:58:01,318 [myid:] - INFO  
[NIOWorkerThread-16:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port11225,name1=Connections,name2=127.0.0.1,name3=0x1042b381885]
[junit] 2016-12-22 09:58:01,319 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x1042b381885 closed
[junit] 2016-12-22 09:58:01,319 [myid:] - INFO  
[NIOWorkerThread-16:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:57927 which had sessionid 0x1042b381885
[junit] 2016-12-22 09:58:01,319 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1042b381885
[junit] 2016-12-22 09:58:01,320 [myid:] - INFO  [ProcessThread(sid:0 
cport:11225)::PrepRequestProcessor@656] - Processed session termination for 
sessionid: 0x1042b3818850001
[junit] 2016-12-22 09:58:01,362 [myid:] - INFO  
[NIOWorkerThread-32:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port11225,name1=Connections,name2=127.0.0.1,name3=0x1042b3818850001]
[junit] 2016-12-22 09:58:01,362 [myid:] - INFO  
[NIOWorkerThread-32:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:57901 which had sessionid 0x1042b3818850001
[junit] 2016-12-22 09:58:01,363 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x1042b3818850001 closed
[junit] 2016-12-22 09:58:01,363 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-22 09:58:01,363 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1042b3818850001
[junit] 2016-12-22 09:58:01,364 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-12-22 09:58:01,368 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-12-22 09:58:01,370 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11225:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-12-22 09:58:01,368 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-12-22 09:58:01,374 [myid:] - INFO  [main:ZooKeeperServer@533] 
- shutting down
[junit] 2016-12-22 09:58:01,374 

ZooKeeper_branch35_openjdk7 - Build # 342 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/342/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H16 (ubuntu) in workspace 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_openjdk7
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10
Fetching upstream changes from git://git.apache.org/zookeeper.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > git://git.apache.org/zookeeper.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/branch-3.5^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/branch-3.5^{commit} # timeout=10
Checking out Revision c0eaa5fdfcc0f11ce34ba6818438dda9ba47a807 
(refs/remotes/origin/branch-3.5)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c0eaa5fdfcc0f11ce34ba6818438dda9ba47a807
 > git rev-list c0eaa5fdfcc0f11ce34ba6818438dda9ba47a807 # timeout=10
No emails were triggered.
[ZooKeeper_branch35_openjdk7] $ /home/jenkins/tools/ant/latest/bin/ant 
-Dtest.output=yes -Dtest.junit.threads=8 -Dtest.junit.output.format=xml 
-Djavac.target=1.7 clean test-core-java
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64//bin/java
Build step 'Invoke Ant' marked build as 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.

[jira] [Updated] (ZOOKEEPER-2649) The ZooKeeper do not write in log session ID in which the client has been authenticated.

2016-12-22 Thread Alex Zhou (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Zhou updated ZOOKEEPER-2649:
-
Component/s: (was: quorum)
 server

> The ZooKeeper do not write in log session ID in which the client has been 
> authenticated.
> 
>
> Key: ZOOKEEPER-2649
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2649
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Affects Versions: 3.4.9, 3.5.2
>Reporter: Alex Zhou
>Priority: Trivial
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
>
> The ZooKeeper do not write in log session ID in which the client has been 
> authenticated. This occurs for digest and for SASL authentications:
> bq. 2016-12-09 15:46:34,808 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158e39a0a960001 
> with negotiated timeout 3 for client /0:0:0:0:0:0:0:1:52626
> bq. 2016-12-09 15:46:34,838 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@118] - 
> Successfully authenticated client: authenticationID=bob;  authorizationID=bob.
> bq. 2016-12-09 15:46:34,848 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@134] - 
> Setting authorizedID: bob
> bq. 2016-12-09 15:46:34,848 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@1024] - adding 
> SASL authorization for authorizationID: bob
> bq. 2016-12-13 10:52:54,915 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158f72acaed0001 
> with negotiated timeout 3 for client /172.20.97.175:52217
> bq. 2016-12-13 10:52:55,070 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@118] - 
> Successfully authenticated client: authenticationID=u...@billab.ru;  
> authorizationID=u...@billab.ru.
> bq. 2016-12-13 10:52:55,075 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@134] - 
> Setting authorizedID: u...@billab.ru
> bq. 2016-12-13 10:52:55,075 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@1024] - adding 
> SASL authorization for authorizationID: u...@billab.ru
> bq. 2016-12-19 17:43:01,395 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158fd72521f 
> with negotiated timeout 3 for client /172.20.97.175:57633
> bq. 2016-12-19 17:45:53,497 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@952] - got auth 
> packet /172.20.97.175:57633
> bq. 2016-12-19 17:45:53,508 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@986] - auth 
> success /172.20.97.175:57633
> So, it is difficult to determine which client made changes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


ZooKeeper_branch34_jdk7 - Build # 1337 - Still Failing

2016-12-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk7/1337/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 232442 lines...]
[junit] 2016-12-22 08:46:50,977 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-22 08:46:50,977 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2016-12-22 08:46:50,977 [myid:] - INFO  
[main:PrepRequestProcessor@765] - Shutting down
[junit] 2016-12-22 08:46:50,977 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2016-12-22 08:46:50,977 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2016-12-22 08:46:50,978 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2016-12-22 08:46:50,978 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2016-12-22 08:46:50,979 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-12-22 08:46:50,980 [myid:] - INFO  [main:JMXEnv@147] - 
ensureOnly:[]
[junit] 2016-12-22 08:46:50,981 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2016-12-22 08:46:50,982 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2016-12-22 08:46:50,982 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2016-12-22 08:46:50,982 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2016-12-22 08:46:50,983 [myid:] - INFO  [main:ZooKeeperServer@173] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/build/test/tmp/test2586491497449241526.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/build/test/tmp/test2586491497449241526.junit.dir/version-2
[junit] 2016-12-22 08:46:50,987 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2016-12-22 08:46:50,988 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2016-12-22 08:46:50,988 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:40874
[junit] 2016-12-22 08:46:50,989 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:40874
[junit] 2016-12-22 08:46:50,989 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2016-12-22 08:46:50,990 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1008] - Closed socket connection for client 
/127.0.0.1:40874 (no session established for client)
[junit] 2016-12-22 08:46:50,990 [myid:] - INFO  [main:JMXEnv@230] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-22 08:46:50,992 [myid:] - INFO  [main:JMXEnv@247] - 
expect:InMemoryDataTree
[junit] 2016-12-22 08:46:50,993 [myid:] - INFO  [main:JMXEnv@251] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2016-12-22 08:46:50,993 [myid:] - INFO  [main:JMXEnv@247] - 
expect:StandaloneServer_port
[junit] 2016-12-22 08:46:50,993 [myid:] - INFO  [main:JMXEnv@251] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2016-12-22 08:46:50,994 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 32679
[junit] 2016-12-22 08:46:50,994 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2016-12-22 08:46:50,994 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2016-12-22 08:46:50,994 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2016-12-22 08:46:51,000 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@162] - SessionTrackerImpl exited loop!
[junit] 2016-12-22 08:46:51,000 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@162] - SessionTrackerImpl exited loop!
[junit] 2016-12-22 08:46:51,058 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x15925b623c0 closed
[junit] 2016-12-22 08:46:51,058 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2016-12-22 08:46:51,058 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x15925b623c0
[junit] 2016-12-22 08:46:51,058 

[jira] [Commented] (ZOOKEEPER-2650) Test Improvement by adding more QuorumPeer Auth related test cases

2016-12-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15769417#comment-15769417
 ] 

ASF GitHub Bot commented on ZOOKEEPER-2650:
---

Github user rakeshadr commented on the issue:

https://github.com/apache/zookeeper/pull/131
  
Thanks @rgs1, fixed review comments. Also, added retires for ServerState 
assertion to improve test case stability.


> Test Improvement by adding more QuorumPeer Auth related test cases
> --
>
> Key: ZOOKEEPER-2650
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2650
> Project: ZooKeeper
>  Issue Type: Test
>Reporter: Rakesh R
>Assignee: Rakesh R
> Fix For: 3.4.10
>
>
> This jira to add more test cases to the ZOOKEEPER-1045 feature.
> Cases:-
> 1) Ensemble with auth enabled Observer.
> 2) Connecting non-auth Observer to auth enabled quorum.
> 3) Quorum re-election with auth enabled servers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] zookeeper issue #131: ZOOKEEPER-2650: Test Improvement by adding more Quorum...

2016-12-22 Thread rakeshadr
Github user rakeshadr commented on the issue:

https://github.com/apache/zookeeper/pull/131
  
Thanks @rgs1, fixed review comments. Also, added retires for ServerState 
assertion to improve test case stability.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---