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

[MYSQL 8] infinispan-cachestore-sql tests tests failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RHDG 8.3 CD
    • None
    • Persistence
    • None

      \{noformat}[ERROR] org.infinispan.persistence.sql.TableJdbcStoreFunctionalTest.persistence.jdbc.stringbased.TableJdbcStoreFunctionalTest  Time elapsed: 0.366 s  <<< FAILURE!     [java] java.lang.AssertionError: Entry for key: 97 was null\{noformat}
      

      [ERROR] org.infinispan.persistence.sql.QueriesJdbcStoreFunctionalTest.persistence.jdbc.stringbased.QuerySchemaJdbcStoreFunctionalTest  Time elapsed: 0.079 s  <<< FAILURE!     [java] org.infinispan.commons.CacheException: Could not commit implicit transaction     [java] at org.infinispan.cache.impl.InvocationHelper.tryCommit(InvocationHelper.java:286)     [java] at org.infinispan.cache.impl.InvocationHelper.executeCommandWithInjectedTx(InvocationHelper.java:207)     [java] at org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:100)     [java] at org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:83)     [java] at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1300)     [java] at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1828)     [java] at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:1294)     [java] at org.infinispan.cache.impl.CacheImpl.put(CacheImpl.java:230)     [java] at org.infinispan.cache.impl.AbstractDelegatingCache.put(AbstractDelegatingCache.java:113)     [java] at org.infinispan.cache.impl.EncoderCache.put(EncoderCache.java:189)     [java] at org.infinispan.persistence.BaseStoreFunctionalTest.testPreloadStoredAsBinary(BaseStoreFunctionalTest.java:170)     [java] at org.infinispan.persistence.sql.AbstractSQLStoreFunctionalTest.testPreloadStoredAsBinary(AbstractSQLStoreFunctionalTest.java:129)     [java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     [java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     [java] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     [java] at java.base/java.lang.reflect.Method.invoke(Method.java:566)     [java] at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)     [java] at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)     [java] at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)     [java] at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)     [java] at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)     [java] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)     [java] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)     [java] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)     [java] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)     [java] at org.testng.TestRunner.privateRun(TestRunner.java:648)     [java] at org.testng.TestRunner.run(TestRunner.java:505)     [java] at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)     [java] at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)     [java] at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)     [java] at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)     [java] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)     [java] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)     [java] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)     [java] at java.base/java.lang.Thread.run(Thread.java:829)     [java] Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.     [java] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1307)     [java] at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:128)     [java] at org.infinispan.cache.impl.InvocationHelper.tryCommit(InvocationHelper.java:283)     [java] ... 34 more     [java] Suppressed: javax.transaction.xa.XAException     [java] at org.infinispan.transaction.impl.TransactionCoordinator.lambda$prepare$1(TransactionCoordinator.java:142)     [java] at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)     [java] at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:907)     [java] at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)     [java] at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)     [java] at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.invokeQueuedHandlers(QueueAsyncInvocationStage.java:114)     [java] at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.accept(QueueAsyncInvocationStage.java:87)     [java] at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.accept(QueueAsyncInvocationStage.java:33)     [java] at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)     [java] at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)     [java] at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)     [java] at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)     [java] at org.infinispan.util.concurrent.CompletionStages$AbstractAggregateCompletionStage.complete(CompletionStages.java:255)     [java] at org.infinispan.util.concurrent.CompletionStages$AbstractAggregateCompletionStage.accept(CompletionStages.java:225)     [java] at org.infinispan.util.concurrent.CompletionStages$AbstractAggregateCompletionStage.accept(CompletionStages.java:209)     [java] at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)     [java] at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)     [java] at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)     [java] at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610)     [java] at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:840)     [java] at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)     [java] ... 3 more     [java] Caused by: java.util.concurrent.CompletionException: org.infinispan.persistence.spi.PersistenceException: Error during rollback of JDBC transaction (TransactionImple < ac, BasicAction: 0:ffff0a006a42:ae29:615b0f0b:84 status: ActionStatus.COMMITTING >)     [java] at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331)     [java] at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346)     [java] at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:777)     [java] ... 21 more     [java] Suppressed: org.infinispan.commons.CacheException: java.lang.IllegalStateException: Entries cannot have null versions!     [java] at org.infinispan.interceptors.impl.InvocationContextInterceptor.rethrowException(InvocationContextInterceptor.java:135)     [java] at org.infinispan.interceptors.impl.InvocationContextInterceptor.lambda$new$0(InvocationContextInterceptor.java:61)     [java] at org.infinispan.interceptors.InvocationExceptionFunction.apply(InvocationExceptionFunction.java:25)     [java] at org.infinispan.interceptors.impl.QueueAsyncInvocationStage.invokeQueuedHandlers(QueueAsyncInvocationStage.java:124)     [java] ... 18 more     [java] Caused by: java.lang.IllegalStateException: Entries cannot have null versions!     [java] at org.infinispan.container.entries.VersionedRepeatableReadEntry.lambda$getCurrentEntryVersion$1(VersionedRepeatableReadEntry.java:109)     [java] at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642)     [java] ... 7 more     [java] Caused by: org.infinispan.persistence.spi.PersistenceException: Error during rollback of JDBC transaction (TransactionImple < ac, BasicAction: 0:ffff0a006a42:ae29:615b0f0b:84 status: ActionStatus.COMMITTING >)     [java] at org.infinispan.persistence.jdbc.common.impl.BaseJdbcStore.lambda$rollback$10(BaseJdbcStore.java:247)     [java] at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736)     [java] at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)     [java] at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)     [java] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)     [java] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)     [java] ... 1 more     [java] Caused by: java.sql.SQLNonTransientConnectionException: Can''t call rollback when autocommit=true     [java] at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)     [java] at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)     [java] at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)     [java] at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)     [java] at com.mysql.cj.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:1851)     [java] at io.agroal.pool.wrapper.ConnectionWrapper.rollback(ConnectionWrapper.java:219)     [java] at org.infinispan.persistence.jdbc.common.impl.BaseJdbcStore.lambda$rollback$10(BaseJdbcStore.java:244)     [java] ... 6 more{noformat}

      [ERROR] org.infinispan.persistence.sql.TableJdbcStoreFunctionalTest.persistence.jdbc.stringbased.TableJdbcStoreFunctionalTest  Time elapsed: 0.001 s  <<< FAILURE!     [java] java.lang.AssertionError: expected:<Person\{name='1', address=street=null, city=San Jose, zip=0, picture=null, sex=null, birthDate=Wed Dec 31 19:00:00 EST 1969}> but was:<null>     [java] at org.testng.AssertJUnit.fail(AssertJUnit.java:59)     [java] at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)     [java] at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)     [java] at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88)     [java] at org.infinispan.persistence.BaseStoreFunctionalTest.testPreloadStoredAsBinary(BaseStoreFunctionalTest.java:183)     [java] at org.infinispan.persistence.sql.AbstractSQLStoreFunctionalTest.testPreloadStoredAsBinary(AbstractSQLStoreFunctionalTest.java:129)     [java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     [java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     [java] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     [java] at java.base/java.lang.reflect.Method.invoke(Method.java:566)     [java] at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)     [java] at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)     [java] at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)     [java] at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)     [java] at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)     [java] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)     [java] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)     [java] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)     [java] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)     [java] at org.testng.TestRunner.privateRun(TestRunner.java:648)     [java] at org.testng.TestRunner.run(TestRunner.java:505)     [java] at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)     [java] at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)     [java] at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)     [java] at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)     [java] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)     [java] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)     [java] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)     [java] at java.base/java.lang.Thread.run(Thread.java:829)\{noformat}
      
      

      [ERROR] org.infinispan.persistence.sql.TableJdbcStoreFunctionalTest.persistence.jdbc.stringbased.TableJdbcStoreFunctionalTest  Time elapsed: 0.123 s  <<< FAILURE!     [java] java.lang.AssertionError: Entry for key: 0 was null     [java] at org.testng.AssertJUnit.fail(AssertJUnit.java:59)     [java] at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)     [java] at org.testng.AssertJUnit.assertNotNull(AssertJUnit.java:267)     [java] at org.infinispan.persistence.BaseStoreFunctionalTest.testPutAllBatch(BaseStoreFunctionalTest.java:296)     [java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     [java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     [java] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     [java] at java.base/java.lang.reflect.Method.invoke(Method.java:566)     [java] at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)     [java] at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:230)     [java] at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)     [java] at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:242)     [java] at org.testng.internal.Invoker.invokeMethod(Invoker.java:579)     [java] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)     [java] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)     [java] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)     [java] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)     [java] at org.testng.TestRunner.privateRun(TestRunner.java:648)     [java] at org.testng.TestRunner.run(TestRunner.java:505)     [java] at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)     [java] at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)     [java] at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)     [java] at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)     [java] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)     [java] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)     [java] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)     [java] at java.base/java.lang.Thread.run(Thread.java:829){noformat}

              wburns@redhat.com Will Burns
              gustavolira Gustavo Lira Silva
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: