[JBoss JIRA] (ISPN-9274) Stabilize MetadataAPIDistTest.testGetCacheEntryNonOwner
by Diego Lovison (JIRA)
[ https://issues.jboss.org/browse/ISPN-9274?page=com.atlassian.jira.plugin.... ]
Diego Lovison updated ISPN-9274:
--------------------------------
Git Pull Request: (was: https://github.com/infinispan/infinispan/pull/4315)
> Stabilize MetadataAPIDistTest.testGetCacheEntryNonOwner
> -------------------------------------------------------
>
> Key: ISPN-9274
> URL: https://issues.jboss.org/browse/ISPN-9274
> Project: Infinispan
> Issue Type: Bug
> Reporter: Diego Lovison
> Assignee: Sebastian Łaskawiec
>
> http://ci.infinispan.org/viewLog.html?buildId=39366&tab=buildResultsDiv&b...
> {noformat}
> java.util.NoSuchElementException
> at java.util.ArrayList$Itr.next(ArrayList.java:854)
> at org.infinispan.distribution.DistributionTestHelper.getFirstNonOwner(DistributionTestHelper.java:122)
> at org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner(MetadataAPIDistTest.java:32)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> ------- Stdout: -------
> [TestSuiteProgress] Test starting: org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner
> [TestSuiteProgress] Test failed: org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner
> 13:34:05,295 ERROR (testng-MetadataAPIDistTest) [TestSuiteProgress] Test failed: org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner
> java.util.NoSuchElementException
> at java.util.ArrayList$Itr.next(ArrayList.java:854)
> at org.infinispan.distribution.DistributionTestHelper.getFirstNonOwner(DistributionTestHelper.java:122)
> at org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner(MetadataAPIDistTest.java:32)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)[TestSuiteProgress] Tests succeeded: 2018, failed: 2, skipped: 0
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9274) Stabilize MetadataAPIDistTest.testGetCacheEntryNonOwner
by Diego Lovison (JIRA)
[ https://issues.jboss.org/browse/ISPN-9274?page=com.atlassian.jira.plugin.... ]
Diego Lovison reassigned ISPN-9274:
-----------------------------------
Assignee: (was: Sebastian Łaskawiec)
> Stabilize MetadataAPIDistTest.testGetCacheEntryNonOwner
> -------------------------------------------------------
>
> Key: ISPN-9274
> URL: https://issues.jboss.org/browse/ISPN-9274
> Project: Infinispan
> Issue Type: Bug
> Reporter: Diego Lovison
>
> http://ci.infinispan.org/viewLog.html?buildId=39366&tab=buildResultsDiv&b...
> {noformat}
> java.util.NoSuchElementException
> at java.util.ArrayList$Itr.next(ArrayList.java:854)
> at org.infinispan.distribution.DistributionTestHelper.getFirstNonOwner(DistributionTestHelper.java:122)
> at org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner(MetadataAPIDistTest.java:32)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> ------- Stdout: -------
> [TestSuiteProgress] Test starting: org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner
> [TestSuiteProgress] Test failed: org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner
> 13:34:05,295 ERROR (testng-MetadataAPIDistTest) [TestSuiteProgress] Test failed: org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner
> java.util.NoSuchElementException
> at java.util.ArrayList$Itr.next(ArrayList.java:854)
> at org.infinispan.distribution.DistributionTestHelper.getFirstNonOwner(DistributionTestHelper.java:122)
> at org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner(MetadataAPIDistTest.java:32)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)[TestSuiteProgress] Tests succeeded: 2018, failed: 2, skipped: 0
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9274) Stabilize MetadataAPIDistTest.testGetCacheEntryNonOwner
by Diego Lovison (JIRA)
[ https://issues.jboss.org/browse/ISPN-9274?page=com.atlassian.jira.plugin.... ]
Diego Lovison updated ISPN-9274:
--------------------------------
Fix Version/s: (was: 9.0.0.Alpha2)
> Stabilize MetadataAPIDistTest.testGetCacheEntryNonOwner
> -------------------------------------------------------
>
> Key: ISPN-9274
> URL: https://issues.jboss.org/browse/ISPN-9274
> Project: Infinispan
> Issue Type: Bug
> Reporter: Diego Lovison
>
> http://ci.infinispan.org/viewLog.html?buildId=39366&tab=buildResultsDiv&b...
> {noformat}
> java.util.NoSuchElementException
> at java.util.ArrayList$Itr.next(ArrayList.java:854)
> at org.infinispan.distribution.DistributionTestHelper.getFirstNonOwner(DistributionTestHelper.java:122)
> at org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner(MetadataAPIDistTest.java:32)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> ------- Stdout: -------
> [TestSuiteProgress] Test starting: org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner
> [TestSuiteProgress] Test failed: org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner
> 13:34:05,295 ERROR (testng-MetadataAPIDistTest) [TestSuiteProgress] Test failed: org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner
> java.util.NoSuchElementException
> at java.util.ArrayList$Itr.next(ArrayList.java:854)
> at org.infinispan.distribution.DistributionTestHelper.getFirstNonOwner(DistributionTestHelper.java:122)
> at org.infinispan.api.MetadataAPIDistTest.testGetCacheEntryNonOwner(MetadataAPIDistTest.java:32)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)[TestSuiteProgress] Tests succeeded: 2018, failed: 2, skipped: 0
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9273) CacheManagerAdminTest.testClusterCacheTest random failure
by Diego Lovison (JIRA)
Diego Lovison created ISPN-9273:
-----------------------------------
Summary: CacheManagerAdminTest.testClusterCacheTest random failure
Key: ISPN-9273
URL: https://issues.jboss.org/browse/ISPN-9273
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.2.0.Final
Reporter: Diego Lovison
Assignee: Tristan Tarrant
Fix For: 9.3.0.Beta1
https://ci.infinispan.org/job/Infinispan/job/master/510/testReport/junit/...
Stack trace in case if the history is lost:
{code}
java.lang.AssertionError: Cache 'a' should NOT be present on org.infinispan.manager.DefaultCacheManager@592285b5@Address:CacheManagerAdminTest-NodeC-58305
at org.infinispan.manager.CacheManagerAdminTest.checkCacheExistenceAcrossCluster(CacheManagerAdminTest.java:72)
at org.infinispan.manager.CacheManagerAdminTest.testClusterCacheTest(CacheManagerAdminTest.java:61)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
... Removed 19 stack frames
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-8988) CacheLoader not works after expiration in JCache
by Andrei Arkaev (JIRA)
[ https://issues.jboss.org/browse/ISPN-8988?page=com.atlassian.jira.plugin.... ]
Andrei Arkaev updated ISPN-8988:
--------------------------------
Description: In configuration "JCache + ExirationPolicy + CacheLoader" cache returns null after cache key expiration (CacheLoader not called after expiration) (was: In configuration "JCache + ExirationPolicy + CacheLoader" cache returns null after cache key expiration (CacheLoader not called after expiration)
8.2.x versions not affected)
Affects Version/s: 8.2.10.Final
> CacheLoader not works after expiration in JCache
> ------------------------------------------------
>
> Key: ISPN-8988
> URL: https://issues.jboss.org/browse/ISPN-8988
> Project: Infinispan
> Issue Type: Bug
> Components: JCache
> Affects Versions: 9.2.0.Final, 8.2.10.Final
> Reporter: Andrei Arkaev
> Assignee: Galder Zamarreño
> Priority: Blocker
> Attachments: InfinispanCacheTest.java
>
>
> In configuration "JCache + ExirationPolicy + CacheLoader" cache returns null after cache key expiration (CacheLoader not called after expiration)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9272) infinispan9.2.4.Final infinispan-query
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-9272?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant commented on ISPN-9272:
---------------------------------------
Can you please add DEBUG logs ? Additionally, how are you packaging the infinispan dependencies in your application ? And which components are you adding ?
> infinispan9.2.4.Final infinispan-query
> --------------------------------------
>
> Key: ISPN-9272
> URL: https://issues.jboss.org/browse/ISPN-9272
> Project: Infinispan
> Issue Type: Bug
> Reporter: Majid Mostafavi
>
> 02:03:05,735 ERROR [stderr] (default task-3) org.infinispan.commons.CacheException: ISPN014038: infinispan-query.jar module is in the classpath but has not been properly initialised!
> 02:03:05,768 ERROR [stderr] (default task-3) at org.infinispan.query.Search.getQueryFactory(Search.java:60)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9272) infinispan9.2.4.Final infinispan-query
by Majid Mostafavi (JIRA)
Majid Mostafavi created ISPN-9272:
-------------------------------------
Summary: infinispan9.2.4.Final infinispan-query
Key: ISPN-9272
URL: https://issues.jboss.org/browse/ISPN-9272
Project: Infinispan
Issue Type: Bug
Reporter: Majid Mostafavi
02:03:05,735 ERROR [stderr] (default task-3) org.infinispan.commons.CacheException: ISPN014038: infinispan-query.jar module is in the classpath but has not been properly initialised!
02:03:05,768 ERROR [stderr] (default task-3) at org.infinispan.query.Search.getQueryFactory(Search.java:60)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9270) ClusteredLockWith2NodesTest.testTryLockAndKillLocking random failures
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-9270?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-9270:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/6043
> ClusteredLockWith2NodesTest.testTryLockAndKillLocking random failures
> ---------------------------------------------------------------------
>
> Key: ISPN-9270
> URL: https://issues.jboss.org/browse/ISPN-9270
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.3.0.CR1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: testsuite_stability
> Fix For: 9.3.0.Final
>
>
> The test stops the coordinator A of a 2-node cluster \[A, B\], and then verifies that B stays available.
> Unfortunately that doesn't always happen: A tries to install topology \[B\] before shutting down, but B might receive it too late and reject it. If B expects members \[A, B\] and sees only B, the cache will enter degraded mode:
> {noformat}
> 19:04:05,863 INFO (jgroups-8,Test-NodeB-21374:[org.infinispan.LOCKS]) [CLUSTER] [Context=org.infinispan.LOCKS] ISPN100008: Updating cache members list [Test-NodeD-51051], topology id 7
> 19:04:05,863 TRACE (jgroups-4,Test-NodeD-51051:[]) [JGroupsTransport] Test-NodeD-51051 received command from Test-NodeB-21374: CacheTopologyControlCommand{cache=org.infinispan.LOCKS, type=CH_UPDATE, sender=Test-NodeB-21374, joinInfo=null, topologyId=7, rebalanceId=2, currentCH=ReplicatedConsistentHash{ns = 256, owners = (1)[Test-NodeD-51051: 256]}, pendingCH=null, availabilityMode=AVAILABLE, phase=NO_REBALANCE, actualMembers=[Test-NodeD-51051], throwable=null, viewId=1}
> 19:04:05,880 INFO (jgroups-4,Test-NodeD-51051:[]) [CLUSTER] ISPN000094: Received new cluster view for channel ISPN: [Test-NodeD-51051|2] (1) [Test-NodeD-51051]
> 19:04:05,884 DEBUG (stateTransferExecutor-thread-Test-NodeD-p101-t1:[Merge-2]) [ClusterCacheStatus] Recovered 1 partition(s) for cache org.infinispan.LOCKS: [CacheTopology{id=6, phase=NO_REBALANCE, rebalanceId=2, currentCH=ReplicatedConsistentHash{ns = 256, owners = (2)[Test-NodeB-21374: 124, Test-NodeD-51051: 132]}, pendingCH=null, unionCH=null, actualMembers=[Test-NodeD-51051], persistentUUIDs=[6ac3a341-5af4-4aa2-ae7b-a4183d02d959]}]
> 19:04:05,884 WARN (stateTransferExecutor-thread-Test-NodeD-p101-t1:[Merge-2]) [CLUSTER] [Context=org.infinispan.LOCKS] ISPN000320: After merge (or coordinator change), cache still hasn't recovered a majority of members and must stay in degraded mode. Current members are [Test-NodeD-51051], lost members are [Test-NodeB-21374], stable members are [Test-NodeB-21374, Test-NodeD-51051]
> 19:04:05,885 INFO (stateTransferExecutor-thread-Test-NodeD-p101-t1:[Merge-2]) [CLUSTER] [Context=org.infinispan.LOCKS] ISPN100011: Entering availability mode DEGRADED_MODE, topology id 8
> 19:04:05,941 DEBUG (transport-thread-Test-NodeD-p100-t2:[Topology-org.infinispan.LOCKS]) [LocalTopologyManagerImpl] Ignoring topology 7 for cache org.infinispan.LOCKS from old coordinator Test-NodeB-21374
> 19:04:06,024 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.lock.ClusteredLockWith2NodesTest.testTryLockAndKillLocking
> java.lang.Error: java.util.concurrent.ExecutionException: java.lang.Error: java.util.concurrent.ExecutionException: org.infinispan.lock.exception.ClusteredLockException: org.infinispan.partitionhandling.AvailabilityException: ISPN000306: Key 'ClusteredLockKey{name=Test}' is not available. Not all owners are in this partition
> at org.infinispan.functional.FunctionalTestUtils.await(FunctionalTestUtils.java:47) ~[infinispan-core-9.3.0-SNAPSHOT-tests.jar:9.3.0-SNAPSHOT]
> at org.infinispan.lock.ClusteredLockWith2NodesTest.testTryLockAndKillLocking(ClusteredLockWith2NodesTest.java:49) ~[test-classes/:?]
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months
[JBoss JIRA] (ISPN-9271) Clustered max idle doesn't remove expired entries on get with transactions
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-9271?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-9271:
--------------------------------
Status: Open (was: New)
> Clustered max idle doesn't remove expired entries on get with transactions
> --------------------------------------------------------------------------
>
> Key: ISPN-9271
> URL: https://issues.jboss.org/browse/ISPN-9271
> Project: Infinispan
> Issue Type: Enhancement
> Components: Expiration, Transactions
> Reporter: William Burns
>
> Currently clustered max idle does not remove any expired entry on a get when transactions are configured. This is due to limitations with pessimistic transactions and deadlocking.
> We should be able to remove the entry with optimistic transactions.
> Pessimistic is more interesting as we can't wait for the remove expired command to complete in a separate transaction as it would inherently deadlock. Instead we could ascertain that the entry is expired as we do now, but also fire a remove expired completely asynchronously and not wait for it to complete.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 4 months