Failed

org.dataone.tidy.dao.MergeResultRepositoryTest.testSimpleCreateReadTest

Failing for the past 1 build (Since Unstable#24 )
Took 0.56 sec.

Error Message

Total records found did not match expected. expected:<3> but was:<8>

Stacktrace

java.lang.AssertionError: Total records found did not match expected. expected:<3> but was:<8>
	at org.junit.Assert.fail(Assert.java:93)
	at org.junit.Assert.failNotEquals(Assert.java:647)
	at org.junit.Assert.assertEquals(Assert.java:128)
	at org.junit.Assert.assertEquals(Assert.java:472)
	at org.dataone.tidy.dao.MergeResultRepositoryTest.testSimpleCreateReadTest(MergeResultRepositoryTest.java:58)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)

Standard Output

ERROR[main] 2015-07-24 16:56:25,996 o.h.tool.hbm2ddl.SchemaUpdate[236] - HHH000388: Unsuccessful: create index index_run on merge_result (runId)
ERROR[main] 2015-07-24 16:56:26,007 o.h.tool.hbm2ddl.SchemaUpdate[237] - Index "INDEX_RUN" already exists; SQL statement:
create index index_run on merge_result (runId) [42111-163]
Results found with findAll():
-------------------------------
MergeResult [id=1, pid=pid1, mergeDate=07/24/2015:16:56:25:447, runId=12, status=SUCCESS, authMN=null, exception='null']
MergeResult [id=2, pid=foo, mergeDate=07/24/2015:16:56:25:499, runId=12, status=SUCCESS, authMN=null, exception='null']
MergeResult [id=3, pid=bar, mergeDate=07/24/2015:16:56:25:503, runId=12, status=SUCCESS, authMN=null, exception='null']
MergeResult [id=4, pid=fu, mergeDate=07/24/2015:16:56:25:506, runId=12, status=SUCCESS, authMN=null, exception='null']
MergeResult [id=5, pid=pid2, mergeDate=07/24/2015:16:56:25:509, runId=12, status=SUCCESS, authMN=null, exception='null']
MergeResult [id=6, pid=pid1cn-dev-ucsb-1:RightsHolder_testGroup.14cn-dev-ucsb-1:RightsHolder_testGroup.14cn-dev-ucsb-1:RightsHolder_testGroup.14cn-dev-ucsb-1:RightsHolder_testGroup.14cn-dev-ucsb-1:Rp.14cn-dev-ucsb-1:RightsHolder_testGroup.14estGroup.14cn-dev-ucsb-1:Rp.14cn-dev-ucsb-1:RightsHolder_testGroup.14estGroup.14cn-dev-ucsb-1:Rp.14cn-dev-ucsb-1:RightsHolder_testGroup.14estGroup.14cn-dev-ucsb-1:Rp.14cn-dev-ucsb-1:RightsHolder_testGroup.14estGroup.14cn-dev-ucsb-1:Rp.14cn-dev-ucsb-1:RightsHolder_testGroup.14estGroup.14cn-dev-ucsb-1:Rp.14cn-dev-ucsb-1:RightsHolder_testGroup.14estGroup.14cn-dev-ucsb-1:Rp.14cn-dev-ucsb-1:RightsHolder_testGroup.14estGroup.14cn-dev-ucsb-1:Rp.14cn-dev-ucsb-1:RightsHolder_testGroup.14estGroup.14cn-dev-ucsb-1:Rp.14cn-dev-ucsb-1:RightsHolder_testGroup.14estGroup.14cn-dev-ucsb-1:Rp.14cn-dev-ucsb-1:RightsHolder_testGroup.14estGroup.14cn-dev-ucsb-1:Rp.14cn-dev-ucsb-1:RightsHolder_testGroup.14estGroup.14cn-dev-ucsb-1:Rp.14cn-dev-ucsb-1:RightsHolder_testGroup.14, mergeDate=07/24/2015:16:56:26:65, runId=12, status=SUCCESS, authMN=null, exception='null']
MergeResult [id=7, pid=foo, mergeDate=07/24/2015:16:56:26:69, runId=12, status=FAILURE, authMN=null, exception='null']
MergeResult [id=8, pid=bar, mergeDate=07/24/2015:16:56:26:81, runId=12, status=SUCCESS, authMN=null, exception='null']