[JBoss JIRA] (ISPN-5150) Eager near cache tests randomly failing
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-5150?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-5150:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 7.1.0.Final
Resolution: Done
> Eager near cache tests randomly failing
> ---------------------------------------
>
> Key: ISPN-5150
> URL: https://issues.jboss.org/browse/ISPN-5150
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 7.1.0.Beta1
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Labels: testsuite_stability
> Fix For: 7.1.0.CR1, 7.1.0.Final
>
> Attachments: LazyNearCacheTest_pr_galderz_t_5130_20150115.log
>
>
> expectNearGetValue() failing randomly in eager near cache tests randomly, e..g
> http://ci.infinispan.org/viewLog.html?buildId=22924&buildTypeId=bt9&tab=b...
> {code}
> java.lang.AssertionError: expected:<v1> but was:<null>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88)
> at org.infinispan.client.hotrod.near.AssertsNearCache.assertGetKeyValue(AssertsNearCache.java:168)
> at org.infinispan.client.hotrod.near.AssertsNearCache.expectNearGetValue(AssertsNearCache.java:85)
> at org.infinispan.client.hotrod.near.EagerNearCacheTest.testGetNearCache(EagerNearCacheTest.java:37)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}
> In this case, the tests afterwards fail with:
> {code}
> java.lang.AssertionError: [org.infinispan.client.hotrod.near.MockNearCacheService$MockPutIfAbsentEvent{key=1, value=VersionedValueImpl{version=1, value=v1}}] expected:<0> but was:<1>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245)
> at org.infinispan.client.hotrod.near.AssertsNearCache.expectNoNearEvents(AssertsNearCache.java:71)
> at org.infinispan.client.hotrod.near.EagerNearCacheTest.testGetUpdatesNearCache(EagerNearCacheTest.java:59)
> {code}
> We also see a similar failure in ClusterEagerNearCacheTest
> http://ci.infinispan.org/viewLog.html?buildId=22966&tab=buildResultsDiv&b...
> {code}
> java.lang.AssertionError: expected:<v1> but was:<null>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88)
> at org.infinispan.client.hotrod.near.AssertsNearCache.assertGetKeyValue(AssertsNearCache.java:168)
> at org.infinispan.client.hotrod.near.AssertsNearCache.expectNearGetValue(AssertsNearCache.java:85)
> at org.infinispan.client.hotrod.near.ClusterEagerNearCacheTest.expectNearCacheUpdates(ClusterEagerNearCacheTest.java:65)
> at org.infinispan.client.hotrod.near.ClusterEagerNearCacheTest.testNearCacheUpdatesSeenByAllClients(ClusterEagerNearCacheTest.java:58)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (ISPN-5065) Test org.infinispan.test.integration.as.HotRodClientIT.testCacheManager fails
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-5065?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-5065:
-----------------------------------------------
Martin Gencur <mgencur(a)redhat.com> changed the Status of [bug 1172109|https://bugzilla.redhat.com/show_bug.cgi?id=1172109] from NEW to CLOSED
> Test org.infinispan.test.integration.as.HotRodClientIT.testCacheManager fails
> -----------------------------------------------------------------------------
>
> Key: ISPN-5065
> URL: https://issues.jboss.org/browse/ISPN-5065
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Reporter: Vojtech Juranek
> Assignee: Martin Gencur
>
> Test {{org.infinispan.test.integration.as.HotRodClientIT.testCacheManager}} fails on JDK6 with
> {{java.lang.NoClassDefFoundError: org/infinispan/client/hotrod/configuration/Configuration}}:
> {noformat}
> Caused by: java.lang.ClassNotFoundException: org.infinispan.client.hotrod.configuration.Configuration from [Module "deployment.remote-client.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.4.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.4.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.4.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.4.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.4.Final-redhat-1]
> ... 55 more
> {noformat}
> for full stack trace see [this Jenkins job|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FUNC/j...]
> On JDK7 fails with {{Could not fetch transport}}:
> {noformat}
> org.infinispan.client.hotrod.exceptions.TransportException: Could not fetch transport
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
> at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:117)
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.<init>(TcpTransport.java:67)
> at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:36)
> at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:16)
> at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220)
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.borrowTransportFromPool(TcpTransportFactory.java:356)
> at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.getTransport(TcpTransportFactory.java:213)
> at org.infinispan.client.hotrod.impl.operations.FaultTolerantPingOperation.getTransport(FaultTolerantPingOperation.java:27)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:49)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.ping(RemoteCacheImpl.java:573)
> at org.infinispan.client.hotrod.RemoteCacheManager.ping(RemoteCacheManager.java:650)
> at org.infinispan.client.hotrod.RemoteCacheManager.createRemoteCache(RemoteCacheManager.java:631)
> at org.infinispan.client.hotrod.RemoteCacheManager.getCache(RemoteCacheManager.java:549)
> at org.infinispan.client.hotrod.RemoteCacheManager.getCache(RemoteCacheManager.java:544)
> at org.infinispan.test.integration.as.HotRodClientIT.testCacheManager(HotRodClientIT.java:42)
> {noformat}
> see e.g. [this Jenkins job|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FUNC/j...]
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (ISPN-4726) Compatibility mode: modules
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-4726?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-4726:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Assignee: Ion Savin
Fix Version/s: 7.2.0.CR1
Resolution: Done
> Compatibility mode: modules
> ---------------------------
>
> Key: ISPN-4726
> URL: https://issues.jboss.org/browse/ISPN-4726
> Project: Infinispan
> Issue Type: Bug
> Components: Documentation-Servers
> Affects Versions: 7.0.0.Beta1
> Reporter: Radim Vansa
> Assignee: Ion Savin
> Fix For: 7.2.0.CR1
>
>
> I've tried to run the server in compatibility mode, but haven't included the JAR with class uploaded by HotRod client - and boom, I got ClassNotFoundExceptions.
> To resolve this, I've modified modules.xml for infinispan-commons and added the JAR with my classes there, but I don't think this is a correct solution - nor creating a new module and adding this as dependency to infinispan-commons. IMO I am using Infinispan as service, therefore, I should not put application classes as dependencies into modules.
> The recommended approach is not described neither in User Guide nor Server Guide - these specify just the configuration option.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months