[
https://issues.redhat.com/browse/WFLY-13664?page=com.atlassian.jira.plugi...
]
Radoslav Husar commented on WFLY-13664:
---------------------------------------
I tried putting in a workaround as the issue appears to be with a lock held from previous
process before a new instance is started - but tweaking the global state options did not
seem to work (i.e. we don't require persistence for the sake of these tests).
The Infinispan 11 upgrade should come in soon hopefully resolving some of the issues.
Clustering TS: Infinispan Server test driver intermittently fails to
start the server
-------------------------------------------------------------------------------------
Key: WFLY-13664
URL:
https://issues.redhat.com/browse/WFLY-13664
Project: WildFly
Issue Type: Bug
Components: Clustering, Test Suite
Affects Versions: 20.0.0.Final
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Priority: Major
Attachments:
TEST-org.jboss.as.test.clustering.cluster.sso.remote.RemoteSingleSignOnTestCase.xml,
org.jboss.as.test.clustering.cluster.sso.remote.RemoteSingleSignOnTestCase-output.txt,
org.jboss.as.test.clustering.cluster.sso.remote.RemoteSingleSignOnTestCase.txt
Reported by [~dlofthouse]:
{noformat}
2020-07-13 09:52:19,289 FATAL (main) [org.infinispan.SERVER] ISPN080028: Infinispan
Server failed to start java.util.concurrent.ExecutionException:
org.infinispan.manager.EmbeddedCacheManagerStartupException:
org.infinispan.commons.CacheConfigurationException: ISPN000512: Cannot acquire lock
'/home/darranl/src/community/wildfly/testsuite/integration/clustering/target/infinispan-server-10.1.8.Final/server/data/___global.lck'
for persistent global state
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
at org.infinispan.server.Bootstrap.runInternal(Bootstrap.java:139)
at org.infinispan.server.tool.Main.run(Main.java:98)
at org.infinispan.server.Bootstrap.main(Bootstrap.java:39)
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.infinispan.server.loader.Loader.main(Loader.java:71)
Caused by: org.infinispan.manager.EmbeddedCacheManagerStartupException:
org.infinispan.commons.CacheConfigurationException: ISPN000512: Cannot acquire lock
'/home/darranl/src/community/wildfly/testsuite/integration/clustering/target/infinispan-server-10.1.8.Final/server/data/___global.lck'
for persistent global state
at
org.infinispan.manager.DefaultCacheManager.internalStart(DefaultCacheManager.java:760)
at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:726)
at
org.infinispan.server.SecurityActions.lambda$startCacheManager$1(SecurityActions.java:51)
at org.infinispan.security.Security.doPrivileged(Security.java:46)
at org.infinispan.server.SecurityActions.doPrivileged(SecurityActions.java:31)
at org.infinispan.server.SecurityActions.startCacheManager(SecurityActions.java:54)
at org.infinispan.server.Server.run(Server.java:286)
... 8 more
Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000512: Cannot acquire
lock
'/home/darranl/src/community/wildfly/testsuite/integration/clustering/target/infinispan-server-10.1.8.Final/server/data/___global.lck'
for persistent global state
at
org.infinispan.globalstate.impl.GlobalStateManagerImpl.acquireGlobalLock(GlobalStateManagerImpl.java:84)
at
org.infinispan.globalstate.impl.GlobalStateManagerImpl.start(GlobalStateManagerImpl.java:64)
at org.infinispan.globalstate.impl.CorePackageImpl$1.start(CorePackageImpl.java:34)
at org.infinispan.globalstate.impl.CorePackageImpl$1.start(CorePackageImpl.java:27)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeStart(BasicComponentRegistryImpl.java:587)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.doStartWrapper(BasicComponentRegistryImpl.java:578)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.startWrapper(BasicComponentRegistryImpl.java:547)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl.access$700(BasicComponentRegistryImpl.java:30)
at
org.infinispan.factories.impl.BasicComponentRegistryImpl$ComponentWrapper.running(BasicComponentRegistryImpl.java:770)
at
org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:341)
at
org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:237)
at
org.infinispan.manager.DefaultCacheManager.internalStart(DefaultCacheManager.java:755)
... 14 more {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)