[ https://issues.apache.org/jira/browse/GEODE-594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Smith updated GEODE-594: ---------------------------- Assignee: Bruce Schuchardt > CI Failure: BackwardCompatibilitySerializationDUnitTest.testAllMessages > ----------------------------------------------------------------------- > > Key: GEODE-594 > URL: https://issues.apache.org/jira/browse/GEODE-594 > Project: Geode > Issue Type: Bug > Reporter: Dan Smith > Assignee: Bruce Schuchardt > Labels: CI > > This test failed in CI after the GEODE-77 merge > Looking at the history, it looks like this class used to be a junit test. It > appears it wasn't designed to handle a previous test leaving a distributed > system around, because it just calls CacheFactory.create ... . The better > patterns to use would be to extend cache test case and use > CacheTestCase.getCache(CacheFactory) > {noformat} > ava.lang.IllegalStateException: A connection to a distributed system already > exists in this VM. It has the following configuration: > ack-severe-alert-threshold="0" > ack-wait-threshold="15" > archive-disk-space-limit="0" > archive-file-size-limit="0" > async-distribution-timeout="0" > async-max-queue-size="8" > async-queue-timeout="60000" > bind-address="" > cache-xml-file="cache.xml" > > cluster-configuration-dir="/angola1/users/build/jenkins/blds/workspace/Geode_develop_DistributedTests/gemfire-core/build/distributedTest" > cluster-ssl-ciphers="any" > cluster-ssl-enabled="false" > cluster-ssl-keystore="" > cluster-ssl-keystore-password="" > cluster-ssl-keystore-type="" > cluster-ssl-protocols="any" > cluster-ssl-require-authentication="true" > cluster-ssl-truststore="" > cluster-ssl-truststore-password="" > conflate-events="server" > conserve-sockets="true" > delta-propagation="true" > deploy-working-dir="." > disable-auto-reconnect="true" ***(wanted "false")*** > disable-tcp="false" > distributed-system-id="-1" > distributed-transactions="false" > durable-client-id="" > durable-client-timeout="300" > enable-cluster-configuration="false" ***(wanted "true")*** > enable-network-partition-detection="false" > enable-time-statistics="false" > enforce-unique-host="false" > gateway-ssl-ciphers="any" > gateway-ssl-enabled="false" > gateway-ssl-keystore="" > gateway-ssl-keystore-password="" > gateway-ssl-keystore-type="" > gateway-ssl-protocols="any" > gateway-ssl-require-authentication="true" > gateway-ssl-truststore="" > gateway-ssl-truststore-password="" > groups="" > http-service-bind-address="" > http-service-port="7070" > http-service-ssl-ciphers="any" > http-service-ssl-enabled="false" > http-service-ssl-keystore="" > http-service-ssl-keystore-password="" > http-service-ssl-keystore-type="" > http-service-ssl-protocols="any" > http-service-ssl-require-authentication="false" > http-service-ssl-truststore="" > http-service-ssl-truststore-password="" > jmx-manager="false" > jmx-manager-access-file="" > jmx-manager-bind-address="" > jmx-manager-hostname-for-clients="" > jmx-manager-http-port="7070" > jmx-manager-password-file="" > jmx-manager-port="1099" > jmx-manager-ssl="false" > jmx-manager-ssl-ciphers="any" > jmx-manager-ssl-enabled="false" > jmx-manager-ssl-keystore="" > jmx-manager-ssl-keystore-password="" > jmx-manager-ssl-keystore-type="" > jmx-manager-ssl-protocols="any" > jmx-manager-ssl-require-authentication="true" > jmx-manager-ssl-truststore="" > jmx-manager-ssl-truststore-password="" > jmx-manager-start="false" > jmx-manager-update-rate="2000" > load-cluster-configuration-from-dir="false" > locator-wait-time="0" > locators="localhost[28147]" > lock-memory="false" > log-disk-space-limit="0" > log-file="" > log-file-size-limit="0" > log-level="info" ***(wanted "config")*** > max-num-reconnect-tries="3" > max-wait-time-reconnect="60000" > mcast-address="/239.192.81.1" > mcast-flow-control="1048576, 0.25, 5000" > mcast-port="0" > mcast-recv-buffer-size="1048576" > mcast-send-buffer-size="65535" > mcast-ttl="32" > member-timeout="5000" > membership-port-range="[1024,65535]" > memcached-bind-address="" > memcached-port="0" > memcached-protocol="ASCII" > name="" > off-heap-memory-size="" > redis-bind-address="" > redis-password="" > redis-port="0" > redundancy-zone="" > remote-locators="" > remove-unresponsive-client="false" > roles="" > security-="" > security-client-accessor="" > security-client-accessor-pp="" > security-client-auth-init="" > security-client-authenticator="" > security-client-dhalgo="" > security-log-file="" > security-log-level="config" > security-peer-auth-init="" > security-peer-authenticator="" > security-peer-verifymember-timeout="1000" > server-bind-address="" > server-ssl-ciphers="any" > server-ssl-enabled="false" > server-ssl-keystore="" > server-ssl-keystore-password="" > server-ssl-keystore-type="" > server-ssl-protocols="any" > server-ssl-require-authentication="true" > server-ssl-truststore="" > server-ssl-truststore-password="" > socket-buffer-size="32768" > socket-lease-time="60000" > ssl-ciphers="any" > ssl-enabled="false" > ssl-protocols="any" > ssl-require-authentication="true" > start-dev-rest-api="false" > start-locator="" > statistic-archive-file="" > statistic-sample-rate="1000" > statistic-sampling-enabled="true" > tcp-port="0" > udp-fragment-size="60000" > udp-recv-buffer-size="1048576" > udp-send-buffer-size="65535" > use-cluster-configuration="false" ***(wanted "true")*** > user-command-packages="" > at > com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.validateSameProperties(InternalDistributedSystem.java:2880) > at > com.gemstone.gemfire.distributed.DistributedSystem.connect(DistributedSystem.java:1627) > at com.gemstone.gemfire.cache.CacheFactory.create(CacheFactory.java:224) > at > com.gemstone.gemfire.internal.BackwardCompatibilitySerializationDUnitTest.testAllMessages(BackwardCompatibilitySerializationDUnitTest.java:209) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at junit.framework.TestCase.runTest(TestCase.java:176) > at junit.framework.TestCase.runBare(TestCase.java:141) > at junit.framework.TestResult$1.protect(TestResult.java:122) > at junit.framework.TestResult.runProtected(TestResult.java:142) > at junit.framework.TestResult.run(TestResult.java:125) > at junit.framework.TestCase.run(TestCase.java:129) > at junit.framework.TestSuite.runTest(TestSuite.java:252) > at junit.framework.TestSuite.run(TestSuite.java:247) > at > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86) > at > org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105) > at > org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56) > at > org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64) > at > org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50) > at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) > at > org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) > at > org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) > at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) > at > org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106) > at sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) > at > org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360) > at > org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54) > at > org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.Throwable: Creating distributed system with the > following configuration: > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)