[jira] [Commented] (ZOOKEEPER-2186) QuorumCnxManager#receiveConnection may crash with random input
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537663#comment-14537663 ] Hadoop QA commented on ZOOKEEPER-2186: -- +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12731857/ZOOKEEPER-2186.patch against trunk revision 1678645. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2685//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2685//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2685//console This message is automatically generated. > QuorumCnxManager#receiveConnection may crash with random input > -- > > Key: ZOOKEEPER-2186 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2186 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.4.6, 3.5.0 >Reporter: Raul Gutierrez Segales >Assignee: Raul Gutierrez Segales > Fix For: 3.4.7, 3.5.1, 3.6.0 > > Attachments: ZOOKEEPER-2186.patch > > > This will allocate an arbitrarily large byte buffer (and try to read it!): > {code} > public boolean receiveConnection(Socket sock) { > Long sid = null; > ... > sid = din.readLong(); > // next comes the #bytes in the remainder of the message > > int num_remaining_bytes = din.readInt(); > byte[] b = new byte[num_remaining_bytes]; > // remove the remainder of the message from din > > int num_read = din.read(b); > {code} > This will crash the QuorumCnxManager thread, so the cluster will keep going > but future elections might fail to converge (ditto for leaving/joining > members). > Patch coming up in a bit. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Success: ZOOKEEPER-2186 PreCommit Build #2685
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2186 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2685/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 370583 lines...] [exec] +1 overall. Here are the results of testing the latest attachment [exec] http://issues.apache.org/jira/secure/attachment/12731857/ZOOKEEPER-2186.patch [exec] against trunk revision 1678645. [exec] [exec] +1 @author. The patch does not contain any @author tags. [exec] [exec] +1 tests included. The patch appears to include 3 new or modified tests. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] +1 core tests. The patch passed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2685//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2685//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2685//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] 79cafc99528280b11e0960d34e391e1d7a156ff3 logged out [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] BUILD SUCCESSFUL Total time: 48 minutes 13 seconds Archiving artifacts Sending artifact delta relative to PreCommit-ZOOKEEPER-Build #2683 Archived 24 artifacts Archive block size is 32768 Received 3 blocks and 33661975 bytes Compression is 0.3% Took 12 sec Recording test results Description set: ZOOKEEPER-2186 Email was triggered for: Success Sending email for trigger: Success ### ## FAILED TESTS (if any) ## All tests passed
[jira] [Updated] (ZOOKEEPER-2186) QuorumCnxManager#receiveConnection may crash with random input
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raul Gutierrez Segales updated ZOOKEEPER-2186: -- Attachment: ZOOKEEPER-2186.patch [~michim]: i think this should be much cleaner, I encapsulated the parsing code into the InitialMessage class so we can easily test that independently of QuorumCnxManager socket handling stuff (and, opening fewer sockets in our tests is usually a good thing!). I'll add the tests tomorrow. cc: [~shralex] since this somehow related to reconfig. > QuorumCnxManager#receiveConnection may crash with random input > -- > > Key: ZOOKEEPER-2186 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2186 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.4.6, 3.5.0 >Reporter: Raul Gutierrez Segales >Assignee: Raul Gutierrez Segales > Fix For: 3.4.7, 3.5.1, 3.6.0 > > Attachments: ZOOKEEPER-2186.patch > > > This will allocate an arbitrarily large byte buffer (and try to read it!): > {code} > public boolean receiveConnection(Socket sock) { > Long sid = null; > ... > sid = din.readLong(); > // next comes the #bytes in the remainder of the message > > int num_remaining_bytes = din.readInt(); > byte[] b = new byte[num_remaining_bytes]; > // remove the remainder of the message from din > > int num_read = din.read(b); > {code} > This will crash the QuorumCnxManager thread, so the cluster will keep going > but future elections might fail to converge (ditto for leaving/joining > members). > Patch coming up in a bit. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2186) QuorumCnxManager#receiveConnection may crash with random input
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raul Gutierrez Segales updated ZOOKEEPER-2186: -- Attachment: (was: ZOOKEEPER-2186.patch) > QuorumCnxManager#receiveConnection may crash with random input > -- > > Key: ZOOKEEPER-2186 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2186 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.4.6, 3.5.0 >Reporter: Raul Gutierrez Segales >Assignee: Raul Gutierrez Segales > Fix For: 3.4.7, 3.5.1, 3.6.0 > > > This will allocate an arbitrarily large byte buffer (and try to read it!): > {code} > public boolean receiveConnection(Socket sock) { > Long sid = null; > ... > sid = din.readLong(); > // next comes the #bytes in the remainder of the message > > int num_remaining_bytes = din.readInt(); > byte[] b = new byte[num_remaining_bytes]; > // remove the remainder of the message from din > > int num_read = din.read(b); > {code} > This will crash the QuorumCnxManager thread, so the cluster will keep going > but future elections might fail to converge (ditto for leaving/joining > members). > Patch coming up in a bit. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2186) QuorumCnxManager#receiveConnection may crash with random input
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raul Gutierrez Segales updated ZOOKEEPER-2186: -- Attachment: (was: ZOOKEEPER-2186.patch) > QuorumCnxManager#receiveConnection may crash with random input > -- > > Key: ZOOKEEPER-2186 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2186 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.4.6, 3.5.0 >Reporter: Raul Gutierrez Segales >Assignee: Raul Gutierrez Segales > Fix For: 3.4.7, 3.5.1, 3.6.0 > > > This will allocate an arbitrarily large byte buffer (and try to read it!): > {code} > public boolean receiveConnection(Socket sock) { > Long sid = null; > ... > sid = din.readLong(); > // next comes the #bytes in the remainder of the message > > int num_remaining_bytes = din.readInt(); > byte[] b = new byte[num_remaining_bytes]; > // remove the remainder of the message from din > > int num_read = din.read(b); > {code} > This will crash the QuorumCnxManager thread, so the cluster will keep going > but future elections might fail to converge (ditto for leaving/joining > members). > Patch coming up in a bit. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Failed: ZOOKEEPER-2186 PreCommit Build #2684
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2186 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2684/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 370444 lines...] [exec] [exec] +1 @author. The patch does not contain any @author tags. [exec] [exec] +1 tests included. The patch appears to include 3 new or modified tests. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2684//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2684//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2684//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] c4e7f59397435d806eb04f327be9a248e2464bce 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:1732: exec returned: 1 Total time: 44 minutes 16 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Sending artifact delta relative to PreCommit-ZOOKEEPER-Build #2683 Archived 7 artifacts Archive block size is 32768 Received 3 blocks and 464728 bytes Compression is 17.5% Took 6.8 sec Recording test results Description set: ZOOKEEPER-2186 Email was triggered for: Failure Sending email for trigger: Failure ### ## FAILED TESTS (if any) ## 1 tests failed. REGRESSION: org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testCurrentObserverIsParticipantInNewConfig Error Message: waiting for server 2 being up Stack Trace: junit.framework.AssertionFailedError: waiting for server 2 being up at org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testCurrentObserverIsParticipantInNewConfig(ReconfigRecoveryTest.java:529) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:55)
[jira] [Commented] (ZOOKEEPER-2186) QuorumCnxManager#receiveConnection may crash with random input
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537608#comment-14537608 ] Hadoop QA commented on ZOOKEEPER-2186: -- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12731853/ZOOKEEPER-2186.patch against trunk revision 1678645. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2684//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2684//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2684//console This message is automatically generated. > QuorumCnxManager#receiveConnection may crash with random input > -- > > Key: ZOOKEEPER-2186 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2186 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.4.6, 3.5.0 >Reporter: Raul Gutierrez Segales >Assignee: Raul Gutierrez Segales > Fix For: 3.4.7, 3.5.1, 3.6.0 > > Attachments: ZOOKEEPER-2186.patch, ZOOKEEPER-2186.patch > > > This will allocate an arbitrarily large byte buffer (and try to read it!): > {code} > public boolean receiveConnection(Socket sock) { > Long sid = null; > ... > sid = din.readLong(); > // next comes the #bytes in the remainder of the message > > int num_remaining_bytes = din.readInt(); > byte[] b = new byte[num_remaining_bytes]; > // remove the remainder of the message from din > > int num_read = din.read(b); > {code} > This will crash the QuorumCnxManager thread, so the cluster will keep going > but future elections might fail to converge (ditto for leaving/joining > members). > Patch coming up in a bit. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2186) QuorumCnxManager#receiveConnection may crash with random input
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raul Gutierrez Segales updated ZOOKEEPER-2186: -- Attachment: ZOOKEEPER-2186.patch Handle old serves (i.e.: which don't send the protocolVersion but instead just send their sid). > QuorumCnxManager#receiveConnection may crash with random input > -- > > Key: ZOOKEEPER-2186 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2186 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.4.6, 3.5.0 >Reporter: Raul Gutierrez Segales >Assignee: Raul Gutierrez Segales > Fix For: 3.4.7, 3.5.1, 3.6.0 > > Attachments: ZOOKEEPER-2186.patch, ZOOKEEPER-2186.patch > > > This will allocate an arbitrarily large byte buffer (and try to read it!): > {code} > public boolean receiveConnection(Socket sock) { > Long sid = null; > ... > sid = din.readLong(); > // next comes the #bytes in the remainder of the message > > int num_remaining_bytes = din.readInt(); > byte[] b = new byte[num_remaining_bytes]; > // remove the remainder of the message from din > > int num_read = din.read(b); > {code} > This will crash the QuorumCnxManager thread, so the cluster will keep going > but future elections might fail to converge (ditto for leaving/joining > members). > Patch coming up in a bit. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2182) Several test suites are not running during pre-commit, because their names do not end with "Test".
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537384#comment-14537384 ] Hongchao Deng commented on ZOOKEEPER-2182: -- Thanks for Alex's review and [~cnauroth]'s patch > Several test suites are not running during pre-commit, because their names do > not end with "Test". > -- > > Key: ZOOKEEPER-2182 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2182 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Affects Versions: 3.5.0 >Reporter: Chris Nauroth >Assignee: Chris Nauroth > Fix For: 3.5.1, 3.6.0 > > Attachments: ZOOKEEPER-2182.001.patch > > > In build.xml, the {{}} task definition uses an include pattern of > {{\*\*/\*$\{test.category\}Test.java}}. This is important so that we don't > accidentally try to run utility classes like {{PortAssignment}} or > {{TestableZooKeeper}} as if they were JUnit suites. However, several test > suites are misnamed so that they don't satisfy this pattern, and therefore > pre-commit hasn't been running them. > {{ClientRetry}} > {{ReconfigFailureCases}} > {{WatchEventWhenAutoReset}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2182) Several test suites are not running during pre-commit, because their names do not end with "Test".
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537383#comment-14537383 ] Hongchao Deng commented on ZOOKEEPER-2182: -- Committed: trunk: https://github.com/apache/zookeeper/commit/029d6299e006ca697c3d6f9953b3194a7c33bf19 branch-3.5: https://github.com/apache/zookeeper/commit/5b06e01de19135b6fe38a947dd1238877a647e49 > Several test suites are not running during pre-commit, because their names do > not end with "Test". > -- > > Key: ZOOKEEPER-2182 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2182 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Affects Versions: 3.5.0 >Reporter: Chris Nauroth >Assignee: Chris Nauroth > Fix For: 3.5.1, 3.6.0 > > Attachments: ZOOKEEPER-2182.001.patch > > > In build.xml, the {{}} task definition uses an include pattern of > {{\*\*/\*$\{test.category\}Test.java}}. This is important so that we don't > accidentally try to run utility classes like {{PortAssignment}} or > {{TestableZooKeeper}} as if they were JUnit suites. However, several test > suites are misnamed so that they don't satisfy this pattern, and therefore > pre-commit hasn't been running them. > {{ClientRetry}} > {{ReconfigFailureCases}} > {{WatchEventWhenAutoReset}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2171) avoid reverse lookups in QuorumCnxManager
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537381#comment-14537381 ] Hongchao Deng commented on ZOOKEEPER-2171: -- Great work folks! Just mention one discrepancy I found in 'CHANGE.txt': 1. in branch-3.5, it shows in bug fixes 2. in trunk, it shows in improvement. > avoid reverse lookups in QuorumCnxManager > - > > Key: ZOOKEEPER-2171 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2171 > Project: ZooKeeper > Issue Type: Bug > Components: quorum >Reporter: Raul Gutierrez Segales >Assignee: Raul Gutierrez Segales > Fix For: 3.5.1, 3.6.0 > > Attachments: ZOOKEEPER-2171.patch, ZOOKEEPER-2171.patch > > > Apparently, ZOOKEEPER-107 (via a quick git-blame look) introduced a bunch of > getHostName() calls in QCM. Besides the overhead, these can cause problems > when mixed with failing/mis-configured DNS servers. > It would be nice to reduce them, if that doesn't affect operational > correctness. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2182) Several test suites are not running during pre-commit, because their names do not end with "Test".
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hongchao Deng updated ZOOKEEPER-2182: - Fix Version/s: 3.6.0 3.5.1 > Several test suites are not running during pre-commit, because their names do > not end with "Test". > -- > > Key: ZOOKEEPER-2182 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2182 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Affects Versions: 3.5.0 >Reporter: Chris Nauroth >Assignee: Chris Nauroth > Fix For: 3.5.1, 3.6.0 > > Attachments: ZOOKEEPER-2182.001.patch > > > In build.xml, the {{}} task definition uses an include pattern of > {{\*\*/\*$\{test.category\}Test.java}}. This is important so that we don't > accidentally try to run utility classes like {{PortAssignment}} or > {{TestableZooKeeper}} as if they were JUnit suites. However, several test > suites are misnamed so that they don't satisfy this pattern, and therefore > pre-commit hasn't been running them. > {{ClientRetry}} > {{ReconfigFailureCases}} > {{WatchEventWhenAutoReset}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (ZOOKEEPER-2182) Several test suites are not running during pre-commit, because their names do not end with "Test".
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hongchao Deng updated ZOOKEEPER-2182: - Affects Version/s: 3.5.0 > Several test suites are not running during pre-commit, because their names do > not end with "Test". > -- > > Key: ZOOKEEPER-2182 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2182 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Affects Versions: 3.5.0 >Reporter: Chris Nauroth >Assignee: Chris Nauroth > Fix For: 3.5.1, 3.6.0 > > Attachments: ZOOKEEPER-2182.001.patch > > > In build.xml, the {{}} task definition uses an include pattern of > {{\*\*/\*$\{test.category\}Test.java}}. This is important so that we don't > accidentally try to run utility classes like {{PortAssignment}} or > {{TestableZooKeeper}} as if they were JUnit suites. However, several test > suites are misnamed so that they don't satisfy this pattern, and therefore > pre-commit hasn't been running them. > {{ClientRetry}} > {{ReconfigFailureCases}} > {{WatchEventWhenAutoReset}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2182) Several test suites are not running during pre-commit, because their names do not end with "Test".
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537331#comment-14537331 ] Alexander Shraer commented on ZOOKEEPER-2182: - +1 thanks a lot Chris > Several test suites are not running during pre-commit, because their names do > not end with "Test". > -- > > Key: ZOOKEEPER-2182 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2182 > Project: ZooKeeper > Issue Type: Bug > Components: tests >Reporter: Chris Nauroth >Assignee: Chris Nauroth > Attachments: ZOOKEEPER-2182.001.patch > > > In build.xml, the {{}} task definition uses an include pattern of > {{\*\*/\*$\{test.category\}Test.java}}. This is important so that we don't > accidentally try to run utility classes like {{PortAssignment}} or > {{TestableZooKeeper}} as if they were JUnit suites. However, several test > suites are misnamed so that they don't satisfy this pattern, and therefore > pre-commit hasn't been running them. > {{ClientRetry}} > {{ReconfigFailureCases}} > {{WatchEventWhenAutoReset}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (ZOOKEEPER-2159) Pluggable SASL Authentication
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537330#comment-14537330 ] Yuliya Feldman commented on ZOOKEEPER-2159: --- [~ekoontz] Any news? Did you have a chance to review my changes/replies and test with Kerberos? > Pluggable SASL Authentication > - > > Key: ZOOKEEPER-2159 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2159 > Project: ZooKeeper > Issue Type: Improvement > Components: java client, server >Reporter: Yuliya Feldman >Assignee: Yuliya Feldman > Attachments: PluggableZookeeperAuthentication (1).pdf, > PluggableZookeeperAuthentication.pdf > > > Today SASLAuthenticationProvider is used for all SASL based authentications > which creates some "if/else" statements in ZookeeperSaslClient and > ZookeeperSaslServer code with just Kerberos and Digest. > We want to use yet another different SASL based authentication and adding one > more "if/else" with some code specific just to that new way does not make > much sense. > Proposal is to allow to plug custom SASL Authentication mechanism(s) without > further changes in Zookeeper code. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper-trunk-WinVS2008 - Build # 1797 - Still Failing
See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008/1797/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 108 lines...] [javacc] File "SimpleCharStream.java" does not exist. Will create one. [javacc] Parser generated successfully. jute: [javac] Compiling 39 source files to f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\build\classes compile_jute_uptodate: compile_jute: [mkdir] Created dir: f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\java\generated [mkdir] Created dir: f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\generated [java] ../../zookeeper.jute Parsed Successfully [java] ../../zookeeper.jute Parsed Successfully [touch] Creating f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\java\generated\.generated BUILD SUCCESSFUL Total time: 7 seconds [ZooKeeper-trunk-WinVS2008] $ cmd /c call C:\Windows\TEMP\hudson6711095765794753827.bat f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008>set ZOOKEEPER_HOME=f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008>msbuild trunk/src/c/zookeeper.sln /p:Configuration=Release Microsoft (R) Build Engine version 4.0.30319.18408 [Microsoft .NET Framework, version 4.0.30319.18444] Copyright (C) Microsoft Corporation. All rights reserved. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 5/10/2015 12:12:26 PM. Project "f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln" on node 1 (default targets). ValidateSolutionConfiguration: Building solution configuration "Release|Win32". zookeeper: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\..\..\vc\vcpackages\VCBuild.exe f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.vcproj "Release|Win32" cl : Command line warning D9035: option 'Wp64' has been deprecated and will be removed in a future release [f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln] .\src\zookeeper.c(43): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln] Cli: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\..\..\vc\vcpackages\VCBuild.exe f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\Cli.vcproj "Release|Win32" Done Building Project "f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln" (default targets) -- FAILED. Build FAILED. "f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln" (default target) (1) -> (zookeeper target) -> cl : Command line warning D9035: option 'Wp64' has been deprecated and will be removed in a future release [f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln] "f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln" (default target) (1) -> (zookeeper target) -> .\src\zookeeper.c(43): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln] 1 Warning(s) 1 Error(s) Time Elapsed 00:00:01.21 f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008>exit 1 Build step 'Execute Windows batch command' marked build as failure Email was triggered for: Failure Sending email for trigger: Failure ### ## FAILED TESTS (if any) ## No tests ran.
[jira] [Commented] (ZOOKEEPER-2171) avoid reverse lookups in QuorumCnxManager
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537139#comment-14537139 ] Hudson commented on ZOOKEEPER-2171: --- SUCCESS: Integrated in ZooKeeper-trunk #2687 (See [https://builds.apache.org/job/ZooKeeper-trunk/2687/]) ZOOKEEPER-2171 avoid reverse lookups in QuorumCnxManager (rgs via michim) (michim: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1678529) * /zookeeper/trunk/CHANGES.txt * /zookeeper/trunk/src/java/main/org/apache/zookeeper/ClientCnxn.java * /zookeeper/trunk/src/java/main/org/apache/zookeeper/client/StaticHostProvider.java * /zookeeper/trunk/src/java/main/org/apache/zookeeper/common/HostNameUtils.java * /zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/LocalPeerBean.java * /zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java * /zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java * /zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/RemotePeerBean.java * /zookeeper/trunk/src/java/main/org/apache/zookeeper/server/util/ConfigUtils.java * /zookeeper/trunk/src/java/systest/org/apache/zookeeper/test/system/QuorumPeerInstance.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/common/HostNameUtilsTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/CnxManagerTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ConnectStringParserTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ReconfigTest.java * /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/StaticHostProviderTest.java > avoid reverse lookups in QuorumCnxManager > - > > Key: ZOOKEEPER-2171 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2171 > Project: ZooKeeper > Issue Type: Bug > Components: quorum >Reporter: Raul Gutierrez Segales >Assignee: Raul Gutierrez Segales > Fix For: 3.5.1, 3.6.0 > > Attachments: ZOOKEEPER-2171.patch, ZOOKEEPER-2171.patch > > > Apparently, ZOOKEEPER-107 (via a quick git-blame look) introduced a bunch of > getHostName() calls in QCM. Besides the overhead, these can cause problems > when mixed with failing/mis-configured DNS servers. > It would be nice to reduce them, if that doesn't affect operational > correctness. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
ZooKeeper_branch35_jdk7 - Build # 290 - Still Failing
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/290/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 364186 lines...] [exec] Log Message Received: [2015-05-10 10:48:38,162:31760(0x2aeb71ed3540):ZOO_INFO@log_env@987: Client environment:os.name=Linux] [exec] Log Message Received: [2015-05-10 10:48:38,162:31760(0x2aeb71ed3540):ZOO_INFO@log_env@988: Client environment:os.arch=3.13.0-36-lowlatency] [exec] Log Message Received: [2015-05-10 10:48:38,162:31760(0x2aeb71ed3540):ZOO_INFO@log_env@989: Client environment:os.version=#63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014] [exec] Log Message Received: [2015-05-10 10:48:38,162:31760(0x2aeb71ed3540):ZOO_INFO@log_env@997: Client environment:user.name=jenkins] [exec] Log Message Received: [2015-05-10 10:48:38,162:31760(0x2aeb71ed3540):ZOO_INFO@log_env@1005: Client environment:user.home=/home/jenkins] [exec] Log Message Received: [2015-05-10 10:48:38,162:31760(0x2aeb71ed3540):ZOO_INFO@log_env@1017: Client environment:user.dir=/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build/test/test-cppunit] [exec] Log Message Received: [2015-05-10 10:48:38,162:31760(0x2aeb71ed3540):ZOO_INFO@zookeeper_init_internal@1060: Initiating client connection, host=127.0.0.1:22181 sessionTimeout=1 watcher=0x45d350 sessionId=0 sessionPasswd= context=0x7bcafbb0 flags=0] [exec] Log Message Received: [2015-05-10 10:48:38,162:31760(0x2aeb74562700):ZOO_INFO@check_events@2298: initiated connection to server [127.0.0.1:22181]] [exec] Log Message Received: [2015-05-10 10:48:38,180:31760(0x2aeb74562700):ZOO_INFO@check_events@2350: session establishment complete on server [127.0.0.1:22181], sessionId=0x1003c60acdb000f, negotiated timeout=1 ] [exec] : elapsed 1000 : OK [exec] Zookeeper_simpleSystem::testAsyncWatcherAutoReset ZooKeeper server started : elapsed 10205 : OK [exec] Zookeeper_simpleSystem::testDeserializeString : elapsed 0 : OK [exec] Zookeeper_simpleSystem::testFirstServerDown : elapsed 1001 : OK [exec] Zookeeper_simpleSystem::testNullData : elapsed 1040 : OK [exec] Zookeeper_simpleSystem::testIPV6 : elapsed 1012 : OK [exec] Zookeeper_simpleSystem::testCreate : elapsed 1017 : OK [exec] Zookeeper_simpleSystem::testPath : elapsed 1049 : OK [exec] Zookeeper_simpleSystem::testPathValidation : elapsed 1141 : OK [exec] Zookeeper_simpleSystem::testPing : elapsed 17626 : OK [exec] Zookeeper_simpleSystem::testAcl : elapsed 1032 : OK [exec] Zookeeper_simpleSystem::testChroot : elapsed 3082 : OK [exec] Zookeeper_simpleSystem::testAuth ZooKeeper server started ZooKeeper server started : elapsed 30367 : OK [exec] Zookeeper_simpleSystem::testHangingClient : elapsed 1041 : OK [exec] Zookeeper_simpleSystem::testWatcherAutoResetWithGlobal ZooKeeper server started ZooKeeper server started ZooKeeper server started : elapsed 14624 : OK [exec] Zookeeper_simpleSystem::testWatcherAutoResetWithLocal ZooKeeper server started ZooKeeper server started ZooKeeper server started : elapsed 14811 : OK [exec] Zookeeper_simpleSystem::testGetChildren2 : elapsed 1057 : OK [exec] Zookeeper_simpleSystem::testLastZxid : elapsed 4526 : OK [exec] Zookeeper_simpleSystem::testRemoveWatchers ZooKeeper server started : elapsed 4205 : OK [exec] Zookeeper_readOnly::testReadOnly : elapsed 4093 : OK [exec] /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/branch-3.5/src/c/tests/TestReconfig.cc:183: Assertion: equality assertion failed [Expected: 1, Actual : 0] [exec] /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/branch-3.5/src/c/tests/TestReconfig.cc:504: Assertion: equality assertion failed [Expected: 10.10.10.12:2012, Actual : 10.10.10.11:2011] [exec] Failures !!! [exec] Run: 72 Failure total: 2 Failures: 2 Errors: 0 [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_branch35_jdk7/branch-3.5/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_branch35_jdk7/branch-3.5/build.xml:1439: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build.xml:1399: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build.xml:1409: exec returned: 2 Total time: 53 minutes 14 seconds Build step 'Invoke An
ZooKeeper_branch34_jdk7 - Build # 882 - Still Failing
See https://builds.apache.org/job/ZooKeeper_branch34_jdk7/882/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 211878 lines...] [junit] 2015-05-10 09:37:08,248 [myid:] - INFO [main:JMXEnv@246] - expect:StandaloneServer_port [junit] 2015-05-10 09:37:08,248 [myid:] - INFO [main:JMXEnv@250] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11221 [junit] 2015-05-10 09:37:08,248 [myid:] - INFO [main:ClientBase@490] - STOPPING server [junit] 2015-05-10 09:37:08,249 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@224] - NIOServerCnxn factory exited run method [junit] 2015-05-10 09:37:08,249 [myid:] - INFO [main:ZooKeeperServer@441] - shutting down [junit] 2015-05-10 09:37:08,249 [myid:] - INFO [main:SessionTrackerImpl@225] - Shutting down [junit] 2015-05-10 09:37:08,249 [myid:] - INFO [main:PrepRequestProcessor@760] - Shutting down [junit] 2015-05-10 09:37:08,250 [myid:] - INFO [main:SyncRequestProcessor@209] - Shutting down [junit] 2015-05-10 09:37:08,250 [myid:] - INFO [ProcessThread(sid:0 cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop! [junit] 2015-05-10 09:37:08,250 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@187] - SyncRequestProcessor exited! [junit] 2015-05-10 09:37:08,250 [myid:] - INFO [main:FinalRequestProcessor@415] - shutdown of request processor complete [junit] 2015-05-10 09:37:08,251 [myid:] - INFO [main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221 [junit] 2015-05-10 09:37:08,251 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2015-05-10 09:37:08,253 [myid:] - INFO [main:ClientBase@443] - STARTING server [junit] 2015-05-10 09:37:08,253 [myid:] - INFO [main:ClientBase@364] - CREATING server instance 127.0.0.1:11221 [junit] 2015-05-10 09:37:08,254 [myid:] - INFO [main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:11221 [junit] 2015-05-10 09:37:08,254 [myid:] - INFO [main:ClientBase@339] - STARTING server instance 127.0.0.1:11221 [junit] 2015-05-10 09:37:08,255 [myid:] - INFO [main:ZooKeeperServer@162] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/branch-3.4/build/test/tmp/test4401490194209501670.junit.dir/version-2 snapdir /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/branch-3.4/build/test/tmp/test4401490194209501670.junit.dir/version-2 [junit] 2015-05-10 09:37:08,259 [myid:] - INFO [main:FourLetterWordMain@43] - connecting to 127.0.0.1 11221 [junit] 2015-05-10 09:37:08,259 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@197] - Accepted socket connection from /127.0.0.1:50467 [junit] 2015-05-10 09:37:08,259 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@827] - Processing stat command from /127.0.0.1:50467 [junit] 2015-05-10 09:37:08,260 [myid:] - INFO [Thread-4:NIOServerCnxn$StatCommand@663] - Stat command output [junit] 2015-05-10 09:37:08,260 [myid:] - INFO [Thread-4:NIOServerCnxn@1007] - Closed socket connection for client /127.0.0.1:50467 (no session established for client) [junit] 2015-05-10 09:37:08,261 [myid:] - INFO [main:JMXEnv@229] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2015-05-10 09:37:08,263 [myid:] - INFO [main:JMXEnv@246] - expect:InMemoryDataTree [junit] 2015-05-10 09:37:08,263 [myid:] - INFO [main:JMXEnv@250] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree [junit] 2015-05-10 09:37:08,263 [myid:] - INFO [main:JMXEnv@246] - expect:StandaloneServer_port [junit] 2015-05-10 09:37:08,263 [myid:] - INFO [main:JMXEnv@250] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11221 [junit] 2015-05-10 09:37:08,263 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 10471 [junit] 2015-05-10 09:37:08,264 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20 [junit] 2015-05-10 09:37:08,264 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota [junit] 2015-05-10 09:37:08,264 [myid:] - INFO [main:ClientBase@520] - tearDown starting [junit] 2015-05-10 09:37:08,331 [myid:] - INFO [main:ZooKeeper@684] - Session: 0x14d3d2f6dfc closed [junit] 2015-05-10 09:37:08,331 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@512] - EventThread shut down [junit] 2015-05-10 09:37:08,331 [myid:] - INFO [main:ClientBase@490] - STOPPING server [junit] 2015-05-10 09:37:08,331 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221
ZooKeeper-trunk-solaris - Build # 1027 - Still Failing
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/1027/ ### ## 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-05-10T08:32:08.279 +' U src/java/main/org/apache/zookeeper/server/util/ConfigUtils.java U src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java U src/java/main/org/apache/zookeeper/server/quorum/RemotePeerBean.java U src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java U src/java/main/org/apache/zookeeper/server/quorum/LocalPeerBean.java D src/java/main/org/apache/zookeeper/common/HostNameUtils.java U src/java/main/org/apache/zookeeper/client/StaticHostProvider.java U src/java/main/org/apache/zookeeper/ClientCnxn.java U src/java/systest/org/apache/zookeeper/test/system/QuorumPeerInstance.java U src/java/test/org/apache/zookeeper/test/ReconfigTest.java U src/java/test/org/apache/zookeeper/test/ConnectStringParserTest.java U src/java/test/org/apache/zookeeper/test/StaticHostProviderTest.java U src/java/test/org/apache/zookeeper/test/CnxManagerTest.java D src/java/test/org/apache/zookeeper/common/HostNameUtilsTest.java U CHANGES.txt At revision 1678538 Updating http://svn.apache.org/repos/asf/hadoop/nightly at revision '2015-05-10T08:32:08.279 +' At revision 1678538 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/hudson6803790310916763369.sh /var/tmp/hudson6803790310916763369.sh: line 12: ant: command not found Build step 'Execute shell' 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-trunk-WinVS2008 - Build # 1796 - Still Failing
See https://builds.apache.org/job/ZooKeeper-trunk-WinVS2008/1796/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 120 lines...] [javacc] File "SimpleCharStream.java" does not exist. Will create one. [javacc] Parser generated successfully. jute: [javac] Compiling 39 source files to f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\build\classes compile_jute_uptodate: compile_jute: [mkdir] Created dir: f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\java\generated [mkdir] Created dir: f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\generated [java] ../../zookeeper.jute Parsed Successfully [java] ../../zookeeper.jute Parsed Successfully [touch] Creating f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\java\generated\.generated BUILD SUCCESSFUL Total time: 8 seconds [ZooKeeper-trunk-WinVS2008] $ cmd /c call C:\Windows\TEMP\hudson5390047329409331759.bat f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008>set ZOOKEEPER_HOME=f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008>msbuild trunk/src/c/zookeeper.sln /p:Configuration=Release Microsoft (R) Build Engine version 4.0.30319.18408 [Microsoft .NET Framework, version 4.0.30319.18444] Copyright (C) Microsoft Corporation. All rights reserved. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 5/10/2015 9:22:27 AM. Project "f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln" on node 1 (default targets). ValidateSolutionConfiguration: Building solution configuration "Release|Win32". zookeeper: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\..\..\vc\vcpackages\VCBuild.exe f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.vcproj "Release|Win32" cl : Command line warning D9035: option 'Wp64' has been deprecated and will be removed in a future release [f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln] .\src\zookeeper.c(43): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln] Cli: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\..\..\vc\vcpackages\VCBuild.exe f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\Cli.vcproj "Release|Win32" Done Building Project "f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln" (default targets) -- FAILED. Build FAILED. "f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln" (default target) (1) -> (zookeeper target) -> cl : Command line warning D9035: option 'Wp64' has been deprecated and will be removed in a future release [f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln] "f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln" (default target) (1) -> (zookeeper target) -> .\src\zookeeper.c(43): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008\trunk\src\c\zookeeper.sln] 1 Warning(s) 1 Error(s) Time Elapsed 00:00:05.78 f:\hudson\hudson-slave\workspace\ZooKeeper-trunk-WinVS2008>exit 1 Build step 'Execute Windows batch command' marked build as failure Email was triggered for: Failure Sending email for trigger: Failure ### ## FAILED TESTS (if any) ## No tests ran.