Skip to content

Loading…

242 errors when running sbt test #91

Open
znaika opened this Issue · 3 comments

4 participants

@znaika

I'm trying to install flockdb on an Amazon EC2 instance running Ubuntu 11.10. Per the readme, I have installed java 1.6 (openjdk-6-jdk), thrift 0.5.0, and sbt 0.7.4; mysql is running, and DB_USERNAME and DB_PASSWORD are defined in ~/.bashrc.

I have run sbt update successfully; on running sbt test, I get 242 errors. It looks to me like all the errors are happening in com.twitter.querulous.database.ThrottledPool.borrowObjectInternal(ThrottledPoolingDatabase.scala:92). Partial output is below; full output is here.

[info] Standard project rules 0.12.6 loaded (2011-05-10).
[warn] No .svnrepo file; no svn repo will be configured.
[info] Building project flockdb 1.8.16-SNAPSHOT against Scala 2.8.1
[info]    using FlockDBProject with sbt 0.7.4 and Scala 2.7.7
[info] 
[info] == check-deps-exist ==
[info] == check-deps-exist ==
[info] 
[info] == compile-thrift-scrooge ==
[info] Fetching scrooge 2.3.1 ...
[info] Deleting directory /home/ubuntu/flockdb/target/gen-scala
[info] + Compiling /home/ubuntu/flockdb/src/main/thrift/Flockdb.thrift
[info] == compile-thrift-scrooge ==
[info] 
[info] == compile ==
[info]   Source analysis: 43 new/modified, 0 indirectly invalidated, 0 removed.
[info] Compiling main sources...
[info] 'compiler-interface' not yet compiled for Scala 2.8.1.final. Compiling...
[info]   Compilation completed in 61.555 s
[info] Compilation successful.
[info]   Post-analysis: 679 classes.
[info] == compile ==
[info] 
[info] == copy-resources ==
[info] == copy-resources ==
[info] 
[info] == test-compile ==
[info]   Source analysis: 22 new/modified, 0 indirectly invalidated, 0 removed.
[info] Compiling test sources...
[warn] /home/ubuntu/flockdb/src/test/scala/com/twitter/flockdb/ConfigValidationSpec.scala:12: object Eval in package util is deprecated: use a throw-away instance of Eval instead
[warn]       val config = Eval[flockdb.config.FlockDB](new File("config/production.scala"))
[warn]                    ^
[warn] /home/ubuntu/flockdb/src/test/scala/com/twitter/flockdb/ConfigValidationSpec.scala:16: object Eval in package util is deprecated: use a throw-away instance of Eval instead
[warn]       val config = Eval[flockdb.config.FlockDB](new File("config/development.scala"))
[warn]                    ^
[warn] /home/ubuntu/flockdb/src/test/scala/com/twitter/flockdb/ConfigValidationSpec.scala:21: object Eval in package util is deprecated: use a throw-away instance of Eval instead
[warn]       val config = Eval[flockdb.config.FlockDB](new File("config/test.scala"))
[warn]                    ^
[warn] /home/ubuntu/flockdb/src/test/scala/com/twitter/flockdb/ConfiguredSpecification.scala:38: object Eval in package util is deprecated: use a throw-away instance of Eval instead
[warn]     val c = Eval[flockdb.config.FlockDB](new File("config/test.scala"))
[warn]             ^
[warn] four warnings found
[info] Compilation successful.
[info]   Post-analysis: 877 classes.
[info] == test-compile ==
[info] 
[info] == copy-test-resources ==
[info] == copy-test-resources ==
[info] 
[info] == test-start ==
[info] == test-start ==

<snip 89940 lines of output>

[info] == test-finish ==
[error] Error: Total 369, Failed 10, Errors 242, Passed 117, Skipped 0
[info] == test-finish ==
[info] 
[info] == test-cleanup ==
[info] == test-cleanup ==
[error] Error running com.twitter.flockdb.integration.EdgesSpec: ERROR occurred during testing.
[error] Error running com.twitter.flockdb.integration.CopySpec: ERROR occurred during testing.
[error] Error running com.twitter.flockdb.integration.BlackHoleLockingRegressionSpec: ERROR occurred during testing.
[error] Error running com.twitter.flockdb.integration.OptimisticLockRegressionSpec: ERROR occurred during testing.
[error] Error running com.twitter.flockdb.unit.SqlShardSpec: ERROR occurred during testing.
[error] Error running com.twitter.flockdb.integration.IntersectionSpec: ERROR occurred during testing.
[error] Error running com.twitter.flockdb.integration.FlockFixRegressionSpec: ERROR occurred during testing.
[error] Error running com.twitter.flockdb.integration.SelectCompilerSpec: ERROR occurred during testing.
[error] Error running test: One or more subtasks failed
[info] 
[info] Total time: 390 s, completed Apr 26, 2012 9:33:39 PM
[info] 
[info] Total session time: 391 s, completed Apr 26, 2012 9:33:39 PM
[error] Error during build.

Any advice would be appreciated.

@bal2ag

I get exactly the same number of errors (likely the same errors). Any info on this?

@bluetiger9

Same here. Any solution?

@MatheusCaiser

I tried instanced a flockdb and is very hard do this, on windows xp sp3. I installed RubyInstaller 1.8.7 with Development Kit. after mysql 5.0 jdk 1.6. there is some files in the conf that's need change the variable of password, for connect to mysql, Have too that create a folder in the root of the C:. With this a think can work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.