[jira] [Created] (ZOOKEEPER-2134) AsyncHammerTest.testHammer fails intermittently

2015-03-08 Thread Michi Mutsuzaki (JIRA)
Michi Mutsuzaki created ZOOKEEPER-2134:
--

 Summary: AsyncHammerTest.testHammer fails intermittently
 Key: ZOOKEEPER-2134
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2134
 Project: ZooKeeper
  Issue Type: Bug
  Components: tests
Reporter: Michi Mutsuzaki
Priority: Blocker
 Fix For: 3.6.0


The trunk build has been red for a while because of this (and ZOOKEEPER-2000 
and ZOOKEEPER-2080). We should fix this sooner than later.



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


Failed: ZOOKEEPER-2000 PreCommit Build #2548

2015-03-08 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2000
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2548/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 9 lines...]
java version 1.7.0_25
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 386178
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 6
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
Buildfile: 
/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/build.xml

check-for-findbugs:

findbugs.check:

forrest.check:

hudson-test-patch:
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Testing patch for ZOOKEEPER-2000.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 
 [exec] At revision 1665082.
 [exec] ZOOKEEPER-2000 is not Patch Available.  Exiting.
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 

BUILD SUCCESSFUL
Total time: 2 seconds
Archiving artifacts
ERROR: No artifacts found that match the file pattern 
trunk/build/test/findbugs/newPatchFindbugsWarnings.html,trunk/patchprocess/*.txt,trunk/patchprocess/*Warnings.xml,trunk/build/test/test-cppunit/*.txt,trunk/build/tmp/zk.log.
 Configuration error?
ERROR: ?trunk/build/test/findbugs/newPatchFindbugsWarnings.html? doesn?t match 
anything: ?trunk? exists but not 
?trunk/build/test/findbugs/newPatchFindbugsWarnings.html?
Build step 'Archive the artifacts' changed build result to FAILURE
Recording test results
Description set: ZOOKEEPER-2000
Email was triggered for: Failure
Sending email for trigger: Failure



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

[jira] [Commented] (ZOOKEEPER-2000) Fix ReconfigTest.testPortChange

2015-03-08 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14352274#comment-14352274
 ] 

Hadoop QA commented on ZOOKEEPER-2000:
--

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

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

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

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

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

This message is automatically generated.

 Fix ReconfigTest.testPortChange
 ---

 Key: ZOOKEEPER-2000
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2000
 Project: ZooKeeper
  Issue Type: Sub-task
  Components: tests
Affects Versions: 3.5.0
Reporter: Alexander Shraer
Assignee: Alexander Shraer
Priority: Minor
 Fix For: 3.5.1, 3.6.0

 Attachments: ZOOKEEPER-2000.patch, ZOOKEEPER-2000.patch


   testPortChange changes all ports and role of the server and thus 
 causes existing clients to disconnect, while this wouldn't happen if only the 
 client port changes. Need to fix it to only change client port and not all 
 the other parameters and make sure that the clients don't disconnect, while 
 new clients shouldn't be able to connect to the old port.



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


[jira] [Updated] (ZOOKEEPER-2134) AsyncHammerTest.testHammer fails intermittently

2015-03-08 Thread Michi Mutsuzaki (JIRA)

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

Michi Mutsuzaki updated ZOOKEEPER-2134:
---
Issue Type: Sub-task  (was: Bug)
Parent: ZOOKEEPER-2135

 AsyncHammerTest.testHammer fails intermittently
 ---

 Key: ZOOKEEPER-2134
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2134
 Project: ZooKeeper
  Issue Type: Sub-task
  Components: tests
Reporter: Michi Mutsuzaki
Priority: Blocker
 Fix For: 3.6.0


 The trunk build has been red for a while because of this (and ZOOKEEPER-2000 
 and ZOOKEEPER-2080). We should fix this sooner than later.



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


[jira] [Created] (ZOOKEEPER-2135) fix trunk build

2015-03-08 Thread Michi Mutsuzaki (JIRA)
Michi Mutsuzaki created ZOOKEEPER-2135:
--

 Summary: fix trunk build
 Key: ZOOKEEPER-2135
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2135
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Michi Mutsuzaki
 Fix For: 3.6.0






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


[jira] [Updated] (ZOOKEEPER-2000) Fix ReconfigTest.testPortChange

2015-03-08 Thread Michi Mutsuzaki (JIRA)

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

Michi Mutsuzaki updated ZOOKEEPER-2000:
---
Issue Type: Sub-task  (was: Bug)
Parent: ZOOKEEPER-2135

 Fix ReconfigTest.testPortChange
 ---

 Key: ZOOKEEPER-2000
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2000
 Project: ZooKeeper
  Issue Type: Sub-task
  Components: tests
Affects Versions: 3.5.0
Reporter: Alexander Shraer
Assignee: Alexander Shraer
Priority: Minor
 Fix For: 3.5.1, 3.6.0

 Attachments: ZOOKEEPER-2000.patch, ZOOKEEPER-2000.patch


   testPortChange changes all ports and role of the server and thus 
 causes existing clients to disconnect, while this wouldn't happen if only the 
 client port changes. Need to fix it to only change client port and not all 
 the other parameters and make sure that the clients don't disconnect, while 
 new clients shouldn't be able to connect to the old port.



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


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

2015-03-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/742/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 349091 lines...]
[junit] 2015-03-08 20:35:58,672 [myid:] - INFO  [main:MBeanRegistry@119] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11221]
[junit] 2015-03-08 20:35:58,672 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2015-03-08 20:35:58,673 [myid:] - INFO  [main:JMXEnv@142] - 
ensureOnly:[]
[junit] 2015-03-08 20:35:58,675 [myid:] - INFO  [main:ClientBase@444] - 
STARTING server
[junit] 2015-03-08 20:35:58,675 [myid:] - INFO  [main:ClientBase@365] - 
CREATING server instance 127.0.0.1:11221
[junit] 2015-03-08 20:35:58,675 [myid:] - INFO  
[main:NIOServerCnxnFactory@670] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 2 selector thread(s), 32 worker threads, and 64 
kB direct buffers.
[junit] 2015-03-08 20:35:58,676 [myid:] - INFO  
[main:NIOServerCnxnFactory@683] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2015-03-08 20:35:58,676 [myid:] - INFO  [main:ClientBase@340] - 
STARTING server instance 127.0.0.1:11221
[junit] 2015-03-08 20:35:58,677 [myid:] - INFO  [main:ZooKeeperServer@778] 
- minSessionTimeout set to 6000
[junit] 2015-03-08 20:35:58,677 [myid:] - INFO  [main:ZooKeeperServer@787] 
- maxSessionTimeout set to 6
[junit] 2015-03-08 20:35:58,677 [myid:] - INFO  [main:ZooKeeperServer@153] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test4235315332217597215.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test4235315332217597215.junit.dir/version-2
[junit] 2015-03-08 20:35:58,678 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test4235315332217597215.junit.dir/version-2/snapshot.b
[junit] 2015-03-08 20:35:58,681 [myid:] - INFO  [main:FileTxnSnapLog@298] - 
Snapshotting: 0xb to 
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build/test/tmp/test4235315332217597215.junit.dir/version-2/snapshot.b
[junit] 2015-03-08 20:35:58,684 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2015-03-08 20:35:58,684 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:39323
[junit] 2015-03-08 20:35:58,686 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@835] - Processing stat command from 
/127.0.0.1:39323
[junit] 2015-03-08 20:35:58,686 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn$StatCommand@684] - Stat command output
[junit] 2015-03-08 20:35:58,687 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@1006] - Closed socket connection for client 
/127.0.0.1:39323 (no session established for client)
[junit] 2015-03-08 20:35:58,687 [myid:] - INFO  [main:JMXEnv@224] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2015-03-08 20:35:58,689 [myid:] - INFO  [main:JMXEnv@241] - 
expect:InMemoryDataTree
[junit] 2015-03-08 20:35:58,690 [myid:] - INFO  [main:JMXEnv@245] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2015-03-08 20:35:58,690 [myid:] - INFO  [main:JMXEnv@241] - 
expect:StandaloneServer_port
[junit] 2015-03-08 20:35:58,690 [myid:] - INFO  [main:JMXEnv@245] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2015-03-08 20:35:58,691 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@55] - Memory used 85671
[junit] 2015-03-08 20:35:58,691 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@60] - Number of threads 24
[junit] 2015-03-08 20:35:58,691 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@65] - FINISHED TEST METHOD testQuota
[junit] 2015-03-08 20:35:58,691 [myid:] - INFO  [main:ClientBase@521] - 
tearDown starting
[junit] 2015-03-08 20:35:58,744 [myid:] - INFO  [main:ZooKeeper@968] - 
Session: 0x1008affd458 closed
[junit] 2015-03-08 20:35:58,744 [myid:] - INFO  [main:ClientBase@491] - 
STOPPING server
[junit] 2015-03-08 20:35:58,744 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@531] - EventThread shut down
[junit] 2015-03-08 20:35:58,745 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2015-03-08 20:35:58,745 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 

[jira] [Updated] (ZOOKEEPER-2080) ReconfigRecoveryTest fails intermittently

2015-03-08 Thread Michi Mutsuzaki (JIRA)

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

Michi Mutsuzaki updated ZOOKEEPER-2080:
---
Issue Type: Sub-task  (was: Test)
Parent: ZOOKEEPER-2135

 ReconfigRecoveryTest fails intermittently
 -

 Key: ZOOKEEPER-2080
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2080
 Project: ZooKeeper
  Issue Type: Sub-task
Reporter: Ted Yu
Priority: Minor

 I got the following test failure on MacBook with trunk code:
 {code}
 Testcase: testCurrentObserverIsParticipantInNewConfig took 93.628 sec
   FAILED
 waiting for server 2 being up
 junit.framework.AssertionFailedError: waiting for server 2 being up
   at 
 org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testCurrentObserverIsParticipantInNewConfig(ReconfigRecoveryTest.java:529)
   at 
 org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
 {code}



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


Failed: ZOOKEEPER-2000 PreCommit Build #2549

2015-03-08 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2000
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2549/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 89 lines...]
 [exec] Reversed (or previously applied) patch detected!  Assume -R? [n] 
 [exec] Apply anyway? [n] 
 [exec] Skipping patch.
 [exec] 2 out of 2 hunks ignored -- saving rejects to file 
src/java/test/org/apache/zookeeper/test/ReconfigTest.java.rej
 [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/12659564/ZOOKEEPER-2000.patch
 [exec]   against trunk revision 1663127.
 [exec] 
 [exec] +1 @author.  The patch does not contain any @author tags.
 [exec] 
 [exec] +1 tests included.  The patch appears to include 7 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/2549//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] b8c6de5184948e13af32cb333eba42f4a0de65d7 logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 

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

Total time: 39 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Sending artifact delta relative to PreCommit-ZOOKEEPER-Build #2489
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 60692 bytes
Compression is 0.0%
Took 2.8 sec
Recording test results
Description set: ZOOKEEPER-2000
Email was triggered for: Failure
Sending email for trigger: Failure



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

[jira] [Commented] (ZOOKEEPER-2000) Fix ReconfigTest.testPortChange

2015-03-08 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14352271#comment-14352271
 ] 

Hadoop QA commented on ZOOKEEPER-2000:
--

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

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

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

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

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

This message is automatically generated.

 Fix ReconfigTest.testPortChange
 ---

 Key: ZOOKEEPER-2000
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2000
 Project: ZooKeeper
  Issue Type: Sub-task
  Components: tests
Affects Versions: 3.5.0
Reporter: Alexander Shraer
Assignee: Alexander Shraer
Priority: Minor
 Fix For: 3.5.1, 3.6.0

 Attachments: ZOOKEEPER-2000.patch, ZOOKEEPER-2000.patch


   testPortChange changes all ports and role of the server and thus 
 causes existing clients to disconnect, while this wouldn't happen if only the 
 client port changes. Need to fix it to only change client port and not all 
 the other parameters and make sure that the clients don't disconnect, while 
 new clients shouldn't be able to connect to the old port.



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


[jira] [Commented] (ZOOKEEPER-1907) Improve Thread handling

2015-03-08 Thread Michi Mutsuzaki (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14352255#comment-14352255
 ] 

Michi Mutsuzaki commented on ZOOKEEPER-1907:


+1 Thanks Rakesh!

 Improve Thread handling
 ---

 Key: ZOOKEEPER-1907
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1907
 Project: ZooKeeper
  Issue Type: Improvement
  Components: server
Affects Versions: 3.5.0
Reporter: Rakesh R
Assignee: Rakesh R
 Fix For: 3.5.1, 3.6.0

 Attachments: ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, 
 ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, 
 ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, 
 ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, 
 ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch


 Server has many critical threads running and co-ordinating each other like  
 RequestProcessor chains et. When going through each threads, most of them 
 having the similar structure like:
 {code}
 public void run() {
 try {
   while(running)
// processing logic
   }
 } catch (InterruptedException e) {
 LOG.error(Unexpected interruption, e);
 } catch (Exception e) {
 LOG.error(Unexpected exception, e);
 }
 LOG.info(...exited loop!);
 }
 {code}
 From the design I could see, there could be a chance of silently leaving the 
 thread by swallowing the exception. If this happens in the production, the 
 server would get hanged forever and would not be able to deliver its role. 
 Now its hard for the management tool to detect this.
 The idea of this JIRA is to discuss and imprv.
 Reference: [Community discussion 
 thread|http://mail-archives.apache.org/mod_mbox/zookeeper-user/201403.mbox/%3cc2496325850aa74c92aaf83aa9662d26458a1...@szxeml561-mbx.china.huawei.com%3E]



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


Failed: ZOOKEEPER-2000 PreCommit Build #2550

2015-03-08 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2000
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2550/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 89 lines...]
 [exec] Reversed (or previously applied) patch detected!  Assume -R? [n] 
 [exec] Apply anyway? [n] 
 [exec] Skipping patch.
 [exec] 2 out of 2 hunks ignored -- saving rejects to file 
src/java/test/org/apache/zookeeper/test/ReconfigTest.java.rej
 [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/12659564/ZOOKEEPER-2000.patch
 [exec]   against trunk revision 1663127.
 [exec] 
 [exec] +1 @author.  The patch does not contain any @author tags.
 [exec] 
 [exec] +1 tests included.  The patch appears to include 7 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/2550//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] 520e4c9d0a25f54ef262dbd7547aad96c358b2f7 logged out
 [exec] 
 [exec] 
 [exec] 
==
 [exec] 
==
 [exec] Finished build.
 [exec] 
==
 [exec] 
==
 [exec] 
 [exec] 

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

Total time: 39 seconds
Build step 'Execute shell' marked build as failure
Archiving artifacts
Sending artifact delta relative to PreCommit-ZOOKEEPER-Build #2489
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 60692 bytes
Compression is 0.0%
Took 0.56 sec
Recording test results
Description set: ZOOKEEPER-2000
Email was triggered for: Failure
Sending email for trigger: Failure



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

[jira] [Updated] (ZOOKEEPER-2134) AsyncHammerTest.testHammer fails intermittently

2015-03-08 Thread Michi Mutsuzaki (JIRA)

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

Michi Mutsuzaki updated ZOOKEEPER-2134:
---
Fix Version/s: 3.5.1

 AsyncHammerTest.testHammer fails intermittently
 ---

 Key: ZOOKEEPER-2134
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2134
 Project: ZooKeeper
  Issue Type: Sub-task
  Components: tests
Reporter: Michi Mutsuzaki
Priority: Blocker
 Fix For: 3.5.1, 3.6.0


 The trunk build has been red for a while because of this (and ZOOKEEPER-2000 
 and ZOOKEEPER-2080). We should fix this sooner than later.



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


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

2015-03-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/963/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by timer
Building remotely on solaris1 (Solaris) in workspace 
/export/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris
Updating http://svn.apache.org/repos/asf/zookeeper/trunk at revision 
'2015-03-08T08:30:39.016 +'
At revision 1664952
Updating http://svn.apache.org/repos/asf/hadoop/nightly at revision 
'2015-03-08T08:30:39.016 +'
At revision 1664952
no change for http://svn.apache.org/repos/asf/zookeeper/trunk since the 
previous build
no change for http://svn.apache.org/repos/asf/hadoop/nightly since the previous 
build
No emails were triggered.
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
[ZooKeeper-trunk-solaris] $ /bin/bash /var/tmp/hudson8463229858636874722.sh
[trunk] $ 
/export/home/hudson/hudson-slave/tools/hudson.tasks.Ant_AntInstallation/ant-1.8.2/bin/ant
 -DBUILD_ARGS=-Dfindbugs.home=${FINDBUGS_HOME} -Dforrest.home=${FORREST_HOME} 
-Djava5.home=${JAVA5_HOME} -DBUILD_TARGETS=hudson-test-trunk 
-DANALYSIS_TARGETS=test -DBUILD_FLAGS=-Dtest.junit.output.format=xml 
-Dtest.output=yes  -Dtest.output=yes -Dtest.junit.output.format=xml clean 
test-core-java
Error: JAVA_HOME is not defined correctly.
  We cannot execute /home/jenkins/tools/java/latest1.7/bin/java
Build step 'Invoke Ant' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure



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

ZooKeeper_branch34_jdk8 - Build # 304 - Failure

2015-03-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk8/304/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 212901 lines...]
[junit] 2015-03-08 10:02:25,626 [myid:] - INFO  [main:JMXEnv@246] - 
expect:StandaloneServer_port
[junit] 2015-03-08 10:02:25,627 [myid:] - INFO  [main:JMXEnv@250] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2015-03-08 10:02:25,628 [myid:] - INFO  [main:ClientBase@490] - 
STOPPING server
[junit] 2015-03-08 10:02:25,628 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@224] - 
NIOServerCnxn factory exited run method
[junit] 2015-03-08 10:02:25,629 [myid:] - INFO  [main:ZooKeeperServer@441] 
- shutting down
[junit] 2015-03-08 10:02:25,629 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2015-03-08 10:02:25,630 [myid:] - INFO  
[main:PrepRequestProcessor@760] - Shutting down
[junit] 2015-03-08 10:02:25,630 [myid:] - INFO  
[main:SyncRequestProcessor@209] - Shutting down
[junit] 2015-03-08 10:02:25,630 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2015-03-08 10:02:25,631 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@187] - SyncRequestProcessor exited!
[junit] 2015-03-08 10:02:25,631 [myid:] - INFO  
[main:FinalRequestProcessor@415] - shutdown of request processor complete
[junit] 2015-03-08 10:02:25,632 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2015-03-08 10:02:25,633 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
[junit] 2015-03-08 10:02:25,634 [myid:] - INFO  [main:ClientBase@443] - 
STARTING server
[junit] 2015-03-08 10:02:25,634 [myid:] - INFO  [main:ClientBase@364] - 
CREATING server instance 127.0.0.1:11221
[junit] 2015-03-08 10:02:25,635 [myid:] - INFO  
[main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2015-03-08 10:02:25,635 [myid:] - INFO  [main:ClientBase@339] - 
STARTING server instance 127.0.0.1:11221
[junit] 2015-03-08 10:02:25,636 [myid:] - INFO  [main:ZooKeeperServer@162] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/branch-3.4/build/test/tmp/test2265149236332416303.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/branch-3.4/build/test/tmp/test2265149236332416303.junit.dir/version-2
[junit] 2015-03-08 10:02:25,638 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2015-03-08 10:02:25,639 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@197] - 
Accepted socket connection from /127.0.0.1:44732
[junit] 2015-03-08 10:02:25,639 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing 
stat command from /127.0.0.1:44732
[junit] 2015-03-08 10:02:25,640 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output
[junit] 2015-03-08 10:02:25,640 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1007] - Closed socket connection for client 
/127.0.0.1:44732 (no session established for client)
[junit] 2015-03-08 10:02:25,640 [myid:] - INFO  [main:JMXEnv@229] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2015-03-08 10:02:25,642 [myid:] - INFO  [main:JMXEnv@246] - 
expect:InMemoryDataTree
[junit] 2015-03-08 10:02:25,642 [myid:] - INFO  [main:JMXEnv@250] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2015-03-08 10:02:25,642 [myid:] - INFO  [main:JMXEnv@246] - 
expect:StandaloneServer_port
[junit] 2015-03-08 10:02:25,642 [myid:] - INFO  [main:JMXEnv@250] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2015-03-08 10:02:25,643 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@55] - Memory used 34221
[junit] 2015-03-08 10:02:25,643 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@60] - Number of threads 20
[junit] 2015-03-08 10:02:25,643 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@65] - FINISHED TEST METHOD testQuota
[junit] 2015-03-08 10:02:25,643 [myid:] - INFO  [main:ClientBase@520] - 
tearDown starting
[junit] 2015-03-08 10:02:25,712 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x14bf8d5f0b3 closed
[junit] 2015-03-08 10:02:25,712 [myid:] - INFO  [main:ClientBase@490] - 
STOPPING server
[junit] 2015-03-08 10:02:25,712 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@512] - EventThread shut down
[junit] 2015-03-08 10:02:25,712 [myid:] - INFO  

[jira] [Commented] (ZOOKEEPER-1907) Improve Thread handling

2015-03-08 Thread Rakesh R (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14352527#comment-14352527
 ] 

Rakesh R commented on ZOOKEEPER-1907:
-

Thanks [~hdeng],[~rgs],[~michim] for the reviews and committing the changes.

 Improve Thread handling
 ---

 Key: ZOOKEEPER-1907
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1907
 Project: ZooKeeper
  Issue Type: Improvement
  Components: server
Affects Versions: 3.5.0
Reporter: Rakesh R
Assignee: Rakesh R
 Fix For: 3.5.1, 3.6.0

 Attachments: ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, 
 ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, 
 ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, 
 ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch, 
 ZOOKEEPER-1907.patch, ZOOKEEPER-1907.patch


 Server has many critical threads running and co-ordinating each other like  
 RequestProcessor chains et. When going through each threads, most of them 
 having the similar structure like:
 {code}
 public void run() {
 try {
   while(running)
// processing logic
   }
 } catch (InterruptedException e) {
 LOG.error(Unexpected interruption, e);
 } catch (Exception e) {
 LOG.error(Unexpected exception, e);
 }
 LOG.info(...exited loop!);
 }
 {code}
 From the design I could see, there could be a chance of silently leaving the 
 thread by swallowing the exception. If this happens in the production, the 
 server would get hanged forever and would not be able to deliver its role. 
 Now its hard for the management tool to detect this.
 The idea of this JIRA is to discuss and imprv.
 Reference: [Community discussion 
 thread|http://mail-archives.apache.org/mod_mbox/zookeeper-user/201403.mbox/%3cc2496325850aa74c92aaf83aa9662d26458a1...@szxeml561-mbx.china.huawei.com%3E]



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


ZooKeeper_branch35_jdk7 - Build # 225 - Failure

2015-03-08 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/225/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 478372 lines...]
[junit] 2015-03-08 11:48:51,559 [myid:] - INFO  [main:ClientBase@444] - 
STARTING server
[junit] 2015-03-08 11:48:51,559 [myid:] - INFO  [main:ClientBase@365] - 
CREATING server instance 127.0.0.1:11221
[junit] 2015-03-08 11:48:51,559 [myid:] - INFO  
[main:NIOServerCnxnFactory@670] - Configuring NIO connection handler with 10s 
sessionless connection timeout, 3 selector thread(s), 48 worker threads, and 64 
kB direct buffers.
[junit] 2015-03-08 11:48:51,560 [myid:] - INFO  
[main:NIOServerCnxnFactory@683] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2015-03-08 11:48:51,560 [myid:] - INFO  [main:ClientBase@340] - 
STARTING server instance 127.0.0.1:11221
[junit] 2015-03-08 11:48:51,561 [myid:] - INFO  [main:ZooKeeperServer@778] 
- minSessionTimeout set to 6000
[junit] 2015-03-08 11:48:51,561 [myid:] - INFO  [main:ZooKeeperServer@787] 
- maxSessionTimeout set to 6
[junit] 2015-03-08 11:48:51,561 [myid:] - INFO  [main:ZooKeeperServer@153] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build/test/tmp/test7771148530382428974.junit.dir/version-2
 snapdir 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build/test/tmp/test7771148530382428974.junit.dir/version-2
[junit] 2015-03-08 11:48:51,563 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build/test/tmp/test7771148530382428974.junit.dir/version-2/snapshot.b
[junit] 2015-03-08 11:48:51,565 [myid:] - INFO  [main:FileTxnSnapLog@298] - 
Snapshotting: 0xb to 
/x1/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build/test/tmp/test7771148530382428974.junit.dir/version-2/snapshot.b
[junit] 2015-03-08 11:48:51,567 [myid:] - INFO  
[main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221
[junit] 2015-03-08 11:48:51,568 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:37845
[junit] 2015-03-08 11:48:51,573 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@835] - Processing stat command from 
/127.0.0.1:37845
[junit] 2015-03-08 11:48:51,573 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn$StatCommand@684] - Stat command output
[junit] 2015-03-08 11:48:51,574 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@1006] - Closed socket connection for client 
/127.0.0.1:37845 (no session established for client)
[junit] 2015-03-08 11:48:51,574 [myid:] - INFO  [main:JMXEnv@224] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2015-03-08 11:48:51,577 [myid:] - INFO  [main:JMXEnv@241] - 
expect:InMemoryDataTree
[junit] 2015-03-08 11:48:51,577 [myid:] - INFO  [main:JMXEnv@245] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2015-03-08 11:48:51,577 [myid:] - INFO  [main:JMXEnv@241] - 
expect:StandaloneServer_port
[junit] 2015-03-08 11:48:51,578 [myid:] - INFO  [main:JMXEnv@245] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2015-03-08 11:48:51,578 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@55] - Memory used 3881
[junit] 2015-03-08 11:48:51,578 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@60] - Number of threads 26
[junit] 2015-03-08 11:48:51,578 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@65] - FINISHED TEST METHOD testQuota
[junit] 2015-03-08 11:48:51,579 [myid:] - INFO  [main:ClientBase@521] - 
tearDown starting
[junit] 2015-03-08 11:48:51,628 [myid:] - INFO  [main:ZooKeeper@968] - 
Session: 0x100318bc581 closed
[junit] 2015-03-08 11:48:51,628 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@531] - EventThread shut down
[junit] 2015-03-08 11:48:51,628 [myid:] - INFO  [main:ClientBase@491] - 
STOPPING server
[junit] 2015-03-08 11:48:51,628 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2015-03-08 11:48:51,629 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2015-03-08 11:48:51,629 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-2:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2015-03-08 11:48:51,629 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread