SHARE
TWEET

testFailedTxnAsPartOfQuorumLoss

a guest Nov 20th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Error Message
  2. create /zk2 should have failed
  3.  
  4. Stacktrace
  5. java.lang.AssertionError: create /zk2 should have failed
  6.     at org.apache.zookeeper.server.quorum.QuorumPeerMainTest.testFailedTxnAsPartOfQuorumLoss(QuorumPeerMainTest.java:822)
  7.  
  8. Standard Output
  9. 2019-11-19 14:26:49,214 [myid:] - INFO  [main:ZKTestCase$1@80] - STARTING testFailedTxnAsPartOfQuorumLoss
  10. 2019-11-19 14:26:49,214 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@84] - RUNNING TEST METHOD testFailedTxnAsPartOfQuorumLoss
  11. 2019-11-19 14:26:49,214 [myid:] - INFO  [main:PortAssignment@87] - Assigned port 11240 from range 11221 - 16606.
  12. 2019-11-19 14:26:49,215 [myid:] - INFO  [main:PortAssignment@87] - Assigned port 11242 from range 11221 - 16606.
  13. 2019-11-19 14:26:49,215 [myid:] - INFO  [main:PortAssignment@87] - Assigned port 11243 from range 11221 - 16606.
  14. 2019-11-19 14:26:49,215 [myid:] - INFO  [main:PortAssignment@87] - Assigned port 11244 from range 11221 - 16606.
  15. 2019-11-19 14:26:49,215 [myid:] - INFO  [main:PortAssignment@87] - Assigned port 11245 from range 11221 - 16606.
  16. 2019-11-19 14:26:49,215 [myid:] - INFO  [main:PortAssignment@87] - Assigned port 11246 from range 11221 - 16606.
  17. 2019-11-19 14:26:49,216 [myid:] - INFO  [main:PortAssignment@87] - Assigned port 11247 from range 11221 - 16606.
  18. 2019-11-19 14:26:49,216 [myid:] - INFO  [main:PortAssignment@87] - Assigned port 11248 from range 11221 - 16606.
  19. 2019-11-19 14:26:49,216 [myid:] - INFO  [main:PortAssignment@87] - Assigned port 11249 from range 11221 - 16606.
  20. 2019-11-19 14:26:49,217 [myid:] - INFO  [main:QuorumPeerTestBase$MainThread@122] - id = 0 tmpDir = /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test7185670737178265403.junit.dir clientPort = 11240
  21. 2019-11-19 14:26:49,217 [myid:] - INFO  [Thread-12:QuorumPeerConfig@164] - Reading configuration from: /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test7185670737178265403.junit.dir/zoo.cfg
  22. 2019-11-19 14:26:49,218 [myid:] - INFO  [Thread-12:QuorumPeerConfig@444] - clientPortAddress is 0.0.0.0:11240
  23. 2019-11-19 14:26:49,218 [myid:] - INFO  [Thread-12:QuorumPeerConfig@448] - secureClientPort is not set
  24. 2019-11-19 14:26:49,218 [myid:] - INFO  [Thread-12:QuorumPeerConfig@464] - observerMasterPort is not set
  25. 2019-11-19 14:26:49,218 [myid:] - INFO  [Thread-12:QuorumPeerConfig@481] - metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider
  26. 2019-11-19 14:26:49,219 [myid:0] - INFO  [Thread-12:DatadirCleanupManager@78] - autopurge.snapRetainCount set to 3
  27. 2019-11-19 14:26:49,219 [myid:0] - INFO  [Thread-12:DatadirCleanupManager@79] - autopurge.purgeInterval set to 0
  28. 2019-11-19 14:26:49,219 [myid:0] - INFO  [Thread-12:DatadirCleanupManager@101] - Purge task is not scheduled.
  29. 2019-11-19 14:26:49,219 [myid:0] - INFO  [Thread-12:ManagedUtil@45] - Log4j found with jmx enabled.
  30. 2019-11-19 14:26:49,219 [myid:0] - ERROR [Thread-12:ManagedUtil@111] - Problems while registering log4j jmx beans!
  31. javax.management.InstanceAlreadyExistsException: log4j:hierarchy=default
  32.     at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
  33.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
  34.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
  35.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
  36.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
  37.     at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  38.     at org.apache.zookeeper.jmx.ManagedUtil.registerLog4jMBeans(ManagedUtil.java:74)
  39.     at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:145)
  40.     at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:135)
  41.     at org.apache.zookeeper.server.quorum.QuorumPeerTestBase$MainThread.run(QuorumPeerTestBase.java:329)
  42.     at java.lang.Thread.run(Thread.java:748)
  43. 2019-11-19 14:26:49,220 [myid:0] - WARN  [Thread-12:QuorumPeerMain@147] - Unable to register log4j JMX control
  44. javax.management.JMException: javax.management.InstanceAlreadyExistsException: log4j:hierarchy=default
  45.     at org.apache.zookeeper.jmx.ManagedUtil.registerLog4jMBeans(ManagedUtil.java:112)
  46.     at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:145)
  47.     at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:135)
  48.     at org.apache.zookeeper.server.quorum.QuorumPeerTestBase$MainThread.run(QuorumPeerTestBase.java:329)
  49.     at java.lang.Thread.run(Thread.java:748)
  50. 2019-11-19 14:26:49,220 [myid:0] - INFO  [Thread-12:QuorumPeerMain@150] - Starting quorum peer
  51. 2019-11-19 14:26:49,220 [myid:0] - INFO  [Thread-12:ServerMetrics@62] - ServerMetrics initialized with provider org.apache.zookeeper.metrics.impl.DefaultMetricsProvider@4c06b8e4
  52. 2019-11-19 14:26:49,221 [myid:0] - INFO  [Thread-12:ServerCnxnFactory@169] - Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory
  53. 2019-11-19 14:26:49,221 [myid:0] - WARN  [Thread-12:ServerCnxnFactory@309] - maxCnxns is not configured, using default value 0.
  54. 2019-11-19 14:26:49,221 [myid:0] - INFO  [Thread-12:NIOServerCnxnFactory@666] - Configuring NIO connection handler with 10s sessionless connection timeout, 2 selector thread(s), 32 worker threads, and 64 kB direct buffers.
  55. 2019-11-19 14:26:49,221 [myid:0] - INFO  [Thread-12:NIOServerCnxnFactory@674] - binding to port /0.0.0.0:11240
  56. 2019-11-19 14:26:49,222 [myid:] - INFO  [main:Environment@98] - Client environment:zookeeper.version=3.6.0-SNAPSHOT-4850469b8690a41049205e7dd40275d1590b6ae0, built on 11/19/2019 14:21 GMT
  57. 2019-11-19 14:26:49,222 [myid:] - INFO  [main:Environment@98] - Client environment:host.name=asf906.gq1.ygridcore.net
  58. 2019-11-19 14:26:49,222 [myid:0] - INFO  [Thread-12:FileTxnSnapLog@111] - zookeeper.snapshot.trust.empty : false
  59. 2019-11-19 14:26:49,222 [myid:] - INFO  [main:Environment@98] - Client environment:java.version=1.8.0_191
  60. 2019-11-19 14:26:49,222 [myid:] - INFO  [main:Environment@98] - Client environment:java.vendor=Oracle Corporation
  61. 2019-11-19 14:26:49,222 [myid:] - INFO  [main:Environment@98] - Client environment:java.home=/usr/local/asfpackages/java/jdk1.8.0_191/jre
  62. 2019-11-19 14:26:49,222 [myid:0] - INFO  [Thread-12:QuorumPeer@1620] - Local sessions disabled
  63. 2019-11-19 14:26:49,223 [myid:0] - INFO  [Thread-12:QuorumPeer@1631] - Local session upgrading disabled
  64. 2019-11-19 14:26:49,222 [myid:] - INFO  [main:Environment@98] - Client environment:java.class.path=/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/test-classes:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/classes:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/com/github/spotbugs/spotbugs-annotations/3.1.9/spotbugs-annotations-3.1.9.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-jute/target/zookeeper-jute-3.6.0-SNAPSHOT.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/yetus/audience-annotations/0.5.0/audience-annotations-0.5.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/io/netty/netty-handler/4.1.42.Final/netty-handler-4.1.42.Final.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/io/netty/netty-common/4.1.42.Final/netty-common-4.1.42.Final.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/io/netty/netty-buffer/4.1.42.Final/netty-buffer-4.1.42.Final.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/io/netty/netty-transport/4.1.42.Final/netty-transport-4.1.42.Final.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/io/netty/netty-resolver/4.1.42.Final/netty-resolver-4.1.42.Final.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/io/netty/netty-codec/4.1.42.Final/netty-codec-4.1.42.Final.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/io/netty/netty-transport-native-epoll/4.1.42.Final/netty-transport-native-epoll-4.1.42.Final.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/io/netty/netty-transport-native-unix-common/4.1.42.Final/netty-transport-native-unix-common-4.1.42.Final.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/slf4j/slf4j-log4j12/1.7.25/slf4j-log4j12-1.7.25.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/eclipse/jetty/jetty-server/9.4.18.v20190429/jetty-server-9.4.18.v20190429.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/eclipse/jetty/jetty-http/9.4.18.v20190429/jetty-http-9.4.18.v20190429.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/eclipse/jetty/jetty-util/9.4.18.v20190429/jetty-util-9.4.18.v20190429.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/eclipse/jetty/jetty-io/9.4.18.v20190429/jetty-io-9.4.18.v20190429.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/eclipse/jetty/jetty-servlet/9.4.18.v20190429/jetty-servlet-9.4.18.v20190429.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/eclipse/jetty/jetty-security/9.4.18.v20190429/jetty-security-9.4.18.v20190429.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/com/fasterxml/jackson/core/jackson-databind/2.9.10/jackson-databind-2.9.10.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/com/fasterxml/jackson/core/jackson-annotations/2.9.10/jackson-annotations-2.9.10.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/com/fasterxml/jackson/core/jackson-core/2.9.10/jackson-core-2.9.10.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/bouncycastle/bcprov-jdk15on/1.60/bcprov-jdk15on-1.60.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/bouncycastle/bcpkix-jdk15on/1.60/bcpkix-jdk15on-1.60.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/jline/jline/2.11/jline-2.11.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/io/dropwizard/metrics/metrics-core/3.2.5/metrics-core-3.2.5.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerb-core/1.1.0/kerb-core-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerby-pkix/1.1.0/kerby-pkix-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerby-asn1/1.1.0/kerby-asn1-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerby-util/1.1.0/kerby-util-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerb-simplekdc/1.1.0/kerb-simplekdc-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerb-client/1.1.0/kerb-client-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerb-common/1.1.0/kerb-common-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerb-crypto/1.1.0/kerb-crypto-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/commons-io/commons-io/2.6/commons-io-2.6.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerb-util/1.1.0/kerb-util-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/token-provider/1.1.0/token-provider-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/com/nimbusds/nimbus-jose-jwt/4.41.2/nimbus-jose-jwt-4.41.2.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/com/github/stephenc/jcip/jcip-annotations/1.0-1/jcip-annotations-1.0-1.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/net/minidev/json-smart/2.3/json-smart-2.3.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerb-admin/1.1.0/kerb-admin-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerb-server/1.1.0/kerb-server-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerb-identity/1.1.0/kerb-identity-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerby-xdr/1.1.0/kerby-xdr-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/apache/kerby/kerby-config/1.1.0/kerby-config-1.1.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/mockito/mockito-core/2.27.0/mockito-core-2.27.0.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/net/bytebuddy/byte-buddy/1.9.10/byte-buddy-1.9.10.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/net/bytebuddy/byte-buddy-agent/1.9.10/byte-buddy-agent-1.9.10.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/junit/junit/4.12/junit-4.12.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/.repository/org/xerial/snappy/snappy-java/1.1.7/snappy-java-1.1.7.jar:
  65. 2019-11-19 14:26:49,223 [myid:] - INFO  [main:Environment@98] - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
  66. 2019-11-19 14:26:49,223 [myid:0] - INFO  [Thread-12:QuorumPeer@1598] - tickTime set to 4000
  67. 2019-11-19 14:26:49,223 [myid:0] - INFO  [Thread-12:QuorumPeer@1642] - minSessionTimeout set to 8000
  68. 2019-11-19 14:26:49,223 [myid:0] - INFO  [Thread-12:QuorumPeer@1653] - maxSessionTimeout set to 80000
  69. 2019-11-19 14:26:49,224 [myid:0] - INFO  [Thread-12:QuorumPeer@1678] - initLimit set to 10
  70. 2019-11-19 14:26:49,223 [myid:] - INFO  [main:Environment@98] - Client environment:java.io.tmpdir=/tmp
  71. 2019-11-19 14:26:49,224 [myid:0] - INFO  [Thread-12:QuorumPeer@1860] - syncLimit set to 5
  72. 2019-11-19 14:26:49,224 [myid:] - INFO  [main:Environment@98] - Client environment:java.compiler=<NA>
  73. 2019-11-19 14:26:49,224 [myid:0] - INFO  [Thread-12:QuorumPeer@1875] - connectToLearnerMasterLimit set to 5
  74. 2019-11-19 14:26:49,224 [myid:] - INFO  [main:Environment@98] - Client environment:os.name=Linux
  75. 2019-11-19 14:26:49,224 [myid:] - INFO  [main:Environment@98] - Client environment:os.arch=amd64
  76. 2019-11-19 14:26:49,224 [myid:0] - INFO  [Thread-12:WatchManagerFactory@42] - Using org.apache.zookeeper.server.watch.WatchManager as watch manager
  77. 2019-11-19 14:26:49,225 [myid:] - INFO  [main:Environment@98] - Client environment:os.version=4.15.0-66-generic
  78. 2019-11-19 14:26:49,225 [myid:0] - INFO  [Thread-12:WatchManagerFactory@42] - Using org.apache.zookeeper.server.watch.WatchManager as watch manager
  79. 2019-11-19 14:26:49,225 [myid:] - INFO  [main:Environment@98] - Client environment:user.name=jenkins
  80. 2019-11-19 14:26:49,225 [myid:0] - INFO  [Thread-12:ZKDatabase@131] - zookeeper.snapshotSizeFactor = 0.33
  81. 2019-11-19 14:26:49,225 [myid:] - INFO  [main:Environment@98] - Client environment:user.home=/home/jenkins
  82. 2019-11-19 14:26:49,225 [myid:] - INFO  [main:Environment@98] - Client environment:user.dir=/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server
  83. 2019-11-19 14:26:49,226 [myid:] - INFO  [main:Environment@98] - Client environment:os.memory.free=395MB
  84. 2019-11-19 14:26:49,226 [myid:] - INFO  [main:Environment@98] - Client environment:os.memory.max=491MB
  85. 2019-11-19 14:26:49,226 [myid:] - INFO  [main:Environment@98] - Client environment:os.memory.total=491MB
  86. 2019-11-19 14:26:49,225 [myid:0] - INFO  [Thread-12:ZKDatabase@151] - zookeeper.commitLogCount=500
  87. 2019-11-19 14:26:49,227 [myid:0] - INFO  [Thread-12:QuorumPeer@1941] - Using insecure (non-TLS) quorum communication
  88. 2019-11-19 14:26:49,227 [myid:0] - INFO  [Thread-12:QuorumPeer@1947] - Port unification disabled
  89. 2019-11-19 14:26:49,227 [myid:0] - INFO  [Thread-12:QuorumPeer@2398] - QuorumPeer communication is not secured! (SASL auth disabled)
  90. 2019-11-19 14:26:49,227 [myid:0] - INFO  [Thread-12:QuorumPeer@2423] - quorum.cnxn.threads.size set to 20
  91. 2019-11-19 14:26:49,227 [myid:0] - INFO  [Thread-12:FileTxnSnapLog@451] - Snapshotting: 0x0 to /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test7185670737178265403.junit.dir/data/version-2/snapshot.0
  92. 2019-11-19 14:26:49,228 [myid:0] - INFO  [Thread-12:ZKDatabase@288] - Snapshot loaded in 1 ms
  93. 2019-11-19 14:26:49,228 [myid:0] - INFO  [Thread-12:QuorumPeer@1040] - currentEpoch not found! Creating with a reasonable default of 0. This should only happen when you are upgrading your installation
  94. 2019-11-19 14:26:49,229 [myid:] - INFO  [main:ZooKeeper@1005] - Initiating client connection, connectString=127.0.0.1:11240 sessionTimeout=30000 watcher=org.apache.zookeeper.server.quorum.QuorumPeerMainTest@90f6bfd
  95. 2019-11-19 14:26:49,235 [myid:] - INFO  [main:ClientCnxnSocket@239] - jute.maxbuffer value is 1048575 Bytes
  96. 2019-11-19 14:26:49,243 [myid:] - INFO  [main:ClientCnxn@1696] - zookeeper.request.timeout value is 0. feature enabled=false
  97. 2019-11-19 14:26:49,247 [myid:127.0.0.1:11240] - INFO  [main-SendThread(127.0.0.1:11240):ClientCnxn$SendThread@1147] - Opening socket connection to server localhost/127.0.0.1:11240.
  98. 2019-11-19 14:26:49,247 [myid:127.0.0.1:11240] - INFO  [main-SendThread(127.0.0.1:11240):ClientCnxn$SendThread@1149] - SASL config status: Will not attempt to authenticate using SASL (unknown error)
  99. 2019-11-19 14:26:49,248 [myid:127.0.0.1:11240] - INFO  [main-SendThread(127.0.0.1:11240):ClientCnxn$SendThread@979] - Socket connection established, initiating session, client: /127.0.0.1:54720, server: localhost/127.0.0.1:11240
  100. 2019-11-19 14:26:49,263 [myid:] - INFO  [main:QuorumPeerTestBase$MainThread@122] - id = 1 tmpDir = /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test5775196615222067468.junit.dir clientPort = 11244
  101. 2019-11-19 14:26:49,264 [myid:] - INFO  [main:ZooKeeper@1005] - Initiating client connection, connectString=127.0.0.1:11244 sessionTimeout=30000 watcher=org.apache.zookeeper.server.quorum.QuorumPeerMainTest@90f6bfd
  102. 2019-11-19 14:26:49,264 [myid:] - INFO  [Thread-13:QuorumPeerConfig@164] - Reading configuration from: /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test5775196615222067468.junit.dir/zoo.cfg
  103. 2019-11-19 14:26:49,264 [myid:] - INFO  [main:ClientCnxnSocket@239] - jute.maxbuffer value is 1048575 Bytes
  104. 2019-11-19 14:26:49,264 [myid:] - INFO  [main:ClientCnxn@1696] - zookeeper.request.timeout value is 0. feature enabled=false
  105. 2019-11-19 14:26:49,264 [myid:] - INFO  [Thread-13:QuorumPeerConfig@444] - clientPortAddress is 0.0.0.0:11244
  106. 2019-11-19 14:26:49,265 [myid:] - INFO  [Thread-13:QuorumPeerConfig@448] - secureClientPort is not set
  107. 2019-11-19 14:26:49,265 [myid:] - INFO  [Thread-13:QuorumPeerConfig@464] - observerMasterPort is not set
  108. 2019-11-19 14:26:49,265 [myid:] - INFO  [Thread-13:QuorumPeerConfig@481] - metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider
  109. 2019-11-19 14:26:49,265 [myid:] - INFO  [main:QuorumPeerTestBase$MainThread@122] - id = 2 tmpDir = /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test7718048186666350364.junit.dir clientPort = 11247
  110. 2019-11-19 14:26:49,265 [myid:127.0.0.1:11244] - INFO  [main-SendThread(127.0.0.1:11244):ClientCnxn$SendThread@1147] - Opening socket connection to server localhost/127.0.0.1:11244.
  111. 2019-11-19 14:26:49,265 [myid:1] - INFO  [Thread-13:DatadirCleanupManager@78] - autopurge.snapRetainCount set to 3
  112. 2019-11-19 14:26:49,265 [myid:127.0.0.1:11244] - INFO  [main-SendThread(127.0.0.1:11244):ClientCnxn$SendThread@1149] - SASL config status: Will not attempt to authenticate using SASL (unknown error)
  113. 2019-11-19 14:26:49,265 [myid:1] - INFO  [Thread-13:DatadirCleanupManager@79] - autopurge.purgeInterval set to 0
  114. 2019-11-19 14:26:49,266 [myid:1] - INFO  [Thread-13:DatadirCleanupManager@101] - Purge task is not scheduled.
  115. 2019-11-19 14:26:49,266 [myid:] - INFO  [main:ZooKeeper@1005] - Initiating client connection, connectString=127.0.0.1:11247 sessionTimeout=30000 watcher=org.apache.zookeeper.server.quorum.QuorumPeerMainTest@90f6bfd
  116. 2019-11-19 14:26:49,266 [myid:1] - INFO  [Thread-13:ManagedUtil@45] - Log4j found with jmx enabled.
  117. 2019-11-19 14:26:49,266 [myid:] - INFO  [Thread-14:QuorumPeerConfig@164] - Reading configuration from: /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test7718048186666350364.junit.dir/zoo.cfg
  118. 2019-11-19 14:26:49,266 [myid:] - INFO  [main:ClientCnxnSocket@239] - jute.maxbuffer value is 1048575 Bytes
  119. 2019-11-19 14:26:49,266 [myid:127.0.0.1:11244] - WARN  [main-SendThread(127.0.0.1:11244):ClientCnxn$SendThread@1265] - Session 0x0 for sever localhost/127.0.0.1:11244, Closing socket connection. Attempting reconnect except it is a SessionExpiredException.
  120. java.net.ConnectException: Connection refused
  121.     at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
  122.     at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
  123.     at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:342)
  124.     at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1255)
  125. 2019-11-19 14:26:49,266 [myid:] - INFO  [Thread-14:QuorumPeerConfig@444] - clientPortAddress is 0.0.0.0:11247
  126. 2019-11-19 14:26:49,267 [myid:] - INFO  [Thread-14:QuorumPeerConfig@448] - secureClientPort is not set
  127. 2019-11-19 14:26:49,267 [myid:] - INFO  [Thread-14:QuorumPeerConfig@464] - observerMasterPort is not set
  128. 2019-11-19 14:26:49,266 [myid:] - INFO  [main:ClientCnxn@1696] - zookeeper.request.timeout value is 0. feature enabled=false
  129. 2019-11-19 14:26:49,266 [myid:1] - ERROR [Thread-13:ManagedUtil@111] - Problems while registering log4j jmx beans!
  130. javax.management.InstanceAlreadyExistsException: log4j:hierarchy=default
  131.     at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
  132.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
  133.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
  134.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
  135.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
  136.     at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  137.     at org.apache.zookeeper.jmx.ManagedUtil.registerLog4jMBeans(ManagedUtil.java:74)
  138.     at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:145)
  139.     at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:135)
  140.     at org.apache.zookeeper.server.quorum.QuorumPeerTestBase$MainThread.run(QuorumPeerTestBase.java:329)
  141.     at java.lang.Thread.run(Thread.java:748)
  142. 2019-11-19 14:26:49,267 [myid:1] - WARN  [Thread-13:QuorumPeerMain@147] - Unable to register log4j JMX control
  143. javax.management.JMException: javax.management.InstanceAlreadyExistsException: log4j:hierarchy=default
  144.     at org.apache.zookeeper.jmx.ManagedUtil.registerLog4jMBeans(ManagedUtil.java:112)
  145.     at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:145)
  146.     at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:135)
  147.     at org.apache.zookeeper.server.quorum.QuorumPeerTestBase$MainThread.run(QuorumPeerTestBase.java:329)
  148.     at java.lang.Thread.run(Thread.java:748)
  149. 2019-11-19 14:26:49,267 [myid:1] - INFO  [Thread-13:QuorumPeerMain@150] - Starting quorum peer
  150. 2019-11-19 14:26:49,267 [myid:] - INFO  [Thread-14:QuorumPeerConfig@481] - metricsProvider.className is org.apache.zookeeper.metrics.impl.DefaultMetricsProvider
  151. 2019-11-19 14:26:49,268 [myid:1] - INFO  [Thread-13:ServerMetrics@62] - ServerMetrics initialized with provider org.apache.zookeeper.metrics.impl.DefaultMetricsProvider@1bcd5345
  152. 2019-11-19 14:26:49,268 [myid:0] - INFO  [Thread-12:QuorumPeer@1060] - acceptedEpoch not found! Creating with a reasonable default of 0. This should only happen when you are upgrading your installation
  153. 2019-11-19 14:26:49,267 [myid:127.0.0.1:11247] - INFO  [main-SendThread(127.0.0.1:11247):ClientCnxn$SendThread@1147] - Opening socket connection to server localhost/127.0.0.1:11247.
  154. 2019-11-19 14:26:49,268 [myid:127.0.0.1:11247] - INFO  [main-SendThread(127.0.0.1:11247):ClientCnxn$SendThread@1149] - SASL config status: Will not attempt to authenticate using SASL (unknown error)
  155. 2019-11-19 14:26:49,268 [myid:2] - INFO  [Thread-14:DatadirCleanupManager@78] - autopurge.snapRetainCount set to 3
  156. 2019-11-19 14:26:49,268 [myid:2] - INFO  [Thread-14:DatadirCleanupManager@79] - autopurge.purgeInterval set to 0
  157. 2019-11-19 14:26:49,268 [myid:2] - INFO  [Thread-14:DatadirCleanupManager@101] - Purge task is not scheduled.
  158. 2019-11-19 14:26:49,269 [myid:2] - INFO  [Thread-14:ManagedUtil@45] - Log4j found with jmx enabled.
  159. 2019-11-19 14:26:49,269 [myid:1] - INFO  [Thread-13:ServerCnxnFactory@169] - Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory
  160. 2019-11-19 14:26:49,269 [myid:127.0.0.1:11247] - WARN  [main-SendThread(127.0.0.1:11247):ClientCnxn$SendThread@1265] - Session 0x0 for sever localhost/127.0.0.1:11247, Closing socket connection. Attempting reconnect except it is a SessionExpiredException.
  161. java.net.ConnectException: Connection refused
  162.     at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
  163.     at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
  164.     at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:342)
  165.     at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1255)
  166. 2019-11-19 14:26:49,269 [myid:2] - ERROR [Thread-14:ManagedUtil@111] - Problems while registering log4j jmx beans!
  167. javax.management.InstanceAlreadyExistsException: log4j:hierarchy=default
  168.     at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
  169.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
  170.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
  171.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
  172.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
  173.     at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  174.     at org.apache.zookeeper.jmx.ManagedUtil.registerLog4jMBeans(ManagedUtil.java:74)
  175.     at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:145)
  176.     at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:135)
  177.     at org.apache.zookeeper.server.quorum.QuorumPeerTestBase$MainThread.run(QuorumPeerTestBase.java:329)
  178.     at java.lang.Thread.run(Thread.java:748)
  179. 2019-11-19 14:26:49,269 [myid:1] - WARN  [Thread-13:ServerCnxnFactory@309] - maxCnxns is not configured, using default value 0.
  180. 2019-11-19 14:26:49,269 [myid:2] - WARN  [Thread-14:QuorumPeerMain@147] - Unable to register log4j JMX control
  181. javax.management.JMException: javax.management.InstanceAlreadyExistsException: log4j:hierarchy=default
  182.     at org.apache.zookeeper.jmx.ManagedUtil.registerLog4jMBeans(ManagedUtil.java:112)
  183.     at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:145)
  184.     at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:135)
  185.     at org.apache.zookeeper.server.quorum.QuorumPeerTestBase$MainThread.run(QuorumPeerTestBase.java:329)
  186.     at java.lang.Thread.run(Thread.java:748)
  187. 2019-11-19 14:26:49,269 [myid:2] - INFO  [Thread-14:QuorumPeerMain@150] - Starting quorum peer
  188. 2019-11-19 14:26:49,269 [myid:1] - INFO  [Thread-13:NIOServerCnxnFactory@666] - Configuring NIO connection handler with 10s sessionless connection timeout, 2 selector thread(s), 32 worker threads, and 64 kB direct buffers.
  189. 2019-11-19 14:26:49,270 [myid:2] - INFO  [Thread-14:ServerMetrics@62] - ServerMetrics initialized with provider org.apache.zookeeper.metrics.impl.DefaultMetricsProvider@7b7fa707
  190. 2019-11-19 14:26:49,270 [myid:1] - INFO  [Thread-13:NIOServerCnxnFactory@674] - binding to port /0.0.0.0:11244
  191. 2019-11-19 14:26:49,270 [myid:1] - INFO  [Thread-13:FileTxnSnapLog@111] - zookeeper.snapshot.trust.empty : false
  192. 2019-11-19 14:26:49,271 [myid:1] - INFO  [Thread-13:QuorumPeer@1620] - Local sessions disabled
  193. 2019-11-19 14:26:49,271 [myid:2] - INFO  [Thread-14:ServerCnxnFactory@169] - Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory
  194. 2019-11-19 14:26:49,271 [myid:1] - INFO  [Thread-13:QuorumPeer@1631] - Local session upgrading disabled
  195. 2019-11-19 14:26:49,271 [myid:2] - WARN  [Thread-14:ServerCnxnFactory@309] - maxCnxns is not configured, using default value 0.
  196. 2019-11-19 14:26:49,271 [myid:1] - INFO  [Thread-13:QuorumPeer@1598] - tickTime set to 4000
  197. 2019-11-19 14:26:49,271 [myid:1] - INFO  [Thread-13:QuorumPeer@1642] - minSessionTimeout set to 8000
  198. 2019-11-19 14:26:49,271 [myid:2] - INFO  [Thread-14:NIOServerCnxnFactory@666] - Configuring NIO connection handler with 10s sessionless connection timeout, 2 selector thread(s), 32 worker threads, and 64 kB direct buffers.
  199. 2019-11-19 14:26:49,271 [myid:1] - INFO  [Thread-13:QuorumPeer@1653] - maxSessionTimeout set to 80000
  200. 2019-11-19 14:26:49,271 [myid:1] - INFO  [Thread-13:QuorumPeer@1678] - initLimit set to 10
  201. 2019-11-19 14:26:49,272 [myid:1] - INFO  [Thread-13:QuorumPeer@1860] - syncLimit set to 5
  202. 2019-11-19 14:26:49,272 [myid:2] - INFO  [Thread-14:NIOServerCnxnFactory@674] - binding to port /0.0.0.0:11247
  203. 2019-11-19 14:26:49,272 [myid:1] - INFO  [Thread-13:QuorumPeer@1875] - connectToLearnerMasterLimit set to 5
  204. 2019-11-19 14:26:49,272 [myid:2] - INFO  [Thread-14:FileTxnSnapLog@111] - zookeeper.snapshot.trust.empty : false
  205. 2019-11-19 14:26:49,272 [myid:1] - INFO  [Thread-13:WatchManagerFactory@42] - Using org.apache.zookeeper.server.watch.WatchManager as watch manager
  206. 2019-11-19 14:26:49,272 [myid:2] - INFO  [Thread-14:QuorumPeer@1620] - Local sessions disabled
  207. 2019-11-19 14:26:49,272 [myid:1] - INFO  [Thread-13:WatchManagerFactory@42] - Using org.apache.zookeeper.server.watch.WatchManager as watch manager
  208. 2019-11-19 14:26:49,272 [myid:2] - INFO  [Thread-14:QuorumPeer@1631] - Local session upgrading disabled
  209. 2019-11-19 14:26:49,273 [myid:1] - INFO  [Thread-13:ZKDatabase@131] - zookeeper.snapshotSizeFactor = 0.33
  210. 2019-11-19 14:26:49,273 [myid:2] - INFO  [Thread-14:QuorumPeer@1598] - tickTime set to 4000
  211. 2019-11-19 14:26:49,273 [myid:1] - INFO  [Thread-13:ZKDatabase@151] - zookeeper.commitLogCount=500
  212. 2019-11-19 14:26:49,273 [myid:2] - INFO  [Thread-14:QuorumPeer@1642] - minSessionTimeout set to 8000
  213. 2019-11-19 14:26:49,273 [myid:2] - INFO  [Thread-14:QuorumPeer@1653] - maxSessionTimeout set to 80000
  214. 2019-11-19 14:26:49,273 [myid:2] - INFO  [Thread-14:QuorumPeer@1678] - initLimit set to 10
  215. 2019-11-19 14:26:49,273 [myid:1] - INFO  [Thread-13:QuorumPeer@1941] - Using insecure (non-TLS) quorum communication
  216. 2019-11-19 14:26:49,273 [myid:2] - INFO  [Thread-14:QuorumPeer@1860] - syncLimit set to 5
  217. 2019-11-19 14:26:49,273 [myid:1] - INFO  [Thread-13:QuorumPeer@1947] - Port unification disabled
  218. 2019-11-19 14:26:49,273 [myid:2] - INFO  [Thread-14:QuorumPeer@1875] - connectToLearnerMasterLimit set to 5
  219. 2019-11-19 14:26:49,274 [myid:1] - INFO  [Thread-13:QuorumPeer@2398] - QuorumPeer communication is not secured! (SASL auth disabled)
  220. 2019-11-19 14:26:49,274 [myid:1] - INFO  [Thread-13:QuorumPeer@2423] - quorum.cnxn.threads.size set to 20
  221. 2019-11-19 14:26:49,274 [myid:2] - INFO  [Thread-14:WatchManagerFactory@42] - Using org.apache.zookeeper.server.watch.WatchManager as watch manager
  222. 2019-11-19 14:26:49,274 [myid:1] - INFO  [Thread-13:FileTxnSnapLog@451] - Snapshotting: 0x0 to /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test5775196615222067468.junit.dir/data/version-2/snapshot.0
  223. 2019-11-19 14:26:49,275 [myid:2] - INFO  [Thread-14:WatchManagerFactory@42] - Using org.apache.zookeeper.server.watch.WatchManager as watch manager
  224. 2019-11-19 14:26:49,275 [myid:1] - INFO  [Thread-13:ZKDatabase@288] - Snapshot loaded in 1 ms
  225. 2019-11-19 14:26:49,275 [myid:2] - INFO  [Thread-14:ZKDatabase@131] - zookeeper.snapshotSizeFactor = 0.33
  226. 2019-11-19 14:26:49,275 [myid:2] - INFO  [Thread-14:ZKDatabase@151] - zookeeper.commitLogCount=500
  227. 2019-11-19 14:26:49,275 [myid:1] - INFO  [Thread-13:QuorumPeer@1040] - currentEpoch not found! Creating with a reasonable default of 0. This should only happen when you are upgrading your installation
  228. 2019-11-19 14:26:49,275 [myid:2] - INFO  [Thread-14:QuorumPeer@1941] - Using insecure (non-TLS) quorum communication
  229. 2019-11-19 14:26:49,275 [myid:2] - INFO  [Thread-14:QuorumPeer@1947] - Port unification disabled
  230. 2019-11-19 14:26:49,275 [myid:2] - INFO  [Thread-14:QuorumPeer@2398] - QuorumPeer communication is not secured! (SASL auth disabled)
  231. 2019-11-19 14:26:49,276 [myid:2] - INFO  [Thread-14:QuorumPeer@2423] - quorum.cnxn.threads.size set to 20
  232. 2019-11-19 14:26:49,276 [myid:2] - INFO  [Thread-14:FileTxnSnapLog@451] - Snapshotting: 0x0 to /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test7718048186666350364.junit.dir/data/version-2/snapshot.0
  233. 2019-11-19 14:26:49,276 [myid:2] - INFO  [Thread-14:ZKDatabase@288] - Snapshot loaded in 1 ms
  234. 2019-11-19 14:26:49,276 [myid:2] - INFO  [Thread-14:QuorumPeer@1040] - currentEpoch not found! Creating with a reasonable default of 0. This should only happen when you are upgrading your installation
  235. 2019-11-19 14:26:49,327 [myid:2] - INFO  [Thread-14:QuorumPeer@1060] - acceptedEpoch not found! Creating with a reasonable default of 0. This should only happen when you are upgrading your installation
  236. 2019-11-19 14:26:49,327 [myid:1] - INFO  [Thread-13:QuorumPeer@1060] - acceptedEpoch not found! Creating with a reasonable default of 0. This should only happen when you are upgrading your installation
  237. 2019-11-19 14:26:49,328 [myid:0] - INFO  [Thread-12:QuorumPeer@2440] - Using 20000ms as the quorum cnxn socket timeout
  238. 2019-11-19 14:26:49,328 [myid:0] - INFO  [Thread-12:QuorumCnxManager$Listener@840] - Election port bind maximum retries is 3
  239. 2019-11-19 14:26:49,328 [myid:0] - INFO  [QuorumPeerListener:QuorumCnxManager$Listener@891] - My election bind port: /127.0.0.1:11243
  240. 2019-11-19 14:26:49,329 [myid:0] - WARN  [NIOWorkerThread-1:NIOServerCnxn@372] - Close of session 0x0
  241. java.io.IOException: ZooKeeperServer not running
  242.     at org.apache.zookeeper.server.NIOServerCnxn.readLength(NIOServerCnxn.java:543)
  243.     at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:331)
  244.     at org.apache.zookeeper.server.NIOServerCnxnFactory$IOWorkRequest.doWork(NIOServerCnxnFactory.java:522)
  245.     at org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:154)
  246.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  247.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  248.     at java.lang.Thread.run(Thread.java:748)
  249. 2019-11-19 14:26:49,330 [myid:127.0.0.1:11240] - WARN  [main-SendThread(127.0.0.1:11240):ClientCnxn$SendThread@1265] - Session 0x0 for sever localhost/127.0.0.1:11240, Closing socket connection. Attempting reconnect except it is a SessionExpiredException.
  250. EndOfStreamException: Unable to read additional data from server sessionid 0x0, likely server has closed socket
  251.     at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:75)
  252.     at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:348)
  253.     at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1255)
  254. 2019-11-19 14:26:49,330 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):QuorumPeer@1311] - LOOKING
  255. 2019-11-19 14:26:49,330 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):FastLeaderElection@931] - New election. My id = 0, proposed zxid=0x0
  256. 2019-11-19 14:26:49,331 [myid:0] - WARN  [WorkerSender[myid=0]:QuorumCnxManager@661] - Cannot open channel to 1 at election address /127.0.0.1:11246
  257. java.net.ConnectException: Connection refused (Connection refused)
  258.     at java.net.PlainSocketImpl.socketConnect(Native Method)
  259.     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  260.     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  261.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  262.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  263.     at java.net.Socket.connect(Socket.java:589)
  264.     at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:627)
  265.     at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:687)
  266.     at org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:600)
  267.     at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:503)
  268.     at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:487)
  269.     at java.lang.Thread.run(Thread.java:748)
  270. 2019-11-19 14:26:49,332 [myid:0] - WARN  [WorkerSender[myid=0]:QuorumCnxManager@661] - Cannot open channel to 2 at election address /127.0.0.1:11249
  271. java.net.ConnectException: Connection refused (Connection refused)
  272.     at java.net.PlainSocketImpl.socketConnect(Native Method)
  273.     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  274.     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  275.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  276.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  277.     at java.net.Socket.connect(Socket.java:589)
  278.     at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:627)
  279.     at org.apache.zookeeper.server.quorum.QuorumCnxManager.connectOne(QuorumCnxManager.java:687)
  280.     at org.apache.zookeeper.server.quorum.QuorumCnxManager.toSend(QuorumCnxManager.java:600)
  281.     at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.process(FastLeaderElection.java:503)
  282.     at org.apache.zookeeper.server.quorum.FastLeaderElection$Messenger$WorkerSender.run(FastLeaderElection.java:487)
  283.     at java.lang.Thread.run(Thread.java:748)
  284. 2019-11-19 14:26:49,332 [myid:0] - INFO  [WorkerReceiver[myid=0]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:0, n.state:LOOKING, n.leader:0, n.round:0x1, n.peerEpoch:0x0, n.zxid:0x0, message format version:0x2, n.config version:0x0
  285. 2019-11-19 14:26:49,403 [myid:2] - INFO  [Thread-14:QuorumPeer@2440] - Using 20000ms as the quorum cnxn socket timeout
  286. 2019-11-19 14:26:49,403 [myid:1] - INFO  [Thread-13:QuorumPeer@2440] - Using 20000ms as the quorum cnxn socket timeout
  287. 2019-11-19 14:26:49,403 [myid:2] - INFO  [Thread-14:QuorumCnxManager$Listener@840] - Election port bind maximum retries is 3
  288. 2019-11-19 14:26:49,403 [myid:1] - INFO  [Thread-13:QuorumCnxManager$Listener@840] - Election port bind maximum retries is 3
  289. 2019-11-19 14:26:49,404 [myid:2] - INFO  [QuorumPeerListener:QuorumCnxManager$Listener@891] - My election bind port: /127.0.0.1:11249
  290. 2019-11-19 14:26:49,404 [myid:1] - INFO  [QuorumPeerListener:QuorumCnxManager$Listener@891] - My election bind port: /127.0.0.1:11246
  291. 2019-11-19 14:26:49,405 [myid:2] - WARN  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):MBeanRegistry@110] - Failed to register MBean ReplicatedServer_id2
  292. 2019-11-19 14:26:49,405 [myid:2] - WARN  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):QuorumPeer@1300] - Failed to register with JMX
  293. javax.management.InstanceAlreadyExistsException: org.apache.ZooKeeperService:name0=ReplicatedServer_id2
  294.     at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
  295.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
  296.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
  297.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
  298.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
  299.     at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  300.     at org.apache.zookeeper.jmx.MBeanRegistry.register(MBeanRegistry.java:106)
  301.     at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1278)
  302. 2019-11-19 14:26:49,405 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):QuorumPeer@1311] - LOOKING
  303. 2019-11-19 14:26:49,406 [myid:1] - WARN  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):MBeanRegistry@110] - Failed to register MBean ReplicatedServer_id1
  304. 2019-11-19 14:26:49,406 [myid:1] - WARN  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):QuorumPeer@1300] - Failed to register with JMX
  305. javax.management.InstanceAlreadyExistsException: org.apache.ZooKeeperService:name0=ReplicatedServer_id1
  306.     at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
  307.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
  308.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
  309.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
  310.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
  311.     at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  312.     at org.apache.zookeeper.jmx.MBeanRegistry.register(MBeanRegistry.java:106)
  313.     at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1278)
  314. 2019-11-19 14:26:49,406 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):QuorumPeer@1311] - LOOKING
  315. 2019-11-19 14:26:49,406 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):FastLeaderElection@931] - New election. My id = 2, proposed zxid=0x0
  316. 2019-11-19 14:26:49,406 [myid:1] - WARN  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):MBeanRegistry@110] - Failed to register MBean LeaderElection
  317. 2019-11-19 14:26:49,406 [myid:1] - WARN  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):FastLeaderElection@902] - Failed to register with JMX
  318. javax.management.InstanceAlreadyExistsException: org.apache.ZooKeeperService:name0=LeaderElection
  319.     at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
  320.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
  321.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
  322.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
  323.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
  324.     at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  325.     at org.apache.zookeeper.jmx.MBeanRegistry.register(MBeanRegistry.java:106)
  326.     at org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader(FastLeaderElection.java:900)
  327.     at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1365)
  328. 2019-11-19 14:26:49,407 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):FastLeaderElection@931] - New election. My id = 1, proposed zxid=0x0
  329. 2019-11-19 14:26:49,407 [myid:0] - INFO  [/127.0.0.1:11243:QuorumCnxManager$Listener@898] - Received connection request 127.0.0.1:37826
  330. 2019-11-19 14:26:49,407 [myid:1] - INFO  [/127.0.0.1:11246:QuorumCnxManager$Listener@898] - Received connection request 127.0.0.1:49566
  331. 2019-11-19 14:26:49,409 [myid:0] - INFO  [/127.0.0.1:11243:QuorumCnxManager$Listener@898] - Received connection request 127.0.0.1:37828
  332. 2019-11-19 14:26:49,410 [myid:0] - INFO  [WorkerReceiver[myid=0]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:2, n.state:LOOKING, n.leader:2, n.round:0x1, n.peerEpoch:0x0, n.zxid:0x0, message format version:0x2, n.config version:0x0
  333. 2019-11-19 14:26:49,411 [myid:0] - INFO  [WorkerSender[myid=0]:QuorumCnxManager@419] - Have smaller server identifier, so dropping the connection: (1, 0)
  334. 2019-11-19 14:26:49,411 [myid:1] - INFO  [/127.0.0.1:11246:QuorumCnxManager$Listener@898] - Received connection request 127.0.0.1:49568
  335. 2019-11-19 14:26:49,411 [myid:0] - INFO  [WorkerReceiver[myid=0]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:0, n.state:LOOKING, n.leader:2, n.round:0x1, n.peerEpoch:0x0, n.zxid:0x0, message format version:0x2, n.config version:0x0
  336. 2019-11-19 14:26:49,411 [myid:1] - INFO  [WorkerReceiver[myid=1]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:1, n.state:LOOKING, n.leader:1, n.round:0x1, n.peerEpoch:0x0, n.zxid:0x0, message format version:0x2, n.config version:0x0
  337. 2019-11-19 14:26:49,411 [myid:2] - INFO  [WorkerReceiver[myid=2]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:0, n.state:LOOKING, n.leader:0, n.round:0x1, n.peerEpoch:0x0, n.zxid:0x0, message format version:0x2, n.config version:0x0
  338. 2019-11-19 14:26:49,411 [myid:1] - WARN  [SendWorker:0:QuorumCnxManager$SendWorker@1116] - Interrupted while waiting for message on queue
  339. java.lang.InterruptedException
  340.     at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
  341.     at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2088)
  342.     at org.apache.zookeeper.util.CircularBlockingQueue.poll(CircularBlockingQueue.java:105)
  343.     at org.apache.zookeeper.server.quorum.QuorumCnxManager.pollSendQueue(QuorumCnxManager.java:1252)
  344.     at org.apache.zookeeper.server.quorum.QuorumCnxManager.access$700(QuorumCnxManager.java:81)
  345.     at org.apache.zookeeper.server.quorum.QuorumCnxManager$SendWorker.run(QuorumCnxManager.java:1105)
  346. 2019-11-19 14:26:49,412 [myid:0] - INFO  [WorkerReceiver[myid=0]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKI
  347. ...[truncated 157492 chars]...
  348. 27:05,048 [myid:0] - INFO  [Thread-24:QuorumPeer@2398] - QuorumPeer communication is not secured! (SASL auth disabled)
  349. 2019-11-19 14:27:05,048 [myid:0] - INFO  [Thread-24:QuorumPeer@2423] - quorum.cnxn.threads.size set to 20
  350. 2019-11-19 14:27:05,049 [myid:1] - INFO  [Thread-25:FileSnap@84] - Reading snapshot /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test5775196615222067468.junit.dir/data/version-2/snapshot.0
  351. 2019-11-19 14:27:05,049 [myid:0] - INFO  [Thread-24:FileSnap@84] - Reading snapshot /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test7185670737178265403.junit.dir/data/version-2/snapshot.0
  352. 2019-11-19 14:27:05,050 [myid:1] - INFO  [Thread-25:FileTxnSnapLog@344] - 9 txns loaded in 1 ms
  353. 2019-11-19 14:27:05,050 [myid:1] - INFO  [Thread-25:ZKDatabase@288] - Snapshot loaded in 2 ms
  354. 2019-11-19 14:27:05,051 [myid:0] - INFO  [Thread-24:FileTxnSnapLog@344] - 9 txns loaded in 1 ms
  355. 2019-11-19 14:27:05,051 [myid:0] - INFO  [Thread-24:ZKDatabase@288] - Snapshot loaded in 2 ms
  356. 2019-11-19 14:27:05,051 [myid:1] - INFO  [Thread-25:QuorumPeer@2440] - Using 20000ms as the quorum cnxn socket timeout
  357. 2019-11-19 14:27:05,052 [myid:1] - INFO  [Thread-25:QuorumCnxManager$Listener@840] - Election port bind maximum retries is 3
  358. 2019-11-19 14:27:05,052 [myid:0] - INFO  [Thread-24:QuorumPeer@2440] - Using 20000ms as the quorum cnxn socket timeout
  359. 2019-11-19 14:27:05,053 [myid:0] - INFO  [Thread-24:QuorumCnxManager$Listener@840] - Election port bind maximum retries is 3
  360. 2019-11-19 14:27:05,053 [myid:1] - INFO  [QuorumPeerListener:QuorumCnxManager$Listener@891] - My election bind port: /127.0.0.1:11246
  361. 2019-11-19 14:27:05,054 [myid:0] - INFO  [QuorumPeerListener:QuorumCnxManager$Listener@891] - My election bind port: /127.0.0.1:11243
  362. 2019-11-19 14:27:05,055 [myid:1] - WARN  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):MBeanRegistry@110] - Failed to register MBean ReplicatedServer_id1
  363. 2019-11-19 14:27:05,055 [myid:1] - WARN  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):QuorumPeer@1300] - Failed to register with JMX
  364. javax.management.InstanceAlreadyExistsException: org.apache.ZooKeeperService:name0=ReplicatedServer_id1
  365.     at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
  366.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
  367.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
  368.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
  369.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
  370.     at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  371.     at org.apache.zookeeper.jmx.MBeanRegistry.register(MBeanRegistry.java:106)
  372.     at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1278)
  373. 2019-11-19 14:27:05,055 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):QuorumPeer@1311] - LOOKING
  374. 2019-11-19 14:27:05,055 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):QuorumPeer@1311] - LOOKING
  375. 2019-11-19 14:27:05,055 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):FastLeaderElection@931] - New election. My id = 1, proposed zxid=0x200000006
  376. 2019-11-19 14:27:05,056 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):FastLeaderElection@931] - New election. My id = 0, proposed zxid=0x200000006
  377. 2019-11-19 14:27:05,056 [myid:0] - INFO  [/127.0.0.1:11243:QuorumCnxManager$Listener@898] - Received connection request 127.0.0.1:38678
  378. 2019-11-19 14:27:05,056 [myid:1] - INFO  [/127.0.0.1:11246:QuorumCnxManager$Listener@898] - Received connection request 127.0.0.1:50416
  379. 2019-11-19 14:27:05,056 [myid:0] - INFO  [WorkerSender[myid=0]:QuorumCnxManager@419] - Have smaller server identifier, so dropping the connection: (1, 0)
  380. 2019-11-19 14:27:05,057 [myid:1] - WARN  [RecvWorker:0:QuorumCnxManager$RecvWorker@1201] - Connection broken for id 0, my id = 1
  381. java.net.SocketException: Socket closed
  382.     at java.net.SocketInputStream.socketRead0(Native Method)
  383.     at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
  384.     at java.net.SocketInputStream.read(SocketInputStream.java:171)
  385.     at java.net.SocketInputStream.read(SocketInputStream.java:141)
  386.     at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
  387.     at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
  388.     at java.io.DataInputStream.readInt(DataInputStream.java:387)
  389.     at org.apache.zookeeper.server.quorum.QuorumCnxManager$RecvWorker.run(QuorumCnxManager.java:1189)
  390. 2019-11-19 14:27:05,058 [myid:1] - WARN  [RecvWorker:0:QuorumCnxManager$RecvWorker@1207] - Interrupting SendWorker
  391. 2019-11-19 14:27:05,058 [myid:1] - WARN  [SendWorker:0:QuorumCnxManager$SendWorker@1116] - Interrupted while waiting for message on queue
  392. java.lang.InterruptedException
  393.     at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1220)
  394.     at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:335)
  395.     at org.apache.zookeeper.util.CircularBlockingQueue.poll(CircularBlockingQueue.java:99)
  396.     at org.apache.zookeeper.server.quorum.QuorumCnxManager.pollSendQueue(QuorumCnxManager.java:1252)
  397.     at org.apache.zookeeper.server.quorum.QuorumCnxManager.access$700(QuorumCnxManager.java:81)
  398.     at org.apache.zookeeper.server.quorum.QuorumCnxManager$SendWorker.run(QuorumCnxManager.java:1105)
  399. 2019-11-19 14:27:05,058 [myid:0] - WARN  [RecvWorker:1:QuorumCnxManager$RecvWorker@1201] - Connection broken for id 1, my id = 0
  400. java.io.EOFException
  401.     at java.io.DataInputStream.readInt(DataInputStream.java:392)
  402.     at org.apache.zookeeper.server.quorum.QuorumCnxManager$RecvWorker.run(QuorumCnxManager.java:1189)
  403. 2019-11-19 14:27:05,059 [myid:0] - WARN  [SendWorker:1:QuorumCnxManager$SendWorker@1120] - Exception when using channel: for id 1 my id = 0
  404. java.net.SocketException: Broken pipe (Write failed)
  405.     at java.net.SocketOutputStream.socketWrite0(Native Method)
  406.     at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
  407.     at java.net.SocketOutputStream.write(SocketOutputStream.java:134)
  408.     at java.io.DataOutputStream.writeInt(DataOutputStream.java:198)
  409.     at org.apache.zookeeper.server.quorum.QuorumCnxManager$SendWorker.send(QuorumCnxManager.java:1063)
  410.     at org.apache.zookeeper.server.quorum.QuorumCnxManager$SendWorker.run(QuorumCnxManager.java:1113)
  411. 2019-11-19 14:27:05,059 [myid:1] - WARN  [SendWorker:0:QuorumCnxManager$SendWorker@1128] - Send worker leaving thread id 0 my id = 1
  412. 2019-11-19 14:27:05,060 [myid:0] - WARN  [SendWorker:1:QuorumCnxManager$SendWorker@1128] - Send worker leaving thread id 1 my id = 0
  413. 2019-11-19 14:27:05,060 [myid:1] - INFO  [WorkerSender[myid=1]:QuorumCnxManager@419] - Have smaller server identifier, so dropping the connection: (2, 1)
  414. 2019-11-19 14:27:05,059 [myid:0] - INFO  [WorkerSender[myid=0]:QuorumCnxManager@419] - Have smaller server identifier, so dropping the connection: (2, 0)
  415. 2019-11-19 14:27:05,059 [myid:2] - INFO  [/127.0.0.1:11249:QuorumCnxManager$Listener@898] - Received connection request 127.0.0.1:38084
  416. 2019-11-19 14:27:05,061 [myid:0] - INFO  [WorkerReceiver[myid=0]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:0, n.state:LOOKING, n.leader:0, n.round:0x1, n.peerEpoch:0x2, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  417. 2019-11-19 14:27:05,059 [myid:0] - WARN  [RecvWorker:1:QuorumCnxManager$RecvWorker@1207] - Interrupting SendWorker
  418. 2019-11-19 14:27:05,061 [myid:0] - INFO  [/127.0.0.1:11243:QuorumCnxManager$Listener@898] - Received connection request 127.0.0.1:38688
  419. 2019-11-19 14:27:05,061 [myid:1] - INFO  [WorkerReceiver[myid=1]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:1, n.state:LOOKING, n.leader:1, n.round:0x1, n.peerEpoch:0x2, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  420. 2019-11-19 14:27:05,063 [myid:2] - INFO  [/127.0.0.1:11249:QuorumCnxManager$Listener@898] - Received connection request 127.0.0.1:38086
  421. 2019-11-19 14:27:05,064 [myid:0] - INFO  [/127.0.0.1:11243:QuorumCnxManager$Listener@898] - Received connection request 127.0.0.1:38690
  422. 2019-11-19 14:27:05,065 [myid:0] - INFO  [WorkerReceiver[myid=0]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:1, n.state:LOOKING, n.leader:1, n.round:0x1, n.peerEpoch:0x2, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  423. 2019-11-19 14:27:05,065 [myid:1] - INFO  [/127.0.0.1:11246:QuorumCnxManager$Listener@898] - Received connection request 127.0.0.1:50430
  424. 2019-11-19 14:27:05,065 [myid:1] - INFO  [WorkerReceiver[myid=1]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:0, n.state:LOOKING, n.leader:0, n.round:0x1, n.peerEpoch:0x2, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  425. 2019-11-19 14:27:05,067 [myid:1] - INFO  [WorkerReceiver[myid=1]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:0, n.state:LOOKING, n.leader:1, n.round:0x1, n.peerEpoch:0x2, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  426. 2019-11-19 14:27:05,067 [myid:2] - INFO  [WorkerReceiver[myid=2]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LEADING; n.sid:0, n.state:LOOKING, n.leader:0, n.round:0x1, n.peerEpoch:0x2, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  427. 2019-11-19 14:27:05,067 [myid:0] - INFO  [WorkerReceiver[myid=0]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:0, n.state:LOOKING, n.leader:1, n.round:0x1, n.peerEpoch:0x2, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  428. 2019-11-19 14:27:05,068 [myid:1] - INFO  [WorkerReceiver[myid=1]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:2, n.state:LOOKING, n.leader:2, n.round:0x1, n.peerEpoch:0x1, n.zxid:0x100000003, message format version:0x2, n.config version:0x0
  429. 2019-11-19 14:27:05,068 [myid:0] - INFO  [WorkerReceiver[myid=0]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:2, n.state:LOOKING, n.leader:2, n.round:0x1, n.peerEpoch:0x1, n.zxid:0x100000003, message format version:0x2, n.config version:0x0
  430. 2019-11-19 14:27:05,068 [myid:2] - INFO  [WorkerReceiver[myid=2]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LEADING; n.sid:1, n.state:LOOKING, n.leader:1, n.round:0x1, n.peerEpoch:0x2, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  431. 2019-11-19 14:27:05,068 [myid:0] - INFO  [WorkerReceiver[myid=0]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:2, n.state:LEADING, n.leader:2, n.round:0x1, n.peerEpoch:0x2, n.zxid:0x100000003, message format version:0x2, n.config version:0x0
  432. 2019-11-19 14:27:05,069 [myid:2] - INFO  [WorkerReceiver[myid=2]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LEADING; n.sid:0, n.state:LOOKING, n.leader:1, n.round:0x1, n.peerEpoch:0x2, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  433. 2019-11-19 14:27:05,069 [myid:1] - INFO  [WorkerReceiver[myid=1]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:2, n.state:LEADING, n.leader:2, n.round:0x1, n.peerEpoch:0x2, n.zxid:0x100000003, message format version:0x2, n.config version:0x0
  434. 2019-11-19 14:27:05,069 [myid:0] - INFO  [WorkerReceiver[myid=0]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:2, n.state:LEADING, n.leader:2, n.round:0x1, n.peerEpoch:0x2, n.zxid:0x100000003, message format version:0x2, n.config version:0x0
  435. 2019-11-19 14:27:05,208 [myid:] - INFO  [main:ZooKeeper@1618] - Session: 0x87ade7a00000 closed
  436. 2019-11-19 14:27:05,208 [myid:] - INFO  [main-EventThread:ClientCnxn$EventThread@556] - EventThread shut down for session: 0x87ade7a00000
  437. 2019-11-19 14:27:05,208 [myid:] - INFO  [main:ZooKeeper@1005] - Initiating client connection, connectString=127.0.0.1:11240 sessionTimeout=30000 watcher=org.apache.zookeeper.server.quorum.QuorumPeerMainTest@90f6bfd
  438. 2019-11-19 14:27:05,209 [myid:] - INFO  [main:ClientCnxnSocket@239] - jute.maxbuffer value is 1048575 Bytes
  439. 2019-11-19 14:27:05,210 [myid:] - INFO  [main:ClientCnxn@1696] - zookeeper.request.timeout value is 0. feature enabled=false
  440. 2019-11-19 14:27:05,211 [myid:127.0.0.1:11240] - INFO  [main-SendThread(127.0.0.1:11240):ClientCnxn$SendThread@1147] - Opening socket connection to server localhost/127.0.0.1:11240.
  441. 2019-11-19 14:27:05,211 [myid:127.0.0.1:11240] - INFO  [main-SendThread(127.0.0.1:11240):ClientCnxn$SendThread@1149] - SASL config status: Will not attempt to authenticate using SASL (unknown error)
  442. 2019-11-19 14:27:05,211 [myid:127.0.0.1:11240] - INFO  [main-SendThread(127.0.0.1:11240):ClientCnxn$SendThread@979] - Socket connection established, initiating session, client: /127.0.0.1:55620, server: localhost/127.0.0.1:11240
  443. 2019-11-19 14:27:05,212 [myid:0] - WARN  [NIOWorkerThread-1:NIOServerCnxn@372] - Close of session 0x0
  444. java.io.IOException: ZooKeeperServer not running
  445.     at org.apache.zookeeper.server.NIOServerCnxn.readLength(NIOServerCnxn.java:543)
  446.     at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:331)
  447.     at org.apache.zookeeper.server.NIOServerCnxnFactory$IOWorkRequest.doWork(NIOServerCnxnFactory.java:522)
  448.     at org.apache.zookeeper.server.WorkerService$ScheduledWorkRequest.run(WorkerService.java:154)
  449.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  450.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  451.     at java.lang.Thread.run(Thread.java:748)
  452. 2019-11-19 14:27:05,213 [myid:127.0.0.1:11240] - WARN  [main-SendThread(127.0.0.1:11240):ClientCnxn$SendThread@1265] - Session 0x0 for sever localhost/127.0.0.1:11240, Closing socket connection. Attempting reconnect except it is a SessionExpiredException.
  453. EndOfStreamException: Unable to read additional data from server sessionid 0x0, likely server has closed socket
  454.     at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:75)
  455.     at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:348)
  456.     at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1255)
  457. 2019-11-19 14:27:05,269 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):QuorumPeer@795] - Peer state changed: leading
  458. 2019-11-19 14:27:05,270 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):QuorumPeer@795] - Peer state changed: following
  459. 2019-11-19 14:27:05,270 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):QuorumPeer@1405] - LEADING
  460. 2019-11-19 14:27:05,270 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):QuorumPeer@1393] - FOLLOWING
  461. 2019-11-19 14:27:05,270 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):ZooKeeperServer@1227] - minSessionTimeout set to 8000
  462. 2019-11-19 14:27:05,270 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):ZooKeeperServer@1236] - maxSessionTimeout set to 80000
  463. 2019-11-19 14:27:05,270 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):ZooKeeperServer@1227] - minSessionTimeout set to 8000
  464. 2019-11-19 14:27:05,270 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):ZooKeeperServer@1236] - maxSessionTimeout set to 80000
  465. 2019-11-19 14:27:05,270 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):ResponseCache@45] - Response cache size is initialized with value 400.
  466. 2019-11-19 14:27:05,270 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):ResponseCache@45] - Response cache size is initialized with value 400.
  467. 2019-11-19 14:27:05,271 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):ResponseCache@45] - Response cache size is initialized with value 400.
  468. 2019-11-19 14:27:05,271 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):ResponseCache@45] - Response cache size is initialized with value 400.
  469. 2019-11-19 14:27:05,271 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):RequestPathMetricsCollector@111] - zookeeper.pathStats.slotCapacity = 60
  470. 2019-11-19 14:27:05,280 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):RequestPathMetricsCollector@112] - zookeeper.pathStats.slotDuration = 15
  471. 2019-11-19 14:27:05,280 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):RequestPathMetricsCollector@113] - zookeeper.pathStats.maxDepth = 6
  472. 2019-11-19 14:27:05,280 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):RequestPathMetricsCollector@114] - zookeeper.pathStats.initialDelay = 5
  473. 2019-11-19 14:27:05,280 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):RequestPathMetricsCollector@115] - zookeeper.pathStats.delay = 5
  474. 2019-11-19 14:27:05,280 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):RequestPathMetricsCollector@111] - zookeeper.pathStats.slotCapacity = 60
  475. 2019-11-19 14:27:05,280 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):RequestPathMetricsCollector@112] - zookeeper.pathStats.slotDuration = 15
  476. 2019-11-19 14:27:05,280 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):RequestPathMetricsCollector@113] - zookeeper.pathStats.maxDepth = 6
  477. 2019-11-19 14:27:05,281 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):RequestPathMetricsCollector@114] - zookeeper.pathStats.initialDelay = 5
  478. 2019-11-19 14:27:05,281 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):RequestPathMetricsCollector@115] - zookeeper.pathStats.delay = 5
  479. 2019-11-19 14:27:05,281 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):RequestPathMetricsCollector@116] - zookeeper.pathStats.enabled = false
  480. 2019-11-19 14:27:05,280 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):RequestPathMetricsCollector@116] - zookeeper.pathStats.enabled = false
  481. 2019-11-19 14:27:05,281 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):ZooKeeperServer@1451] - The max bytes for all large requests are set to 104857600
  482. 2019-11-19 14:27:05,281 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):ZooKeeperServer@1465] - The large request threshold is set to -1
  483. 2019-11-19 14:27:05,281 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):ZooKeeperServer@327] - Created server with tickTime 4000 minSessionTimeout 8000 maxSessionTimeout 80000 clientPortListenBacklog -1 datadir /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test7185670737178265403.junit.dir/data/version-2 snapdir /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test7185670737178265403.junit.dir/data/version-2
  484. 2019-11-19 14:27:05,281 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):Follower@73] - FOLLOWING - LEADER ELECTION TOOK - 226 MS
  485. 2019-11-19 14:27:05,281 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):ZooKeeperServer@1451] - The max bytes for all large requests are set to 104857600
  486. 2019-11-19 14:27:05,282 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):ZooKeeperServer@1465] - The large request threshold is set to -1
  487. 2019-11-19 14:27:05,282 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):ZooKeeperServer@327] - Created server with tickTime 4000 minSessionTimeout 8000 maxSessionTimeout 80000 clientPortListenBacklog -1 datadir /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test5775196615222067468.junit.dir/data/version-2 snapdir /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test5775196615222067468.junit.dir/data/version-2
  488. 2019-11-19 14:27:05,282 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):QuorumPeer@801] - Peer state changed: following - discovery
  489. 2019-11-19 14:27:05,283 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):Leader@517] - LEADING - LEADER ELECTION TOOK - 227 MS
  490. 2019-11-19 14:27:05,283 [myid:1] - WARN  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):MBeanRegistry@110] - Failed to register MBean Leader
  491. 2019-11-19 14:27:05,283 [myid:1] - WARN  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):LeaderZooKeeperServer@233] - Failed to register with JMX
  492. javax.management.InstanceAlreadyExistsException: org.apache.ZooKeeperService:name0=Leader
  493.     at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
  494.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
  495.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
  496.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
  497.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
  498.     at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
  499.     at org.apache.zookeeper.jmx.MBeanRegistry.register(MBeanRegistry.java:106)
  500.     at org.apache.zookeeper.server.quorum.LeaderZooKeeperServer.registerJMX(LeaderZooKeeperServer.java:231)
  501.     at org.apache.zookeeper.server.quorum.Leader.lead(Leader.java:521)
  502.     at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1408)
  503. 2019-11-19 14:27:05,284 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):QuorumPeer@801] - Peer state changed: leading - discovery
  504. 2019-11-19 14:27:05,284 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):FileTxnSnapLog@451] - Snapshotting: 0x200000006 to /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test5775196615222067468.junit.dir/data/version-2/snapshot.200000006
  505. 2019-11-19 14:27:05,299 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):ZooKeeperServer@517] - Snapshot taken in 15 ms
  506. 2019-11-19 14:27:05,302 [myid:1] - INFO  [LearnerHandler-/127.0.0.1:42918:LearnerHandler@513] - Follower sid: 0 : info : 127.0.0.1:11242:11243:participant;0.0.0.0:11240
  507. 2019-11-19 14:27:05,333 [myid:0] - INFO  [WorkerSender[myid=0]:FastLeaderElection$Messenger$WorkerSender@492] - WorkerSender is down
  508. 2019-11-19 14:27:05,337 [myid:1] - INFO  [WorkerSender[myid=1]:FastLeaderElection$Messenger$WorkerSender@492] - WorkerSender is down
  509. 2019-11-19 14:27:05,341 [myid:1] - INFO  [WorkerReceiver[myid=1]:FastLeaderElection$Messenger$WorkerReceiver@458] - WorkerReceiver is down
  510. 2019-11-19 14:27:05,342 [myid:0] - INFO  [WorkerReceiver[myid=0]:FastLeaderElection$Messenger$WorkerReceiver@458] - WorkerReceiver is down
  511. 2019-11-19 14:27:05,376 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):QuorumPeer@801] - Peer state changed: following - synchronization
  512. 2019-11-19 14:27:05,376 [myid:1] - INFO  [LearnerHandler-/127.0.0.1:42918:ZKDatabase@342] - On disk txn sync enabled with snapshotSizeFactor 0.33
  513. 2019-11-19 14:27:05,376 [myid:1] - INFO  [LearnerHandler-/127.0.0.1:42918:LearnerHandler@809] - Synchronizing with Learner sid: 0 maxCommittedLog=0x200000006 minCommittedLog=0x100000001 lastProcessedZxid=0x200000006 peerLastZxid=0x200000006
  514. 2019-11-19 14:27:05,377 [myid:1] - INFO  [LearnerHandler-/127.0.0.1:42918:LearnerHandler@854] - Sending DIFF zxid=0x200000006 for peer sid: 0
  515. 2019-11-19 14:27:05,379 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):Learner@425] - Getting a diff from the leader 0x200000006
  516. 2019-11-19 14:27:05,379 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):QuorumPeer@806] - Peer state changed: following - synchronization - diff
  517. 2019-11-19 14:27:05,380 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):Learner@584] - Learner received NEWLEADER message
  518. 2019-11-19 14:27:05,410 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):QuorumPeer@801] - Peer state changed: leading - synchronization
  519. 2019-11-19 14:27:05,447 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):Leader@1428] - Have quorum of supporters, sids: [[0, 1],[0, 1]]; starting up and setting last processed zxid: 0x300000000
  520. 2019-11-19 14:27:05,448 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):CommitProcessor@475] - Configuring CommitProcessor with readBatchSize -1 commitBatchSize 1
  521. 2019-11-19 14:27:05,448 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):CommitProcessor@437] - Configuring CommitProcessor with 16 worker threads.
  522. 2019-11-19 14:27:05,449 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):ContainerManager@67] - Using checkIntervalMs=60000 maxPerMinute=10000
  523. 2019-11-19 14:27:05,450 [myid:1] - INFO  [QuorumPeer[myid=1](plain=[0:0:0:0:0:0:0:0]:11244)(secure=disabled):QuorumPeer@801] - Peer state changed: leading - broadcast
  524. 2019-11-19 14:27:05,450 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):Learner@568] - Learner received UPTODATE message
  525. 2019-11-19 14:27:05,450 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):QuorumPeer@806] - Peer state changed: following - synchronization
  526. 2019-11-19 14:27:05,450 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):CommitProcessor@475] - Configuring CommitProcessor with readBatchSize -1 commitBatchSize 1
  527. 2019-11-19 14:27:05,450 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):CommitProcessor@437] - Configuring CommitProcessor with 16 worker threads.
  528. 2019-11-19 14:27:05,452 [myid:0] - INFO  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):QuorumPeer@801] - Peer state changed: following - broadcast
  529. 2019-11-19 14:27:06,996 [myid:127.0.0.1:11244] - INFO  [main-SendThread(127.0.0.1:11244):ClientCnxn$SendThread@1147] - Opening socket connection to server localhost/127.0.0.1:11244.
  530. 2019-11-19 14:27:06,996 [myid:127.0.0.1:11244] - INFO  [main-SendThread(127.0.0.1:11244):ClientCnxn$SendThread@1149] - SASL config status: Will not attempt to authenticate using SASL (unknown error)
  531. 2019-11-19 14:27:06,997 [myid:127.0.0.1:11244] - INFO  [main-SendThread(127.0.0.1:11244):ClientCnxn$SendThread@979] - Socket connection established, initiating session, client: /127.0.0.1:46294, server: localhost/127.0.0.1:11244
  532. 2019-11-19 14:27:07,000 [myid:127.0.0.1:11244] - INFO  [main-SendThread(127.0.0.1:11244):ClientCnxn$SendThread@1413] - Session establishment complete on server localhost/127.0.0.1:11244, session id = 0x10087ade7a00000, negotiated timeout = 30000
  533. 2019-11-19 14:27:07,300 [myid:127.0.0.1:11240] - INFO  [main-SendThread(127.0.0.1:11240):ClientCnxn$SendThread@1147] - Opening socket connection to server localhost/127.0.0.1:11240.
  534. 2019-11-19 14:27:07,300 [myid:127.0.0.1:11240] - INFO  [main-SendThread(127.0.0.1:11240):ClientCnxn$SendThread@1149] - SASL config status: Will not attempt to authenticate using SASL (unknown error)
  535. 2019-11-19 14:27:07,300 [myid:127.0.0.1:11240] - INFO  [main-SendThread(127.0.0.1:11240):ClientCnxn$SendThread@979] - Socket connection established, initiating session, client: /127.0.0.1:55734, server: localhost/127.0.0.1:11240
  536. 2019-11-19 14:27:07,304 [myid:1] - INFO  [SyncThread:1:FileTxnLog@276] - Creating new log file: log.300000001
  537. 2019-11-19 14:27:07,304 [myid:0] - WARN  [QuorumPeer[myid=0](plain=[0:0:0:0:0:0:0:0]:11240)(secure=disabled):Follower@166] - Got zxid 0x300000001 expected 0x1
  538. 2019-11-19 14:27:07,305 [myid:0] - INFO  [SyncThread:0:FileTxnLog@276] - Creating new log file: log.300000001
  539. 2019-11-19 14:27:07,344 [myid:1] - INFO  [CommitProcessor:1:LeaderSessionTracker@104] - Committing global session 0x87ae099a0000
  540. 2019-11-19 14:27:07,344 [myid:0] - INFO  [CommitProcessor:0:LearnerSessionTracker@116] - Committing global session 0x87ae099a0000
  541. 2019-11-19 14:27:07,346 [myid:127.0.0.1:11240] - INFO  [main-SendThread(127.0.0.1:11240):ClientCnxn$SendThread@1413] - Session establishment complete on server localhost/127.0.0.1:11240, session id = 0x87ae099a0000, negotiated timeout = 30000
  542. 2019-11-19 14:27:07,713 [myid:1] - INFO  [RequestThrottler:QuorumZooKeeperServer@155] - Submitting global closeSession request for session 0x10087ade7a00000
  543. 2019-11-19 14:27:07,773 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):Leader@728] - Shutting down
  544. 2019-11-19 14:27:07,773 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):Leader@734] - Shutdown called. For the reason Not sufficient followers synced, only synced with sids: [ [2],[2] ]
  545. 2019-11-19 14:27:07,774 [myid:2] - WARN  [LearnerCnxAcceptor-/127.0.0.1:11248:Leader$LearnerCnxAcceptor@447] - exception while shutting down acceptor.
  546. java.net.SocketException: Socket closed
  547.     at java.net.PlainSocketImpl.socketAccept(Native Method)
  548.     at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
  549.     at java.net.ServerSocket.implAccept(ServerSocket.java:545)
  550.     at java.net.ServerSocket.accept(ServerSocket.java:513)
  551.     at org.apache.zookeeper.server.quorum.Leader$LearnerCnxAcceptor.run(Leader.java:434)
  552. 2019-11-19 14:27:07,774 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):ZooKeeperServer@782] - shutting down
  553. 2019-11-19 14:27:07,775 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):RequestThrottler@243] - Shutting down
  554. 2019-11-19 14:27:07,775 [myid:127.0.0.1:11247] - WARN  [main-SendThread(127.0.0.1:11247):ClientCnxn$SendThread@1265] - Session 0x20087ade7f80000 for sever localhost/127.0.0.1:11247, Closing socket connection. Attempting reconnect except it is a SessionExpiredException.
  555. EndOfStreamException: Unable to read additional data from server sessionid 0x20087ade7f80000, likely server has closed socket
  556.     at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:75)
  557.     at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:348)
  558.     at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1255)
  559. 2019-11-19 14:27:07,775 [myid:2] - INFO  [RequestThrottler:RequestThrottler@204] - Draining request throttler queue
  560. 2019-11-19 14:27:07,776 [myid:2] - INFO  [RequestThrottler:RequestThrottler@180] - RequestThrottler shutdown. Dropped 0 requests
  561. 2019-11-19 14:27:07,776 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):SessionTrackerImpl@247] - Shutting down
  562. 2019-11-19 14:27:07,776 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):LeaderRequestProcessor@79] - Shutting down
  563. 2019-11-19 14:27:07,776 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):PrepRequestProcessor@953] - Shutting down
  564. 2019-11-19 14:27:07,776 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):ProposalRequestProcessor@87] - Shutting down
  565. 2019-11-19 14:27:07,776 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):CommitProcessor@616] - Shutting down
  566. 2019-11-19 14:27:07,776 [myid:2] - INFO  [ProcessThread(sid:2 cport:-1)::PrepRequestProcessor@147] - PrepRequestProcessor exited loop!
  567. 2019-11-19 14:27:07,777 [myid:2] - INFO  [CommitProcessor:2:CommitProcessor@405] - CommitProcessor exited loop!
  568. 2019-11-19 14:27:07,777 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):Leader$ToBeAppliedRequestProcessor@1033] - Shutting down
  569. 2019-11-19 14:27:07,778 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):FinalRequestProcessor@661] - shutdown of request processor complete
  570. 2019-11-19 14:27:07,778 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):SyncRequestProcessor@256] - Shutting down
  571. 2019-11-19 14:27:07,778 [myid:2] - INFO  [SyncThread:2:SyncRequestProcessor@225] - SyncRequestProcessor exited!
  572. 2019-11-19 14:27:07,779 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):QuorumPeer@801] - Peer state changed: looking
  573. 2019-11-19 14:27:07,779 [myid:2] - WARN  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):QuorumPeer@1441] - PeerState set to LOOKING
  574. 2019-11-19 14:27:07,779 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):QuorumPeer@1311] - LOOKING
  575. 2019-11-19 14:27:07,779 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):FastLeaderElection@931] - New election. My id = 2, proposed zxid=0x200000006
  576. 2019-11-19 14:27:07,780 [myid:2] - INFO  [WorkerReceiver[myid=2]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:2, n.state:LOOKING, n.leader:2, n.round:0x2, n.peerEpoch:0x2, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  577. 2019-11-19 14:27:07,780 [myid:1] - INFO  [WorkerReceiver[myid=1]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LEADING; n.sid:2, n.state:LOOKING, n.leader:2, n.round:0x2, n.peerEpoch:0x2, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  578. 2019-11-19 14:27:07,780 [myid:0] - INFO  [WorkerReceiver[myid=0]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:FOLLOWING; n.sid:2, n.state:LOOKING, n.leader:2, n.round:0x2, n.peerEpoch:0x2, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  579. 2019-11-19 14:27:07,780 [myid:2] - INFO  [WorkerReceiver[myid=2]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:1, n.state:LEADING, n.leader:1, n.round:0x1, n.peerEpoch:0x3, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  580. 2019-11-19 14:27:07,781 [myid:2] - INFO  [WorkerReceiver[myid=2]:FastLeaderElection$Messenger$WorkerReceiver@376] - Notification: my state:LOOKING; n.sid:0, n.state:FOLLOWING, n.leader:1, n.round:0x1, n.peerEpoch:0x3, n.zxid:0x200000006, message format version:0x2, n.config version:0x0
  581. 2019-11-19 14:27:07,781 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):QuorumPeer@795] - Peer state changed: following
  582. 2019-11-19 14:27:07,781 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):QuorumPeer@1393] - FOLLOWING
  583. 2019-11-19 14:27:07,781 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):ZooKeeperServer@1227] - minSessionTimeout set to 8000
  584. 2019-11-19 14:27:07,781 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):ZooKeeperServer@1236] - maxSessionTimeout set to 80000
  585. 2019-11-19 14:27:07,781 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):ResponseCache@45] - Response cache size is initialized with value 400.
  586. 2019-11-19 14:27:07,781 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):ResponseCache@45] - Response cache size is initialized with value 400.
  587. 2019-11-19 14:27:07,782 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):RequestPathMetricsCollector@111] - zookeeper.pathStats.slotCapacity = 60
  588. 2019-11-19 14:27:07,782 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):RequestPathMetricsCollector@112] - zookeeper.pathStats.slotDuration = 15
  589. 2019-11-19 14:27:07,782 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):RequestPathMetricsCollector@113] - zookeeper.pathStats.maxDepth = 6
  590. 2019-11-19 14:27:07,782 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):RequestPathMetricsCollector@114] - zookeeper.pathStats.initialDelay = 5
  591. 2019-11-19 14:27:07,782 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):RequestPathMetricsCollector@115] - zookeeper.pathStats.delay = 5
  592. 2019-11-19 14:27:07,782 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):RequestPathMetricsCollector@116] - zookeeper.pathStats.enabled = false
  593. 2019-11-19 14:27:07,782 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):ZooKeeperServer@1451] - The max bytes for all large requests are set to 104857600
  594. 2019-11-19 14:27:07,783 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):ZooKeeperServer@1465] - The large request threshold is set to -1
  595. 2019-11-19 14:27:07,783 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):ZooKeeperServer@327] - Created server with tickTime 10000 minSessionTimeout 8000 maxSessionTimeout 80000 clientPortListenBacklog -1 datadir /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test7718048186666350364.junit.dir/data/version-2 snapdir /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build-maven/zookeeper-server/target/surefire/test7718048186666350364.junit.dir/data/version-2
  596. 2019-11-19 14:27:07,783 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):Follower@73] - FOLLOWING - LEADER ELECTION TOOK - 3 MS
  597. 2019-11-19 14:27:07,783 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):QuorumPeer@801] - Peer state changed: following - discovery
  598. 2019-11-19 14:27:07,784 [myid:1] - INFO  [LearnerHandler-/127.0.0.1:43068:LearnerHandler@513] - Follower sid: 2 : info : 127.0.0.1:11248:11249:participant;0.0.0.0:11247
  599. 2019-11-19 14:27:07,824 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):QuorumPeer@801] - Peer state changed: following - synchronization
  600. 2019-11-19 14:27:07,824 [myid:1] - INFO  [LearnerHandler-/127.0.0.1:43068:ZKDatabase@342] - On disk txn sync enabled with snapshotSizeFactor 0.33
  601. 2019-11-19 14:27:07,824 [myid:1] - INFO  [LearnerHandler-/127.0.0.1:43068:LearnerHandler@809] - Synchronizing with Learner sid: 2 maxCommittedLog=0x300000002 minCommittedLog=0x100000001 lastProcessedZxid=0x300000002 peerLastZxid=0x200000006
  602. 2019-11-19 14:27:07,824 [myid:1] - INFO  [LearnerHandler-/127.0.0.1:43068:LearnerHandler@873] - Using committedLog for peer sid: 2
  603. 2019-11-19 14:27:07,824 [myid:1] - INFO  [LearnerHandler-/127.0.0.1:43068:LearnerHandler@981] - Sending DIFF zxid=0x300000002  for peer sid: 2
  604. 2019-11-19 14:27:07,826 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):Learner@425] - Getting a diff from the leader 0x300000002
  605. 2019-11-19 14:27:07,826 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):QuorumPeer@806] - Peer state changed: following - synchronization - diff
  606. 2019-11-19 14:27:07,827 [myid:2] - WARN  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):Learner@489] - Got zxid 0x300000001 expected 0x1
  607. 2019-11-19 14:27:07,827 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):Learner@584] - Learner received NEWLEADER message
  608. 2019-11-19 14:27:07,830 [myid:] - INFO  [main:ZooKeeper@1618] - Session: 0x10087ade7a00000 closed
  609. 2019-11-19 14:27:07,830 [myid:] - INFO  [main-EventThread:ClientCnxn$EventThread@556] - EventThread shut down for session: 0x10087ade7a00000
  610. 2019-11-19 14:27:07,830 [myid:] - INFO  [main:ZooKeeper@1005] - Initiating client connection, connectString=127.0.0.1:11244 sessionTimeout=30000 watcher=org.apache.zookeeper.server.quorum.QuorumPeerMainTest@90f6bfd
  611. 2019-11-19 14:27:07,831 [myid:] - INFO  [main:ClientCnxnSocket@239] - jute.maxbuffer value is 1048575 Bytes
  612. 2019-11-19 14:27:07,831 [myid:] - INFO  [main:ClientCnxn@1696] - zookeeper.request.timeout value is 0. feature enabled=false
  613. 2019-11-19 14:27:07,832 [myid:127.0.0.1:11244] - INFO  [main-SendThread(127.0.0.1:11244):ClientCnxn$SendThread@1147] - Opening socket connection to server localhost/127.0.0.1:11244.
  614. 2019-11-19 14:27:07,832 [myid:127.0.0.1:11244] - INFO  [main-SendThread(127.0.0.1:11244):ClientCnxn$SendThread@1149] - SASL config status: Will not attempt to authenticate using SASL (unknown error)
  615. 2019-11-19 14:27:07,833 [myid:127.0.0.1:11244] - INFO  [main-SendThread(127.0.0.1:11244):ClientCnxn$SendThread@979] - Socket connection established, initiating session, client: /127.0.0.1:46354, server: localhost/127.0.0.1:11244
  616. 2019-11-19 14:27:07,860 [myid:1] - INFO  [CommitProcessor:1:LeaderSessionTracker@104] - Committing global session 0x10087ae09de0000
  617. 2019-11-19 14:27:07,860 [myid:0] - INFO  [CommitProcessor:0:LearnerSessionTracker@116] - Committing global session 0x10087ae09de0000
  618. 2019-11-19 14:27:07,861 [myid:127.0.0.1:11244] - INFO  [main-SendThread(127.0.0.1:11244):ClientCnxn$SendThread@1413] - Session establishment complete on server localhost/127.0.0.1:11244, session id = 0x10087ae09de0000, negotiated timeout = 30000
  619. 2019-11-19 14:27:07,933 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):Learner@568] - Learner received UPTODATE message
  620. 2019-11-19 14:27:07,933 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):QuorumPeer@806] - Peer state changed: following - synchronization
  621. 2019-11-19 14:27:07,933 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):CommitProcessor@475] - Configuring CommitProcessor with readBatchSize -1 commitBatchSize 1
  622. 2019-11-19 14:27:07,933 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):CommitProcessor@437] - Configuring CommitProcessor with 16 worker threads.
  623. 2019-11-19 14:27:07,935 [myid:2] - INFO  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):QuorumPeer@801] - Peer state changed: following - broadcast
  624. 2019-11-19 14:27:07,935 [myid:2] - INFO  [CommitProcessor:2:LearnerSessionTracker@116] - Committing global session 0x87ae099a0000
  625. 2019-11-19 14:27:07,937 [myid:2] - INFO  [CommitProcessor:2:LearnerSessionTracker@116] - Committing global session 0x10087ae09de0000
  626. 2019-11-19 14:27:09,580 [myid:127.0.0.1:11247] - INFO  [main-SendThread(127.0.0.1:11247):ClientCnxn$SendThread@1147] - Opening socket connection to server localhost/127.0.0.1:11247.
  627. 2019-11-19 14:27:09,581 [myid:127.0.0.1:11247] - INFO  [main-SendThread(127.0.0.1:11247):ClientCnxn$SendThread@1149] - SASL config status: Will not attempt to authenticate using SASL (unknown error)
  628. 2019-11-19 14:27:09,581 [myid:127.0.0.1:11247] - INFO  [main-SendThread(127.0.0.1:11247):ClientCnxn$SendThread@979] - Socket connection established, initiating session, client: /127.0.0.1:57618, server: localhost/127.0.0.1:11247
  629. 2019-11-19 14:27:09,582 [myid:2] - INFO  [NIOWorkerThread-8:Learner@127] - Revalidating client: 0x20087ade7f80000
  630. 2019-11-19 14:27:09,584 [myid:127.0.0.1:11247] - INFO  [main-SendThread(127.0.0.1:11247):ClientCnxn$SendThread@1413] - Session establishment complete on server localhost/127.0.0.1:11247, session id = 0x20087ade7f80000, negotiated timeout = 30000
  631. 2019-11-19 14:27:09,591 [myid:2] - WARN  [QuorumPeer[myid=2](plain=[0:0:0:0:0:0:0:0]:11247)(secure=disabled):Follower@166] - Got zxid 0x300000004 expected 0x1
  632. 2019-11-19 14:27:09,606 [myid:] - WARN  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@105] - TEST METHOD FAILED testFailedTxnAsPartOfQuorumLoss
  633. java.lang.AssertionError: create /zk2 should have failed
  634.     at org.junit.Assert.fail(Assert.java:88)
  635.     at org.apache.zookeeper.server.quorum.QuorumPeerMainTest.testFailedTxnAsPartOfQuorumLoss(QuorumPeerMainTest.java:822)
  636.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  637.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  638.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  639.     at java.lang.reflect.Method.invoke(Method.java:498)
  640.     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  641.     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  642.     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  643.     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  644.     at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:86)
  645.     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  646.     at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
  647.     at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  648.     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
  649.     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
  650.     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
  651.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  652.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  653.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  654.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  655.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  656.     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  657.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  658.     at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
  659.     at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
  660.     at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
  661.     at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
  662.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
  663.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
  664.     at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
  665.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
  666. 2019-11-19 14:27:09,607 [myid:] - ERROR [main:ZKTestCase$1@95] - FAILED testFailedTxnAsPartOfQuorumLoss
  667. java.lang.AssertionError: create /zk2 should have failed
  668.     at org.junit.Assert.fail(Assert.java:88)
  669.     at org.apache.zookeeper.server.quorum.QuorumPeerMainTest.testFailedTxnAsPartOfQuorumLoss(QuorumPeerMainTest.java:822)
  670.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  671.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  672.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  673.     at java.lang.reflect.Method.invoke(Method.java:498)
  674.     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  675.     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  676.     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  677.     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  678.     at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:86)
  679.     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  680.     at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
  681.     at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  682.     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
  683.     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
  684.     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
  685.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  686.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  687.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  688.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  689.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  690.     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  691.     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  692.     at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
  693.     at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
  694.     at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
  695.     at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
  696.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
  697.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
  698.     at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
  699.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
  700. 2019-11-19 14:27:09,607 [myid:] - INFO  [main:ZKTestCase$1@85] - FINISHED testFailedTxnAsPartOfQuorumLoss
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top