Testing fails with "bin/rspec spec/unit/**/*_spec.rb" in logstash-5.6.15

Testing fails with "bin/rspec spec/unit/**/*_spec.rb" in logstash-5.6.15

I am performing testing of logstash-5.6.15 and I got below error.

ERROR

Bundler::GemNotFound: Could not find benchmark-ips-2.7.2 in any of the sources
** materialize at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/spec_set.rb:92**

Steps to reproduce this error.

# jruby -v
jruby 1.7.27 (1.9.3p551) 2017-05-11 8cdb01a on OpenJDK 64-Bit Server VM 1.8.0_201-b09 +jit [linux-amd64]

# rake bootstrap ==> (it's work SUCCESSFUL BUILD)

# bin/rspec spec/unit/**/*_spec.rb
Bundler::GemNotFound: Could not find benchmark-ips-2.7.2 in any of the sources
      materialize at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/spec_set.rb:92
             map! at org/jruby/RubyArray.java:2446
      materialize at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/spec_set.rb:85
            specs at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/definition.rb:132
        specs_for at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/definition.rb:177
  requested_specs at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/definition.rb:166
  requested_specs at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/environment.rb:18
            setup at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/runtime.rb:13
            setup at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler.rb:122
           setup! at /root/logstash_5.6.15/logstash-5.6.15/lib/bootstrap/bundler.rb:67
           (root) at /root/logstash_5.6.15/logstash-5.6.15/lib/bootstrap/rspec.rb:3

Could any one please help to resolve above issue.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.