Bill Burcham created GEODE-8345: ----------------------------------- Summary: log4j StackOverflowError in ClientAuthenticationDUnitTest.testNoCredentials[1.8.0] Key: GEODE-8345 URL: https://issues.apache.org/jira/browse/GEODE-8345 Project: Geode Issue Type: Bug Components: logging Reporter: Bill Burcham
This log4j bug affects Geode 1.8.0: https://issues.apache.org/jira/browse/LOG4J2-2134 When running: ClientAuthenticationDUnitTest.testNoCredentials[1.8.0] In Geode {{develop}} branch on July 7, 2020 (this will become version 1.14.0 eventually), we are testing against a Geode 1.8.0 client. The Geode 1.8.0 client is running with an older log4j that apparently does not have the fix for the bug mentioned above. I verified in my dev environment that the log4j version we're running on {{develop}} (2.13.1) does have the patch. Test failed in PR check (https://concourse.apachegeode-ci.info/builds/173563) with a StackOverflowError: {noformat} org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.test.dunit.IgnoredException$1.run in VM 3 running on Host 154b351908da with 4 VMs with version 1.8.0 at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:620) at org.apache.geode.test.dunit.VM.invoke(VM.java:447) at org.apache.geode.test.dunit.Invoke.invokeInEveryVM(Invoke.java:59) at org.apache.geode.test.dunit.Invoke.invokeInEveryVM(Invoke.java:48) at org.apache.geode.test.dunit.IgnoredException.addIgnoredException(IgnoredException.java:116) at org.apache.geode.test.dunit.IgnoredException.addIgnoredException(IgnoredException.java:86) at org.apache.geode.security.ClientAuthenticationTestCase.postSetUp(ClientAuthenticationTestCase.java:138) at org.apache.geode.test.dunit.internal.JUnit4DistributedTestCase.setUpDistributedTestCase(JUnit4DistributedTestCase.java:365) at jdk.internal.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62) at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:566) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) at org.gradle.internal.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:118) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:566) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:175) at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:157) at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) at java.lang.Thread.run(Thread.java:834) Caused by: java.lang.StackOverflowError at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.getActiveLoggerConfig(AwaitCompletionReliabilityStrategy.java:97) at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.getActiveLoggerConfig(AwaitCompletionReliabilityStrategy.java:97) ... {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)