public
Last active

Undefined method spawn on Kernel - Zookeeper rbx -X18 mode #2006

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
$> SPAWN_ZOOKEEPER='true' RBXOPT=-X18 rbx -G -S rake
cd ext
rake clean
make clean
rm Makefile
cd -
cd ext
rake
tar -zxf zkc-3.3.5.tar.gz
ruby extconf.rb
Zkc already built; run 'rake clobber' in ext/ first if you need to rebuild.
checking for rb_thread_blocking_region()... no
creating Makefile
make
gcc -I. -I. -I/home/jesse/.rvm/rubies/rbx-head/vm/capi/18/include -I. -I/home/je
sse/.rvm/usr/include -I/usr/local/include -fPIC -I/tmp/zookeeper/ext/include
-L/tmp/zookeeper/ext/lib -L/home/jesse/.rvm/rubies/rbx-head/lib -g -fPIC -O2 -I/
home/jesse/.rvm/usr/include -I/usr/local/include -DZKRB_RUBY_187 -c zkrb.c
gcc -I. -I. -I/home/jesse/.rvm/rubies/rbx-head/vm/capi/18/include -I. -I/home/je
sse/.rvm/usr/include -I/usr/local/include -fPIC -I/tmp/zookeeper/ext/include
-L/tmp/zookeeper/ext/lib -L/home/jesse/.rvm/rubies/rbx-head/lib -g -fPIC -O2 -I/
home/jesse/.rvm/usr/include -I/usr/local/include -DZKRB_RUBY_187 -c event_lib.c
 
gcc -I. -I. -I/home/jesse/.rvm/rubies/rbx-head/vm/capi/18/include -I. -I/home/je
sse/.rvm/usr/include -I/usr/local/include -fPIC -I/tmp/zookeeper/ext/include
-L/tmp/zookeeper/ext/lib -L/home/jesse/.rvm/rubies/rbx-head/lib -g -fPIC -O2 -I/
home/jesse/.rvm/usr/include -I/usr/local/include -DZKRB_RUBY_187 -c zkrb_wrappe
r.c
gcc -I. -I. -I/home/jesse/.rvm/rubies/rbx-head/vm/capi/18/include -I. -I/home/je
sse/.rvm/usr/include -I/usr/local/include -fPIC -I/tmp/zookeeper/ext/include
-L/tmp/zookeeper/ext/lib -L/home/jesse/.rvm/rubies/rbx-head/lib -g -fPIC -O2 -I/
home/jesse/.rvm/usr/include -I/usr/local/include -DZKRB_RUBY_187 -c zkrb_wrappe
r_compat.c
gcc -shared -o zookeeper_c.so zkrb.o event_lib.o zkrb_wrapper.o zkrb_wrapper_com
pat.o -L/tmp/zookeeper/ext/lib -Wl,-R/tmp/zookeeper/ext/lib -L/tmp/zookeeper/ext
/lib -L/home/jesse/.rvm/rubies/rbx-head/lib -L/home/jesse/.rvm/usr/lib -L/usr/l
ocal/lib -lzookeeper_st_gem
cd -
/home/jesse/.rvm/rubies/rbx-head/bin/rbx -S rspec ./spec/c_zookeeper_spec.rb ./s
pec/chrooted_connection_spec.rb ./spec/compatibilty_spec.rb ./spec/default_watch
er_spec.rb ./spec/em_spec.rb ./spec/ext/zookeeper_base_spec.rb ./spec/forked_con
nection_spec.rb ./spec/latch_spec.rb ./spec/zookeeper_spec.rb
ZK::Server::Config#initialize {}
 
 
Finished in 0.07255 seconds
0 examples, 0 failures
An exception occurred running at_exit handlers
undefined method `spawn' on Kernel (Module) (NoMethodError)
 
Backtrace:
Kernel(Module)#spawn (method_missing) at kernel/delta/kernel.rb:81
ZK::Server::SubProcess#spawn! at /home/jesse/.rvm/gems/rbx-head/gems/zk-server-1.1.5
/lib/zk-server/sub_process.rb:152
ZK::Server::SubProcess#run at /home/jesse/.rvm/gems/rbx-head/gems/zk-server-1.1.5
/lib/zk-server/sub_process.rb:110
{ } in ZK::Server.run at /home/jesse/.rvm/gems/rbx-head/gems/zk-server-1.1.5
/lib/zk-server.rb:68
Kernel(ZK::Server::SubProcess)#tap at kernel/common/kernel.rb:241
 
ZK::Server.run at /home/jesse/.rvm/gems/rbx-head/gems/zk-server-1.1.5
/lib/zk-server.rb:68
{ } in Object#__script__ at spec/spec_helper.rb:39
RSpec::Core::Hooks::Hook(RSpec::Core::Hooks::BeforeHook)#call at /home/jesse/.rvm/gems/rbx-head/gems
/rspec-core-2.8.0/lib/rspec/core
/hooks.rb:24
RSpec::Core::Hooks::BeforeHook#run_in at /home/jesse/.rvm/gems/rbx-head/gems/rspec-core-2.8.0
/lib/rspec/core/hooks.rb:37
{ } in RSpec::Core::Hooks::BeforeHooks#run_all at /home/jesse/.rvm/gems/rbx-head/gems/rspec-core-2.8.0
/lib/rspec/core/hooks.rb:70
Array(RSpec::Core::Hooks::BeforeHooks)#each at kernel/bootstrap/array.rb:68
RSpec::Core::Hooks::BeforeHooks#run_all at /home/jesse/.rvm/gems/rbx-head/gems/rspec-core-2.8.0
/lib/rspec/core/hooks.rb:70
RSpec::Core::Hooks(RSpec::Core::Configuration)#run_hook at /home/jesse/.rvm/gems/rbx-head/gems
/rspec-core-2.8.0/lib/rspec/core/hooks.rb:368
{ } in RSpec::Core::CommandLine#run at /home/jesse/.rvm/gems/rbx-head/gems/rspec-core-2.8.0
/lib/rspec/core/command_line.rb:27
RSpec::Core::Reporter#report at /home/jesse/.rvm/gems/rbx-head/gems/rspec-core-2.8.0
/lib/rspec/core/reporter.rb:34
RSpec::Core::CommandLine#run at /home/jesse/.rvm/gems/rbx-head/gems/rspec-core-2.8.0
/lib/rspec/core/command_line.rb:25
RSpec::Core::Runner.run_in_process at /home/jesse/.rvm/gems/rbx-head/gems/rspec-core-2.8.0
/lib/rspec/core/runner.rb:80
 
RSpec::Core::Runner.run at /home/jesse/.rvm/gems/rbx-head/gems/rspec-core-2.8.0
/lib/rspec/core/runner.rb:69
 
{ } in RSpec::Core::Runner.autorun at /home/jesse/.rvm/gems/rbx-head/gems/rspec-core-2.8.0
/lib/rspec/core/runner.rb:10
 
Rubinius::Loader#run_at_exits at kernel/loader.rb:696
Rubinius::Loader#epilogue at kernel/loader.rb:716
Rubinius::Loader#main at kernel/loader.rb:849
rake aborted!
/home/jesse/.rvm/rubies/rbx-head/bin/rbx -S rspec ./spec/c_zookeeper_spec.rb ./spec/chrooted_connection_spec.rb ./spec/compatibilty_spec.rb ./spec/default_watch
er_spec.rb ./spec/em_spec.rb ./spec/ext/zookeeper_base_spec.rb ./spec/forked_connection_spec.rb ./spec/latch_spec.rb ./spec/zookeeper_spec.rb failed
/home/jesse/.rvm/gems/rbx-head/gems/rspec-core-2.8.0/lib/rspec/core/rake_task.rb:137:in `initialize'
/home/jesse/.rvm/gems/rbx-head/gems/rspec-core-2.8.0/lib/rspec/core/rake_task.rb:127:in `initialize'
kernel/bootstrap/array.rb:68:in `each'
/tmp/zookeeper/releaseops/lib/releaseops/test_tasks.rb:21:in `define_simple_default_for_travis'
kernel/bootstrap/array.rb:68:in `each'
kernel/bootstrap/array.rb:68:in `each'
kernel/bootstrap/array.rb:68:in `each'
kernel/common/kernel.rb:597:in `load'
kernel/delta/codeloader.rb:68:in `load_script'
kernel/delta/codeloader.rb:118:in `load_script'
kernel/loader.rb:614:in `script'
kernel/loader.rb:815:in `main'
Tasks: TOP => spec:runner
(See full trace by running task with --trace)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.