Return-Path: X-Original-To: apmail-geode-issues-archive@minotaur.apache.org Delivered-To: apmail-geode-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0760D18855 for ; Mon, 23 Nov 2015 19:58:13 +0000 (UTC) Received: (qmail 10828 invoked by uid 500); 23 Nov 2015 19:58:13 -0000 Delivered-To: apmail-geode-issues-archive@geode.apache.org Received: (qmail 10792 invoked by uid 500); 23 Nov 2015 19:58:12 -0000 Mailing-List: contact issues-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list issues@geode.incubator.apache.org Received: (qmail 10782 invoked by uid 99); 23 Nov 2015 19:58:12 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2015 19:58:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 72CC0C275E for ; Mon, 23 Nov 2015 19:58:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.392 X-Spam-Level: X-Spam-Status: No, score=0.392 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.588] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 8Cl_dDw55XRE for ; Mon, 23 Nov 2015 19:58:11 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 4E93C23060 for ; Mon, 23 Nov 2015 19:58:11 +0000 (UTC) Received: (qmail 9867 invoked by uid 99); 23 Nov 2015 19:58:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2015 19:58:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 01AA82C044E for ; Mon, 23 Nov 2015 19:58:11 +0000 (UTC) Date: Mon, 23 Nov 2015 19:58:11 +0000 (UTC) From: "Dan Smith (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (GEODE-594) CI Failure: BackwardCompatibilitySerializationDUnitTest.testAllMessages MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Dan Smith created GEODE-594: ------------------------------- Summary: CI Failure: BackwardCompatibilitySerializationDUnitTest.testAllMessages Key: GEODE-594 URL: https://issues.apache.org/jira/browse/GEODE-594 Project: Geode Issue Type: Bug Reporter: Dan Smith 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)