[JBoss JIRA] (ISPN-6694) ClientEventsOOMTest causing build to hang
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-6694:
---------------------------------------
Summary: ClientEventsOOMTest causing build to hang
Key: ISPN-6694
URL: https://issues.jboss.org/browse/ISPN-6694
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Reporter: Gustavo Fernandes
Surefire processes are left on CI with the stack trace:
{noformat}
"testng-ClientEventsOOMTest" #12 prio=5 os_prio=0 tid=0x00007fabf8ae8000 nid=0x6077 waiting on condition [0x00007fabbd463000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000a88ac740> (a java.util.concurrent.CountDownLatch$Sync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
at org.infinispan.client.hotrod.event.ClientEventsOOMTest.testOOM(ClientEventsOOMTest.java:93)
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)
...
"NioConnection.Reader [127.0.0.1:8104],ClientEventsOOMTest-NodeB-2288" #78205 daemon prio=5 os_prio=0 tid=0x00007fabcc949800 nid=0x1d9 waiting on condition [0x00007fab4e11c000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000a8cd9880> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
at org.jgroups.util.CondVar.waitFor(CondVar.java:63)
at org.jgroups.blocks.cs.NioConnection$Reader._run(NioConnection.java:469)
at org.jgroups.blocks.cs.NioConnection$Reader.run(NioConnection.java:443)
at java.lang.Thread.run(Thread.java:745)
"NioConnection.Reader [127.0.0.1:8105],ClientEventsOOMTest-NodeA-49916" #78204 daemon prio=5 os_prio=0 tid=0x00007fabcc2b6000 nid=0x1d8 waiting on condition [0x00007fab571ac000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000a8cd9e78> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
at org.jgroups.util.CondVar.waitFor(CondVar.java:63)
at org.jgroups.blocks.cs.NioConnection$Reader._run(NioConnection.java:469)
at org.jgroups.blocks.cs.NioConnection$Reader.run(NioConnection.java:443)
at java.lang.Thread.run(Thread.java:745)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6631) WFLYCTL0013 Error logged when accessing distributed-cache specified via xml
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-6631?page=com.atlassian.jira.plugin.... ]
Ryan Emerson closed ISPN-6631.
------------------------------
Resolution: Done
> WFLYCTL0013 Error logged when accessing distributed-cache specified via xml
> ---------------------------------------------------------------------------
>
> Key: ISPN-6631
> URL: https://issues.jboss.org/browse/ISPN-6631
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 9.0.0.Alpha1
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
>
> When accessing a cache defined via xml, that does not use an existing template, the following error is thrown by the server when the cache-container=>cluster=>cache page is loaded. This error is not displayed by the console itself.
> {code:java}
> [Server:server-two] 14:08:30,038 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 35) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
> [Server:server-two] ("subsystem" => "datagrid-infinispan"),
> [Server:server-two] ("cache-container" => "clustered"),
> [Server:server-two] ("distributed-cache" => "DistributedCacheAsTamplate")
> [Server:server-two] ]) - failure description: "Unavailable cache clusterwide-hits"
> [Server:server-one] 14:08:30,049 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 34) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
> [Server:server-one] ("subsystem" => "datagrid-infinispan"),
> [Server:server-one] ("cache-container" => "clustered"),
> [Server:server-one] ("distributed-cache" => "DistributedCacheAsTamplate")
> [Server:server-one] ]) - failure description: "Unavailable cache clusterwide-hits"
> {code}
> The route cause of this issue is the following DMR command:
> {code}
> /host=master/server=server-one/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=$cacheName:read-resource(include-runtime=true,recursive=false)
> {code}
> Where `include-runtime=true` causes the issue
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6601) can't edit cache configuration in cache configuration page if the cache has a xml <eviction> together with <file-store> or any jdbc-store
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-6601?page=com.atlassian.jira.plugin.... ]
Ryan Emerson commented on ISPN-6601:
------------------------------------
Closing, see JDG-309 for details.
> can't edit cache configuration in cache configuration page if the cache has a xml <eviction> together with <file-store> or any jdbc-store
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-6601
> URL: https://issues.jboss.org/browse/ISPN-6601
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Reporter: Martin Vrabel
> Assignee: Ryan Emerson
> Attachments: Screenshot from 2016-05-06 14-46-13.png
>
>
> for example
> {code}
> <distributed-cache owners="2" name="DistributedCacheAsTamplate" mode="SYNC" remote-timeout="1000"
> segments="100" start="EAGER" l1-lifespan="50">
> <eviction type="MEMORY" strategy="LRU" size="100"/>
> <binary-keyed-jdbc-store datasource="java:jboss/datasources/JdbcDS"
> passivation="false"
> preload="false"
> purge="false">
> <binary-keyed-table prefix="JDG">
> <id-column name="id" type="int"/>
> <data-column name="datum" type="int"/>
> <timestamp-column name="version" type="$int"/>
> </binary-keyed-table>
> </binary-keyed-jdbc-store>
> </distributed-cache>
> {code}
> If I go to the configuration page of this cache, edit some value I get and click apply changes -> update I get
> Error
> WFLYDC0074: Operation failed or was rolled back on all servers. Server failures:
> WFLYCTL0158: Operation handler failed: java.lang.NullPointerException
> SERVER stack strace:
> {code}
> [Server:server-one] 14:44:05,037 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 33) WFLYCTL0013: Operation ("write-attribute") failed - address: ([
> [Server:server-one] ("subsystem" => "datagrid-infinispan"),
> [Server:server-one] ("cache-container" => "clustered"),
> [Server:server-one] ("configurations" => "CONFIGURATIONS"),
> [Server:server-one] ("invalidation-cache-configuration" => "DistributedCacheAsTamplate"),
> [Server:server-one] ("eviction" => "EVICTION")
> [Server:server-one] ]): java.lang.NullPointerException
> [Server:server-one] at org.jboss.as.clustering.infinispan.subsystem.EvictionConfigurationResource.lambda$registerAttributes$0(EvictionConfigurationResource.java:89)
> [Server:server-one] at org.jboss.as.clustering.infinispan.subsystem.EvictionConfigurationResource$$Lambda$21/113375682.applyConfiguration(Unknown Source)
> [Server:server-one] at org.jboss.as.clustering.infinispan.subsystem.RuntimeCacheConfigurationWriteAttributeHandler.applyModelToRuntime(RuntimeCacheConfigurationWriteAttributeHandler.java:77)
> [Server:server-one] at org.jboss.as.clustering.infinispan.subsystem.RuntimeCacheConfigurationWriteAttributeHandler.applyUpdateToRuntime(RuntimeCacheConfigurationWriteAttributeHandler.java:62)
> [Server:server-one] at org.jboss.as.controller.AbstractWriteAttributeHandler$1.execute(AbstractWriteAttributeHandler.java:104)
> [Server:server-one] at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
> [Server:server-one] at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
> [Server:server-one] at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
> [Server:server-one] at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1344)
> [Server:server-one] at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:392)
> [Server:server-one] at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:217)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler.internalExecute(TransactionalProtocolOperationHandler.java:247)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler.doExecute(TransactionalProtocolOperationHandler.java:185)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$1.run(TransactionalProtocolOperationHandler.java:138)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$1.run(TransactionalProtocolOperationHandler.java:134)
> [Server:server-one] at java.security.AccessController.doPrivileged(Native Method)
> [Server:server-one] at javax.security.auth.Subject.doAs(Subject.java:360)
> [Server:server-one] at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:81)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$2$1.run(TransactionalProtocolOperationHandler.java:157)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$2$1.run(TransactionalProtocolOperationHandler.java:153)
> [Server:server-one] at java.security.AccessController.doPrivileged(Native Method)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$2.execute(TransactionalProtocolOperationHandler.java:153)
> [Server:server-one] at org.jboss.as.protocol.mgmt.AbstractMessageHandler$ManagementRequestContextImpl$1.doExecute(AbstractMessageHandler.java:363)
> [Server:server-one] at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:472)
> [Server:server-one] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [Server:server-one] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [Server:server-one] at java.lang.Thread.run(Thread.java:745)
> [Server:server-one] at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6601) can't edit cache configuration in cache configuration page if the cache has a xml <eviction> together with <file-store> or any jdbc-store
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-6601?page=com.atlassian.jira.plugin.... ]
Ryan Emerson closed ISPN-6601.
------------------------------
Resolution: Rejected
> can't edit cache configuration in cache configuration page if the cache has a xml <eviction> together with <file-store> or any jdbc-store
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-6601
> URL: https://issues.jboss.org/browse/ISPN-6601
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Reporter: Martin Vrabel
> Assignee: Ryan Emerson
> Attachments: Screenshot from 2016-05-06 14-46-13.png
>
>
> for example
> {code}
> <distributed-cache owners="2" name="DistributedCacheAsTamplate" mode="SYNC" remote-timeout="1000"
> segments="100" start="EAGER" l1-lifespan="50">
> <eviction type="MEMORY" strategy="LRU" size="100"/>
> <binary-keyed-jdbc-store datasource="java:jboss/datasources/JdbcDS"
> passivation="false"
> preload="false"
> purge="false">
> <binary-keyed-table prefix="JDG">
> <id-column name="id" type="int"/>
> <data-column name="datum" type="int"/>
> <timestamp-column name="version" type="$int"/>
> </binary-keyed-table>
> </binary-keyed-jdbc-store>
> </distributed-cache>
> {code}
> If I go to the configuration page of this cache, edit some value I get and click apply changes -> update I get
> Error
> WFLYDC0074: Operation failed or was rolled back on all servers. Server failures:
> WFLYCTL0158: Operation handler failed: java.lang.NullPointerException
> SERVER stack strace:
> {code}
> [Server:server-one] 14:44:05,037 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 33) WFLYCTL0013: Operation ("write-attribute") failed - address: ([
> [Server:server-one] ("subsystem" => "datagrid-infinispan"),
> [Server:server-one] ("cache-container" => "clustered"),
> [Server:server-one] ("configurations" => "CONFIGURATIONS"),
> [Server:server-one] ("invalidation-cache-configuration" => "DistributedCacheAsTamplate"),
> [Server:server-one] ("eviction" => "EVICTION")
> [Server:server-one] ]): java.lang.NullPointerException
> [Server:server-one] at org.jboss.as.clustering.infinispan.subsystem.EvictionConfigurationResource.lambda$registerAttributes$0(EvictionConfigurationResource.java:89)
> [Server:server-one] at org.jboss.as.clustering.infinispan.subsystem.EvictionConfigurationResource$$Lambda$21/113375682.applyConfiguration(Unknown Source)
> [Server:server-one] at org.jboss.as.clustering.infinispan.subsystem.RuntimeCacheConfigurationWriteAttributeHandler.applyModelToRuntime(RuntimeCacheConfigurationWriteAttributeHandler.java:77)
> [Server:server-one] at org.jboss.as.clustering.infinispan.subsystem.RuntimeCacheConfigurationWriteAttributeHandler.applyUpdateToRuntime(RuntimeCacheConfigurationWriteAttributeHandler.java:62)
> [Server:server-one] at org.jboss.as.controller.AbstractWriteAttributeHandler$1.execute(AbstractWriteAttributeHandler.java:104)
> [Server:server-one] at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
> [Server:server-one] at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
> [Server:server-one] at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
> [Server:server-one] at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1344)
> [Server:server-one] at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:392)
> [Server:server-one] at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:217)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler.internalExecute(TransactionalProtocolOperationHandler.java:247)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler.doExecute(TransactionalProtocolOperationHandler.java:185)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$1.run(TransactionalProtocolOperationHandler.java:138)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$1.run(TransactionalProtocolOperationHandler.java:134)
> [Server:server-one] at java.security.AccessController.doPrivileged(Native Method)
> [Server:server-one] at javax.security.auth.Subject.doAs(Subject.java:360)
> [Server:server-one] at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:81)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$2$1.run(TransactionalProtocolOperationHandler.java:157)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$2$1.run(TransactionalProtocolOperationHandler.java:153)
> [Server:server-one] at java.security.AccessController.doPrivileged(Native Method)
> [Server:server-one] at org.jboss.as.controller.remote.TransactionalProtocolOperationHandler$ExecuteRequestHandler$2.execute(TransactionalProtocolOperationHandler.java:153)
> [Server:server-one] at org.jboss.as.protocol.mgmt.AbstractMessageHandler$ManagementRequestContextImpl$1.doExecute(AbstractMessageHandler.java:363)
> [Server:server-one] at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:472)
> [Server:server-one] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [Server:server-one] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [Server:server-one] at java.lang.Thread.run(Thread.java:745)
> [Server:server-one] at org.jboss.threads.JBossThread.run(JBossThread.java:320)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months