Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-372

LevelDB test fail on Windows and Solaris

XMLWordPrintable

    • ER6
      • Use JAVA implementation of the LevelDB Cache Store (LevelDBStoreConfigurationBuilder #implementationType(LevelDBStoreConfiguration.ImplementationType.JAVA))

      Link to the Jenkins job: http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JDG/view/FUNC/job/jdg-func-ispn-testsuite-windows-os/USE_JDK=JDK8,jdk=java18_default,label=w2k8%20&&%20x86_64/lastCompletedBuild/testReport/org.infinispan.persistence.leveldb/JniLevelDBStoreFunctionalTest/testPreloadStoredAsBinary/

      Stacktrace:

      org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.start() on object of type PersistenceManagerImpl
      	at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:172)
      	at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:864)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:633)
      	at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:622)
      	at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:547)
      	at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:238)
      	at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:890)
      	at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:635)
      	at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:585)
      	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:451)
      	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:437)
      	at org.infinispan.persistence.BaseStoreFunctionalTest.testPreloadStoredAsBinary(BaseStoreFunctionalTest.java:119)
      	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:497)
      	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:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.infinispan.commons.CacheException: Unable to start cache loaders
      	at org.infinispan.persistence.manager.PersistenceManagerImpl.start(PersistenceManagerImpl.java:172)
      	at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
      	... 31 more
      Caused by: org.infinispan.commons.CacheConfigurationException: Unable to instantiate class org.fusesource.leveldbjni.JniDBFactory
      	at org.infinispan.commons.util.Util.loadClass(Util.java:115)
      	at org.infinispan.commons.util.Util.getInstance(Util.java:283)
      	at org.infinispan.persistence.leveldb.LevelDBStore.newDbFactory(LevelDBStore.java:80)
      	at org.infinispan.persistence.leveldb.LevelDBStore.init(LevelDBStore.java:62)
      	at org.infinispan.persistence.manager.PersistenceManagerImpl.initializeBareInstance(PersistenceManagerImpl.java:607)
      	at org.infinispan.persistence.manager.PersistenceManagerImpl.createLoadersAndWriters(PersistenceManagerImpl.java:548)
      	at org.infinispan.persistence.manager.PersistenceManagerImpl.start(PersistenceManagerImpl.java:130)
      	... 35 more
      Caused by: java.lang.ClassNotFoundException: org.fusesource.leveldbjni.JniDBFactory
      	at org.infinispan.commons.util.Util.loadClassStrict(Util.java:196)
      	at org.infinispan.commons.util.Util.loadClass(Util.java:113)
      	... 41 more
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.fusesource.leveldbjni.JniDBFactory
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:348)
      	at org.infinispan.commons.util.Util.loadClassStrict(Util.java:183)
      	... 42 more
      

            slaskawi@redhat.com Sebastian Łaskawiec (Inactive)
            slaskawi@redhat.com Sebastian Łaskawiec (Inactive)
            Vojtech Juranek Vojtech Juranek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: