crankycoder

Untitled

Oct 17th, 2011
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.61 KB | None | 0 0
  1. Victors-MacBook-Air:logstash-master-origin victorng$ rake test
  2. cd test; ruby logstash_test_runner.rb
  3. Loading tests from logstash/test_syntax
  4. Loading tests from logstash/test_event
  5. Loading tests from logstash/filters/test_date
  6. Loading tests from logstash/filters/test_grep
  7. Loading tests from logstash/filters/test_multiline
  8. Loading tests from logstash/filters/test_grok
  9. Loading tests from logstash/outputs/test_elasticsearch
  10. Skipping tests: logstash/inputs/test_file
  11. Skipping tests: logstash/inputs/test_syslog
  12. Skipping tests: logstash/inputs/test_stomp
  13. Loaded suite logstash_test_runner
  14. Started
  15. ...FFF..........{:config=>{"str"=>["test"], "add_field"=>["new_field", "new_value"], "type"=>["add_field"]}}
  16. {:filter=>nil}
  17. E{:config=>{"str"=>["test"], "add_field"=>["new_field", "new_value"], "type"=>["add_field"]}}
  18. {:filter=>nil}
  19. E{:config=>{"rum"=>["%{FIZZLE=\\d+}"], "pattern"=>["%{WORD}"], "break_on_match"=>["false"], "type"=>["grok_field_name_attribute"]}}
  20. {:filter=>nil}
  21. E{:config=>{"rum"=>["%{FIZZLE=\\d+}"], "type"=>["grok_field_name_attribute"]}}
  22. {:filter=>nil}
  23. E{:config=>{"pattern"=>["%{FIZZLE=\\d+}"], "type"=>["grok_inline_define"]}}
  24. {:filter=>nil}
  25. E{:config=>{"pattern"=>["(?:hello|world) %{NUMBER}"], "type"=>["groknormal"]}}
  26. {:filter=>nil}
  27. E{:config=>{"pattern"=>["%{SYSLOGLINE}"], "type"=>["groknormal"]}}
  28. {:filter=>nil}
  29. E{:config=>{"pattern"=>["%{NUMBER:foo:float}"], "type"=>["groktypehinting_float"]}}
  30. {:filter=>nil}
  31. E{:config=>{"pattern"=>["%{NUMBER:foo:int}"], "type"=>["groktypehinting_int"]}}
  32. {:filter=>nil}
  33. E{:config=>{"pattern"=>["%{SYSLOGLINE}"], "type"=>["grokspeed"]}}
  34. {:filter=>nil}
  35. E....I, [2011-10-17T13:06:25.560000 #8700] INFO -- logstash_test_runner.rb: Starting embedded ElasticSearch local node.
  36. log4j:WARN No appenders could be found for logger (org.elasticsearch.node).
  37. log4j:WARN Please initialize the log4j system properly.
  38. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  39. I, [2011-10-17T13:06:27.060000 #8700] INFO -- logstash_test_runner.rb: {
  40. :message => "New ElasticSearch output",
  41. :cluster => nil,
  42. :host => nil,
  43. :port => 9300,
  44. :embedded => true
  45. }
  46. I, [2011-10-17T13:06:27.866000 #8700] INFO -- logstash_test_runner.rb: ElasticSearch search: *
  47. I, [2011-10-17T13:06:28.111000 #8700] INFO -- logstash_test_runner.rb: ElasticSearch search: *
  48. I, [2011-10-17T13:06:28.195000 #8700] INFO -- logstash_test_runner.rb: [
  49. [0] "Got search results (in blocking mode)",
  50. [1] {
  51. :query => "*",
  52. :duration => "68ms",
  53. :result_count => 0
  54. }
  55. ]
  56. I, [2011-10-17T13:06:28.401000 #8700] INFO -- logstash_test_runner.rb: ElasticSearch search: *
  57. I, [2011-10-17T13:06:28.404000 #8700] INFO -- logstash_test_runner.rb: [
  58. [0] "Got search results (in blocking mode)",
  59. [1] {
  60. :query => "*",
  61. :duration => "2ms",
  62. :result_count => 0
  63. }
  64. ]
  65. I, [2011-10-17T13:06:28.612000 #8700] INFO -- logstash_test_runner.rb: ElasticSearch search: *
  66. I, [2011-10-17T13:06:28.614000 #8700] INFO -- logstash_test_runner.rb: [
  67. [0] "Got search results (in blocking mode)",
  68. [1] {
  69. :query => "*",
  70. :duration => "2ms",
  71. :result_count => 0
  72. }
  73. ]
  74. I, [2011-10-17T13:06:28.822000 #8700] INFO -- logstash_test_runner.rb: ElasticSearch search: *
  75. I, [2011-10-17T13:06:28.877000 #8700] INFO -- logstash_test_runner.rb: [
  76. [0] "Got search results (in blocking mode)",
  77. [1] {
  78. :query => "*",
  79. :duration => "39ms",
  80. :result_count => 1
  81. }
  82. ]
  83. I, [2011-10-17T13:06:29.082000 #8700] INFO -- logstash_test_runner.rb: ElasticSearch search: *
  84. I, [2011-10-17T13:06:29.095000 #8700] INFO -- logstash_test_runner.rb: [
  85. [0] "Got search results (in blocking mode)",
  86. [1] {
  87. :query => "*",
  88. :duration => "11ms",
  89. :result_count => 5
  90. }
  91. ]
  92. Found 5 events, ready to verify!
  93. .
  94. Finished in 11.761 seconds.
  95.  
  96. 1) Failure:
  97. test_formats(TestFilterDate)
  98. [/Users/victorng/dev/logstash-master-origin/test/logstash/filters/test_date.rb:86:in `test_formats'
  99. org/jruby/RubyHash.java:1170:in `each'
  100. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/test_date.rb:83:in `test_formats'
  101. org/jruby/RubyKernel.java:2092:in `send'
  102. org/jruby/RubyArray.java:1603:in `each'
  103. org/jruby/RubyArray.java:1603:in `each']:
  104. <"2011-11-24T09:29:01.000Z"> expected but was
  105. <"2011-11-24T06:29:01.000Z">.
  106.  
  107. 2) Failure:
  108. test_iso8601(TestFilterDate)
  109. [/Users/victorng/dev/logstash-master-origin/test/logstash/filters/test_date.rb:65:in `test_iso8601'
  110. org/jruby/RubyHash.java:1170:in `each'
  111. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/test_date.rb:61:in `test_iso8601'
  112. org/jruby/RubyKernel.java:2092:in `send'
  113. org/jruby/RubyArray.java:1603:in `each'
  114. org/jruby/RubyArray.java:1603:in `each']:
  115. Time '2001-01-01T00:00:00.123' should parse to '2001-01-01T08:00:00.123Z' but got '2001-01-01T05:00:00.123Z'.
  116. <"2001-01-01T08:00:00.123Z"> expected but was
  117. <"2001-01-01T05:00:00.123Z">.
  118.  
  119. 3) Failure:
  120. test_speed(TestFilterDate)
  121. [/Users/victorng/dev/logstash-master-origin/test/logstash/filters/test_date.rb:110:in `test_speed'
  122. org/jruby/RubyInteger.java:135:in `upto'
  123. org/jruby/RubyEnumerator.java:190:in `each'
  124. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/test_date.rb:107:in `test_speed'
  125. org/jruby/ext/Timeout.java:100:in `timeout'
  126. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/test_date.rb:106:in `test_speed'
  127. org/jruby/RubyKernel.java:2092:in `send'
  128. org/jruby/RubyArray.java:1603:in `each'
  129. org/jruby/RubyArray.java:1603:in `each']:
  130. <"2011-11-24T06:29:01.000Z"> expected but was
  131. <"2011-11-24T09:29:01.000Z">.
  132.  
  133. 4) Error:
  134. test_add_fields(TestFilterGrok):
  135. LoadError: Could not open library 'libgrok' : dlopen(libgrok, 5): image not found. Could not open library 'libgrok.dylib' : dlopen(libgrok.dylib, 5): image not found
  136. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:82:in `ffi_lib'
  137. org/jruby/RubyArray.java:2336:in `collect'
  138. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:64:in `ffi_lib'
  139. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:8:in `CGrok'
  140. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:6:in `Grok'
  141. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:5:in `(root)'
  142. org/jruby/RubyKernel.java:1038:in `require'
  143. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
  144. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:99:in `register'
  145. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:35:in `config'
  146. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:201:in `test_add_fields'
  147. org/jruby/RubyKernel.java:2092:in `send'
  148. org/jruby/RubyArray.java:1603:in `each'
  149. org/jruby/RubyArray.java:1603:in `each'
  150.  
  151. 5) Error:
  152. test_add_fields_does_not_occur_if_match_failed(TestFilterGrok):
  153. LoadError: Could not open library 'libgrok' : dlopen(libgrok, 5): image not found. Could not open library 'libgrok.dylib' : dlopen(libgrok.dylib, 5): image not found
  154. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:82:in `ffi_lib'
  155. org/jruby/RubyArray.java:2336:in `collect'
  156. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:64:in `ffi_lib'
  157. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:8:in `CGrok'
  158. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:6:in `Grok'
  159. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:5:in `(root)'
  160. org/jruby/RubyKernel.java:1038:in `require'
  161. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
  162. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:99:in `register'
  163. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:35:in `config'
  164. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:213:in `test_add_fields_does_not_occur_if_match_failed'
  165. org/jruby/RubyKernel.java:2092:in `send'
  166. org/jruby/RubyArray.java:1603:in `each'
  167. org/jruby/RubyArray.java:1603:in `each'
  168.  
  169. 6) Error:
  170. test_grok_field_name_and_pattern_coexisting(TestFilterGrok):
  171. LoadError: Could not open library 'libgrok' : dlopen(libgrok, 5): image not found. Could not open library 'libgrok.dylib' : dlopen(libgrok.dylib, 5): image not found
  172. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:82:in `ffi_lib'
  173. org/jruby/RubyArray.java:2336:in `collect'
  174. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:64:in `ffi_lib'
  175. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:8:in `CGrok'
  176. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:6:in `Grok'
  177. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:5:in `(root)'
  178. org/jruby/RubyKernel.java:1038:in `require'
  179. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
  180. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:99:in `register'
  181. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:35:in `config'
  182. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:177:in `test_grok_field_name_and_pattern_coexisting'
  183. org/jruby/RubyKernel.java:2092:in `send'
  184. org/jruby/RubyArray.java:1603:in `each'
  185. org/jruby/RubyArray.java:1603:in `each'
  186.  
  187. 7) Error:
  188. test_grok_field_name_attribute(TestFilterGrok):
  189. LoadError: Could not open library 'libgrok' : dlopen(libgrok, 5): image not found. Could not open library 'libgrok.dylib' : dlopen(libgrok.dylib, 5): image not found
  190. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:82:in `ffi_lib'
  191. org/jruby/RubyArray.java:2336:in `collect'
  192. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:64:in `ffi_lib'
  193. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:8:in `CGrok'
  194. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:6:in `Grok'
  195. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:5:in `(root)'
  196. org/jruby/RubyKernel.java:1038:in `require'
  197. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
  198. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:99:in `register'
  199. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:35:in `config'
  200. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:162:in `test_grok_field_name_attribute'
  201. org/jruby/RubyKernel.java:2092:in `send'
  202. org/jruby/RubyArray.java:1603:in `each'
  203. org/jruby/RubyArray.java:1603:in `each'
  204.  
  205. 8) Error:
  206. test_grok_inline_define(TestFilterGrok):
  207. LoadError: Could not open library 'libgrok' : dlopen(libgrok, 5): image not found. Could not open library 'libgrok.dylib' : dlopen(libgrok.dylib, 5): image not found
  208. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:82:in `ffi_lib'
  209. org/jruby/RubyArray.java:2336:in `collect'
  210. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:64:in `ffi_lib'
  211. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:8:in `CGrok'
  212. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:6:in `Grok'
  213. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:5:in `(root)'
  214. org/jruby/RubyKernel.java:1038:in `require'
  215. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
  216. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:99:in `register'
  217. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:35:in `config'
  218. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:147:in `test_grok_inline_define'
  219. org/jruby/RubyKernel.java:2092:in `send'
  220. org/jruby/RubyArray.java:1603:in `each'
  221. org/jruby/RubyArray.java:1603:in `each'
  222.  
  223. 9) Error:
  224. test_grok_multiple_message(TestFilterGrok):
  225. LoadError: Could not open library 'libgrok' : dlopen(libgrok, 5): image not found. Could not open library 'libgrok.dylib' : dlopen(libgrok.dylib, 5): image not found
  226. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:82:in `ffi_lib'
  227. org/jruby/RubyArray.java:2336:in `collect'
  228. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:64:in `ffi_lib'
  229. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:8:in `CGrok'
  230. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:6:in `Grok'
  231. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:5:in `(root)'
  232. org/jruby/RubyKernel.java:1038:in `require'
  233. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
  234. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:99:in `register'
  235. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:35:in `config'
  236. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:70:in `test_grok_multiple_message'
  237. org/jruby/RubyKernel.java:2092:in `send'
  238. org/jruby/RubyArray.java:1603:in `each'
  239. org/jruby/RubyArray.java:1603:in `each'
  240.  
  241. 10) Error:
  242. test_grok_normal(TestFilterGrok):
  243. LoadError: Could not open library 'libgrok' : dlopen(libgrok, 5): image not found. Could not open library 'libgrok.dylib' : dlopen(libgrok.dylib, 5): image not found
  244. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:82:in `ffi_lib'
  245. org/jruby/RubyArray.java:2336:in `collect'
  246. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:64:in `ffi_lib'
  247. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:8:in `CGrok'
  248. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:6:in `Grok'
  249. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:5:in `(root)'
  250. org/jruby/RubyKernel.java:1038:in `require'
  251. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
  252. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:99:in `register'
  253. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:35:in `config'
  254. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:41:in `test_grok_normal'
  255. org/jruby/RubyKernel.java:2092:in `send'
  256. org/jruby/RubyArray.java:1603:in `each'
  257. org/jruby/RubyArray.java:1603:in `each'
  258.  
  259. 11) Error:
  260. test_grok_type_hinting_float(TestFilterGrok):
  261. LoadError: Could not open library 'libgrok' : dlopen(libgrok, 5): image not found. Could not open library 'libgrok.dylib' : dlopen(libgrok.dylib, 5): image not found
  262. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:82:in `ffi_lib'
  263. org/jruby/RubyArray.java:2336:in `collect'
  264. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:64:in `ffi_lib'
  265. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:8:in `CGrok'
  266. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:6:in `Grok'
  267. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:5:in `(root)'
  268. org/jruby/RubyKernel.java:1038:in `require'
  269. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
  270. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:99:in `register'
  271. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:35:in `config'
  272. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:132:in `test_grok_type_hinting_float'
  273. org/jruby/RubyKernel.java:2092:in `send'
  274. org/jruby/RubyArray.java:1603:in `each'
  275. org/jruby/RubyArray.java:1603:in `each'
  276.  
  277. 12) Error:
  278. test_grok_type_hinting_int(TestFilterGrok):
  279. LoadError: Could not open library 'libgrok' : dlopen(libgrok, 5): image not found. Could not open library 'libgrok.dylib' : dlopen(libgrok.dylib, 5): image not found
  280. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:82:in `ffi_lib'
  281. org/jruby/RubyArray.java:2336:in `collect'
  282. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:64:in `ffi_lib'
  283. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:8:in `CGrok'
  284. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:6:in `Grok'
  285. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:5:in `(root)'
  286. org/jruby/RubyKernel.java:1038:in `require'
  287. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
  288. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:99:in `register'
  289. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:35:in `config'
  290. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:113:in `test_grok_type_hinting_int'
  291. org/jruby/RubyKernel.java:2092:in `send'
  292. org/jruby/RubyArray.java:1603:in `each'
  293. org/jruby/RubyArray.java:1603:in `each'
  294.  
  295. 13) Error:
  296. test_speed(TestFilterGrok):
  297. LoadError: Could not open library 'libgrok' : dlopen(libgrok, 5): image not found. Could not open library 'libgrok.dylib' : dlopen(libgrok.dylib, 5): image not found
  298. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:82:in `ffi_lib'
  299. org/jruby/RubyArray.java:2336:in `collect'
  300. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/shared/ffi/library.rb:64:in `ffi_lib'
  301. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:8:in `CGrok'
  302. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:6:in `Grok'
  303. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:5:in `(root)'
  304. org/jruby/RubyKernel.java:1038:in `require'
  305. /Users/victorng/.rvm/rubies/jruby-1.6.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
  306. /Users/victorng/.rvm/gems/jruby-1.6.4/gems/jls-grok-0.9.0/lib/grok.rb:99:in `register'
  307. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:35:in `config'
  308. /Users/victorng/dev/logstash-master-origin/test/logstash/filters/../..//logstash/filters/../..//logstash/filters/../..//logstash/filters/test_grok.rb:82:in `test_speed'
  309. org/jruby/RubyKernel.java:2092:in `send'
  310. org/jruby/RubyArray.java:1603:in `each'
  311. org/jruby/RubyArray.java:1603:in `each'
  312.  
  313. 31 tests, 62 assertions, 3 failures, 10 errors
  314. rake aborted!
  315. Command failed with status (1): [cd test; ruby logstash_test_runner.rb...]
  316.  
  317. Tasks: TOP => test
  318. (See full trace by running task with --trace)
  319. Victors-MacBook-Air:logstash-master-origin victorng$
  320.  
  321.  
Advertisement
Add Comment
Please, Sign In to add comment