[JBoss JIRA] (ISPN-6455) ClusterTopologyManagerTest timing out randomly
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6455?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-6455:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> ClusterTopologyManagerTest timing out randomly
> ----------------------------------------------
>
> Key: ISPN-6455
> URL: https://issues.jboss.org/browse/ISPN-6455
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 8.1.2.Final
> Reporter: Ivan Straka
> Assignee: Martin Vrabel
> Fix For: 8.1.4.Final
>
>
> Infinispan tests in org.infinispan.statetransfer.ClusterTopologyManagerTest timing out randomly
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-infinispan-mav...
> {code:java}
> org.infinispan.statetransfer.ClusterTopologyManagerTest.testAbruptLeaveAfterGetStatus
> Error Details
> Timed out waiting for rebalancing to complete on node ClusterTopologyManagerTest-NodeB-39240, expected member list is [ClusterTopologyManagerTest-NodeB-39240], current member list is [ClusterTopologyManagerTest-NodeB-39240, ClusterTopologyManagerTest-NodeC-43244]!
> Stack Trace
> java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node ClusterTopologyManagerTest-NodeB-39240, expected member list is [ClusterTopologyManagerTest-NodeB-39240], current member list is [ClusterTopologyManagerTest-NodeB-39240, ClusterTopologyManagerTest-NodeC-43244]!
> at org.infinispan.test.TestingUtil.waitForRehashToComplete(TestingUtil.java:239)
> at org.infinispan.statetransfer.ClusterTopologyManagerTest.testAbruptLeaveAfterGetStatus(ClusterTopologyManagerTest.java:372)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
> at java.lang.reflect.Method.invoke(Method.java:507)
> 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:277)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.lang.Thread.run(Thread.java:785)
> {code}
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-infinispan-mav...
> {code:java}
> org.infinispan.statetransfer.ClusterTopologyManagerTest.testAbruptLeaveAfterGetStatus2
> Error Details
> Timed out waiting for rebalancing to complete on node ClusterTopologyManagerTest-NodeE-55015, expected member list is [ClusterTopologyManagerTest-NodeE-55015], current member list is [ClusterTopologyManagerTest-NodeE-55015, ClusterTopologyManagerTest-NodeF-36476]!
> Stack Trace
> java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node ClusterTopologyManagerTest-NodeE-55015, expected member list is [ClusterTopologyManagerTest-NodeE-55015], current member list is [ClusterTopologyManagerTest-NodeE-55015, ClusterTopologyManagerTest-NodeF-36476]!
> at org.infinispan.test.TestingUtil.waitForRehashToComplete(TestingUtil.java:239)
> at org.infinispan.statetransfer.ClusterTopologyManagerTest.testAbruptLeaveAfterGetStatus2(ClusterTopologyManagerTest.java:444)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
> at java.lang.reflect.Method.invoke(Method.java:507)
> 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:277)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.lang.Thread.run(Thread.java:785)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months
[JBoss JIRA] (ISPN-6497) SSL cert password has to be same as keystore password
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6497?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-6497:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Alpha2
9.0.0.Final
Resolution: Done
> SSL cert password has to be same as keystore password
> -----------------------------------------------------
>
> Key: ISPN-6497
> URL: https://issues.jboss.org/browse/ISPN-6497
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Reporter: Vojtech Juranek
> Assignee: Vojtech Juranek
> Fix For: 9.0.0.Alpha2, 9.0.0.Final
>
>
> Keystore password can be different from certificate private key password stored in the keystore. Currently, when setting up SSL for client - server communication, only keystore password can be configured and thus if keystore has different password than certificate private key, initialization of the keystore fails.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months
[JBoss JIRA] (ISPN-6408) ClassCastException while executed javascript returns Integer to js-client
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-6408?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-6408:
-----------------------------------
Status: Open (was: New)
> ClassCastException while executed javascript returns Integer to js-client
> -------------------------------------------------------------------------
>
> Key: ISPN-6408
> URL: https://issues.jboss.org/browse/ISPN-6408
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Reporter: Anna Manukyan
> Assignee: Galder Zamarreño
> Fix For: 9.0.0.Alpha2, 9.0.0.Final
>
>
> In case if the javascript returns number, the execution of it over js-client, returns the following error:
> {code}
> Message:
> java.lang.ClassCastException: java.lang.Integer cannot be cast to [B
> Stacktrace:
> undefined
> The code is:
> // mode=local,language=javascript,datatype='text/plain; charset=utf-8'
> cache.size()
> The verifying test is:
> it('can execute a script remotely to get node address from cacheManager', function(done) {
> Promise.all([client, readFile('spec/utils/test-cacheManager.js')])
> .then(function(vals) {
> var c = vals[0];
> return c.addScript('test-cacheManager.js', vals[1].toString())
> .then(function() { return c; } );
> })
> .then(t.assert(t.exec('test-cacheManager.js'),
> t.toBe(0)))
> .catch(failed(done)).finally(done);
> });
> {code}
> There is no exception on server side. Also please find below the log of the node.js execution:
> {code}
> [2016-03-18 18:10:53.848] [DEBUG] connection - Connecting to 127.0.0.1:11222
> [2016-03-18 18:10:53.849] [DEBUG] connection - Connected to 127.0.0.1:11222
> [2016-03-18 18:10:53.849] [DEBUG] client - Invoke ping(msgId=186)
> [2016-03-18 18:10:53.849] [TRACE] encoder - Encode operation with topology id 0
> [2016-03-18 18:10:53.849] [TRACE] transport - Write buffer(msgId=186) to 127.0.0.1:11222
> [2016-03-18 18:10:53.852] [TRACE] decoder - Read header(msgId=186): opCode=24, status=6, hasNewTopology=0
> [2016-03-18 18:10:53.852] [TRACE] decoder - Call decode for request(msgId=186)
> [2016-03-18 18:10:53.852] [TRACE] connection - After decoding request(msgId=186), buffer size is 6, and offset 6
> [2016-03-18 18:10:53.852] [TRACE] connection - Complete success for request(msgId=186) with undefined
> [2016-03-18 18:10:53.852] [DEBUG] client - Invoke put(msgId=187,key=>test-cacheManager.js,value=>S// mode=local,language=javascript,datatype='text/plain; charset=utf-8'
> cache.size(),opts=undefined)
> [2016-03-18 18:10:53.853] [TRACE] encoder - Encode operation with topology id 0
> [2016-03-18 18:10:53.853] [TRACE] transport - Write buffer(msgId=187) to 127.0.0.1:11222
> [2016-03-18 18:10:53.854] [TRACE] decoder - Read header(msgId=187): opCode=2, status=6, hasNewTopology=0
> [2016-03-18 18:10:53.854] [TRACE] decoder - Call decode for request(msgId=187)
> [2016-03-18 18:10:53.854] [TRACE] connection - After decoding request(msgId=187), buffer size is 6, and offset 6
> [2016-03-18 18:10:53.854] [TRACE] connection - Complete success for request(msgId=187) with undefined
> [2016-03-18 18:10:53.854] [DEBUG] client - Invoke execute(msgId=188,scriptName=test-cacheManager.js,params=undefined)
> [2016-03-18 18:10:53.855] [TRACE] encoder - Encode operation with topology id 0
> [2016-03-18 18:10:53.855] [TRACE] transport - Write buffer(msgId=188) to 127.0.0.1:11222
> [2016-03-18 18:10:53.855] [DEBUG] connection - Disconnected from 127.0.0.1:11222
> [2016-03-18 18:10:53.858] [TRACE] decoder - Read header(msgId=188): opCode=80, status=133, hasNewTopology=0
> [2016-03-18 18:10:53.858] [ERROR] decoder - Error decoding body of request(msgId=188): java.lang.ClassCastException: java.lang.Integer cannot be cast to [B
> [2016-03-18 18:10:53.859] [TRACE] connection - After decoding request(msgId=188), buffer size is 75, and offset 75
> [2016-03-18 18:10:53.859] [TRACE] connection - Complete failure for request(msgId=188) with java.lang.ClassCastException: java.lang.Integer cannot be cast to [B
> [2016-03-18 18:10:53.869] [DEBUG] client - Invoke clear(msgId=189)
> [2016-03-18 18:10:53.869] [TRACE] encoder - Encode operation with topology id 0
> [2016-03-18 18:10:53.869] [TRACE] transport - Write buffer(msgId=189) to 127.0.0.1:11222
> [2016-03-18 18:10:53.869] [TRACE] decoder - Read header(msgId=189): opCode=20, status=0, hasNewTopology=0
> [2016-03-18 18:10:53.869] [TRACE] decoder - Call decode for request(msgId=189)
> [2016-03-18 18:10:53.869] [TRACE] connection - After decoding request(msgId=189), buffer size is 6, and offset 6
> [2016-03-18 18:10:53.869] [TRACE] connection - Complete success for request(msgId=189) with undefined
> [2016-03-18 18:10:53.878] [DEBUG] connection - Disconnected from 127.0.0.1:11222
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 12 months