[JBoss JIRA] (ISPN-12256) InfinispanServerExtensionContainerTest fails to start
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12256?page=com.atlassian.jira.plugi... ]
Katia Aresti closed ISPN-12256.
-------------------------------
> InfinispanServerExtensionContainerTest fails to start
> -----------------------------------------------------
>
> Key: ISPN-12256
> URL: https://issues.redhat.com/browse/ISPN-12256
> Project: Infinispan
> Issue Type: Bug
> Components: Server, 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 server fails to start with {{ISPN080028: Infinispan Server failed to start org.infinispan.commons.CacheConfigurationException: ISPN000540: No such JGroups stack 'test-udp'}}, and the test times out after 45 seconds.
> 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)
3 years, 9 months
[JBoss JIRA] (ISPN-12280) Failfast if lsof is not present in unix
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12280?page=com.atlassian.jira.plugi... ]
Katia Aresti closed ISPN-12280.
-------------------------------
> Failfast if lsof is not present in unix
> ---------------------------------------
>
> Key: ISPN-12280
> URL: https://issues.redhat.com/browse/ISPN-12280
> Project: Infinispan
> Issue Type: Enhancement
> Components: Test Suite
> Affects Versions: 12.0.0.Dev02
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
> Fix For: 12.0.0.Dev03
>
>
> Some tests require lsof be present in order to work properly
> Example:
> {noformat}
> 13:24:51.246 [INFO] Infinispan JCACHE (JSR-107) TCK Runner Remote ...... SUCCESS [05:58 min]
> 13:24:51.246 [INFO] Server Integration ................................. SUCCESS [ 11.991 s]
> 13:24:51.246 [INFO] Integration tests - WildFly Module Integration Tests SUCCESS [ 58.984 s]
> {noformat}
> when not present
> {noformat}
> [ERROR] Errors:
> [ERROR] BaseHotRodQueryIT.testRemoteQuery ? HotRodClient org.infinispan.server.hotrod....
> [ERROR] BaseHotRodQueryIT.testUninverting ? HotRodClient org.infinispan.server.hotrod....
> [ERROR] HotRodClientIT.testCacheManager ? HotRodClient org.infinispan.server.hotrod.Ca...
> [ERROR] HotRodQueryIT.testRemoteQuery ? HotRodClient org.infinispan.server.hotrod.Cach...
> [ERROR] HotRodQueryIT.testUninverting ? HotRodClient org.infinispan.server.hotrod.Cach...
> [ERROR] InfinispanRemoteWithQueryIT.testRemoteQuery ? HotRodClient org.infinispan.serv...
> [ERROR] InfinispanRemoteWithQueryIT.testUninverting ? HotRodClient org.infinispan.serv...
> {noformat}
> It will take times to find out that the root cause is because lsof is missing
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 9 months
[JBoss JIRA] (ISPN-12251) HotRodClientJmxTest.testRemoteCacheManagerMBean fails on Java 14
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12251?page=com.atlassian.jira.plugi... ]
Katia Aresti closed ISPN-12251.
-------------------------------
> HotRodClientJmxTest.testRemoteCacheManagerMBean fails on Java 14
> ----------------------------------------------------------------
>
> Key: ISPN-12251
> URL: https://issues.redhat.com/browse/ISPN-12251
> Project: Infinispan
> Issue Type: Bug
> Components: Hot Rod, Test Suite
> Affects Versions: 12.0.0.Dev02
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 12.0.0.Dev03
>
>
> {{HotRodClientJmxTest.testRemoteCacheManagerMBean}} assumes that the result of {{InetSocketAddress.toString()}} for an unresolved address is in the format {{hostname:port}}. But the format changed in Java 14, and now the format is {{hostname/<unresolved>:port}}.
> {noformat}
> java.lang.AssertionError: expected:<localhost:37809> but was:<localhost/<unresolved>:37809>
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
> at org.infinispan.client.hotrod.HotRodClientJmxTest.testRemoteCacheManagerMBean(HotRodClientJmxTest.java:84)
> {noformat}
> It might be a good idea to change the JMX attribute to only return the hostname instead of changing the test.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 9 months
[JBoss JIRA] (ISPN-12257) RemoteSpringSessionTest.testCreatingSessionWhenUsingREST always fails
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12257?page=com.atlassian.jira.plugi... ]
Katia Aresti closed ISPN-12257.
-------------------------------
> 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
> Assignee: 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)
3 years, 9 months
[JBoss JIRA] (ISPN-12271) Allow different servers for server integration test suite
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12271?page=com.atlassian.jira.plugi... ]
Katia Aresti closed ISPN-12271.
-------------------------------
> Allow different servers for server integration test suite
> ---------------------------------------------------------
>
> Key: ISPN-12271
> URL: https://issues.redhat.com/browse/ISPN-12271
> Project: Infinispan
> Issue Type: Enhancement
> Components: Test Suite
> Affects Versions: 12.0.0.Dev02
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
> Fix For: 12.0.0.Dev03
>
>
> The current implementation is running the tests only with Wildfly.
> The goal is to reuse as many tests as we can and change the server before running the test.
> For example:
> * mvn clean verify -pl integrationtests/server-integration/third-party-server -s maven-settings.xml -Dinfinispan.server.integration.launch=tomcat -Dtomcat.zip=/path/to/apache-tomcat.zip
> * mvn clean verify -pl integrationtests/server-integration/third-party-server -s maven-settings.xml -Dinfinispan.server.integration.launch=wildfly
> * mvn clean verify -pl integrationtests/server-integration/wildfly-modules
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 9 months