Skip to content

Instantly share code, notes, and snippets.

@jacaetevha
Created December 11, 2012 21:15
Show Gist options
  • Save jacaetevha/4262189 to your computer and use it in GitHub Desktop.
Save jacaetevha/4262189 to your computer and use it in GitHub Desktop.
drip on jruby-head doesn't seem to be helping. Test runs are still abominably slow -- in fact, tests take longer using drip than by running jruby directly, and my CPU is pegged at 355+% during test runs. Specs randomly fail (always with a java.lang.InternalError coming from java.lang.invoke.MethodHandleStatics.newInternalError(MethodHandleStatic…
$ echo $DRIP_INIT_CLASS
org.jruby.main.DripMain
$ cat dripmain.rb
require File.expand_path('./config/environment', __FILE__)
$ bundle exec guard
16:07:29 - INFO - Guard uses Growl to send notifications.
16:07:29 - INFO - Guard uses TerminalTitle to send notifications.
16:07:29 - INFO - Guard is now watching at '/Users/jrogers/Documents/Programming/samasource/sh3'
16:07:29 - INFO - Guard::RSpec is running
16:07:29 - INFO - Running all specs
No DRb server is running. Running in local process instead ...
/Users/jrogers/.rvm/gems/jruby-head@sh3/gems/simplecov-0.7.1/lib/simplecov.rb:34 warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
..........................................................................
An error occurred in an after hook
Java::JavaLang::InternalError: BMH.reinvoke=Lambda(a0:L,a1:L,a2:L,a3:L)=>{
t4:L=BoundMethodHandle$Species_LLL.argL2(a0:L);
t5:L=BoundMethodHandle$Species_LLL.argL1(a0:L);
t6:L=MethodHandle.reinvokerTarget(a0:L);
t7:L=MethodHandle.invokeBasic(t6:L,t5:L,a1:L,a3:L,t4:L);t7:L}
occurred at java.lang.invoke.MethodHandleStatics.newInternalError(MethodHandleStatics.java:97)
An error occurred while assigning the example description
Java::JavaLang::InternalError: guard=Lambda(a0:L,a1:L,a2:L,a3:L,a4:L)=>{
t5:I=MethodHandle(ThreadContext,IRubyObject,IRubyObject,IRubyObject)boolean(a1:L,a2:L,a3:L,a4:L);
t6:L=MethodHandleImpl.selectAlternative(t5:I,(MethodHandle(ThreadContext,IRubyObject,IRubyObject,IRubyObject)IRubyObject),(MethodHandle(ThreadContext,IRubyObject,IRubyObject,IRubyObject)IRubyObject));
t7:L=MethodHandle.invokeBasic(t6:L,a1:L,a2:L,a3:L,a4:L);t7:L}
occurred at java.lang.invoke.MethodHandleStatics.newInternalError(MethodHandleStatics.java:97)
/Users/jrogers/.rvm/gems/jruby-head@sh3/gems/rspec-core-2.12.0/lib/rspec/core/example.rb:275 warning: singleton on non-persistent Java type Java::JavaLang::InternalError (http://wiki.jruby.org/Persistence)
16:09:22 - ERROR - PhantomJS executable couldn't be auto detected.
16:09:29 - INFO - Running: spec/features/answer_version_history_spec.rb
No DRb server is running. Running in local process instead ...
/Users/jrogers/.rvm/gems/jruby-head@sh3/gems/simplecov-0.7.1/lib/simplecov.rb:34 warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
.
Finished in 9.07 seconds
1 example, 0 failures
Randomized with seed 11261
Warning: coverage data provided by Coverage [13] exceeds number of lines in /Users/jrogers/Documents/Programming/samasource/sh3/app/views/admin/projects/_tasks.html.slim [10]
Warning: coverage data provided by Coverage [48] exceeds number of lines in /Users/jrogers/Documents/Programming/samasource/sh3/app/views/admin/projects/show.html.slim [45]
Warning: coverage data provided by Coverage [34] exceeds number of lines in /Users/jrogers/Documents/Programming/samasource/sh3/app/views/layouts/application.html.slim [31]
Warning: coverage data provided by Coverage [21] exceeds number of lines in /Users/jrogers/Documents/Programming/samasource/sh3/app/views/projects/index.html.slim [18]
Warning: coverage data provided by Coverage [15] exceeds number of lines in /Users/jrogers/Documents/Programming/samasource/sh3/app/views/sessions/new.html.slim [13]
Warning: coverage data provided by Coverage [14] exceeds number of lines in /Users/jrogers/Documents/Programming/samasource/sh3/app/views/tasks/show.html.slim [11]
Warning: coverage data provided by Coverage [7] exceeds number of lines in /Users/jrogers/Documents/Programming/samasource/sh3/app/views/user_account_mailer/activation_needed_email.text.erb [5]
Coverage report generated for Cucumber Features to /Users/jrogers/Documents/Programming/samasource/sh3/coverage. 233 / 250 LOC (93.2%) covered.
16:10:26 - INFO - Running all specs
[snipped...]
@dukex
Copy link

dukex commented Sep 20, 2013

Do you fixed it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment