Flockdb test errors

72 views
Skip to first unread message

Martin

unread,
Sep 21, 2011, 2:18:19 PM9/21/11
to FlockDB
Hi,

I am having the following errors when running 'sbt update package-
dist'

[error] Error: Total 107, Failed 0, Errors 7, Passed 99, Skipped 1
[info] == test-finish ==
[info]
[info] == test-cleanup ==
[info] == test-cleanup ==
[error] Error running
com.twitter.flockdb.integration.SelectCompilerSpec: ERROR occurred
during testing.
[error] Error running
com.twitter.flockdb.integration.OptimisticLockRegressionSpec: ERROR
occurred during testing.
[error] Error running
com.twitter.flockdb.integration.IntersectionSpec: ERROR occurred
during testing.
[error] Error running <anonymous>: One or more subtasks failed
[error] Error running
com.twitter.flockdb.integration.FlockFixRegressionSpec: ERROR occurred
during testing.
[error] Error running
com.twitter.flockdb.integration.BlackHoleLockingRegressionSpec: ERROR
occurred during testing.
[error] Error running com.twitter.flockdb.integration.EdgesSpec: ERROR
occurred during testing.
[error] Error running com.twitter.flockdb.unit.SqlShardSpec: ERROR
occurred during testing.
[info]


I am running:
sbt 0.7.4
thrift 0.5.0
mysql ver 14.14 Distribu 5.5.14
% uname -snrv: Linux localhost.localdomain
2.6.38.6-26.rc1.fc15.i686.PAE

One of the specific errors is as follows:
[error] Could not create an instance of
com.twitter.flockdb.integration.OptimisticLockRegressionSpec
[error]
[error] null
[error]
[error]
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[error]
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
57)
[error]
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
45)
[error] java.lang.reflect.Constructor.newInstance(Constructor.java:
532)
[error] org.specs.util.Classes$class.createInstanceFor(Classes.scala:
78)
[error]
org.specs.runner.TestInterfaceRunner.createInstanceFor(TestInterfaceRunner.scala:
48)
[error] org.specs.util.Classes$class.create(Classes.scala:38)
[error]
org.specs.runner.TestInterfaceRunner.create(TestInterfaceRunner.scala:
48)
[error]
org.specs.runner.TestInterfaceRunner.run(TestInterfaceRunner.scala:53)
[error] sbt.TestRunner.run(TestFramework.scala:52)
[error] sbt.TestRunner.runTest$1(TestFramework.scala:66)
[error] sbt.TestRunner.run(TestFramework.scala:75)
[error] sbt.TestFramework$$anonfun$9$$anonfun$apply$11.runTest
$2(TestFramework.scala:192)
[error] sbt.TestFramework$$anonfun$9$$anonfun$apply$11$$anonfun$apply
$12.apply(TestFramework.scala:203)
[error] sbt.TestFramework$$anonfun$9$$anonfun$apply$11$$anonfun$apply
$12.apply(TestFramework.scala:203)
[error] sbt.NamedTestTask.run(TestFramework.scala:91)
[error] sbt.ScalaProject$$anonfun$sbt$ScalaProject$$toTask
$1.apply(ScalaProject.scala:187)
[error] sbt.ScalaProject$$anonfun$sbt$ScalaProject$$toTask
$1.apply(ScalaProject.scala:187)
[error] sbt.TaskManager$Task.invoke(TaskManager.scala:62)
[error] sbt.impl.RunTask.doRun$1(RunTask.scala:77)
[error] sbt.impl.RunTask.runTask(RunTask.scala:85)
[error] sbt.impl.RunTask.sbt$impl$RunTask$
$runIfNotRoot(RunTask.scala:60)
[error] sbt.impl.RunTask$$anonfun$runTasksExceptRoot
$2.apply(RunTask.scala:48)
[error] sbt.impl.RunTask$$anonfun$runTasksExceptRoot
$2.apply(RunTask.scala:48)
[error] sbt.Distributor$Run$Worker$$anonfun
$2.apply(ParallelRunner.scala:131)
[error] sbt.Distributor$Run$Worker$$anonfun
$2.apply(ParallelRunner.scala:131)
[error] sbt.Control$.trapUnit(Control.scala:19)
[error] sbt.Distributor$Run$Worker.run(ParallelRunner.scala:131)


Thank you!

Martin

ksauzz

unread,
Sep 22, 2011, 11:55:04 AM9/22/11
to flo...@googlegroups.com
Hi,

What storage engine do you use? InnoDB?
I believe flockdb requires InnoDB. When I built flockdb with MyISAM,
it failed with the similar error. :(

2011/9/22 Martin <mmcs...@gmail.com>:

Martin McSweeney

unread,
Sep 22, 2011, 12:47:19 PM9/22/11
to flo...@googlegroups.com, ksau...@gmail.com
HI... Yes I set my default storage engine to InnoDB.

Boaz Avital

unread,
Sep 22, 2011, 12:54:24 PM9/22/11
to flo...@googlegroups.com
You can try rerunning the test/package-dist until it works. Other people get those errors too, they seem to be a race condition. It doesn't affect the actual functionality of Flock as far as I can tell. 
Reply all
Reply to author
Forward
0 new messages