[JBoss JIRA] (HRJS-30) Move testsuite server orchestration to a domain
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/HRJS-30?page=com.atlassian.jira.plugin.sy... ]
Galder Zamarreño updated HRJS-30:
---------------------------------
Fix Version/s: 0.4.0
> Move testsuite server orchestration to a domain
> -----------------------------------------------
>
> Key: HRJS-30
> URL: https://issues.jboss.org/browse/HRJS-30
> Project: Infinispan Javascript client
> Issue Type: Enhancement
> Affects Versions: 0.3.0
> Reporter: Galder Zamarreño
> Fix For: 0.4.0
>
>
> As more tests have been added to the Infinispan JS testsuite, the existing simple server orchestration script/environment are turning out to be a bit painful to deal with.
> On one hand, Haskell's {{stack}} can be sometimes difficult to install in some envs, e.g. Ubuntu. I've also seen issues with Turtle library used in Haskell and copying contents inside symbolic links in Red Hat Linux.
> On top of that, as security and cross-site tests were added, more configurations were added and more servers need to be added, making it track the configs a bit more confusing.
> Finally, the methods used to start/stop servers in self-contained tests, e.g. xsite and cluster failover, a little bit clunky.
> So, with this in mind, we thought of using more suitable orchestration techniques for Infinispan servers. We considered docker compose and kubernetes, but since the servers just simply need to run in a single machine and there's not a huge need to have clean environments, we decided to use a single Infinispan server domain to orchestrate all servers.
> The advantages of domain is that is easy to start all servers with the right configuration very quickly, and start/stop servers from tests is very easy and quick compared with current approach. On top of that, having domain based orchestration will make it easy to port over the servers, their configs and script over to testsuites of other langs.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-7308) Kryo marshaller throws ArrayIndexOutOfBoundsException when storing String values
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-7308?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-7308:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Beta2
Resolution: Done
> Kryo marshaller throws ArrayIndexOutOfBoundsException when storing String values
> --------------------------------------------------------------------------------
>
> Key: ISPN-7308
> URL: https://issues.jboss.org/browse/ISPN-7308
> Project: Infinispan
> Issue Type: Bug
> Components: Marshalling
> Affects Versions: 9.0.0.Beta1
> Reporter: Roman Macor
> Assignee: Ryan Emerson
> Fix For: 9.0.0.Beta2
>
>
> Storing String values using Kryo marshaller sometimes throws Index out of bounds warning:
> WARN [org.radargun.stages.cache.test.LoadStage] (Loader-4) Attempt 1/10 to insert entry into cache failed, waiting 1000 ms before next attempt
> java.lang.ArrayIndexOutOfBoundsException: 64
> at com.esotericsoftware.kryo.util.IdentityObjectIntMap.putStash(IdentityObjectIntMap.java:310) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.util.IdentityObjectIntMap.push(IdentityObjectIntMap.java:298) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.util.IdentityObjectIntMap.put(IdentityObjectIntMap.java:161) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.util.MapReferenceResolver.addWrittenObject(MapReferenceResolver.java:41) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.Kryo.writeReferenceOrNull(Kryo.java:681) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:646) ~[kryo-4.0.0.jar:?]
> at org.infinispan.marshaller.kryo.KryoMarshaller.objectToBuffer(KryoMarshaller.java:58) ~[infinispan-marshaller-kryo-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.commons.marshall.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:70) ~[infinispan-commons-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.obj2bytes(RemoteCacheImpl.java:498) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:270) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.RemoteCacheSupport.put(RemoteCacheSupport.java:79) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.radargun.service.HotRodOperations$HotRodCache.put(HotRodOperations.java:83) ~[plugin-infinispan52-3.0.0-SNAPSHOT.jar:?]
> at org.radargun.stages.cache.test.LoadStage$NonTxLoader.loadDataUnit(LoadStage.java:275) [radargun-cache-3.0.0-SNAPSHOT.jar:?]
> at org.radargun.stages.test.LoadStage$Loader.run(LoadStage.java:125) [radargun-core-3.0.0-SNAPSHOT.jar:?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-7307) Byte array values are not marshalled correctly
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-7307?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-7307:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Beta2
Resolution: Done
> Byte array values are not marshalled correctly
> ----------------------------------------------
>
> Key: ISPN-7307
> URL: https://issues.jboss.org/browse/ISPN-7307
> Project: Infinispan
> Issue Type: Bug
> Components: Marshalling
> Affects Versions: 9.0.0.Beta1
> Reporter: Roman Macor
> Assignee: Ryan Emerson
> Fix For: 9.0.0.Beta2
>
> Attachments: marshallerReproducer.zip
>
>
> Marshalling byte array values results in error for Kryo and Protostuff marshaller and JBoss marshaller returns wrong value after storing and then retrieving byte array value.
> Please see the attached [reproducer|https://github.com/rmacor/jdg-qe/tree/reproducers/marshaller-b...]
> jboss Marshaller:
> expected:<[B@70f02c32> but was:<[B@1fa1cab1>
> Tests in error:
> Kryo marshaller:
> ISPN004034: Unable to unmarshall bytes 3d90a41b0aba45df87286a6473369e47385ca1e9ff20b6e8dde01261f70953546e61069f66f7a33fc7d85b3acf23ac19fe72
> Protostuff marshaller:
> ISPN004034: Unable to unmarshall bytes 49d5a211c1f77b2160a976258f8b3154f8364fd942b77e28affeae0d5e7a2d442cdac7dd0bfaecbc260793e43dc06447f1e4
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-7308) Kryo marshaller throws ArrayIndexOutOfBoundsException when storing String values
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-7308?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-7308:
-------------------------------
Status: Open (was: New)
> Kryo marshaller throws ArrayIndexOutOfBoundsException when storing String values
> --------------------------------------------------------------------------------
>
> Key: ISPN-7308
> URL: https://issues.jboss.org/browse/ISPN-7308
> Project: Infinispan
> Issue Type: Bug
> Components: Marshalling
> Affects Versions: 9.0.0.Beta1
> Reporter: Roman Macor
> Assignee: Ryan Emerson
> Fix For: 9.0.0.Beta2
>
>
> Storing String values using Kryo marshaller sometimes throws Index out of bounds warning:
> WARN [org.radargun.stages.cache.test.LoadStage] (Loader-4) Attempt 1/10 to insert entry into cache failed, waiting 1000 ms before next attempt
> java.lang.ArrayIndexOutOfBoundsException: 64
> at com.esotericsoftware.kryo.util.IdentityObjectIntMap.putStash(IdentityObjectIntMap.java:310) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.util.IdentityObjectIntMap.push(IdentityObjectIntMap.java:298) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.util.IdentityObjectIntMap.put(IdentityObjectIntMap.java:161) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.util.MapReferenceResolver.addWrittenObject(MapReferenceResolver.java:41) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.Kryo.writeReferenceOrNull(Kryo.java:681) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:646) ~[kryo-4.0.0.jar:?]
> at org.infinispan.marshaller.kryo.KryoMarshaller.objectToBuffer(KryoMarshaller.java:58) ~[infinispan-marshaller-kryo-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.commons.marshall.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:70) ~[infinispan-commons-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.obj2bytes(RemoteCacheImpl.java:498) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:270) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.RemoteCacheSupport.put(RemoteCacheSupport.java:79) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.radargun.service.HotRodOperations$HotRodCache.put(HotRodOperations.java:83) ~[plugin-infinispan52-3.0.0-SNAPSHOT.jar:?]
> at org.radargun.stages.cache.test.LoadStage$NonTxLoader.loadDataUnit(LoadStage.java:275) [radargun-cache-3.0.0-SNAPSHOT.jar:?]
> at org.radargun.stages.test.LoadStage$Loader.run(LoadStage.java:125) [radargun-core-3.0.0-SNAPSHOT.jar:?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-7308) Kryo marshaller throws ArrayIndexOutOfBoundsException when storing String values
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-7308?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-7308:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4730
> Kryo marshaller throws ArrayIndexOutOfBoundsException when storing String values
> --------------------------------------------------------------------------------
>
> Key: ISPN-7308
> URL: https://issues.jboss.org/browse/ISPN-7308
> Project: Infinispan
> Issue Type: Bug
> Components: Marshalling
> Affects Versions: 9.0.0.Beta1
> Reporter: Roman Macor
> Assignee: Ryan Emerson
> Fix For: 9.0.0.Beta2
>
>
> Storing String values using Kryo marshaller sometimes throws Index out of bounds warning:
> WARN [org.radargun.stages.cache.test.LoadStage] (Loader-4) Attempt 1/10 to insert entry into cache failed, waiting 1000 ms before next attempt
> java.lang.ArrayIndexOutOfBoundsException: 64
> at com.esotericsoftware.kryo.util.IdentityObjectIntMap.putStash(IdentityObjectIntMap.java:310) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.util.IdentityObjectIntMap.push(IdentityObjectIntMap.java:298) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.util.IdentityObjectIntMap.put(IdentityObjectIntMap.java:161) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.util.MapReferenceResolver.addWrittenObject(MapReferenceResolver.java:41) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.Kryo.writeReferenceOrNull(Kryo.java:681) ~[kryo-4.0.0.jar:?]
> at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:646) ~[kryo-4.0.0.jar:?]
> at org.infinispan.marshaller.kryo.KryoMarshaller.objectToBuffer(KryoMarshaller.java:58) ~[infinispan-marshaller-kryo-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.commons.marshall.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:70) ~[infinispan-commons-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.obj2bytes(RemoteCacheImpl.java:498) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:270) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.impl.RemoteCacheSupport.put(RemoteCacheSupport.java:79) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.radargun.service.HotRodOperations$HotRodCache.put(HotRodOperations.java:83) ~[plugin-infinispan52-3.0.0-SNAPSHOT.jar:?]
> at org.radargun.stages.cache.test.LoadStage$NonTxLoader.loadDataUnit(LoadStage.java:275) [radargun-cache-3.0.0-SNAPSHOT.jar:?]
> at org.radargun.stages.test.LoadStage$Loader.run(LoadStage.java:125) [radargun-core-3.0.0-SNAPSHOT.jar:?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months