Skip to content

Instantly share code, notes, and snippets.

@kevinzen
Created November 12, 2013 15:33
Show Gist options
  • Save kevinzen/7432911 to your computer and use it in GitHub Desktop.
Save kevinzen/7432911 to your computer and use it in GitHub Desktop.
sidekiq failing minitest stack trace
[2013-11-11T16:53:38.150000 #19380] ERROR -- : Sidekiq::Processor crashed!
MockExpectationError: mocked method :real_thread called with unexpected arguments [nil, #<Thread:0x41604212 run>]
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/mock.rb:129:in `method_missing'
/Users/kbedell/work/sidekiq/lib/sidekiq/processor.rb:38:in `process'
/Users/kbedell/work/sidekiq/lib/sidekiq/processor.rb:83:in `do_defer'
/Users/kbedell/work/sidekiq/lib/sidekiq/processor.rb:37:in `process'
org/jruby/RubyKernel.java:1932:in `public_send'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/celluloid-0.15.2/lib/celluloid/calls.rb:67:in `dispatch'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `handle_message'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `task'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/celluloid-0.15.2/lib/c.elluloid/tasks.rb:55:in `initialize'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:47:in `initialize'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `create'
(celluloid):0:in `remote procedure call'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/celluloid-0.15.2/lib/celluloid/calls.rb:92:in `value'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/celluloid-0.15.2/lib/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
/Users/kbedell/work/sidekiq/test/test_middleware.rb:88:in `test_0002_executes middleware in the proper order'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:1258:in `__send__'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:1258:in `run'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:933:in `_run_suite'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `map'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `_run_suite'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:907:in `_run_suites'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:907:in `map'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:907:in `_run_suites'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:877:in `_run_anything'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:1085:in `run_tests'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `send'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `_run'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `each'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `_run'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:10.59:in `run'
/Users/kbedell/.rvm/gems/jruby-1.7.4/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in `autorun'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment