[JBoss JIRA] (ISPN-8181) XSite tests fail randomly with java.net.BindException
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8181?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes reassigned ISPN-8181:
---------------------------------------
Assignee: Gustavo Fernandes
> XSite tests fail randomly with java.net.BindException
> -----------------------------------------------------
>
> Key: ISPN-8181
> URL: https://issues.jboss.org/browse/ISPN-8181
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.1.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Labels: testsuite_stability
>
> {noformat}
> [ERROR] createBeforeClass(org.infinispan.xsite.BackupWithSecurityTest) Time elapsed: 0.047 s <<< FAILURE!
> org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
> at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:252)
> at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:686)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:261)
> at org.infinispan.test.fwk.TestCacheManagerFactory.newDefaultCacheManager(TestCacheManagerFactory.java:394)
> at org.infinispan.test.fwk.TestCacheManagerFactory.newDefaultCacheManager(TestCacheManagerFactory.java:70)
> at org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:198)
> at org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:189)
> at org.infinispan.xsite.AbstractXSiteTest$TestSite.addClusterEnabledCacheManager(AbstractXSiteTest.java:259)
> at org.infinispan.xsite.AbstractXSiteTest$TestSite.createClusteredCaches(AbstractXSiteTest.java:233)
> at org.infinispan.xsite.AbstractXSiteTest.createSite(AbstractXSiteTest.java:96)
> at org.infinispan.xsite.BackupWithSecurityTest.access$201(BackupWithSecurityTest.java:23)
> at org.infinispan.xsite.BackupWithSecurityTest.lambda$createSite$0(BackupWithSecurityTest.java:60)
> at org.infinispan.security.Security.doAs(Security.java:118)
> at org.infinispan.xsite.BackupWithSecurityTest.createSite(BackupWithSecurityTest.java:60)
> at org.infinispan.xsite.AbstractMultipleSitesTest.createSites(AbstractMultipleSitesTest.java:87)
> at org.infinispan.xsite.AbstractXSiteTest.createBeforeClass(AbstractXSiteTest.java:51)
> 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:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
> at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
> 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:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:95)
> at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:83)
> at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:88)
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
> at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:635)
> at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:624)
> at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:549)
> at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:239)
> ... 35 more
> Caused by: org.infinispan.commons.CacheException: Unable to start JGroups Channel
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:507)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:437)
> at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:91)
> ... 43 more
> Caused by: java.net.BindException: No available port to bind to in range [8400 .. 8409]
> at org.jgroups.util.Util.createServerSocketChannel(Util.java:3539)
> at org.jgroups.blocks.cs.NioServer.<init>(NioServer.java:71)
> at org.jgroups.protocols.TCP_NIO2.start(TCP_NIO2.java:97)
> at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:861)
> at org.jgroups.JChannel.startStack(JChannel.java:1017)
> at org.jgroups.JChannel._preConnect(JChannel.java:886)
> at org.jgroups.JChannel.connect(JChannel.java:390)
> at org.jgroups.JChannel.connect(JChannel.java:384)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:505)
> ... 48 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8181) XSite tests fail randomly with java.net.BindException
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8181?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8181:
------------------------------------
Status: Open (was: New)
> XSite tests fail randomly with java.net.BindException
> -----------------------------------------------------
>
> Key: ISPN-8181
> URL: https://issues.jboss.org/browse/ISPN-8181
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.1.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Labels: testsuite_stability
>
> {noformat}
> [ERROR] createBeforeClass(org.infinispan.xsite.BackupWithSecurityTest) Time elapsed: 0.047 s <<< FAILURE!
> org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
> at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:252)
> at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:686)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:261)
> at org.infinispan.test.fwk.TestCacheManagerFactory.newDefaultCacheManager(TestCacheManagerFactory.java:394)
> at org.infinispan.test.fwk.TestCacheManagerFactory.newDefaultCacheManager(TestCacheManagerFactory.java:70)
> at org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:198)
> at org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:189)
> at org.infinispan.xsite.AbstractXSiteTest$TestSite.addClusterEnabledCacheManager(AbstractXSiteTest.java:259)
> at org.infinispan.xsite.AbstractXSiteTest$TestSite.createClusteredCaches(AbstractXSiteTest.java:233)
> at org.infinispan.xsite.AbstractXSiteTest.createSite(AbstractXSiteTest.java:96)
> at org.infinispan.xsite.BackupWithSecurityTest.access$201(BackupWithSecurityTest.java:23)
> at org.infinispan.xsite.BackupWithSecurityTest.lambda$createSite$0(BackupWithSecurityTest.java:60)
> at org.infinispan.security.Security.doAs(Security.java:118)
> at org.infinispan.xsite.BackupWithSecurityTest.createSite(BackupWithSecurityTest.java:60)
> at org.infinispan.xsite.AbstractMultipleSitesTest.createSites(AbstractMultipleSitesTest.java:87)
> at org.infinispan.xsite.AbstractXSiteTest.createBeforeClass(AbstractXSiteTest.java:51)
> 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:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
> at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
> 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:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:95)
> at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:83)
> at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:88)
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
> at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:635)
> at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:624)
> at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:549)
> at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:239)
> ... 35 more
> Caused by: org.infinispan.commons.CacheException: Unable to start JGroups Channel
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:507)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:437)
> at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:91)
> ... 43 more
> Caused by: java.net.BindException: No available port to bind to in range [8400 .. 8409]
> at org.jgroups.util.Util.createServerSocketChannel(Util.java:3539)
> at org.jgroups.blocks.cs.NioServer.<init>(NioServer.java:71)
> at org.jgroups.protocols.TCP_NIO2.start(TCP_NIO2.java:97)
> at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:861)
> at org.jgroups.JChannel.startStack(JChannel.java:1017)
> at org.jgroups.JChannel._preConnect(JChannel.java:886)
> at org.jgroups.JChannel.connect(JChannel.java:390)
> at org.jgroups.JChannel.connect(JChannel.java:384)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:505)
> ... 48 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-4741) ConsistentHashV1IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill randomly fails on RHEL
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-4741?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant closed ISPN-4741.
---------------------------------
Resolution: Out of Date
> ConsistentHashV1IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill randomly fails on RHEL
> ----------------------------------------------------------------------------------------------
>
> Key: ISPN-4741
> URL: https://issues.jboss.org/browse/ISPN-4741
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 8.2.4.Final
> Reporter: Vojtech Juranek
> Assignee: Dan Berindei
> Labels: testsuite_stability
>
> {{ConsistentHashV1IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill}} randomly fails (spot on RHEL6, IBM java 6) with ([see details|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FU...]):
> {noformat}
> java.lang.AssertionError: expected:<ConsistentHashV1IntegrationTest-NodeA-42275> but was:<ConsistentHashV1IntegrationTest-NodeE-19755>
> 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.ConsistentHashV1IntegrationTest.runTest(ConsistentHashV1IntegrationTest.java:124)
> at org.infinispan.client.hotrod.ConsistentHashV1IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill(ConsistentHashV1IntegrationTest.java:155)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8178) SingleNodeJdbcStoreIT.testForcedShutdown failure
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8178?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant reassigned ISPN-8178:
-------------------------------------
Assignee: Tristan Tarrant
> SingleNodeJdbcStoreIT.testForcedShutdown failure
> ------------------------------------------------
>
> Key: ISPN-8178
> URL: https://issues.jboss.org/browse/ISPN-8178
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 9.1.0.Final
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Labels: testsuite_stability
>
> Occasionally the test fails with:
> java.lang.AssertionError: null
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertNotNull(Assert.java:621)
> at org.junit.Assert.assertNotNull(Assert.java:631)
> at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.testRestartStringStoreAfter(SingleNodeJdbcStoreIT.java:195)
> at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.testForcedShutdown(SingleNodeJdbcStoreIT.java:151)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8178) SingleNodeJdbcStoreIT.testForcedShutdown failure
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8178?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-8178:
----------------------------------
Status: Open (was: New)
> SingleNodeJdbcStoreIT.testForcedShutdown failure
> ------------------------------------------------
>
> Key: ISPN-8178
> URL: https://issues.jboss.org/browse/ISPN-8178
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 9.1.0.Final
> Reporter: Tristan Tarrant
> Labels: testsuite_stability
>
> Occasionally the test fails with:
> java.lang.AssertionError: null
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertNotNull(Assert.java:621)
> at org.junit.Assert.assertNotNull(Assert.java:631)
> at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.testRestartStringStoreAfter(SingleNodeJdbcStoreIT.java:195)
> at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.testForcedShutdown(SingleNodeJdbcStoreIT.java:151)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8178) SingleNodeJdbcStoreIT.testForcedShutdown failure
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-8178?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-8178:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5360
> SingleNodeJdbcStoreIT.testForcedShutdown failure
> ------------------------------------------------
>
> Key: ISPN-8178
> URL: https://issues.jboss.org/browse/ISPN-8178
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 9.1.0.Final
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Labels: testsuite_stability
>
> Occasionally the test fails with:
> java.lang.AssertionError: null
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertNotNull(Assert.java:621)
> at org.junit.Assert.assertNotNull(Assert.java:631)
> at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.testRestartStringStoreAfter(SingleNodeJdbcStoreIT.java:195)
> at org.infinispan.server.test.cs.jdbc.SingleNodeJdbcStoreIT.testForcedShutdown(SingleNodeJdbcStoreIT.java:151)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8181) XSite tests fail randomly with java.net.BindException
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8181?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8181:
------------------------------------
Steps to Reproduce:
Run in a loop in the {{core}} module:
mvn clean install -s ../maven-settings.xml
> XSite tests fail randomly with java.net.BindException
> -----------------------------------------------------
>
> Key: ISPN-8181
> URL: https://issues.jboss.org/browse/ISPN-8181
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.1.0.Final
> Reporter: Gustavo Fernandes
>
> {noformat}
> [ERROR] createBeforeClass(org.infinispan.xsite.BackupWithSecurityTest) Time elapsed: 0.047 s <<< FAILURE!
> org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
> at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:252)
> at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:686)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:261)
> at org.infinispan.test.fwk.TestCacheManagerFactory.newDefaultCacheManager(TestCacheManagerFactory.java:394)
> at org.infinispan.test.fwk.TestCacheManagerFactory.newDefaultCacheManager(TestCacheManagerFactory.java:70)
> at org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:198)
> at org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:189)
> at org.infinispan.xsite.AbstractXSiteTest$TestSite.addClusterEnabledCacheManager(AbstractXSiteTest.java:259)
> at org.infinispan.xsite.AbstractXSiteTest$TestSite.createClusteredCaches(AbstractXSiteTest.java:233)
> at org.infinispan.xsite.AbstractXSiteTest.createSite(AbstractXSiteTest.java:96)
> at org.infinispan.xsite.BackupWithSecurityTest.access$201(BackupWithSecurityTest.java:23)
> at org.infinispan.xsite.BackupWithSecurityTest.lambda$createSite$0(BackupWithSecurityTest.java:60)
> at org.infinispan.security.Security.doAs(Security.java:118)
> at org.infinispan.xsite.BackupWithSecurityTest.createSite(BackupWithSecurityTest.java:60)
> at org.infinispan.xsite.AbstractMultipleSitesTest.createSites(AbstractMultipleSitesTest.java:87)
> at org.infinispan.xsite.AbstractXSiteTest.createBeforeClass(AbstractXSiteTest.java:51)
> 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:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
> at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
> 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:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:95)
> at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:83)
> at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:88)
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
> at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:635)
> at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:624)
> at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:549)
> at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:239)
> ... 35 more
> Caused by: org.infinispan.commons.CacheException: Unable to start JGroups Channel
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:507)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:437)
> at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:91)
> ... 43 more
> Caused by: java.net.BindException: No available port to bind to in range [8400 .. 8409]
> at org.jgroups.util.Util.createServerSocketChannel(Util.java:3539)
> at org.jgroups.blocks.cs.NioServer.<init>(NioServer.java:71)
> at org.jgroups.protocols.TCP_NIO2.start(TCP_NIO2.java:97)
> at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:861)
> at org.jgroups.JChannel.startStack(JChannel.java:1017)
> at org.jgroups.JChannel._preConnect(JChannel.java:886)
> at org.jgroups.JChannel.connect(JChannel.java:390)
> at org.jgroups.JChannel.connect(JChannel.java:384)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:505)
> ... 48 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8181) XSite tests fail randomly with java.net.BindException
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-8181:
---------------------------------------
Summary: XSite tests fail randomly with java.net.BindException
Key: ISPN-8181
URL: https://issues.jboss.org/browse/ISPN-8181
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.1.0.Final
Reporter: Gustavo Fernandes
{noformat}
[ERROR] createBeforeClass(org.infinispan.xsite.BackupWithSecurityTest) Time elapsed: 0.047 s <<< FAILURE!
org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:252)
at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:686)
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:261)
at org.infinispan.test.fwk.TestCacheManagerFactory.newDefaultCacheManager(TestCacheManagerFactory.java:394)
at org.infinispan.test.fwk.TestCacheManagerFactory.newDefaultCacheManager(TestCacheManagerFactory.java:70)
at org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:198)
at org.infinispan.test.fwk.TestCacheManagerFactory.createClusteredCacheManager(TestCacheManagerFactory.java:189)
at org.infinispan.xsite.AbstractXSiteTest$TestSite.addClusterEnabledCacheManager(AbstractXSiteTest.java:259)
at org.infinispan.xsite.AbstractXSiteTest$TestSite.createClusteredCaches(AbstractXSiteTest.java:233)
at org.infinispan.xsite.AbstractXSiteTest.createSite(AbstractXSiteTest.java:96)
at org.infinispan.xsite.BackupWithSecurityTest.access$201(BackupWithSecurityTest.java:23)
at org.infinispan.xsite.BackupWithSecurityTest.lambda$createSite$0(BackupWithSecurityTest.java:60)
at org.infinispan.security.Security.doAs(Security.java:118)
at org.infinispan.xsite.BackupWithSecurityTest.createSite(BackupWithSecurityTest.java:60)
at org.infinispan.xsite.AbstractMultipleSitesTest.createSites(AbstractMultipleSitesTest.java:87)
at org.infinispan.xsite.AbstractXSiteTest.createBeforeClass(AbstractXSiteTest.java:51)
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:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport
at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:95)
at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:83)
at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:88)
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165)
at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:635)
at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:624)
at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:549)
at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:239)
... 35 more
Caused by: org.infinispan.commons.CacheException: Unable to start JGroups Channel
at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:507)
at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:437)
at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:91)
... 43 more
Caused by: java.net.BindException: No available port to bind to in range [8400 .. 8409]
at org.jgroups.util.Util.createServerSocketChannel(Util.java:3539)
at org.jgroups.blocks.cs.NioServer.<init>(NioServer.java:71)
at org.jgroups.protocols.TCP_NIO2.start(TCP_NIO2.java:97)
at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:861)
at org.jgroups.JChannel.startStack(JChannel.java:1017)
at org.jgroups.JChannel._preConnect(JChannel.java:886)
at org.jgroups.JChannel.connect(JChannel.java:390)
at org.jgroups.JChannel.connect(JChannel.java:384)
at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:505)
... 48 more
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8180) Add key to WriteEntryView
by Radim Vansa (JIRA)
Radim Vansa created ISPN-8180:
---------------------------------
Summary: Add key to WriteEntryView
Key: ISPN-8180
URL: https://issues.jboss.org/browse/ISPN-8180
Project: Infinispan
Issue Type: Enhancement
Components: Core
Reporter: Radim Vansa
Assignee: Radim Vansa
Fix For: 9.2.0.Final
WriteOnlyKeyCommand should be able to simulate ComputeIfAbsentCommand without the conditional part (dropping the condition during when this is added to modifications list) and the signature for that command's remapping function is {{Function<K, V>}}. Therefore, we need to add key() to the WriteEntryView. This comes with no performance costs as the key is always at hand, no need to load it from anywhere.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months