Bug 808993

Summary: Test method testMixedFromAndToStream fails in Jdbc cache store testsuite
Product: [JBoss] JBoss Data Grid 6 Reporter: Martin Gencur <mgencur>
Component: unspecifiedAssignee: Tristan Tarrant <ttarrant>
Status: VERIFIED --- QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: jdg-bugs
Target Milestone: ---   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Gencur 2012-04-02 07:45:22 UTC
Description of problem:

This test method fails on all platforms (RHEL, Solaris, Windows) and I also verified locally that it fails. It fails in both JdbcMixedCacheStoreVamTest and JdbcMixedCacheStoreTest.

https://hudson.qa.jboss.com/hudson/view/EDG6/view/EDG-REPORTS-FUNC/job/edg-60-infinispan-testsuite-rhel/jdk=java16_default,label=RHEL6/lastCompletedBuild/testReport/

The stacktrace is as follows:

java.lang.NullPointerException
	at org.infinispan.loaders.jdbc.mixed.JdbcMixedCacheStoreTest.testMixedFromAndToStream(JdbcMixedCacheStoreTest.java:156)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:846)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1170)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.runWorkers(TestRunner.java:1147)
	at org.testng.TestRunner.privateRun(TestRunner.java:749)
	at org.testng.TestRunner.run(TestRunner.java:600)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)
	at org.testng.SuiteRunner.access$000(SuiteRunner.java:34)
	at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:351)
	at org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:147)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)

Comment 1 Tristan Tarrant 2012-04-20 17:04:43 UTC
I've done some debugging and this is caused by the H2 database being different between the community Infinispan testsuite (1.1.117) and the one inherited from MEAD BOMs (1.3.161). Upgrading the community version to that version causes an identical failure. At least we're consistent. I will analyze this further

Comment 2 JBoss JIRA Server 2012-04-23 06:58:06 UTC
Mircea Markus <mmarkus> made a comment on jira ISPN-1997

integrated on both 5.1.x and master.

Comment 3 Martin Gencur 2012-05-02 09:00:45 UTC
Verified. This bug does not appear in ER7.