Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-3 Support JDK 9 on Geode
  3. GEODE-5821

Authentication tests fail with client version 1.4: sun.misc.ObjectInputFilter is not available

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      ClientAuthDUnitTest. authWithCorrectPasswordShouldPass[140]
      ClientAuthDUnitTest. authWithIncorrectPasswordWithSubscriptionEnabled[140]
      ClientAuthDUnitTest. authWithIncorrectPasswordWithSubscriptionNotEnabled[140]
      ClientAuthenticationDUnitTest. testCredentialsForNotifications[140]
      ClientAuthenticationDUnitTest. testCredentialsWithFailover[140]
      ClientAuthenticationDUnitTest. testInvalidAuthInit[140]
      ClientAuthenticationDUnitTest. testInvalidCredentials[140]
      ClientAuthenticationDUnitTest. testNoAuthInitWithCredentials[140]
      ClientAuthenticationDUnitTest. testNoAuthenticatorWithCredentials[140]
      ClientAuthenticationDUnitTest. testNoCredentials[140]
      ClientAuthenticationDUnitTest. testValidCredentials[140]
      ClientAuthenticationPart2DUnitTest. testInvalidAuthInitForMultipleUsers[6]
      ClientAuthenticationPart2DUnitTest. testInvalidCredentialsForMultipleUsers[6]
      ClientAuthenticationPart2DUnitTest. testNoAuthInitWithCredentialsForMultipleUsers[6]
      ClientAuthenticationPart2DUnitTest. testNoAuthenticatorWithCredentialsForMultipleUsers[6]
      ClientAuthenticationPart2DUnitTest. testNoCredentialsForMultipleUsersCantRegisterMetadata[6]
      ClientAuthenticationPart2DUnitTest. testNoCredentialsForMultipleUsers[6]
      ClientAuthorizationLegacyConfigurationDUnitTest. everythingFailsWithInvalidAccessor[clientVersion=140]
      ClientAuthorizationLegacyConfigurationDUnitTest. everythingFailsWithInvalidAuthenticator[clientVersion=140]
      ClientDataAuthorizationUsingLegacySecurityDUnitTest. dataReadCannotPut[clientVersion=140]
      ClientDataAuthorizationUsingLegacySecurityDUnitTest. dataReadClientCanGet[clientVersion=140]
      ClientDataAuthorizationUsingLegacySecurityDUnitTest. dataWriteCannotGet[clientVersion=140]
      ClientDataAuthorizationUsingLegacySecurityDUnitTest. dataWriteClientCanPut[clientVersion=140]
      ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest. dataReaderCanRegisterAndUnregisterAcrossFailover[clientVersion=140]
      ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest. dataReaderCanStillOnlyReadAfterFailover[clientVersion=140]
      ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest. dataWriterCanStillOnlyWriteAfterFailover[clientVersion=140]
      ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest. dataWriterCannotRegisterInterestAcrossFailover[clientVersion=140]
      ClusterStartupRuleCanSpecifyOlderVersionsDUnitTest. clientVersioningTest[version=140]
      ClusterStartupRuleCanSpecifyOlderVersionsDUnitTest. locatorVersioningTest[version=140]
      ClusterStartupRuleCanSpecifyOlderVersionsDUnitTest. serverVersioningTest[version=140]
      ClusterStartupRuleCanSpecifyOlderVersionsDUnitTest. serverWithEmbeddedLocatorVersioningTest[version=140]

       

      org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.security.ClientAuthenticationTestCase$$Lambda$160/1869841081.run in VM 2 running on Host 08cf4958ddd8 with 4 VMs with version 140
      	at org.apache.geode.test.dunit.VM.invoke(VM.java:450)
      	at org.apache.geode.test.dunit.VM.invoke(VM.java:419)
      	at org.apache.geode.test.dunit.VM.invoke(VM.java:362)
      	at org.apache.geode.security.ClientAuthenticationTestCase.createClient1NoException(ClientAuthenticationTestCase.java:710)
      	at org.apache.geode.security.ClientAuthenticationTestCase.doTestCredentialsForNotifications(ClientAuthenticationTestCase.java:580)
      	at org.apache.geode.security.ClientAuthenticationDUnitTest.testCredentialsForNotifications(ClientAuthenticationDUnitTest.java:99)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      	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.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	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:106)
      	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:66)
      	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      	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:117)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      	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:155)
      	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137)
      	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.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
      	at java.base/java.lang.Thread.run(Thread.java:844)
      Caused by: org.apache.geode.GemFireConfigException: A serialization filter has been specified but this version of Java does not support serialization filters - sun.misc.ObjectInputFilter is not available
      	at org.apache.geode.internal.InternalDataSerializer.initialize(InternalDataSerializer.java:235)
      	at org.apache.geode.distributed.internal.InternalDistributedSystem.initialize(InternalDistributedSystem.java:683)
      	at org.apache.geode.distributed.internal.InternalDistributedSystem.newInstance(InternalDistributedSystem.java:333)
      	at org.apache.geode.distributed.internal.InternalDistributedSystem.newInstance(InternalDistributedSystem.java:319)
      	at org.apache.geode.distributed.internal.InternalDistributedSystem.newInstance(InternalDistributedSystem.java:313)
      	at org.apache.geode.distributed.DistributedSystem.connect(DistributedSystem.java:205)
      	at org.apache.geode.test.dunit.internal.JUnit4DistributedTestCase.getSystem(JUnit4DistributedTestCase.java:183)
      	at org.apache.geode.security.SecurityTestUtils.createSystem(SecurityTestUtils.java:1792)
      	at org.apache.geode.security.SecurityTestUtils.createCacheClient(SecurityTestUtils.java:345)
      	at org.apache.geode.security.ClientAuthenticationTestUtils.createCacheClient(ClientAuthenticationTestUtils.java:73)
      	at org.apache.geode.security.ClientAuthenticationTestUtils.createCacheClient(ClientAuthenticationTestUtils.java:108)
      	at org.apache.geode.security.ClientAuthenticationTestUtils.createCacheClient(ClientAuthenticationTestUtils.java:101)
      	at org.apache.geode.security.ClientAuthenticationTestCase.lambda$createClient1NoException$caf1ca5$1(ClientAuthenticationTestCase.java:710)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      	at hydra.MethExecutor.executeObject(MethExecutor.java:244)
      	at org.apache.geode.test.dunit.standalone.RemoteDUnitVM.executeMethodOnObject(RemoteDUnitVM.java:70)
      	at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      	at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:359)
      	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
      	at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
      	at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
      	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
      	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      	

      Attachments

        Issue Links

          Activity

            People

              jinmeiliao Jinmei Liao
              jinmeiliao Jinmei Liao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h