Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9586

ClusteredCacheWithAsyncDirTest fails nearly every time in createBeforeMethod()

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.4.0.CR3
    • Fix Version/s: None
    • Component/s: Embedded Querying
    • Labels:
      None

      Description

      [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
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                anistor Nistor Adrian
                Reporter:
                anistor Nistor Adrian
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: