[JBoss JIRA] (ISPN-9567) Writing in ___script_cache with hotrod 2.6 ver and authorization throws exception
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9567?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9567:
------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.4.0.Final
Resolution: Done
> Writing in ___script_cache with hotrod 2.6 ver and authorization throws exception
> ---------------------------------------------------------------------------------
>
> Key: ISPN-9567
> URL: https://issues.jboss.org/browse/ISPN-9567
> Project: Infinispan
> Issue Type: Bug
> Components: Hot Rod
> Affects Versions: 9.4.0.CR3
> Reporter: Vittorio Rigamonti
> Assignee: Gustavo Fernandes
> Priority: Major
> Fix For: 9.4.0.Final
>
>
> Trying to put a script into ___script_cache with PLAIN authorization produces the exeception below.
> A client reproducer is [here|https://github.com/rigazilla/workroom/tree/exec_auth/test-exec].
> Create a user:user with role ___script_manager and run the server with ./docs/examples/configs/standalone-auth.xml
> same test doesn't fail without authorization
> {noformat}
> 11:48:46,288 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRod-ServerHandler-4-1) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x033E097363726970..[12], hashCode=0}]: java.lang.ClassCastException: org.infinispan.commons.marshall.WrappedByteArray cannot be cast to java.lang.String
> at org.infinispan.scripting.impl.ScriptingInterceptor.visitPutKeyValueCommand(ScriptingInterceptor.java:30)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:54)
> at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:54)
> at org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:60)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:123)
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90)
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:234)
> at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeededAsync(CacheImpl.java:1817)
> at org.infinispan.cache.impl.CacheImpl.putAsync(CacheImpl.java:1507)
> at org.infinispan.cache.impl.DecoratedCache.putAsync(DecoratedCache.java:680)
> at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putAsync(AbstractDelegatingAdvancedCache.java:391)
> at org.infinispan.cache.impl.EncoderCache.putAsync(EncoderCache.java:460)
> at org.infinispan.security.impl.SecureCacheImpl.putAsync(SecureCacheImpl.java:977)
> at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putAsync(AbstractDelegatingAdvancedCache.java:391)
> at org.infinispan.server.hotrod.CacheRequestProcessor.putInternal(CacheRequestProcessor.java:196)
> at org.infinispan.server.hotrod.CacheRequestProcessor.lambda$put$6(CacheRequestProcessor.java:189)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.lang.Thread.run(Thread.java:748)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (ISPN-9567) Writing in ___script_cache with hotrod 2.6 ver and authorization throws exception
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9567?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes reassigned ISPN-9567:
---------------------------------------
Assignee: Gustavo Fernandes
> Writing in ___script_cache with hotrod 2.6 ver and authorization throws exception
> ---------------------------------------------------------------------------------
>
> Key: ISPN-9567
> URL: https://issues.jboss.org/browse/ISPN-9567
> Project: Infinispan
> Issue Type: Bug
> Components: Hot Rod
> Affects Versions: 9.4.0.CR3
> Reporter: Vittorio Rigamonti
> Assignee: Gustavo Fernandes
> Priority: Major
>
> Trying to put a script into ___script_cache with PLAIN authorization produces the exeception below.
> A client reproducer is [here|https://github.com/rigazilla/workroom/tree/exec_auth/test-exec].
> Create a user:user with role ___script_manager and run the server with ./docs/examples/configs/standalone-auth.xml
> same test doesn't fail without authorization
> {noformat}
> 11:48:46,288 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRod-ServerHandler-4-1) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x033E097363726970..[12], hashCode=0}]: java.lang.ClassCastException: org.infinispan.commons.marshall.WrappedByteArray cannot be cast to java.lang.String
> at org.infinispan.scripting.impl.ScriptingInterceptor.visitPutKeyValueCommand(ScriptingInterceptor.java:30)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:54)
> at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:54)
> at org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:60)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:123)
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90)
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:234)
> at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeededAsync(CacheImpl.java:1817)
> at org.infinispan.cache.impl.CacheImpl.putAsync(CacheImpl.java:1507)
> at org.infinispan.cache.impl.DecoratedCache.putAsync(DecoratedCache.java:680)
> at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putAsync(AbstractDelegatingAdvancedCache.java:391)
> at org.infinispan.cache.impl.EncoderCache.putAsync(EncoderCache.java:460)
> at org.infinispan.security.impl.SecureCacheImpl.putAsync(SecureCacheImpl.java:977)
> at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putAsync(AbstractDelegatingAdvancedCache.java:391)
> at org.infinispan.server.hotrod.CacheRequestProcessor.putInternal(CacheRequestProcessor.java:196)
> at org.infinispan.server.hotrod.CacheRequestProcessor.lambda$put$6(CacheRequestProcessor.java:189)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.lang.Thread.run(Thread.java:748)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (ISPN-9567) Writing in ___script_cache with hotrod 2.6 ver and authorization throws exception
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9567?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9567:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/6298
> Writing in ___script_cache with hotrod 2.6 ver and authorization throws exception
> ---------------------------------------------------------------------------------
>
> Key: ISPN-9567
> URL: https://issues.jboss.org/browse/ISPN-9567
> Project: Infinispan
> Issue Type: Bug
> Components: Hot Rod
> Affects Versions: 9.4.0.CR3
> Reporter: Vittorio Rigamonti
> Assignee: Gustavo Fernandes
> Priority: Major
>
> Trying to put a script into ___script_cache with PLAIN authorization produces the exeception below.
> A client reproducer is [here|https://github.com/rigazilla/workroom/tree/exec_auth/test-exec].
> Create a user:user with role ___script_manager and run the server with ./docs/examples/configs/standalone-auth.xml
> same test doesn't fail without authorization
> {noformat}
> 11:48:46,288 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRod-ServerHandler-4-1) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x033E097363726970..[12], hashCode=0}]: java.lang.ClassCastException: org.infinispan.commons.marshall.WrappedByteArray cannot be cast to java.lang.String
> at org.infinispan.scripting.impl.ScriptingInterceptor.visitPutKeyValueCommand(ScriptingInterceptor.java:30)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:54)
> at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:54)
> at org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:60)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:123)
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90)
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:234)
> at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeededAsync(CacheImpl.java:1817)
> at org.infinispan.cache.impl.CacheImpl.putAsync(CacheImpl.java:1507)
> at org.infinispan.cache.impl.DecoratedCache.putAsync(DecoratedCache.java:680)
> at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putAsync(AbstractDelegatingAdvancedCache.java:391)
> at org.infinispan.cache.impl.EncoderCache.putAsync(EncoderCache.java:460)
> at org.infinispan.security.impl.SecureCacheImpl.putAsync(SecureCacheImpl.java:977)
> at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putAsync(AbstractDelegatingAdvancedCache.java:391)
> at org.infinispan.server.hotrod.CacheRequestProcessor.putInternal(CacheRequestProcessor.java:196)
> at org.infinispan.server.hotrod.CacheRequestProcessor.lambda$put$6(CacheRequestProcessor.java:189)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.lang.Thread.run(Thread.java:748)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (ISPN-9567) Writing in ___script_cache with hotrod 2.6 ver and authorization throws exception
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-9567?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-9567:
------------------------------------
Status: Open (was: New)
> Writing in ___script_cache with hotrod 2.6 ver and authorization throws exception
> ---------------------------------------------------------------------------------
>
> Key: ISPN-9567
> URL: https://issues.jboss.org/browse/ISPN-9567
> Project: Infinispan
> Issue Type: Bug
> Components: Hot Rod
> Affects Versions: 9.4.0.CR3
> Reporter: Vittorio Rigamonti
> Priority: Major
>
> Trying to put a script into ___script_cache with PLAIN authorization produces the exeception below.
> A client reproducer is [here|https://github.com/rigazilla/workroom/tree/exec_auth/test-exec].
> Create a user:user with role ___script_manager and run the server with ./docs/examples/configs/standalone-auth.xml
> same test doesn't fail without authorization
> {noformat}
> 11:48:46,288 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (HotRod-ServerHandler-4-1) ISPN000136: Error executing command PutKeyValueCommand, writing keys [WrappedByteArray{bytes=[B0x033E097363726970..[12], hashCode=0}]: java.lang.ClassCastException: org.infinispan.commons.marshall.WrappedByteArray cannot be cast to java.lang.String
> at org.infinispan.scripting.impl.ScriptingInterceptor.visitPutKeyValueCommand(ScriptingInterceptor.java:30)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNext(BaseAsyncInterceptor.java:54)
> at org.infinispan.interceptors.DDAsyncInterceptor.handleDefault(DDAsyncInterceptor.java:54)
> at org.infinispan.interceptors.DDAsyncInterceptor.visitPutKeyValueCommand(DDAsyncInterceptor.java:60)
> at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:68)
> at org.infinispan.interceptors.BaseAsyncInterceptor.invokeNextAndExceptionally(BaseAsyncInterceptor.java:123)
> at org.infinispan.interceptors.impl.InvocationContextInterceptor.visitCommand(InvocationContextInterceptor.java:90)
> at org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invokeAsync(AsyncInterceptorChainImpl.java:234)
> at org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeededAsync(CacheImpl.java:1817)
> at org.infinispan.cache.impl.CacheImpl.putAsync(CacheImpl.java:1507)
> at org.infinispan.cache.impl.DecoratedCache.putAsync(DecoratedCache.java:680)
> at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putAsync(AbstractDelegatingAdvancedCache.java:391)
> at org.infinispan.cache.impl.EncoderCache.putAsync(EncoderCache.java:460)
> at org.infinispan.security.impl.SecureCacheImpl.putAsync(SecureCacheImpl.java:977)
> at org.infinispan.cache.impl.AbstractDelegatingAdvancedCache.putAsync(AbstractDelegatingAdvancedCache.java:391)
> at org.infinispan.server.hotrod.CacheRequestProcessor.putInternal(CacheRequestProcessor.java:196)
> at org.infinispan.server.hotrod.CacheRequestProcessor.lambda$put$6(CacheRequestProcessor.java:189)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> at java.lang.Thread.run(Thread.java:748)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (ISPN-9586) ClusteredCacheWithAsyncDirTest fails nearly every time in createBeforeMethod()
by Adrian Nistor (Jira)
[ https://issues.jboss.org/browse/ISPN-9586?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-9586:
--------------------------------
Summary: ClusteredCacheWithAsyncDirTest fails nearly every time in createBeforeMethod() (was: ClusteredCacheWithAsyncDirTest fail nearly every time in createBeforeMethod())
> ClusteredCacheWithAsyncDirTest fails nearly every time in createBeforeMethod()
> ------------------------------------------------------------------------------
>
> Key: ISPN-9586
> URL: https://issues.jboss.org/browse/ISPN-9586
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 9.4.0.CR3
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Priority: Major
>
> {code}
> [ERROR] Tests run: 3621, Failures: 1, Errors: 0, Skipped: 19, Time elapsed: 197.827 s <<< FAILURE! - in TestSuite
> [ERROR] createBeforeMethod(org.infinispan.query.blackbox.ClusteredCacheWithAsyncDirTest) Time elapsed: 0.124 s <<< FAILURE!
> org.hibernate.search.exception.SearchException: HSEARCH000103: Unable to initialize IndexManager named 'person'
> at org.hibernate.search.indexes.impl.IndexManagerGroupHolder.doCreateIndexManager(IndexManagerGroupHolder.java:198)
> at org.hibernate.search.indexes.impl.IndexManagerGroupHolder.getOrCreateIndexManager(IndexManagerGroupHolder.java:155)
> at org.hibernate.search.indexes.impl.NotShardedEntityIndexBinder.bind(NotShardedEntityIndexBinder.java:34)
> at org.hibernate.search.indexes.impl.IndexManagerGroupHolder.bind(IndexManagerGroupHolder.java:100)
> at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:100)
> at org.hibernate.search.spi.SearchIntegratorBuilder.initDocumentBuilders(SearchIntegratorBuilder.java:428)
> at org.hibernate.search.spi.SearchIntegratorBuilder.createNewFactoryState(SearchIntegratorBuilder.java:244)
> at org.hibernate.search.spi.SearchIntegratorBuilder.buildNewSearchFactory(SearchIntegratorBuilder.java:200)
> at org.hibernate.search.spi.SearchIntegratorBuilder.buildSearchIntegrator(SearchIntegratorBuilder.java:128)
> at org.infinispan.query.impl.LifecycleManager.createSearchIntegrator(LifecycleManager.java:329)
> at org.infinispan.query.impl.LifecycleManager.cacheStarting(LifecycleManager.java:123)
> at org.infinispan.factories.ComponentRegistry.notifyCacheStarting(ComponentRegistry.java:252)
> at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:239)
> at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:1098)
> at org.infinispan.cache.impl.AbstractDelegatingCache.start(AbstractDelegatingCache.java:511)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:646)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:591)
> at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:477)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:432)
> at org.infinispan.test.MultipleCacheManagersTest.getCaches(MultipleCacheManagersTest.java:291)
> at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:300)
> at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:309)
> at org.infinispan.query.blackbox.ClusteredCacheWithAsyncDirTest.createCacheManagers(ClusteredCacheWithAsyncDirTest.java:27)
> at org.infinispan.test.MultipleCacheManagersTest.callCreateCacheManagers(MultipleCacheManagersTest.java:121)
> at org.infinispan.test.MultipleCacheManagersTest.createBeforeMethod(MultipleCacheManagersTest.java:131)
> at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
> 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:85)
> at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:510)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:585)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
> at org.testng.TestRunner.privateRun(TestRunner.java:774)
> at org.testng.TestRunner.run(TestRunner.java:624)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:393)
> 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.hibernate.search.exception.SearchException: Unable to open Lucene IndexReader for IndexManager person
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.createReader(SharingBufferReaderProvider.java:114)
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.initialize(SharingBufferReaderProvider.java:92)
> at org.hibernate.search.indexes.impl.PropertiesParseHelper.createDirectoryBasedReaderProvider(PropertiesParseHelper.java:176)
> at org.hibernate.search.indexes.spi.DirectoryBasedIndexManager.createIndexReader(DirectoryBasedIndexManager.java:223)
> at org.hibernate.search.indexes.spi.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:94)
> at org.hibernate.search.indexes.impl.IndexManagerGroupHolder.doCreateIndexManager(IndexManagerGroupHolder.java:195)
> ... 45 more
> Caused by: java.io.FileNotFoundException: Error loading metadata for index file: M|segments_a|person|-1
> at org.infinispan.lucene.impl.DirectoryImplementor.openInput(DirectoryImplementor.java:143)
> at org.infinispan.lucene.impl.DirectoryLucene.openInput(DirectoryLucene.java:102)
> at org.apache.lucene.store.Directory.openChecksumInput(Directory.java:109)
> at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:294)
> at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:53)
> at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:50)
> at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:731)
> at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:50)
> at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:63)
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.readerFactory(SharingBufferReaderProvider.java:132)
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider$PerDirectoryLatestReader.<init>(SharingBufferReaderProvider.java:207)
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.createReader(SharingBufferReaderProvider.java:109)
> ... 50 more
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] ClusteredCacheWithAsyncDirTest>MultipleCacheManagersTest.createBeforeMethod:131->MultipleCacheManagersTest.callCreateCacheManagers:121->createCacheManagers:27->MultipleCacheManagersTest.waitForClusterToForm:309->MultipleCacheManagersTest.waitForClusterToForm:300->MultipleCacheManagersTest.getCaches:291 » Search
> [INFO]
> [ERROR] Tests run: 3621, Failures: 1, Errors: 0, Skipped: 19
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (ISPN-9586) ClusteredCacheWithAsyncDirTest fail nearly every time in createBeforeMethod()
by Adrian Nistor (Jira)
[ https://issues.jboss.org/browse/ISPN-9586?page=com.atlassian.jira.plugin.... ]
Adrian Nistor reassigned ISPN-9586:
-----------------------------------
Assignee: Adrian Nistor
> ClusteredCacheWithAsyncDirTest fail nearly every time in createBeforeMethod()
> -----------------------------------------------------------------------------
>
> Key: ISPN-9586
> URL: https://issues.jboss.org/browse/ISPN-9586
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 9.4.0.CR3
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Priority: Major
>
> {code}
> [ERROR] Tests run: 3621, Failures: 1, Errors: 0, Skipped: 19, Time elapsed: 197.827 s <<< FAILURE! - in TestSuite
> [ERROR] createBeforeMethod(org.infinispan.query.blackbox.ClusteredCacheWithAsyncDirTest) Time elapsed: 0.124 s <<< FAILURE!
> org.hibernate.search.exception.SearchException: HSEARCH000103: Unable to initialize IndexManager named 'person'
> at org.hibernate.search.indexes.impl.IndexManagerGroupHolder.doCreateIndexManager(IndexManagerGroupHolder.java:198)
> at org.hibernate.search.indexes.impl.IndexManagerGroupHolder.getOrCreateIndexManager(IndexManagerGroupHolder.java:155)
> at org.hibernate.search.indexes.impl.NotShardedEntityIndexBinder.bind(NotShardedEntityIndexBinder.java:34)
> at org.hibernate.search.indexes.impl.IndexManagerGroupHolder.bind(IndexManagerGroupHolder.java:100)
> at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:100)
> at org.hibernate.search.spi.SearchIntegratorBuilder.initDocumentBuilders(SearchIntegratorBuilder.java:428)
> at org.hibernate.search.spi.SearchIntegratorBuilder.createNewFactoryState(SearchIntegratorBuilder.java:244)
> at org.hibernate.search.spi.SearchIntegratorBuilder.buildNewSearchFactory(SearchIntegratorBuilder.java:200)
> at org.hibernate.search.spi.SearchIntegratorBuilder.buildSearchIntegrator(SearchIntegratorBuilder.java:128)
> at org.infinispan.query.impl.LifecycleManager.createSearchIntegrator(LifecycleManager.java:329)
> at org.infinispan.query.impl.LifecycleManager.cacheStarting(LifecycleManager.java:123)
> at org.infinispan.factories.ComponentRegistry.notifyCacheStarting(ComponentRegistry.java:252)
> at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:239)
> at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:1098)
> at org.infinispan.cache.impl.AbstractDelegatingCache.start(AbstractDelegatingCache.java:511)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:646)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:591)
> at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:477)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:432)
> at org.infinispan.test.MultipleCacheManagersTest.getCaches(MultipleCacheManagersTest.java:291)
> at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:300)
> at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:309)
> at org.infinispan.query.blackbox.ClusteredCacheWithAsyncDirTest.createCacheManagers(ClusteredCacheWithAsyncDirTest.java:27)
> at org.infinispan.test.MultipleCacheManagersTest.callCreateCacheManagers(MultipleCacheManagersTest.java:121)
> at org.infinispan.test.MultipleCacheManagersTest.createBeforeMethod(MultipleCacheManagersTest.java:131)
> at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
> 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:85)
> at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:510)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:585)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
> at org.testng.TestRunner.privateRun(TestRunner.java:774)
> at org.testng.TestRunner.run(TestRunner.java:624)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:393)
> 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.hibernate.search.exception.SearchException: Unable to open Lucene IndexReader for IndexManager person
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.createReader(SharingBufferReaderProvider.java:114)
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.initialize(SharingBufferReaderProvider.java:92)
> at org.hibernate.search.indexes.impl.PropertiesParseHelper.createDirectoryBasedReaderProvider(PropertiesParseHelper.java:176)
> at org.hibernate.search.indexes.spi.DirectoryBasedIndexManager.createIndexReader(DirectoryBasedIndexManager.java:223)
> at org.hibernate.search.indexes.spi.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:94)
> at org.hibernate.search.indexes.impl.IndexManagerGroupHolder.doCreateIndexManager(IndexManagerGroupHolder.java:195)
> ... 45 more
> Caused by: java.io.FileNotFoundException: Error loading metadata for index file: M|segments_a|person|-1
> at org.infinispan.lucene.impl.DirectoryImplementor.openInput(DirectoryImplementor.java:143)
> at org.infinispan.lucene.impl.DirectoryLucene.openInput(DirectoryLucene.java:102)
> at org.apache.lucene.store.Directory.openChecksumInput(Directory.java:109)
> at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:294)
> at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:53)
> at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:50)
> at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:731)
> at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:50)
> at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:63)
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.readerFactory(SharingBufferReaderProvider.java:132)
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider$PerDirectoryLatestReader.<init>(SharingBufferReaderProvider.java:207)
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.createReader(SharingBufferReaderProvider.java:109)
> ... 50 more
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] ClusteredCacheWithAsyncDirTest>MultipleCacheManagersTest.createBeforeMethod:131->MultipleCacheManagersTest.callCreateCacheManagers:121->createCacheManagers:27->MultipleCacheManagersTest.waitForClusterToForm:309->MultipleCacheManagersTest.waitForClusterToForm:300->MultipleCacheManagersTest.getCaches:291 » Search
> [INFO]
> [ERROR] Tests run: 3621, Failures: 1, Errors: 0, Skipped: 19
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (ISPN-9586) ClusteredCacheWithAsyncDirTest fail nearly every time in createBeforeMethod()
by Adrian Nistor (Jira)
[ https://issues.jboss.org/browse/ISPN-9586?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-9586:
--------------------------------
Affects Version/s: 9.4.0.CR3
> ClusteredCacheWithAsyncDirTest fail nearly every time in createBeforeMethod()
> -----------------------------------------------------------------------------
>
> Key: ISPN-9586
> URL: https://issues.jboss.org/browse/ISPN-9586
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 9.4.0.CR3
> Reporter: Adrian Nistor
> Priority: Major
>
> {code}
> [ERROR] Tests run: 3621, Failures: 1, Errors: 0, Skipped: 19, Time elapsed: 197.827 s <<< FAILURE! - in TestSuite
> [ERROR] createBeforeMethod(org.infinispan.query.blackbox.ClusteredCacheWithAsyncDirTest) Time elapsed: 0.124 s <<< FAILURE!
> org.hibernate.search.exception.SearchException: HSEARCH000103: Unable to initialize IndexManager named 'person'
> at org.hibernate.search.indexes.impl.IndexManagerGroupHolder.doCreateIndexManager(IndexManagerGroupHolder.java:198)
> at org.hibernate.search.indexes.impl.IndexManagerGroupHolder.getOrCreateIndexManager(IndexManagerGroupHolder.java:155)
> at org.hibernate.search.indexes.impl.NotShardedEntityIndexBinder.bind(NotShardedEntityIndexBinder.java:34)
> at org.hibernate.search.indexes.impl.IndexManagerGroupHolder.bind(IndexManagerGroupHolder.java:100)
> at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:100)
> at org.hibernate.search.spi.SearchIntegratorBuilder.initDocumentBuilders(SearchIntegratorBuilder.java:428)
> at org.hibernate.search.spi.SearchIntegratorBuilder.createNewFactoryState(SearchIntegratorBuilder.java:244)
> at org.hibernate.search.spi.SearchIntegratorBuilder.buildNewSearchFactory(SearchIntegratorBuilder.java:200)
> at org.hibernate.search.spi.SearchIntegratorBuilder.buildSearchIntegrator(SearchIntegratorBuilder.java:128)
> at org.infinispan.query.impl.LifecycleManager.createSearchIntegrator(LifecycleManager.java:329)
> at org.infinispan.query.impl.LifecycleManager.cacheStarting(LifecycleManager.java:123)
> at org.infinispan.factories.ComponentRegistry.notifyCacheStarting(ComponentRegistry.java:252)
> at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:239)
> at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:1098)
> at org.infinispan.cache.impl.AbstractDelegatingCache.start(AbstractDelegatingCache.java:511)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:646)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:591)
> at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:477)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:432)
> at org.infinispan.test.MultipleCacheManagersTest.getCaches(MultipleCacheManagersTest.java:291)
> at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:300)
> at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:309)
> at org.infinispan.query.blackbox.ClusteredCacheWithAsyncDirTest.createCacheManagers(ClusteredCacheWithAsyncDirTest.java:27)
> at org.infinispan.test.MultipleCacheManagersTest.callCreateCacheManagers(MultipleCacheManagersTest.java:121)
> at org.infinispan.test.MultipleCacheManagersTest.createBeforeMethod(MultipleCacheManagersTest.java:131)
> at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
> 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:85)
> at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:510)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:585)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
> at org.testng.TestRunner.privateRun(TestRunner.java:774)
> at org.testng.TestRunner.run(TestRunner.java:624)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:393)
> 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.hibernate.search.exception.SearchException: Unable to open Lucene IndexReader for IndexManager person
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.createReader(SharingBufferReaderProvider.java:114)
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.initialize(SharingBufferReaderProvider.java:92)
> at org.hibernate.search.indexes.impl.PropertiesParseHelper.createDirectoryBasedReaderProvider(PropertiesParseHelper.java:176)
> at org.hibernate.search.indexes.spi.DirectoryBasedIndexManager.createIndexReader(DirectoryBasedIndexManager.java:223)
> at org.hibernate.search.indexes.spi.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:94)
> at org.hibernate.search.indexes.impl.IndexManagerGroupHolder.doCreateIndexManager(IndexManagerGroupHolder.java:195)
> ... 45 more
> Caused by: java.io.FileNotFoundException: Error loading metadata for index file: M|segments_a|person|-1
> at org.infinispan.lucene.impl.DirectoryImplementor.openInput(DirectoryImplementor.java:143)
> at org.infinispan.lucene.impl.DirectoryLucene.openInput(DirectoryLucene.java:102)
> at org.apache.lucene.store.Directory.openChecksumInput(Directory.java:109)
> at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:294)
> at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:53)
> at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:50)
> at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:731)
> at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:50)
> at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:63)
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.readerFactory(SharingBufferReaderProvider.java:132)
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider$PerDirectoryLatestReader.<init>(SharingBufferReaderProvider.java:207)
> at org.hibernate.search.indexes.impl.SharingBufferReaderProvider.createReader(SharingBufferReaderProvider.java:109)
> ... 50 more
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] ClusteredCacheWithAsyncDirTest>MultipleCacheManagersTest.createBeforeMethod:131->MultipleCacheManagersTest.callCreateCacheManagers:121->createCacheManagers:27->MultipleCacheManagersTest.waitForClusterToForm:309->MultipleCacheManagersTest.waitForClusterToForm:300->MultipleCacheManagersTest.getCaches:291 » Search
> [INFO]
> [ERROR] Tests run: 3621, Failures: 1, Errors: 0, Skipped: 19
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months