-------------------------------------------------------------------------------
Test set: org.springframework.cloud.cluster.zk.leader.ZookeeperTests
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.639 sec <<< FAILURE! - in org.springframework.cloud.cluster.zk.leader.ZookeeperTests
testSimpleLeader(org.springframework.cloud.cluster.zk.leader.ZookeeperTests) Time elapsed: 6.605 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is <true>
but: was <false>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at org.springframework.cloud.cluster.zk.leader.ZookeeperTests.testSimpleLeader(ZookeeperTests.java:58)
14:19:55.194 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
14:19:55.197 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
14:19:55.197 [main] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
14:19:55.230 [main] INFO o.s.c.a.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@6cc4c815: startup date [Fri Oct 23 14:19:55 MDT 2015]; root of context hierarchy
14:19:55.231 [main] DEBUG o.s.c.a.AnnotationConfigApplicationContext - Bean factory for org.springframework.context.annotation.AnnotationConfigApplicationContext@6cc4c815: org.springframework.beans.factory.support.DefaultListableBeanFactory@103f852: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,zookeeperTests.ZkServerConfig,zookeeperTests.Config1]; root of factory hierarchy
14:19:55.238 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
14:19:55.238 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
14:19:55.247 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' to allow for resolving potential circular references
14:19:55.248 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
14:19:55.276 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.cloud.cluster.zk.leader.ZookeeperTests$ZkServerConfig.testingServerWrapper()
14:19:55.276 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.curatorClient()
14:19:55.277 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.initiator()
14:19:55.277 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.leaderEventPublisher()
14:19:55.278 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.testEventListener()
14:19:55.278 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.candidate()
14:19:55.332 [main] DEBUG o.s.c.a.ConfigurationClassEnhancer - Successfully enhanced org.springframework.cloud.cluster.zk.leader.ZookeeperTests$ZkServerConfig; enhanced class name is: org.springframework.cloud.cluster.zk.leader.ZookeeperTests$ZkServerConfig$$EnhancerBySpringCGLIB$$9a2e1e03
14:19:55.332 [main] DEBUG o.s.c.a.ConfigurationClassPostProcessor - Replacing bean definition 'zookeeperTests.ZkServerConfig' existing class name 'org.springframework.cloud.cluster.zk.leader.ZookeeperTests$ZkServerConfig' with enhanced class name 'org.springframework.cloud.cluster.zk.leader.ZookeeperTests$ZkServerConfig$$EnhancerBySpringCGLIB$$9a2e1e03'
14:19:55.335 [main] DEBUG o.s.c.a.ConfigurationClassEnhancer - Successfully enhanced org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1; enhanced class name is: org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1$$EnhancerBySpringCGLIB$$b2f2e576
14:19:55.335 [main] DEBUG o.s.c.a.ConfigurationClassPostProcessor - Replacing bean definition 'zookeeperTests.Config1' existing class name 'org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1' with enhanced class name 'org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1$$EnhancerBySpringCGLIB$$b2f2e576'
14:19:55.338 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
14:19:55.338 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
14:19:55.338 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' to allow for resolving potential circular references
14:19:55.338 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
14:19:55.338 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
14:19:55.338 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
14:19:55.339 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' to allow for resolving potential circular references
14:19:55.339 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
14:19:55.339 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
14:19:55.339 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
14:19:55.341 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' to allow for resolving potential circular references
14:19:55.341 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
14:19:55.341 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
14:19:55.341 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
14:19:55.342 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' to allow for resolving potential circular references
14:19:55.342 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
14:19:55.342 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
14:19:55.342 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
14:19:55.342 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor' to allow for resolving potential circular references
14:19:55.342 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
14:19:55.343 [main] DEBUG o.s.c.a.AnnotationConfigApplicationContext - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@3c419631]
14:19:55.344 [main] DEBUG o.s.c.a.AnnotationConfigApplicationContext - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@3e92efc3]
14:19:55.345 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@103f852: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,zookeeperTests.ZkServerConfig,zookeeperTests.Config1,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor,testingServerWrapper,curatorClient,initiator,leaderEventPublisher,testEventListener,candidate]; root of factory hierarchy
14:19:55.345 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
14:19:55.345 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
14:19:55.345 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
14:19:55.345 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
14:19:55.346 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerProcessor'
14:19:55.346 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.event.internalEventListenerProcessor'
14:19:55.349 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.event.internalEventListenerProcessor' to allow for resolving potential circular references
14:19:55.363 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.event.internalEventListenerProcessor'
14:19:55.364 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerFactory'
14:19:55.364 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.event.internalEventListenerFactory'
14:19:55.364 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.event.internalEventListenerFactory' to allow for resolving potential circular references
14:19:55.365 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.event.internalEventListenerFactory'
14:19:55.365 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'zookeeperTests.ZkServerConfig'
14:19:55.365 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'zookeeperTests.ZkServerConfig'
14:19:55.366 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'zookeeperTests.ZkServerConfig' to allow for resolving potential circular references
14:19:55.368 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'zookeeperTests.ZkServerConfig'
14:19:55.368 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'zookeeperTests.Config1'
14:19:55.368 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'zookeeperTests.Config1'
14:19:55.372 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1$$EnhancerBySpringCGLIB$$b2f2e576]: AutowiredFieldElement for org.springframework.cloud.cluster.zk.leader.ZookeeperTests$TestingServerWrapper org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.testingServerWrapper
14:19:55.372 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'zookeeperTests.Config1' to allow for resolving potential circular references
14:19:55.373 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'zookeeperTests.Config1': AutowiredFieldElement for org.springframework.cloud.cluster.zk.leader.ZookeeperTests$TestingServerWrapper org.springframework.cloud.cluster.zk.leader.ZookeeperTests$Config1.testingServerWrapper
14:19:55.377 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'testingServerWrapper'
14:19:55.377 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'testingServerWrapper'
14:19:55.377 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'zookeeperTests.ZkServerConfig'
14:19:55.478 [Thread-0] INFO o.a.z.server.ZooKeeperServerMain - Starting server
14:19:55.484 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:host.name=192.168.2.106
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:java.version=1.8.0_05
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:java.vendor=Oracle Corporation
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:java.class.path=/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-zookeeper/target/test-classes:/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-zookeeper/target/classes:/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-core/target/spring-cloud-cluster-core-1.0.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/spring-tx/4.2.2.RELEASE/spring-tx-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/spring-beans/4.2.2.RELEASE/spring-beans-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-starter/1.3.0.BUILD-SNAPSHOT/spring-boot-starter-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot/1.3.0.BUILD-SNAPSHOT/spring-boot-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/spring-context/4.2.2.RELEASE/spring-context-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/spring-aop/4.2.2.RELEASE/spring-aop-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/sgibb/.m2/repository/org/springframework/spring-expression/4.2.2.RELEASE/spring-expression-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.3.0.BUILD-SNAPSHOT/spring-boot-autoconfigure-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.3.0.BUILD-SNAPSHOT/spring-boot-starter-logging-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.jar:/Users/sgibb/.m2/repository/ch/qos/logback/logback-core/1.1.3/logback-core-1.1.3.jar:/Users/sgibb/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.12/jcl-over-slf4j-1.7.12.jar:/Users/sgibb/.m2/repository/org/slf4j/jul-to-slf4j/1.7.12/jul-to-slf4j-1.7.12.jar:/Users/sgibb/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.12/log4j-over-slf4j-1.7.12.jar:/Users/sgibb/.m2/repository/org/yaml/snakeyaml/1.16/snakeyaml-1.16.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-configuration-processor/1.3.0.BUILD-SNAPSHOT/spring-boot-configuration-processor-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/json/json/20140107/json-20140107.jar:/Users/sgibb/.m2/repository/org/springframework/spring-core/4.2.2.RELEASE/spring-core-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-recipes/2.8.0/curator-recipes-2.8.0.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-framework/2.8.0/curator-framework-2.8.0.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-client/2.8.0/curator-client-2.8.0.jar:/Users/sgibb/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar:/Users/sgibb/.m2/repository/org/slf4j/slf4j-api/1.7.12/slf4j-api-1.7.12.jar:/Users/sgibb/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/sgibb/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar:/Users/sgibb/.m2/repository/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar:/Users/sgibb/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-test/2.8.0/curator-test-2.8.0.jar:/Users/sgibb/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar:/Users/sgibb/.m2/repository/org/apache/commons/commons-math/2.2/commons-math-2.2.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-starter-test/1.3.0.BUILD-SNAPSHOT/spring-boot-starter-test-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/sgibb/.m2/repository/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar:/Users/sgibb/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar:/Users/sgibb/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/sgibb/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/sgibb/.m2/repository/org/springframework/spring-test/4.2.2.RELEASE/spring-test-4.2.2.RELEASE.jar:
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:java.library.path=/Users/sgibb/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:java.io.tmpdir=/var/folders/wm/dkjggksx54gdp5q182dp4_fc0000gp/T/
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:java.compiler=<NA>
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:os.name=Mac OS X
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:os.arch=x86_64
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:os.version=10.11.1
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:user.name=sgibb
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:user.home=/Users/sgibb
14:19:55.485 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - Server environment:user.dir=/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-zookeeper
14:19:55.487 [Thread-0] DEBUG o.a.z.s.persistence.FileTxnSnapLog - Opening datadir:/private/var/folders/wm/dkjggksx54gdp5q182dp4_fc0000gp/T/1445631595463-0 snapDir:/private/var/folders/wm/dkjggksx54gdp5q182dp4_fc0000gp/T/1445631595463-0
14:19:55.490 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - tickTime set to 3000
14:19:55.490 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - minSessionTimeout set to -1
14:19:55.490 [Thread-0] INFO o.a.zookeeper.server.ZooKeeperServer - maxSessionTimeout set to -1
14:19:55.502 [Thread-0] INFO o.a.z.server.NIOServerCnxnFactory - binding to port 0.0.0.0/0.0.0.0:64490
14:19:56.522 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'testingServerWrapper' to allow for resolving potential circular references
14:19:56.524 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'testingServerWrapper'
14:19:56.524 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'zookeeperTests.Config1' to bean named 'testingServerWrapper'
14:19:56.525 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'zookeeperTests.Config1'
14:19:56.525 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
14:19:56.525 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
14:19:56.525 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'testingServerWrapper'
14:19:56.525 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'curatorClient'
14:19:56.526 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'curatorClient'
14:19:56.526 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'zookeeperTests.Config1'
14:19:56.577 [main] INFO o.a.c.f.imps.CuratorFrameworkImpl - Starting
14:19:56.578 [main] DEBUG o.a.curator.CuratorZookeeperClient - Starting
14:19:56.578 [main] DEBUG org.apache.curator.ConnectionState - Starting
14:19:56.578 [main] DEBUG org.apache.curator.ConnectionState - reset
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:host.name=192.168.2.106
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.version=1.8.0_05
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Oracle Corporation
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.class.path=/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-zookeeper/target/test-classes:/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-zookeeper/target/classes:/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-core/target/spring-cloud-cluster-core-1.0.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/spring-tx/4.2.2.RELEASE/spring-tx-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/spring-beans/4.2.2.RELEASE/spring-beans-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-starter/1.3.0.BUILD-SNAPSHOT/spring-boot-starter-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot/1.3.0.BUILD-SNAPSHOT/spring-boot-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/spring-context/4.2.2.RELEASE/spring-context-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/spring-aop/4.2.2.RELEASE/spring-aop-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/sgibb/.m2/repository/org/springframework/spring-expression/4.2.2.RELEASE/spring-expression-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.3.0.BUILD-SNAPSHOT/spring-boot-autoconfigure-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-starter-logging/1.3.0.BUILD-SNAPSHOT/spring-boot-starter-logging-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.jar:/Users/sgibb/.m2/repository/ch/qos/logback/logback-core/1.1.3/logback-core-1.1.3.jar:/Users/sgibb/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.12/jcl-over-slf4j-1.7.12.jar:/Users/sgibb/.m2/repository/org/slf4j/jul-to-slf4j/1.7.12/jul-to-slf4j-1.7.12.jar:/Users/sgibb/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.12/log4j-over-slf4j-1.7.12.jar:/Users/sgibb/.m2/repository/org/yaml/snakeyaml/1.16/snakeyaml-1.16.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-configuration-processor/1.3.0.BUILD-SNAPSHOT/spring-boot-configuration-processor-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/org/json/json/20140107/json-20140107.jar:/Users/sgibb/.m2/repository/org/springframework/spring-core/4.2.2.RELEASE/spring-core-4.2.2.RELEASE.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-recipes/2.8.0/curator-recipes-2.8.0.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-framework/2.8.0/curator-framework-2.8.0.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-client/2.8.0/curator-client-2.8.0.jar:/Users/sgibb/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar:/Users/sgibb/.m2/repository/org/slf4j/slf4j-api/1.7.12/slf4j-api-1.7.12.jar:/Users/sgibb/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/sgibb/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar:/Users/sgibb/.m2/repository/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar:/Users/sgibb/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar:/Users/sgibb/.m2/repository/org/apache/curator/curator-test/2.8.0/curator-test-2.8.0.jar:/Users/sgibb/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar:/Users/sgibb/.m2/repository/org/apache/commons/commons-math/2.2/commons-math-2.2.jar:/Users/sgibb/.m2/repository/org/springframework/boot/spring-boot-starter-test/1.3.0.BUILD-SNAPSHOT/spring-boot-starter-test-1.3.0.BUILD-SNAPSHOT.jar:/Users/sgibb/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/sgibb/.m2/repository/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar:/Users/sgibb/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar:/Users/sgibb/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/sgibb/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/sgibb/.m2/repository/org/springframework/spring-test/4.2.2.RELEASE/spring-test-4.2.2.RELEASE.jar:
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.library.path=/Users/sgibb/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.io.tmpdir=/var/folders/wm/dkjggksx54gdp5q182dp4_fc0000gp/T/
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.compiler=<NA>
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:os.name=Mac OS X
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:os.arch=x86_64
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:os.version=10.11.1
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:user.name=sgibb
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:user.home=/Users/sgibb
14:19:56.581 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:user.dir=/Users/sgibb/workspace/spring/spring-cloud-cluster/spring-cloud-cluster-zookeeper
14:19:56.582 [main] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=localhost:64490 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@3f6b0be5
14:19:56.584 [main] DEBUG org.apache.zookeeper.ClientCnxn - zookeeper.disableAutoWatchReset is false
14:19:56.596 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'curatorClient' to allow for resolving potential circular references
14:19:56.598 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'curatorClient'
14:19:56.598 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'initiator'
14:19:56.599 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'initiator'
14:19:56.599 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'zookeeperTests.Config1'
14:19:56.600 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'curatorClient'
14:19:56.600 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'candidate'
14:19:56.600 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'candidate'
14:19:56.600 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'zookeeperTests.Config1'
14:19:56.607 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'candidate' to allow for resolving potential circular references
14:19:56.609 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'candidate'
14:19:56.609 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'leaderEventPublisher'
14:19:56.609 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'leaderEventPublisher'
14:19:56.609 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'zookeeperTests.Config1'
14:19:56.610 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'leaderEventPublisher' to allow for resolving potential circular references
14:19:56.611 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'leaderEventPublisher'
14:19:56.612 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'initiator' to allow for resolving potential circular references
14:19:56.613 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Invoking afterPropertiesSet() on bean with name 'initiator'
14:19:56.626 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'initiator'
14:19:56.626 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'leaderEventPublisher'
14:19:56.626 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'testEventListener'
14:19:56.626 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'testEventListener'
14:19:56.626 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'zookeeperTests.Config1'
14:19:56.627 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'testEventListener' to allow for resolving potential circular references
14:19:56.628 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'testEventListener'
14:19:56.628 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'candidate'
14:19:56.628 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.event.internalEventListenerFactory'
14:19:56.636 [main] DEBUG o.s.c.a.AnnotationConfigApplicationContext - Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@7a35b0f5]
14:19:56.636 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'initiator'
14:19:56.636 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'lifecycleProcessor'
14:19:56.638 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]
14:19:56.639 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]
14:19:56.639 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Could not find key 'spring.liveBeansView.mbeanDomain' in any property source. Returning [null]
14:19:56.640 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'candidate'
14:19:56.640 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'testEventListener'