[JBoss JIRA] (ISPN-12255) spring-boot-starter tests do not run
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12255?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-12255:
--------------------------------
Status: Open (was: New)
> spring-boot-starter tests do not run
> ------------------------------------
>
> Key: ISPN-12255
> URL: https://issues.redhat.com/browse/ISPN-12255
> Project: Infinispan
> Issue Type: Bug
> Components: Spring Integration, Test Suite
> Affects Versions: 12.0.0.Dev02
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 12.0.0.Dev03
>
>
> The tests fail to start because log4j2 logging is redirected to slf4j and slf4j is redirected back to log4j2:
> {noformat}
> [ERROR] test.infinispan.autoconfigure.CacheManagerTest Time elapsed: 0.316 s <<< ERROR!
> java.lang.ExceptionInInitializerError
> at org.junit.jupiter.engine.execution.ExtensionValuesStore.lambda$getOrComputeIfAbsent$0(ExtensionValuesStore.java:81)
> at org.junit.jupiter.engine.execution.ExtensionValuesStore$MemoizingSupplier.get(ExtensionValuesStore.java:182)
> at org.junit.jupiter.engine.execution.ExtensionValuesStore.getOrComputeIfAbsent(ExtensionValuesStore.java:84)
> at org.junit.jupiter.engine.execution.ExtensionValuesStore.getOrComputeIfAbsent(ExtensionValuesStore.java:88)
> at org.junit.jupiter.engine.execution.NamespaceAwareStore.getOrComputeIfAbsent(NamespaceAwareStore.java:61)
> at org.springframework.test.context.junit.jupiter.SpringExtension.getTestContextManager(SpringExtension.java:213)
> at org.springframework.test.context.junit.jupiter.SpringExtension.beforeAll(SpringExtension.java:77)
> at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$7(ClassBasedTestDescriptor.java:359)
> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
> at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllCallbacks(ClassBasedTestDescriptor.java:359)
> ...
> Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-to-slf4j
> at org.apache.logging.slf4j.Log4jLoggerFactory.validateContext(Log4jLoggerFactory.java:49)
> at org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:39)
> at org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:30)
> at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:54)
> at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:30)
> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)
> at org.apache.commons.logging.LogAdapter$Slf4jAdapter.createLocationAwareLog(LogAdapter.java:130)
> at org.apache.commons.logging.LogAdapter.createLog(LogAdapter.java:91)
> at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:67)
> at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:59)
> at org.springframework.test.context.TestContextManager.<clinit>(TestContextManager.java:92)
> {noformat}
> The failure is hidden in Jenkins with surefire 3.0.0-M4 (Maven only says that the 0 tests ran), but appears (without any description) after the upgrade to 3.0.0-M5.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (ISPN-12255) spring-boot-starter tests do not run
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12255?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-12255:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/8651
> spring-boot-starter tests do not run
> ------------------------------------
>
> Key: ISPN-12255
> URL: https://issues.redhat.com/browse/ISPN-12255
> Project: Infinispan
> Issue Type: Bug
> Components: Spring Integration, Test Suite
> Affects Versions: 12.0.0.Dev02
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 12.0.0.Dev03
>
>
> The tests fail to start because log4j2 logging is redirected to slf4j and slf4j is redirected back to log4j2:
> {noformat}
> [ERROR] test.infinispan.autoconfigure.CacheManagerTest Time elapsed: 0.316 s <<< ERROR!
> java.lang.ExceptionInInitializerError
> at org.junit.jupiter.engine.execution.ExtensionValuesStore.lambda$getOrComputeIfAbsent$0(ExtensionValuesStore.java:81)
> at org.junit.jupiter.engine.execution.ExtensionValuesStore$MemoizingSupplier.get(ExtensionValuesStore.java:182)
> at org.junit.jupiter.engine.execution.ExtensionValuesStore.getOrComputeIfAbsent(ExtensionValuesStore.java:84)
> at org.junit.jupiter.engine.execution.ExtensionValuesStore.getOrComputeIfAbsent(ExtensionValuesStore.java:88)
> at org.junit.jupiter.engine.execution.NamespaceAwareStore.getOrComputeIfAbsent(NamespaceAwareStore.java:61)
> at org.springframework.test.context.junit.jupiter.SpringExtension.getTestContextManager(SpringExtension.java:213)
> at org.springframework.test.context.junit.jupiter.SpringExtension.beforeAll(SpringExtension.java:77)
> at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$7(ClassBasedTestDescriptor.java:359)
> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
> at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllCallbacks(ClassBasedTestDescriptor.java:359)
> ...
> Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-to-slf4j
> at org.apache.logging.slf4j.Log4jLoggerFactory.validateContext(Log4jLoggerFactory.java:49)
> at org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:39)
> at org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:30)
> at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:54)
> at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:30)
> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)
> at org.apache.commons.logging.LogAdapter$Slf4jAdapter.createLocationAwareLog(LogAdapter.java:130)
> at org.apache.commons.logging.LogAdapter.createLog(LogAdapter.java:91)
> at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:67)
> at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:59)
> at org.springframework.test.context.TestContextManager.<clinit>(TestContextManager.java:92)
> {noformat}
> The failure is hidden in Jenkins with surefire 3.0.0-M4 (Maven only says that the 0 tests ran), but appears (without any description) after the upgrade to 3.0.0-M5.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (ISPN-12257) RemoteSpringSessionTest.testCreatingSessionWhenUsingREST always fails
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12257?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-12257:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/8650
> RemoteSpringSessionTest.testCreatingSessionWhenUsingREST always fails
> ---------------------------------------------------------------------
>
> Key: ISPN-12257
> URL: https://issues.redhat.com/browse/ISPN-12257
> Project: Infinispan
> Issue Type: Bug
> Components: Spring Integration, Test Suite
> Affects Versions: 12.0.0.Dev02
> Reporter: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 12.0.0.Dev03
>
>
> The Spring Boot session references a `java.util.Collections$UnmodifiableList`, which is not in the default allow list.
> {noformat}
> org.infinispan.commons.CacheListenerException: ISPN004035: Caught exception [java.lang.reflect.InvocationTargetException] while invoking method [public void org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge.processCacheEntryCreated(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent)] on listener instance: org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge@2d06db91
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher$ClientListenerInvocation.invoke(ClientEventDispatcher.java:156) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher.invokeCallbacks(ClientEventDispatcher.java:120) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher.invokeEvent(ClientEventDispatcher.java:102) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher.invokeEvent(ClientEventDispatcher.java:31) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.impl.ClientListenerNotifier.invokeEvent(ClientListenerNotifier.java:197) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.invokeEvent(HeaderDecoder.java:198) [infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.decode(HeaderDecoder.java:167) [infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> Caused by: java.lang.reflect.InvocationTargetException
> 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:564) ~[?:?]
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher$ClientListenerInvocation.invoke(ClientEventDispatcher.java:154) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> ...
> Caused by: org.infinispan.client.hotrod.exceptions.HotRodClientException: ISPN004034: Unable to unmarshall bytes ACED0005737200266F7[...]
> at org.infinispan.client.hotrod.marshall.MarshallerUtil.bytes2obj(MarshallerUtil.java:72) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.DataFormat.valueToObj(DataFormat.java:108) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge.readEvent(RemoteApplicationPublishedBridge.java:77) ~[infinispan-spring5-remote-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge.processCacheEntryCreated(RemoteApplicationPublishedBridge.java:52) ~[infinispan-spring5-remote-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
> ...
> Caused by: org.infinispan.commons.CacheException: ISPN000936: Class 'java.util.Collections$UnmodifiableList' blocked by deserialization allow list. Adjust the configuration serialization allow list regular expression to include this class.
> at org.infinispan.commons.marshall.CheckedInputStream.resolveClass(CheckedInputStream.java:25) ~[infinispan-commons-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> ...
> at java.util.HashMap.readObject(HashMap.java:1551) ~[?:?]
> 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:564) ~[?:?]
> at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1216) ~[?:?]
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2359) ~[?:?]
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2193) ~[?:?]
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1685) ~[?:?]
> at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2498) ~[?:?]
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2392) ~[?:?]
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2193) ~[?:?]
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1685) ~[?:?]
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:499) ~[?:?]
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:457) ~[?:?]
> at org.infinispan.commons.marshall.JavaSerializationMarshaller.objectFromByteBuffer(JavaSerializationMarshaller.java:53) ~[infinispan-commons-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.commons.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:82) ~[infinispan-commons-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.marshall.MarshallerUtil.bytes2obj(MarshallerUtil.java:56) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> ...
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (ISPN-12257) RemoteSpringSessionTest.testCreatingSessionWhenUsingREST always fails
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12257?page=com.atlassian.jira.plugi... ]
Dan Berindei commented on ISPN-12257:
-------------------------------------
ISPN-12070 replaced "whitelist" with "allowlist", but {{AbstractRemoteCacheManagerFactory.initializeMarshallingProperties()}} ignores the new property name.
> RemoteSpringSessionTest.testCreatingSessionWhenUsingREST always fails
> ---------------------------------------------------------------------
>
> Key: ISPN-12257
> URL: https://issues.redhat.com/browse/ISPN-12257
> Project: Infinispan
> Issue Type: Bug
> Components: Spring Integration, Test Suite
> Affects Versions: 12.0.0.Dev02
> Reporter: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 12.0.0.Dev03
>
>
> The Spring Boot session references a `java.util.Collections$UnmodifiableList`, which is not in the default allow list.
> {noformat}
> org.infinispan.commons.CacheListenerException: ISPN004035: Caught exception [java.lang.reflect.InvocationTargetException] while invoking method [public void org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge.processCacheEntryCreated(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent)] on listener instance: org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge@2d06db91
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher$ClientListenerInvocation.invoke(ClientEventDispatcher.java:156) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher.invokeCallbacks(ClientEventDispatcher.java:120) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher.invokeEvent(ClientEventDispatcher.java:102) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher.invokeEvent(ClientEventDispatcher.java:31) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.impl.ClientListenerNotifier.invokeEvent(ClientListenerNotifier.java:197) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.invokeEvent(HeaderDecoder.java:198) [infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.decode(HeaderDecoder.java:167) [infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> Caused by: java.lang.reflect.InvocationTargetException
> 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:564) ~[?:?]
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher$ClientListenerInvocation.invoke(ClientEventDispatcher.java:154) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> ...
> Caused by: org.infinispan.client.hotrod.exceptions.HotRodClientException: ISPN004034: Unable to unmarshall bytes ACED0005737200266F7[...]
> at org.infinispan.client.hotrod.marshall.MarshallerUtil.bytes2obj(MarshallerUtil.java:72) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.DataFormat.valueToObj(DataFormat.java:108) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge.readEvent(RemoteApplicationPublishedBridge.java:77) ~[infinispan-spring5-remote-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge.processCacheEntryCreated(RemoteApplicationPublishedBridge.java:52) ~[infinispan-spring5-remote-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
> ...
> Caused by: org.infinispan.commons.CacheException: ISPN000936: Class 'java.util.Collections$UnmodifiableList' blocked by deserialization allow list. Adjust the configuration serialization allow list regular expression to include this class.
> at org.infinispan.commons.marshall.CheckedInputStream.resolveClass(CheckedInputStream.java:25) ~[infinispan-commons-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> ...
> at java.util.HashMap.readObject(HashMap.java:1551) ~[?:?]
> 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:564) ~[?:?]
> at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1216) ~[?:?]
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2359) ~[?:?]
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2193) ~[?:?]
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1685) ~[?:?]
> at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2498) ~[?:?]
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2392) ~[?:?]
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2193) ~[?:?]
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1685) ~[?:?]
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:499) ~[?:?]
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:457) ~[?:?]
> at org.infinispan.commons.marshall.JavaSerializationMarshaller.objectFromByteBuffer(JavaSerializationMarshaller.java:53) ~[infinispan-commons-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.commons.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:82) ~[infinispan-commons-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.marshall.MarshallerUtil.bytes2obj(MarshallerUtil.java:56) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> ...
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (ISPN-12257) RemoteSpringSessionTest.testCreatingSessionWhenUsingREST always fails
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-12257?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-12257:
--------------------------------
Status: Open (was: New)
> RemoteSpringSessionTest.testCreatingSessionWhenUsingREST always fails
> ---------------------------------------------------------------------
>
> Key: ISPN-12257
> URL: https://issues.redhat.com/browse/ISPN-12257
> Project: Infinispan
> Issue Type: Bug
> Components: Spring Integration, Test Suite
> Affects Versions: 12.0.0.Dev02
> Reporter: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 12.0.0.Dev03
>
>
> The Spring Boot session references a `java.util.Collections$UnmodifiableList`, which is not in the default allow list.
> {noformat}
> org.infinispan.commons.CacheListenerException: ISPN004035: Caught exception [java.lang.reflect.InvocationTargetException] while invoking method [public void org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge.processCacheEntryCreated(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent)] on listener instance: org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge@2d06db91
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher$ClientListenerInvocation.invoke(ClientEventDispatcher.java:156) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher.invokeCallbacks(ClientEventDispatcher.java:120) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher.invokeEvent(ClientEventDispatcher.java:102) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher.invokeEvent(ClientEventDispatcher.java:31) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.event.impl.ClientListenerNotifier.invokeEvent(ClientListenerNotifier.java:197) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.invokeEvent(HeaderDecoder.java:198) [infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.decode(HeaderDecoder.java:167) [infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> Caused by: java.lang.reflect.InvocationTargetException
> 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:564) ~[?:?]
> at org.infinispan.client.hotrod.event.impl.ClientEventDispatcher$ClientListenerInvocation.invoke(ClientEventDispatcher.java:154) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> ...
> Caused by: org.infinispan.client.hotrod.exceptions.HotRodClientException: ISPN004034: Unable to unmarshall bytes ACED0005737200266F7[...]
> at org.infinispan.client.hotrod.marshall.MarshallerUtil.bytes2obj(MarshallerUtil.java:72) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.DataFormat.valueToObj(DataFormat.java:108) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge.readEvent(RemoteApplicationPublishedBridge.java:77) ~[infinispan-spring5-remote-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge.processCacheEntryCreated(RemoteApplicationPublishedBridge.java:52) ~[infinispan-spring5-remote-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
> ...
> Caused by: org.infinispan.commons.CacheException: ISPN000936: Class 'java.util.Collections$UnmodifiableList' blocked by deserialization allow list. Adjust the configuration serialization allow list regular expression to include this class.
> at org.infinispan.commons.marshall.CheckedInputStream.resolveClass(CheckedInputStream.java:25) ~[infinispan-commons-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> ...
> at java.util.HashMap.readObject(HashMap.java:1551) ~[?:?]
> 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:564) ~[?:?]
> at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1216) ~[?:?]
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2359) ~[?:?]
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2193) ~[?:?]
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1685) ~[?:?]
> at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2498) ~[?:?]
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2392) ~[?:?]
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2193) ~[?:?]
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1685) ~[?:?]
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:499) ~[?:?]
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:457) ~[?:?]
> at org.infinispan.commons.marshall.JavaSerializationMarshaller.objectFromByteBuffer(JavaSerializationMarshaller.java:53) ~[infinispan-commons-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.commons.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:82) ~[infinispan-commons-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.marshall.MarshallerUtil.bytes2obj(MarshallerUtil.java:56) ~[infinispan-client-hotrod-12.0.0-SNAPSHOT.jar:12.0.0-SNAPSHOT]
> ...
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (ISPN-11950) Create a new module called server-integration module into integrationtests module
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11950?page=com.atlassian.jira.plugi... ]
Ryan Emerson resolved ISPN-11950.
---------------------------------
Fix Version/s: 12.0.0.Dev03
Resolution: Done
> Create a new module called server-integration module into integrationtests module
> ---------------------------------------------------------------------------------
>
> Key: ISPN-11950
> URL: https://issues.redhat.com/browse/ISPN-11950
> Project: Infinispan
> Issue Type: Enhancement
> Components: Test Suite
> Affects Versions: 11.0.0.Dev05
> Reporter: Gustavo Lira e Silva
> Assignee: Gustavo Lira e Silva
> Priority: Major
> Labels: qe-task
> Fix For: 12.0.0.Dev03
>
>
> As a QE I would like to create new tests and modules into {{integrationtests}} module.
> We need a new module to run infinispan server, we will use this module as parent for some other modules.
> The structure will be like:
> {noformat}
> integrationtests/server-integration (new module)
> integrationtests/server-integration/wildfly-modules (will be moved to here)
> integrationtests/server-integration/backward-compatibility
> integrationtests/server-integration/third-party-servers
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (ISPN-12258) Operator Docs: Creating xsite caches
by Donald Naro (Jira)
Donald Naro created ISPN-12258:
----------------------------------
Summary: Operator Docs: Creating xsite caches
Key: ISPN-12258
URL: https://issues.redhat.com/browse/ISPN-12258
Project: Infinispan
Issue Type: Enhancement
Components: Documentation
Reporter: Donald Naro
Assignee: Donald Naro
If the OpenShift service CA is available then the Operator enables encryption by default.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months