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

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

###
## 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 437ms :: 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/84ms)

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\hudson4047590427538956466.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.

Re: ZooKeeper-trunk-WinVS2008 - Build # 2357 - Still Failing

2016-12-19 Thread Patrick Hunt
I made that change, but now it's failing not able to find msbuild - I
updated the INFRA JIRA.

Patrick

On Thu, Dec 15, 2016 at 9:27 PM, Michael Han  wrote:

> Logged https://issues.apache.org/jira/browse/INFRA-13112 to track this.
>
> On Mon, Dec 12, 2016 at 9:45 AM, Michael Han  wrote:
>
> > I assume we still care about windows build... this has been failing for
> > the previous two weeks because of a host problem (no java compiler). The
> > last known succeed build was running on host with name 'windows1' (which
> is
> > dead now), and the current problematic host is
> https://builds.apache.org/
> > computer/windows-2012-2/. I have no access to jenkins job config so not
> > sure how to fix this. Should we raise an infra ticket for this?
> >
> > On Sun, Dec 11, 2016 at 9:23 PM, Apache Jenkins Server <
> > jenk...@builds.apache.org> wrote:
> >
> >> See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008/2357/
> >>
> >> 
> >> ###
> >> ## LAST 60 LINES OF THE CONSOLE
> >> ###
> >> [...truncated 78 lines...]
> >>
> >> ivy-retrieve:
> >> [ivy:retrieve] :: Apache Ivy 2.4.0 - 20141213170938 ::
> >> http://ant.apache.org/ivy/ ::
> >> [ivy:retrieve] :: loading settings :: file =
> >> f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008
> >> \ivysettings.xml
> >> [ivy:retrieve] :: resolving dependencies ::
> org.apache.zookeeper#zookeeper
> >> ;3.6.0-SNAPSHOT
> >> [ivy:retrieve]  confs: [default]
> >> [ivy:retrieve]  found jline#jline;2.11 in maven2
> >> [ivy:retrieve]  found org.eclipse.jetty#jetty-server;9.2.18.v20160721
> in
> >> maven2
> >> [ivy:retrieve]  found javax.servlet#javax.servlet-api;3.1.0 in maven2
> >> [ivy:retrieve]  found org.eclipse.jetty#jetty-http;9.2.18.v20160721 in
> >> maven2
> >> [ivy:retrieve]  found org.eclipse.jetty#jetty-util;9.2.18.v20160721 in
> >> maven2
> >> [ivy:retrieve]  found org.eclipse.jetty#jetty-io;9.2.18.v20160721 in
> >> maven2
> >> [ivy:retrieve]  found org.eclipse.jetty#jetty-servlet;9.2.18.v20160721
> >> in maven2
> >> [ivy:retrieve]  found org.eclipse.jetty#jetty-security;9.2.18.v20160721
> >> in maven2
> >> [ivy:retrieve]  found org.codehaus.jackson#jackson-mapper-asl;1.9.11 in
> >> maven2
> >> [ivy:retrieve]  found org.codehaus.jackson#jackson-core-asl;1.9.11 in
> >> maven2
> >> [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 400ms :: artifacts dl
> 21ms
> >> 
> >> -
> >> |  |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/35ms)
> >>
> >> generate_jute_parser:
> >> [mkdir] Created dir: f:\jenkins\jenkins-slave\works
> >> pace\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\works
> >> pace\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\works
> >> pace\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:
> >>
> >> BUILD FAILED
> >> f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-
> WinVS2008\build.xml:273:
> >> Unable to find a javac compiler;
> >> 

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

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

###
## 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 449ms :: artifacts dl 23ms
-
|  |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/93ms)

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\hudson1438344297878908773.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.

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

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

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 97 lines...]
[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 429ms :: artifacts dl 24ms
-
|  |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/87ms)

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\hudson6935934631148629063.bat

f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008>#PDH git 
conversion #set 
ZOOKEEPER_HOME=f:\jenkins\jenkins-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk
 
'#PDH' is not recognized as an internal or external command,
operable program or batch file.

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.

Re: ZooKeeper cwiki - Updated ZooKeeper and SASL auth 1045 work

2016-12-19 Thread Patrick Hunt
LGTM. Those changes are very helpful, thanks Rakesh!

Patrick

On Mon, Dec 19, 2016 at 12:04 PM, Rakesh Radhakrishnan 
wrote:

> Thanks a lot Patrick Hunt for the review comments. Please take another look
> at the wiki page when you get a chance.
>
> I've updated the wiki page addressing these,.
>
> 1) ===> DONE. Added JCE encryption part.
> 2) ===> DONE. Corrected case.
> 3) ===> DONE. Included version.
> 4) ===> DONE. Corrected numbering format.
> 5) ===> DONE. Added an example case to understand the tuning mechanism.
> 6) ===> DONE. I've removed this part because it can be discussed separately
> and added if someone has a use case.
> 7) ===> DONE. Rephrased upgrade feature section
>
> Thanks,
> Rakesh
>
> On Wed, Dec 14, 2016 at 9:03 AM, Patrick Hunt  wrote:
>
> > Nice job Rakesh, some comments:
> >
> > 1) the appendix is a great idea, should be useful for many people. One
> > thing I noticed
> > "There is no additional dependencies needed to use SASL with Java since
> it
> > is part of the the Java Standard Edition." - you might want to
> mention/link
> > the JCE? The JVM doesn't come with very modern encryption - some of the
> > distros use more strong encryption out of the box with kerberos. I've run
> > into this a number of times (need to also install JCE).
> >
> > 2) consistently use "ZooKeeper" rather than "Zookeeper". Only noticed
> this
> > in a few places...
> >
> > 3) on client-server it would be good to mention when it was added
> (3.4.0+),
> > similar to what you did with 1045.
> >
> > 4) on "ZooKeeper SASL configurations" the numbering of the bullets starts
> > at 2.1. and finishes at 2.4. I suspect the formatting didn't copy over
> > quite right?
> >
> > 5) similar formatting issue for "# Defaulting to
> > 20quorum.cnxn.threads.size=20"
> >
> > Can we give any insight into how this value should be set? i.e. why is 20
> > the default and when should it be raised/lowered?
> >
> > 6) can the doc shed any light on why we are recommending
> > "javax.security.auth.useSubjectCredsOnly=false" ? I'm not familiar with
> > this myself.
> >
> > 7) "This feature is supported in 3.4 branch" is ambiguous - perhaps
> > rephrase. What "feature" are you referring to, 1045 or to rolling
> upgrade?
> > Also the ref to 3.4 itself is ambiguous - perhaps change to 3.4.10+?
> >
> > These are some minor nits, overall impressive effort -- thanks again
> > Rakesh!
> >
> > Patrick
> >
> >
> >
> > On Tue, Dec 13, 2016 at 6:56 PM, Rakesh Radhakrishnan <
> rake...@apache.org>
> > wrote:
> >
> > > Hi All,
> > >
> > > I've incorporated ZK-1045 feature details into the Apache ZooKeeper
> > project
> > > cwiki. Since "ZooKeeper and SASL" section is quite large I've splitted
> > > ZooKeeper client-server and server-server sections into sub-pages.
> Please
> > > read the following page,
> > >
> > > https://cwiki.apache.org/confluence/display/ZOOKEEPER/
> > ZooKeeper+and+SASL+
> > > authentication
> > >
> > > *ZooKeeper and SASL authentication*
> > >
> > >- Client-Server mutual authentication
> > >- Server-Server mutual authentication
> > >- Appendix: Kerberos, GSSAPI, SASL, and JAAS
> > >
> > > I have reused the content from the "Client-Server" and "Appendix"
> > sections
> > > from the existing page
> > > https://cwiki.apache.org/confluence/display/ZOOKEEPER/
> Zookeeper+and+SASL
> > > Presently I've maintained this original page as a history, probably we
> > need
> > > to delete this page after everyone agrees on the changes.
> > >
> > > Appreciate your feedback, thanks!
> > >
> > > Regards,
> > > Rakesh
> > >
> >
>


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

2016-12-19 Thread Michael Han (JIRA)

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

Michael Han commented on ZOOKEEPER-2649:


bq. So, it is difficult to determine which client made changes.

[~alzhou] Could you clarify a little bit on your use case and what you are 
looking for from log? It is not obvious to me what log information you were 
expecting.

> 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: quorum
>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-trunk - Build # 3201 - Failure

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

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 482970 lines...]
 [exec] Log Message Received: [2016-12-19 
23:30:05,305:14657(0x2b0587789540):ZOO_INFO@log_env@1073: Client 
environment:user.home=/home/jenkins]
 [exec] Log Message Received: [2016-12-19 
23:30:05,305:14657(0x2b0587789540):ZOO_INFO@log_env@1085: Client 
environment:user.dir=/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build/test/test-cppunit]
 [exec] Log Message Received: [2016-12-19 
23:30:05,305:14657(0x2b0587789540):ZOO_INFO@zookeeper_init_internal@1128: 
Initiating client connection, host=127.0.0.1:22181 sessionTimeout=1 
watcher=0x461d20 sessionId=0 sessionPasswd= context=0x7ffe16b0c9d0 
flags=0]
 [exec] Log Message Received: [2016-12-19 
23:30:05,306:14657(0x2b05897e6700):ZOO_INFO@check_events@2390: initiated 
connection to server [127.0.0.1:22181]]
 [exec] Log Message Received: [2016-12-19 
23:30:05,309:14657(0x2b05897e6700):ZOO_INFO@check_events@2442: session 
establishment complete on server [127.0.0.1:22181], 
sessionId=0x101ad271954000f, negotiated timeout=1 ]
 [exec]  : elapsed 1000 : OK
 [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset ZooKeeper server 
started : elapsed 10211 : OK
 [exec] Zookeeper_simpleSystem::testDeserializeString : elapsed 0 : OK
 [exec] Zookeeper_simpleSystem::testFirstServerDown : elapsed 1001 : OK
 [exec] Zookeeper_simpleSystem::testNullData : elapsed 1025 : OK
 [exec] Zookeeper_simpleSystem::testIPV6 : elapsed 1003 : OK
 [exec] Zookeeper_simpleSystem::testCreate : elapsed 1007 : OK
 [exec] Zookeeper_simpleSystem::testPath : elapsed 1013 : OK
 [exec] Zookeeper_simpleSystem::testPathValidation : elapsed 1035 : OK
 [exec] Zookeeper_simpleSystem::testPing : elapsed 17168 : OK
 [exec] Zookeeper_simpleSystem::testAcl : elapsed 1012 : OK
 [exec] Zookeeper_simpleSystem::testChroot : elapsed 3033 : OK
 [exec] Zookeeper_simpleSystem::testAuth ZooKeeper server started ZooKeeper 
server started : elapsed 30453 : OK
 [exec] Zookeeper_simpleSystem::testHangingClient : elapsed 1023 : OK
 [exec] Zookeeper_simpleSystem::testWatcherAutoResetWithGlobal ZooKeeper 
server started ZooKeeper server started ZooKeeper server started : elapsed 
15028 : OK
 [exec] Zookeeper_simpleSystem::testWatcherAutoResetWithLocal ZooKeeper 
server started ZooKeeper server started ZooKeeper server started : elapsed 
15859 : OK
 [exec] Zookeeper_simpleSystem::testGetChildren2 : elapsed 1033 : OK
 [exec] Zookeeper_simpleSystem::testLastZxid : elapsed 4510 : OK
 [exec] Zookeeper_simpleSystem::testRemoveWatchers ZooKeeper server started 
: elapsed 4258 : OK
 [exec] *** Error in `./zktest-mt': corrupted double-linked list: 
0x0208b810 ***
 [exec] /bin/bash: line 5: 14657 Aborted 
ZKROOT=/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/src/c/../.. 
CLASSPATH=$CLASSPATH:$CLOVER_HOME/lib/clover.jar ${dir}$tst
 [exec] Zookeeper_readOnly::testReadOnly : elapsed 4106 : OK
 [exec] OK (74)
 [exec] FAIL: zktest-mt
 [exec] ==
 [exec] 1 of 2 tests failed
 [exec] Please report to u...@zookeeper.apache.org
 [exec] ==
 [exec] make[1]: Leaving directory 
`/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build/test/test-cppunit'
 [exec] make[1]: *** [check-TESTS] Error 1
 [exec] make: *** [check-am] Error 2

BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1324: The 
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1284: The 
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1294: exec 
returned: 2

Total time: 16 minutes 1 second
Build step 'Execute shell' marked build as failure
[FINDBUGS] Skipping publisher since build result is FAILURE
[WARNINGS] Skipping publisher since build result is FAILURE
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Recording fingerprints
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
Publishing Javadoc
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
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



###
## FAILED TESTS (if any) 

[jira] [Commented] (ZOOKEEPER-761) Remove *synchronous* calls from the *single-threaded* C clieant API, since they are documented not to work

2016-12-19 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira commented on ZOOKEEPER-761:


[~breed] do you want this to go to the 3.4 branch as well? The fix version is 
set to 3.5.3 and 3.6.0, but I want to confirm whether this is sufficient or 
not. It might be better to have it in 3.4 as well.

> Remove *synchronous* calls from the *single-threaded* C clieant API, since 
> they are documented not to work
> --
>
> Key: ZOOKEEPER-761
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-761
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: c client
>Affects Versions: 3.1.1, 3.2.2
> Environment: RHEL 4u8 (Linux).  The issue is not OS-specific though.
>Reporter: Jozef Hatala
>Assignee: Benjamin Reed
>Priority: Blocker
> Fix For: 3.5.3, 3.6.0
>
> Attachments: fix-sync-apis-in-st-adaptor.patch, 
> fix-sync-apis-in-st-adaptor.v2.patch
>
>
> Since the synchronous calls are 
> [known|http://hadoop.apache.org/zookeeper/docs/current/zookeeperProgrammers.html#Using+the+C+Client]
>  to be unimplemented in the single threaded version of the client library 
> libzookeeper_st.so, I believe that it would be helpful towards users of the 
> library if that information was also obvious from the header file.
> Anecdotally more than one of us here made the mistake of starting by using 
> the synchronous calls with the single-threaded library, and we found 
> ourselves debugging it.  An early warning would have been greatly appreciated.
> 1. Could you please add warnings to the doxygen blocks of all synchronous 
> calls saying that they are not available in the single-threaded API.  This 
> cannot be safely done with {{#ifdef THREADED}}, obviously, because the same 
> header file is included whichever client library implementation one is 
> compiling for.
> 2. Could you please bracket the implementation of all synchronous calls in 
> zookeeper.c with {{#ifdef THREADED}} and {{#endif}}, so that those symbols 
> are not present in libzookeeper_st.so?



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


Re: ZooKeeper cwiki - Updated ZooKeeper and SASL auth 1045 work

2016-12-19 Thread Rakesh Radhakrishnan
Thanks a lot Patrick Hunt for the review comments. Please take another look
at the wiki page when you get a chance.

I've updated the wiki page addressing these,.

1) ===> DONE. Added JCE encryption part.
2) ===> DONE. Corrected case.
3) ===> DONE. Included version.
4) ===> DONE. Corrected numbering format.
5) ===> DONE. Added an example case to understand the tuning mechanism.
6) ===> DONE. I've removed this part because it can be discussed separately
and added if someone has a use case.
7) ===> DONE. Rephrased upgrade feature section

Thanks,
Rakesh

On Wed, Dec 14, 2016 at 9:03 AM, Patrick Hunt  wrote:

> Nice job Rakesh, some comments:
>
> 1) the appendix is a great idea, should be useful for many people. One
> thing I noticed
> "There is no additional dependencies needed to use SASL with Java since it
> is part of the the Java Standard Edition." - you might want to mention/link
> the JCE? The JVM doesn't come with very modern encryption - some of the
> distros use more strong encryption out of the box with kerberos. I've run
> into this a number of times (need to also install JCE).
>
> 2) consistently use "ZooKeeper" rather than "Zookeeper". Only noticed this
> in a few places...
>
> 3) on client-server it would be good to mention when it was added (3.4.0+),
> similar to what you did with 1045.
>
> 4) on "ZooKeeper SASL configurations" the numbering of the bullets starts
> at 2.1. and finishes at 2.4. I suspect the formatting didn't copy over
> quite right?
>
> 5) similar formatting issue for "# Defaulting to
> 20quorum.cnxn.threads.size=20"
>
> Can we give any insight into how this value should be set? i.e. why is 20
> the default and when should it be raised/lowered?
>
> 6) can the doc shed any light on why we are recommending
> "javax.security.auth.useSubjectCredsOnly=false" ? I'm not familiar with
> this myself.
>
> 7) "This feature is supported in 3.4 branch" is ambiguous - perhaps
> rephrase. What "feature" are you referring to, 1045 or to rolling upgrade?
> Also the ref to 3.4 itself is ambiguous - perhaps change to 3.4.10+?
>
> These are some minor nits, overall impressive effort -- thanks again
> Rakesh!
>
> Patrick
>
>
>
> On Tue, Dec 13, 2016 at 6:56 PM, Rakesh Radhakrishnan 
> wrote:
>
> > Hi All,
> >
> > I've incorporated ZK-1045 feature details into the Apache ZooKeeper
> project
> > cwiki. Since "ZooKeeper and SASL" section is quite large I've splitted
> > ZooKeeper client-server and server-server sections into sub-pages. Please
> > read the following page,
> >
> > https://cwiki.apache.org/confluence/display/ZOOKEEPER/
> ZooKeeper+and+SASL+
> > authentication
> >
> > *ZooKeeper and SASL authentication*
> >
> >- Client-Server mutual authentication
> >- Server-Server mutual authentication
> >- Appendix: Kerberos, GSSAPI, SASL, and JAAS
> >
> > I have reused the content from the "Client-Server" and "Appendix"
> sections
> > from the existing page
> > https://cwiki.apache.org/confluence/display/ZOOKEEPER/Zookeeper+and+SASL
> > Presently I've maintained this original page as a history, probably we
> need
> > to delete this page after everyone agrees on the changes.
> >
> > Appreciate your feedback, thanks!
> >
> > Regards,
> > Rakesh
> >
>


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

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

###
## 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 dfcf4da75c35c12d08496ded2612031f887c0765 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f dfcf4da75c35c12d08496ded2612031f887c0765
 > git rev-list dfcf4da75c35c12d08496ded2612031f887c0765 # 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_solaris - Build # 358 - Still Failing

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

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 169862 lines...]
[junit] 2016-12-19 17:10:03,296 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/127.0.0.1:11237)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id4]
[junit] 2016-12-19 17:10:03,296 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/127.0.0.1:11237)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id4,name1=replica.4]
[junit] 2016-12-19 17:10:03,296 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/127.0.0.1:11237)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id4,name1=replica.1]
[junit] 2016-12-19 17:10:03,296 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/127.0.0.1:11237)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id4,name1=replica.2]
[junit] 2016-12-19 17:10:03,297 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/127.0.0.1:11237)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id4,name1=replica.3]
[junit] 2016-12-19 17:10:03,297 [myid:] - INFO  
[QuorumPeer[myid=4](plain=/127.0.0.1:11237)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id4,name1=replica.5]
[junit] 2016-12-19 17:10:03,297 [myid:] - INFO  
[main:HierarchicalQuorumTest@285] - Shutting down server 5
[junit] 2016-12-19 17:10:03,297 [myid:] - INFO  [main:QuorumBase@394] - 
Shutting down quorum peer 
QuorumPeer[myid=5](plain=/127.0.0.1:11238)(secure=disabled)
[junit] 2016-12-19 17:10:03,298 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-12-19 17:10:03,298 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-12-19 17:10:03,298 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2016-12-19 17:10:03,299 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:/127.0.0.1:11238:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-12-19 17:10:03,323 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:11238)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5,name2=LeaderElection]
[junit] 2016-12-19 17:10:03,323 [myid:] - INFO  
[/127.0.0.1:11233:QuorumCnxManager$Listener@661] - Leaving listener
[junit] 2016-12-19 17:10:03,323 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/127.0.0.1:11238)(secure=disabled):QuorumPeer@1089] - 
Unexpected exception
[junit] java.lang.InterruptedException
[junit] at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2017)
[junit] at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2095)
[junit] at 
java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)
[junit] at 
org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:908)
[junit] at 
org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1087)
[junit] 2016-12-19 17:10:03,324 [myid:] - INFO  [main:QuorumBase@398] - 
Shutting down leader election 
QuorumPeer[myid=5](plain=/127.0.0.1:11238)(secure=disabled)
[junit] 2016-12-19 17:10:03,324 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/127.0.0.1:11238)(secure=disabled):QuorumPeer@1140] - 
QuorumPeer main thread exited
[junit] 2016-12-19 17:10:03,324 [myid:] - INFO  [main:QuorumBase@403] - 
Waiting for QuorumPeer[myid=5](plain=/127.0.0.1:11238)(secure=disabled) to exit 
thread
[junit] 2016-12-19 17:10:03,324 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:11238)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5]
[junit] 2016-12-19 17:10:03,324 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:11238)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5]
[junit] 2016-12-19 17:10:03,325 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:11238)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.1]
[junit] 2016-12-19 17:10:03,325 [myid:] - INFO  

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

2016-12-19 Thread Alex Zhou (JIRA)
Alex Zhou created ZOOKEEPER-2649:


 Summary: 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: quorum
Affects Versions: 3.5.2, 3.4.9
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_branch35_jdk8 - Build # 341 - Failure

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

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 435084 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-19 11:43:12,207 [myid:127.0.0.1:30197] - INFO  
[main-SendThread(127.0.0.1:30197):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:30197. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-19 11:43:12,208 [myid:127.0.0.1:30197] - WARN  
[main-SendThread(127.0.0.1:30197):ClientCnxn$SendThread@1235] - Session 
0x20141ddfd82 for server 127.0.0.1/127.0.0.1:30197, 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-19 11:43:12,716 [myid:127.0.0.1:30073] - INFO  
[main-SendThread(127.0.0.1:30073):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:30073. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-19 11:43:12,717 [myid:127.0.0.1:30073] - WARN  
[main-SendThread(127.0.0.1:30073):ClientCnxn$SendThread@1235] - Session 
0x10141da4108 for server 127.0.0.1/127.0.0.1:30073, 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-19 11:43:12,776 [myid:] - INFO  [ProcessThread(sid:0 
cport:30317)::PrepRequestProcessor@656] - Processed session termination for 
sessionid: 0x10141e16213
[junit] 2016-12-19 11:43:12,787 [myid:] - INFO  [main:ZooKeeper@1311] - 
Session: 0x10141e16213 closed
[junit] 2016-12-19 11:43:12,787 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port30317,name1=Connections,name2=127.0.0.1,name3=0x10141e16213]
[junit] 2016-12-19 11:43:12,788 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 219319
[junit] 2016-12-19 11:43:12,788 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2428
[junit] 2016-12-19 11:43:12,788 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2016-12-19 11:43:12,788 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-19 11:43:12,788 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-19 11:43:12,789 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:30317
[junit] 2016-12-19 11:43:12,787 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x10141e16213
[junit] 2016-12-19 11:43:12,796 [myid:] - INFO  [main:ZooKeeperServer@533] 
- shutting down
[junit] 2016-12-19 11:43:12,796 [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-19 11:43:12,796 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-12-19 11:43:12,797 [myid:] - INFO  
[main:PrepRequestProcessor@974] - Shutting down
[junit] 2016-12-19 11:43:12,797 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-12-19 11:43:12,797 [myid:] - INFO  [ProcessThread(sid:0 
cport:30317)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-12-19 11:43:12,797 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-12-19 11:43:12,805 [myid:] - INFO  
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-12-19 11:43:12,806 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 

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

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

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 477106 lines...]
[junit] at sun.nio.ch.IOUtil.read(IOUtil.java:192)
[junit] at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
[junit] at 
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:64)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
[junit] at 
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
[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-19 12:04:25,759 [myid:] - INFO  [New I/O worker 
#11072:ClientCnxnSocketNetty@208] - channel is told closing
[junit] 2016-12-19 12:04:25,759 [myid:127.0.0.1:30224] - INFO  
[main-SendThread(127.0.0.1:30224):ClientCnxn$SendThread@1231] - channel for 
sessionid 0x0 is lost, closing socket connection and attempting reconnect
[junit] 2016-12-19 12:04:25,759 [myid:] - INFO  [New I/O worker 
#11072:ClientCnxnSocketNetty$ZKClientHandler@384] - channel is disconnected: 
[id: 0x8aba38fe, /127.0.0.1:38744 :> 127.0.0.1/127.0.0.1:30224]
[junit] 2016-12-19 12:04:26,093 [myid:127.0.0.1:30073] - INFO  
[main-SendThread(127.0.0.1:30073):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:30073. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2016-12-19 12:04:26,093 [myid:] - INFO  [New I/O boss 
#66:ClientCnxnSocketNetty$1@127] - future isn't success, cause: {}
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:30073
[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-19 12:04:26,093 [myid:] - WARN  [New I/O boss 
#66:ClientCnxnSocketNetty$ZKClientHandler@439] - Exception caught: [id: 
0x6b7847be] EXCEPTION: java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:30073
[junit] java.net.ConnectException: Connection refused: 
127.0.0.1/127.0.0.1:30073
[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 

ZooKeeper_branch35_openjdk7 - Build # 337 - Still Failing

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

###
## 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 cb20fcbd564e69709f68eb8afb136ed7296d737a 
(refs/remotes/origin/branch-3.5)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f cb20fcbd564e69709f68eb8afb136ed7296d737a
 > git rev-list cb20fcbd564e69709f68eb8afb136ed7296d737a # 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-trunk-solaris - Build # 1429 - Still Failing

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

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 464160 lines...]
[junit] 2016-12-19 08:26:08,169 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2016-12-19 08:26:08,169 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:59693
[junit] 2016-12-19 08:26:08,170 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:59693
[junit] 2016-12-19 08:26:08,170 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2016-12-19 08:26:08,170 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:59693 (no session established for client)
[junit] 2016-12-19 08:26:08,171 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2016-12-19 08:26:08,172 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2016-12-19 08:26:08,172 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2016-12-19 08:26:08,172 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2016-12-19 08:26:08,173 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2016-12-19 08:26:08,173 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17813
[junit] 2016-12-19 08:26:08,173 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2016-12-19 08:26:08,173 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2016-12-19 08:26:08,173 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2016-12-19 08:26:09,271 [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-19 08:26:09,271 [myid:127.0.0.1:11222] - INFO  
[main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@948] - Socket 
connection established, initiating session, client: null, server: null
[junit] 2016-12-19 08:26:09,272 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:59694
[junit] 2016-12-19 08:26:09,273 [myid:] - INFO  
[NIOWorkerThread-2:ZooKeeperServer@1005] - Client attempting to renew session 
0x1259329f03d at /127.0.0.1:59694
[junit] 2016-12-19 08:26:09,274 [myid:] - INFO  
[NIOWorkerThread-2:ZooKeeperServer@714] - Established session 0x1259329f03d 
with negotiated timeout 3 for client /127.0.0.1:59694
[junit] 2016-12-19 08:26:09,274 [myid:127.0.0.1:11222] - INFO  
[main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1381] - Session 
establishment complete on server null, sessionid = 0x1259329f03d, 
negotiated timeout = 3
[junit] 2016-12-19 08:26:09,275 [myid:] - INFO  [ProcessThread(sid:0 
cport:11222)::PrepRequestProcessor@618] - Processed session termination for 
sessionid: 0x1259329f03d
[junit] 2016-12-19 08:26:09,275 [myid:] - INFO  
[SyncThread:0:FileTxnLog@204] - Creating new log file: log.c
[junit] 2016-12-19 08:26:09,278 [myid:] - INFO  
[NIOWorkerThread-5:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=Connections,name2=127.0.0.1,name3=0x1259329f03d]
[junit] 2016-12-19 08:26:09,278 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1259329f03d
[junit] 2016-12-19 08:26:09,278 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x1259329f03d closed
[junit] 2016-12-19 08:26:09,278 [myid:] - INFO  
[NIOWorkerThread-5:NIOServerCnxn@607] - Closed socket connection for client 
/127.0.0.1:59694 which had sessionid 0x1259329f03d
[junit] 2016-12-19 08:26:09,278 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2016-12-19 08:26:09,279 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2016-12-19 08:26:09,279 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2016-12-19 08:26:09,279 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread