ZooKeeper_branch34_jdk8 - Build # 1277 - Failure
See https://builds.apache.org/job/ZooKeeper_branch34_jdk8/1277/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 31.72 KB...] [junit] Running org.apache.zookeeper.server.ZooKeeperServerStartupTest [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.007 sec [junit] Running org.apache.zookeeper.server.ZooKeeperServerTest [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 sec [junit] Running org.apache.zookeeper.server.ZooKeeperThreadTest [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.177 sec [junit] Running org.apache.zookeeper.server.ZxidRolloverTest [junit] Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 106.147 sec [junit] Test org.apache.zookeeper.server.ZxidRolloverTest FAILED [junit] Running org.apache.zookeeper.server.persistence.FileTxnLogTest [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.126 sec [junit] Running org.apache.zookeeper.server.quorum.CnxManagerTest [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.977 sec [junit] Running org.apache.zookeeper.server.quorum.EphemeralNodeDeletionTest [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.536 sec [junit] Running org.apache.zookeeper.server.quorum.FLEBackwardElectionRoundTest [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.257 sec [junit] Running org.apache.zookeeper.server.quorum.FLECompatibilityTest [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.149 sec [junit] Running org.apache.zookeeper.server.quorum.FLEDontCareTest [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.12 sec [junit] Running org.apache.zookeeper.server.quorum.FLELostMessageTest [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.229 sec [junit] Running org.apache.zookeeper.server.quorum.LearnerTest [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 sec [junit] Running org.apache.zookeeper.server.quorum.QuorumCnxManagerTest [junit] Tests run: 20, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 193.977 sec [junit] Exception in thread "main" Unable to write log file [junit] at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTestSuite(XMLJUnitResultFormatter.java:190) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:830) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:565) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1165) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1016) [junit] Caused by: java.io.IOException: No space left on device [junit] at java.io.FileOutputStream.writeBytes(Native Method) [junit] at java.io.FileOutputStream.write(FileOutputStream.java:326) [junit] at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) [junit] at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) [junit] at org.apache.tools.ant.taskdefs.optional.junit.FormatterElement$DelayedFileOutputStream.flush(FormatterElement.java:390) [junit] at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297) [junit] at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141) [junit] at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229) [junit] at java.io.BufferedWriter.flush(BufferedWriter.java:254) [junit] at org.apache.tools.ant.util.DOMElementWriter.openElement(DOMElementWriter.java:370) [junit] at org.apache.tools.ant.util.DOMElementWriter.write(DOMElementWriter.java:208) [junit] at org.apache.tools.ant.util.DOMElementWriter.write(DOMElementWriter.java:221) [junit] at org.apache.tools.ant.util.DOMElementWriter.write(DOMElementWriter.java:221) [junit] at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTestSuite(XMLJUnitResultFormatter.java:188) [junit] ... 4 more BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/build.xml:1351: Unable to write log file Total time: 19 minutes 18 seconds Build step 'Invoke Ant' marked build as failure Archiving artifacts Recording test results Email was triggered for: Failure - Any Sending email for trigger: Failure - Any ### ## FAILED TESTS (if any) ## 2 tests failed. FAILED:
Failed: ZOOKEEPER- PreCommit Build #1432
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1432/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 83.35 MB...] [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 appears to introduce 1 new Findbugs (version 3.0.1) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] +1 core tests. The patch 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-github-pr-build/1432//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1432//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1432//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Error: No value specified for option "issue" [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] mv: '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess' and '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess' are the same file BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1722: exec returned: 1 Total time: 18 minutes 8 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2903 Putting comment on the pull request Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## All tests passed
Failed: ZOOKEEPER- PreCommit Build #1431
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1431/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 82.30 MB...] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] -1 findbugs. The patch appears to introduce 1 new Findbugs (version 3.0.1) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] +1 core tests. The patch 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-github-pr-build/1431//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1431//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1431//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] mv: '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess' and '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess' are the same file BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1722: exec returned: 1 Total time: 18 minutes 10 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2901 Putting comment on the pull request Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## All tests passed
[jira] [Commented] (ZOOKEEPER-2901) Session ID that is negative causes mis-calculation of Ephemeral Type
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341322#comment-16341322 ] ASF GitHub Bot commented on ZOOKEEPER-2901: --- Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 FYI - I just pushed a change that adds yet-another-flag that allows 3.5.4 ZKs to read the old 3.5.3 TTL nodes. I think we must have this. The docs are updated too. > Session ID that is negative causes mis-calculation of Ephemeral Type > > > Key: ZOOKEEPER-2901 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2901 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.5.3 > Environment: Running 3.5.3-beta in Docker container >Reporter: Mark Johnson >Assignee: Jordan Zimmerman >Priority: Blocker > > In the code that determines the EphemeralType it is looking at the owner > (which is the client ID or connection ID): > EphemeralType.java: >public static EphemeralType get(long ephemeralOwner) { >if (ephemeralOwner == CONTAINER_EPHEMERAL_OWNER) { >return CONTAINER; >} >if (ephemeralOwner < 0) { >return TTL; >} >return (ephemeralOwner == 0) ? VOID : NORMAL; >} > However my connection ID is: > header.getClientId(): -720548323429908480 > This causes the code to think this is a TTL Ephemeral node instead of a > NORMAL Ephemeral node. > This also explains why this is random - if my client ID is non-negative > then the node gets added correctly. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 FYI - I just pushed a change that adds yet-another-flag that allows 3.5.4 ZKs to read the old 3.5.3 TTL nodes. I think we must have this. The docs are updated too. ---
[jira] [Commented] (ZOOKEEPER-1534) Zookeeper server do not send Sal authentication failure notification to the client
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341308#comment-16341308 ] Sean Gibbons commented on ZOOKEEPER-1534: - This is an issue affecting my use of Zookeeper. In my use case if a client supplies wrong credentials we only receive ConectionLoss events without receiving an AuthFailed event. This can lead to confusion in production environments where network outages can occur, often we have to request that Environments view the passwords on each server to ensure that they are all correct since we receive the same event (ConnectionLoss) for incorrect SASL credentials and when the network is down. I have a patch for this I am preparing but may need some advice on how to format a standardized AuthFailed SetSASLResponse. > Zookeeper server do not send Sal authentication failure notification to the > client > -- > > Key: ZOOKEEPER-1534 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1534 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.4.3 > Environment: Windows 7. Zookeeper 3.4.3 Curator 1.1.15 Java 1.6 >Reporter: Tally Tsabary >Priority: Major > > Server side: zookeeper 3.4.3 with patch ZOOKEEPER-1437.patch 22/Jun/12 00:24 > Client side: java, Curator 1.1.15, zookeeper 3.4.3 with patch > ZOOKEEPER-1437.patch 22/Jun/12 00:24 > Environment configured to use Sasl authentication. > While the authenticatiion is successful, everything works fine. > In case of authentication failue, it seems that the zk server catch the > SaslException and close the socket without sending any additional > notification to the client, so despite the client has an implementation to > handle Sasl authentication failure, it is never used… > > Details: > = > > > zk server log: > {noformat} > 2012-08-10 11:00:46,730 [myid:] - INFO > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@213] - > Accepted socket connection from /127.0.0.1:50208 > 2012-08-10 11:00:46,731 [myid:] - DEBUG > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@780] - Session > establishment request from client /127.0.0.1:50208 client's lastZxid is 0x0 > 2012-08-10 11:00:46,731 [myid:] - INFO > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@838] - Client > attempting to establish new session at /127.0.0.1:50208 > 2012-08-10 11:00:46,733 [myid:] - DEBUG > [SyncThread:0:FinalRequestProcessor@88] - Processing request:: > sessionid:0x1390fd2ee630004 type:createSession cxid:0x0 zxid:0x26b > txntype:-10 reqpath:n/a > 2012-08-10 11:00:46,733 [myid:] - DEBUG > [SyncThread:0:FinalRequestProcessor@160] - sessionid:0x1390fd2ee630004 > type:createSession cxid:0x0 zxid:0x26b txntype:-10 reqpath:n/a > 2012-08-10 11:00:46,734 [myid:] - INFO [SyncThread:0:ZooKeeperServer@604] - > Established session 0x1390fd2ee630004 with negotiated timeout 4 for > client /127.0.0.1:50208 > 2012-08-10 11:00:46,736 [myid:] - DEBUG > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@919] - Responding > to client SASL token. > 2012-08-10 11:00:46,736 [myid:] - DEBUG > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@923] - Size of > client SASL token: 0 > 2012-08-10 11:00:46,736 [myid:] - DEBUG > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@954] - Size of > server SASL response: 101 > 2012-08-10 11:00:46,740 [myid:] - DEBUG > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@919] - Responding > to client SASL token. > 2012-08-10 11:00:46,741 [myid:] - DEBUG > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@923] - Size of > client SASL token: 272 > 2012-08-10 11:00:46,741 [myid:] - DEBUG > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@106] - > client supplied realm: zk-sasl-md5 > 2012-08-10 11:00:46,741 [myid:] - WARN > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@939] - Client > failed to SASL authenticate: javax.security.sasl.SaslException: DIGEST-MD5: > digest response format violation. Mismatched response. > 2012-08-10 11:00:46,742 [myid:] - WARN > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@945] - Closing > client connection due to SASL authentication failure. > 2012-08-10 11:00:46,742 [myid:] - INFO > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1000] - Closed > socket connection for client /127.0.0.1:50208 which had sessionid > 0x1390fd2ee630004 > 2012-08-10 11:00:46,743 [myid:] - ERROR > [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@180] - Unexpected > Exception: > java.nio.channels.CancelledKeyException >at > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) >at >
[jira] [Commented] (ZOOKEEPER-2626) log4j.properties don't get respected
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341264#comment-16341264 ] Hal Duston commented on ZOOKEEPER-2626: --- I do not know if this is the preferred solution, but adding the line *"-Dlog4j.configuration=file:${ZOOCFGDIR}/log4j.properties" \* to all supplied _zk_ scripts immediately preceding each line beginning *-cp "$CLASSPATH"* causes _log4j.properties_ to be recognized. > log4j.properties don't get respected > > > Key: ZOOKEEPER-2626 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2626 > Project: ZooKeeper > Issue Type: Bug > Components: scripts >Affects Versions: 3.5.2 > Environment: Linux vagrant-ubuntu-trusty-32 3.13.0-100-generic > #147-Ubuntu SMP Tue Oct 18 16:49:53 UTC 2016 i686 i686 i686 GNU/Linux >Reporter: Arne Bachmann >Priority: Major > > I put the log4j.properties into the conf folder, plus a symlink to the base > zookeeper folder, as described in the documentation. > Neither of them seem to be picked up, as my rolling logger is not recognized > (no logs created), and also bin/zkServer.sh print-cmd shows wrong logger > configuration. Is that a problem of the start script or did I put the > properties file into the wrong place? > Note however, that also my additional java command-line options (from > JAVA_TOOL_OPTIONS) don't get picked up by the start script, as can be seen by > ps aux | grep java (e.g. -Xmx1000m instead of -Xmx500 as I defined it). > The script's refer to a lot of environment variables that aren't explained in > the documentation and nowhere defined; I can't get it to run. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (ZOOKEEPER-2626) log4j.properties don't get respected
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341264#comment-16341264 ] Hal Duston edited comment on ZOOKEEPER-2626 at 1/26/18 4:51 PM: I do not know if this is the preferred solution, but adding the line *"-Dlog4j.configuration=[file:$|file://%24/]{ZOOCFGDIR}/log4j.properties" * to all supplied _zk_ scripts immediately preceding each line beginning* -cp "$CLASSPATH"* causes _log4j.properties_ to be recognized. This is for version 3.4.9. was (Author: hald): I do not know if this is the preferred solution, but adding the line *"-Dlog4j.configuration=file:${ZOOCFGDIR}/log4j.properties" \* to all supplied _zk_ scripts immediately preceding each line beginning *-cp "$CLASSPATH"* causes _log4j.properties_ to be recognized. > log4j.properties don't get respected > > > Key: ZOOKEEPER-2626 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2626 > Project: ZooKeeper > Issue Type: Bug > Components: scripts >Affects Versions: 3.5.2 > Environment: Linux vagrant-ubuntu-trusty-32 3.13.0-100-generic > #147-Ubuntu SMP Tue Oct 18 16:49:53 UTC 2016 i686 i686 i686 GNU/Linux >Reporter: Arne Bachmann >Priority: Major > > I put the log4j.properties into the conf folder, plus a symlink to the base > zookeeper folder, as described in the documentation. > Neither of them seem to be picked up, as my rolling logger is not recognized > (no logs created), and also bin/zkServer.sh print-cmd shows wrong logger > configuration. Is that a problem of the start script or did I put the > properties file into the wrong place? > Note however, that also my additional java command-line options (from > JAVA_TOOL_OPTIONS) don't get picked up by the start script, as can be seen by > ps aux | grep java (e.g. -Xmx1000m instead of -Xmx500 as I defined it). > The script's refer to a lot of environment variables that aren't explained in > the documentation and nowhere defined; I can't get it to run. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
Failed: ZOOKEEPER- PreCommit Build #1429
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1429/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 43.93 MB...] [exec] [exec] -1 findbugs. The patch appears to introduce 1 new Findbugs (version 3.0.1) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] -1 contrib tests. The patch failed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1429//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1429//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1429//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/src/java/test/bin/test-github-pr.sh: line 471: 19925 Killed $ANT_HOME/bin/ant -DZookeeperPatchProcess= -Dtest.junit.output.format=xml -Dtest.output=yes test-contrib [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] mv: '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess' and '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess' are the same file BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1722: exec returned: 3 Total time: 6 minutes 46 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2901 Putting comment on the pull request Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## All tests passed
Failed: ZOOKEEPER- PreCommit Build #1430
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1430/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 34.80 KB...] [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] -1 findbugs. The patch appears to introduce 1 new Findbugs (version 3.0.1) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1430//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1430//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1430//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Error: No value specified for option "issue" [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] mv: '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build@2/patchprocess' and '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build@2/patchprocess' are the same file BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build@2/build.xml:1722: exec returned: 2 Total time: 3 minutes 11 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error? Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2903 Putting comment on the pull request Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## No tests ran.
[jira] [Commented] (ZOOKEEPER-2901) Session ID that is negative causes mis-calculation of Ephemeral Type
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341257#comment-16341257 ] ASF GitHub Bot commented on ZOOKEEPER-2901: --- Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 IMPORTANT NOTE: TTL Nodes created in 3.5.3 will revert to EPHEMERAL with this change. We need to discuss the impact of this and consider workarounds, etc. > Session ID that is negative causes mis-calculation of Ephemeral Type > > > Key: ZOOKEEPER-2901 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2901 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.5.3 > Environment: Running 3.5.3-beta in Docker container >Reporter: Mark Johnson >Assignee: Jordan Zimmerman >Priority: Blocker > > In the code that determines the EphemeralType it is looking at the owner > (which is the client ID or connection ID): > EphemeralType.java: >public static EphemeralType get(long ephemeralOwner) { >if (ephemeralOwner == CONTAINER_EPHEMERAL_OWNER) { >return CONTAINER; >} >if (ephemeralOwner < 0) { >return TTL; >} >return (ephemeralOwner == 0) ? VOID : NORMAL; >} > However my connection ID is: > header.getClientId(): -720548323429908480 > This causes the code to think this is a TTL Ephemeral node instead of a > NORMAL Ephemeral node. > This also explains why this is random - if my client ID is non-negative > then the node gets added correctly. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 IMPORTANT NOTE: TTL Nodes created in 3.5.3 will revert to EPHEMERAL with this change. We need to discuss the impact of this and consider workarounds, etc. ---
Re: Failed: ZOOKEEPER- PreCommit Build #1427
> [exec] -1 findbugs. The patch appears to introduce 1 new Findbugs > (version 3.0.1) warnings. -- RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT: Return value of method without side effect is ignored This findbugs warning is wrong. It's not noticing that there's on override for the method in the Enum for TTL. How do we handle this? I don't see that the Findbugs annotations are included in the build. -Jordan
***UNCHECKED*** Failed: ZOOKEEPER- PreCommit Build #1428
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1428/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 82.90 MB...] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] -1 findbugs. The patch appears to introduce 1 new Findbugs (version 3.0.1) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] +1 core tests. The patch 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-github-pr-build/1428//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1428//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1428//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] mv: '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build@2/patchprocess' and '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build@2/patchprocess' are the same file BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build@2/build.xml:1722: exec returned: 2 Total time: 18 minutes 7 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2901 Putting comment on the pull request Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## All tests passed
Failed: ZOOKEEPER- PreCommit Build #1427
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1427/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 83.85 MB...] [exec] -1 javadoc. The javadoc tool appears to have generated 1 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 appears to introduce 1 new Findbugs (version 3.0.1) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] +1 core tests. The patch 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-github-pr-build/1427//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1427//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1427//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Error: No value specified for option "issue" [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] [exec] mv: ‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess’ and ‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess’ are the same file BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1722: exec returned: 2 Total time: 18 minutes 1 second Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2903 Putting comment on the pull request Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## All tests passed
Failed: ZOOKEEPER- PreCommit Build #1425
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1425/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 73.72 MB...] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] -1 findbugs. The patch appears to introduce 1 new Findbugs (version 3.0.1) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] -1 contrib tests. The patch failed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1425//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1425//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1425//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] mv: '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess' and '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess' are the same file BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1722: exec returned: 4 Total time: 9 minutes 34 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2901 Putting comment on the pull request Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## 1 tests failed. FAILED: org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged Error Message: expected: but was: Stack Trace: junit.framework.AssertionFailedError: expected: but was: at org.apache.zookeeper.test.WatchEventWhenAutoResetTest$EventsWatcher.assertEvent(WatchEventWhenAutoResetTest.java:67) at org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged(WatchEventWhenAutoResetTest.java:117) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
Failed: ZOOKEEPER- PreCommit Build #1426
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1426/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 35.17 KB...] [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] -1 findbugs. The patch appears to introduce 1 new Findbugs (version 3.0.1) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1426//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1426//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1426//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Error: No value specified for option "issue" [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] mv: '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build@2/patchprocess' and '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build@2/patchprocess' are the same file BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build@2/build.xml:1722: exec returned: 3 Total time: 3 minutes 9 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error? Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-2903 Putting comment on the pull request Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## No tests ran.
[jira] [Commented] (ZOOKEEPER-2903) Port ZOOKEEPER-2901 to 3.5.4
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341175#comment-16341175 ] ASF GitHub Bot commented on ZOOKEEPER-2903: --- Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/378 Attn: @phunt - I just pushed two changes: Better docs and new reserved bits in the EphemeralType enum. Better implementation of the testable serverId in ZooKeeperServer. > Port ZOOKEEPER-2901 to 3.5.4 > > > Key: ZOOKEEPER-2903 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2903 > Project: ZooKeeper > Issue Type: Sub-task > Components: server >Affects Versions: 3.5.3 >Reporter: Jordan Zimmerman >Assignee: Jordan Zimmerman >Priority: Blocker > Fix For: 3.5.4 > > > The TTL/Server ID bug is quite serious and should be back-ported to the 3.5.x > branch -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] zookeeper issue #378: [ZOOKEEPER-2903] Backport of ZOOKEEPER-2901 changes
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/378 Attn: @phunt - I just pushed two changes: Better docs and new reserved bits in the EphemeralType enum. Better implementation of the testable serverId in ZooKeeperServer. ---
[jira] [Commented] (ZOOKEEPER-2901) Session ID that is negative causes mis-calculation of Ephemeral Type
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341168#comment-16341168 ] ASF GitHub Bot commented on ZOOKEEPER-2901: --- Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 Attn: @phunt - I just pushed two changes: - Better docs and new reserved bits in the `EphemeralType` enum. - Better implementation of the testable `serverId` in ZooKeeperServer. > Session ID that is negative causes mis-calculation of Ephemeral Type > > > Key: ZOOKEEPER-2901 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2901 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.5.3 > Environment: Running 3.5.3-beta in Docker container >Reporter: Mark Johnson >Assignee: Jordan Zimmerman >Priority: Blocker > > In the code that determines the EphemeralType it is looking at the owner > (which is the client ID or connection ID): > EphemeralType.java: >public static EphemeralType get(long ephemeralOwner) { >if (ephemeralOwner == CONTAINER_EPHEMERAL_OWNER) { >return CONTAINER; >} >if (ephemeralOwner < 0) { >return TTL; >} >return (ephemeralOwner == 0) ? VOID : NORMAL; >} > However my connection ID is: > header.getClientId(): -720548323429908480 > This causes the code to think this is a TTL Ephemeral node instead of a > NORMAL Ephemeral node. > This also explains why this is random - if my client ID is non-negative > then the node gets added correctly. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 Attn: @phunt - I just pushed two changes: - Better docs and new reserved bits in the `EphemeralType` enum. - Better implementation of the testable `serverId` in ZooKeeperServer. ---
Failed: ZOOKEEPER- PreCommit Build #1424
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1424/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 77.30 MB...] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 3.0.1) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1424//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1424//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1424//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] mv: '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess' and '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess' are the same file BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1722: exec returned: 1 Total time: 20 minutes 3 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-1580 Putting comment on the pull request Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## 1 tests failed. FAILED: org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalObserverRun Error Message: Timeout occurred. Please note the time in the report does not reflect the time until the timeout. Stack Trace: junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout. at java.lang.Thread.run(Thread.java:745)
[jira] [Commented] (ZOOKEEPER-1580) QuorumPeer.setRunning is not used
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341109#comment-16341109 ] ASF GitHub Bot commented on ZOOKEEPER-1580: --- GitHub user maoling opened a pull request: https://github.com/apache/zookeeper/pull/452 ZOOKEEPER-1580:QuorumPeer.setRunning is not used - more details in [JIRA:ZOOKEEPER-1580](https://issues.apache.org/jira/browse/ZOOKEEPER-1580) - I forget fetching the upstream codes, make a mistake in the origin [PR-446] (https://github.com/apache/zookeeper/pull/446) which includes some review history,so I close it and open a new one You can merge this pull request into a Git repository by running: $ git pull https://github.com/maoling/zookeeper ZOOKEEPER-1580 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/452.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #452 commit 28de1e88fb54ddd783e00dd96a777af3e1e6f36e Author: maolingDate: 2018-01-09T06:22:04Z ZOOKEEPER-1580:QuorumPeer.setRunning is not used commit 29a5aba1e7b354797170b7e61fabd9b51a1ddfd1 Author: maoling Date: 2018-01-26T13:46:28Z remove the setter and return back to setting the running field directly > QuorumPeer.setRunning is not used > - > > Key: ZOOKEEPER-1580 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1580 > Project: ZooKeeper > Issue Type: Bug >Reporter: Flavio Junqueira >Assignee: Flavio Junqueira >Priority: Minor > > setRunning is a public method and a search did not indicate that it is used > anywhere, not even in tests. In fact, I believe we should not change > "running" freely and we should only do it when calling shutdown. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] zookeeper pull request #452: ZOOKEEPER-1580:QuorumPeer.setRunning is not use...
GitHub user maoling opened a pull request: https://github.com/apache/zookeeper/pull/452 ZOOKEEPER-1580:QuorumPeer.setRunning is not used - more details in [JIRA:ZOOKEEPER-1580](https://issues.apache.org/jira/browse/ZOOKEEPER-1580) - I forget fetching the upstream codes, make a mistake in the origin [PR-446] (https://github.com/apache/zookeeper/pull/446) which includes some review history,so I close it and open a new one You can merge this pull request into a Git repository by running: $ git pull https://github.com/maoling/zookeeper ZOOKEEPER-1580 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/452.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #452 commit 28de1e88fb54ddd783e00dd96a777af3e1e6f36e Author: maolingDate: 2018-01-09T06:22:04Z ZOOKEEPER-1580:QuorumPeer.setRunning is not used commit 29a5aba1e7b354797170b7e61fabd9b51a1ddfd1 Author: maoling Date: 2018-01-26T13:46:28Z remove the setter and return back to setting the running field directly ---
Failed: ZOOKEEPER- PreCommit Build #1423
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1423/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 78.40 MB...] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 3.0.1) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1423//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1423//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1423//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] Unable to log in to server: https://issues.apache.org/jira/rpc/soap/jirasoapservice-v2 with user: hadoopqa. [exec] Cause: ; nested exception is: [exec] javax.net.ssl.SSLException: Received fatal alert: protocol_version [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] [exec] mv: '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess' and '/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess' are the same file BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1722: exec returned: 1 Total time: 14 minutes 52 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-1580 Putting comment on the pull request Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## 1 tests failed. FAILED: org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalFollowerRunWithDiff Error Message: expected:<4294967298> but was:<0> Stack Trace: junit.framework.AssertionFailedError: expected:<4294967298> but was:<0> at org.apache.zookeeper.server.quorum.Zab1_0Test$5.converseWithFollower(Zab1_0Test.java:876) at org.apache.zookeeper.server.quorum.Zab1_0Test.testFollowerConversation(Zab1_0Test.java:523) at org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalFollowerRunWithDiff(Zab1_0Test.java:791) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
[jira] [Commented] (ZOOKEEPER-1580) QuorumPeer.setRunning is not used
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341090#comment-16341090 ] ASF GitHub Bot commented on ZOOKEEPER-1580: --- Github user maoling closed the pull request at: https://github.com/apache/zookeeper/pull/446 > QuorumPeer.setRunning is not used > - > > Key: ZOOKEEPER-1580 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1580 > Project: ZooKeeper > Issue Type: Bug >Reporter: Flavio Junqueira >Assignee: Flavio Junqueira >Priority: Minor > > setRunning is a public method and a search did not indicate that it is used > anywhere, not even in tests. In fact, I believe we should not change > "running" freely and we should only do it when calling shutdown. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] zookeeper pull request #446: ZOOKEEPER-1580:QuorumPeer.setRunning is not use...
Github user maoling closed the pull request at: https://github.com/apache/zookeeper/pull/446 ---
***UNCHECKED*** [jira] [Commented] (ZOOKEEPER-2184) Zookeeper Client should re-resolve hosts when connection attempts fail
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341073#comment-16341073 ] ASF GitHub Bot commented on ZOOKEEPER-2184: --- Github user mfenes commented on the issue: https://github.com/apache/zookeeper/pull/451 Looking at the static initialization block in InetAddressCachePolicy more deeply, the default TTL is 30 seconds if there is no SecurityManager installed. So caching a positive lookup forever in the Java-level cache is the default only if there is a SecurityManager installed and the TTL is not overridden by "networkaddress.cache.ttl" to a different value. Default caching policy for a negative lookup is 0 (never cache). Now the only question is whether 30 seconds default caching is ok or too much for ZK. > Zookeeper Client should re-resolve hosts when connection attempts fail > -- > > Key: ZOOKEEPER-2184 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2184 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.6, 3.4.7, 3.4.8, 3.4.9, 3.4.10, 3.5.0, 3.5.1, 3.5.2, > 3.5.3, 3.4.11 > Environment: Ubuntu 14.04 host, Docker containers for Zookeeper & > Kafka >Reporter: Robert P. Thille >Assignee: Flavio Junqueira >Priority: Blocker > Labels: easyfix, patch > Fix For: 3.5.4, 3.4.12 > > Attachments: ZOOKEEPER-2184.patch > > > Testing in a Docker environment with a single Kafka instance using a single > Zookeeper instance. Restarting the Zookeeper container will cause it to > receive a new IP address. Kafka will never be able to reconnect to Zookeeper > and will hang indefinitely. Updating DNS or /etc/hosts with the new IP > address will not help the client to reconnect as the > zookeeper/client/StaticHostProvider resolves the connection string hosts at > creation time and never re-resolves. > A solution would be for the client to notice that connection attempts fail > and attempt to re-resolve the hostnames in the connectString. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] zookeeper issue #451: ZOOKEEPER-2184: Zookeeper Client should re-resolve hos...
Github user mfenes commented on the issue: https://github.com/apache/zookeeper/pull/451 Looking at the static initialization block in InetAddressCachePolicy more deeply, the default TTL is 30 seconds if there is no SecurityManager installed. So caching a positive lookup forever in the Java-level cache is the default only if there is a SecurityManager installed and the TTL is not overridden by "networkaddress.cache.ttl" to a different value. Default caching policy for a negative lookup is 0 (never cache). Now the only question is whether 30 seconds default caching is ok or too much for ZK. ---
[jira] [Commented] (ZOOKEEPER-2184) Zookeeper Client should re-resolve hosts when connection attempts fail
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341046#comment-16341046 ] ASF GitHub Bot commented on ZOOKEEPER-2184: --- Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/451 Just confirmed on 3.4 branch: ZK uses 30 secs cache TTL on my mac. > Zookeeper Client should re-resolve hosts when connection attempts fail > -- > > Key: ZOOKEEPER-2184 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2184 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.6, 3.4.7, 3.4.8, 3.4.9, 3.4.10, 3.5.0, 3.5.1, 3.5.2, > 3.5.3, 3.4.11 > Environment: Ubuntu 14.04 host, Docker containers for Zookeeper & > Kafka >Reporter: Robert P. Thille >Assignee: Flavio Junqueira >Priority: Blocker > Labels: easyfix, patch > Fix For: 3.5.4, 3.4.12 > > Attachments: ZOOKEEPER-2184.patch > > > Testing in a Docker environment with a single Kafka instance using a single > Zookeeper instance. Restarting the Zookeeper container will cause it to > receive a new IP address. Kafka will never be able to reconnect to Zookeeper > and will hang indefinitely. Updating DNS or /etc/hosts with the new IP > address will not help the client to reconnect as the > zookeeper/client/StaticHostProvider resolves the connection string hosts at > creation time and never re-resolves. > A solution would be for the client to notice that connection attempts fail > and attempt to re-resolve the hostnames in the connectString. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] zookeeper issue #451: ZOOKEEPER-2184: Zookeeper Client should re-resolve hos...
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/451 Just confirmed on 3.4 branch: ZK uses 30 secs cache TTL on my mac. ---
[jira] [Commented] (ZOOKEEPER-2184) Zookeeper Client should re-resolve hosts when connection attempts fail
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341016#comment-16341016 ] ASF GitHub Bot commented on ZOOKEEPER-2184: --- Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/451 @mfenes The only solution I can think of is to set DNS cache TTL `networkaddress.cache.ttl` to a configurable, non-infinite value. > Zookeeper Client should re-resolve hosts when connection attempts fail > -- > > Key: ZOOKEEPER-2184 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2184 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.6, 3.4.7, 3.4.8, 3.4.9, 3.4.10, 3.5.0, 3.5.1, 3.5.2, > 3.5.3, 3.4.11 > Environment: Ubuntu 14.04 host, Docker containers for Zookeeper & > Kafka >Reporter: Robert P. Thille >Assignee: Flavio Junqueira >Priority: Blocker > Labels: easyfix, patch > Fix For: 3.5.4, 3.4.12 > > Attachments: ZOOKEEPER-2184.patch > > > Testing in a Docker environment with a single Kafka instance using a single > Zookeeper instance. Restarting the Zookeeper container will cause it to > receive a new IP address. Kafka will never be able to reconnect to Zookeeper > and will hang indefinitely. Updating DNS or /etc/hosts with the new IP > address will not help the client to reconnect as the > zookeeper/client/StaticHostProvider resolves the connection string hosts at > creation time and never re-resolves. > A solution would be for the client to notice that connection attempts fail > and attempt to re-resolve the hostnames in the connectString. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] zookeeper issue #451: ZOOKEEPER-2184: Zookeeper Client should re-resolve hos...
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/451 @mfenes The only solution I can think of is to set DNS cache TTL `networkaddress.cache.ttl` to a configurable, non-infinite value. ---
[jira] [Commented] (ZOOKEEPER-2184) Zookeeper Client should re-resolve hosts when connection attempts fail
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340910#comment-16340910 ] ASF GitHub Bot commented on ZOOKEEPER-2184: --- Github user mfenes commented on the issue: https://github.com/apache/zookeeper/pull/451 Re-resolving at StaticHostProvider level may not be sufficient as InetAddress.getAllByName(String host) itself uses a Java-level cache inside InetAddress and turns to name service (e.g. DNS) only if the host could not be found in the Java-level cache. Unfortunately, when Java resolves a new host using the name service, it puts the host and its addresses in the cache with TTL cache FOREVER. This means, once a host gets resolved by Java, it will never again turn to the name service to re-resolve it. If a host's addresses get updated in DNS, the address cache in Java will still contain the old entry forever. So re-resolving at StaticHostProvider won't help in this case, as InetAddress.getAllByName(String host) will still return the old address(es) I think. Check the getCachedAddresses method inside InetAddress, the get() method of static final class Cache inside InetAddress and sun.net.InetAddressCachePolicy.get() which returns cachePolicy with default value -1 (FOREVER) if it is not overridden by Security properties "networkaddress.cache.ttl" and "networkaddress.cache.negative.ttl". > Zookeeper Client should re-resolve hosts when connection attempts fail > -- > > Key: ZOOKEEPER-2184 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2184 > Project: ZooKeeper > Issue Type: Bug > Components: java client >Affects Versions: 3.4.6, 3.4.7, 3.4.8, 3.4.9, 3.4.10, 3.5.0, 3.5.1, 3.5.2, > 3.5.3, 3.4.11 > Environment: Ubuntu 14.04 host, Docker containers for Zookeeper & > Kafka >Reporter: Robert P. Thille >Assignee: Flavio Junqueira >Priority: Blocker > Labels: easyfix, patch > Fix For: 3.5.4, 3.4.12 > > Attachments: ZOOKEEPER-2184.patch > > > Testing in a Docker environment with a single Kafka instance using a single > Zookeeper instance. Restarting the Zookeeper container will cause it to > receive a new IP address. Kafka will never be able to reconnect to Zookeeper > and will hang indefinitely. Updating DNS or /etc/hosts with the new IP > address will not help the client to reconnect as the > zookeeper/client/StaticHostProvider resolves the connection string hosts at > creation time and never re-resolves. > A solution would be for the client to notice that connection attempts fail > and attempt to re-resolve the hostnames in the connectString. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] zookeeper issue #451: ZOOKEEPER-2184: Zookeeper Client should re-resolve hos...
Github user mfenes commented on the issue: https://github.com/apache/zookeeper/pull/451 Re-resolving at StaticHostProvider level may not be sufficient as InetAddress.getAllByName(String host) itself uses a Java-level cache inside InetAddress and turns to name service (e.g. DNS) only if the host could not be found in the Java-level cache. Unfortunately, when Java resolves a new host using the name service, it puts the host and its addresses in the cache with TTL cache FOREVER. This means, once a host gets resolved by Java, it will never again turn to the name service to re-resolve it. If a host's addresses get updated in DNS, the address cache in Java will still contain the old entry forever. So re-resolving at StaticHostProvider won't help in this case, as InetAddress.getAllByName(String host) will still return the old address(es) I think. Check the getCachedAddresses method inside InetAddress, the get() method of static final class Cache inside InetAddress and sun.net.InetAddressCachePolicy.get() which returns cachePolicy with default value -1 (FOREVER) if it is not overridden by Security properties "networkaddress.cache.ttl" and "networkaddress.cache.negative.ttl". ---