You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% bundle install
Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.4). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.4`.
Using rake 13.0.3
Using fiber-local 1.0.0
Using console 1.10.1
Using nio4r 2.5.4
Using timers 4.3.2
Using async 1.28.3
Using async-io 1.30.1
Using async-pool 0.3.3
Using protocol-http 0.21.0
Using protocol-http1 0.13.2
Using protocol-hpack 1.4.2
Using protocol-http2 0.14.1
Using async-http 0.54.1
Using bundler 2.2.3
Using concurrent-ruby 1.1.7
Using cool.io 1.7.0
Using http_parser.rb 0.6.0
Using msgpack 1.3.3
Using sigdump 0.2.4
Using serverengine 2.2.2
Using strptime 0.2.5
Using tzinfo 2.0.4
Using tzinfo-data 1.2020.6
Using yajl-ruby 1.4.1
Using fluentd 1.12.0
Using irc_parser 0.1.2
Using fluent-plugin-irc 0.1.0 from source at `.`
Using power_assert 1.2.0
Using test-unit 3.3.9
Using webrick 1.7.0
Bundle complete! 4 Gemfile dependencies, 30 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Next, execute rake test.
/home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/singleton-0.1.1/lib/singleton.rb:141: warning: previous definition of __init__ was here
/home/kenhys/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/singleton.rb:152:in `undef_method': undefined method `extend_object' for class `Singleton' (NameError)
Did you mean? extended
from /home/kenhys/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/singleton.rb:152:in `singleton class'
from /home/kenhys/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/singleton.rb:140:in `<module:Singleton>'
from /home/kenhys/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/singleton.rb:94:in `<top (required)>'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/compat/output_chain.rb:17:in `require'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/compat/output_chain.rb:17:in `<top (required)>'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/compat/output.rb:27:in `require'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/compat/output.rb:27:in `<top (required)>'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/output.rb:17:in `require'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/output.rb:17:in `<top (required)>'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/agent.rb:19:in `require'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/agent.rb:19:in `<top (required)>'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/root_agent.rb:20:in `require'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/root_agent.rb:20:in `<top (required)>'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/engine.rb:21:in `require'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/engine.rb:21:in `<top (required)>'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/test/base.rb:18:in `require'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/test/base.rb:18:in `<top (required)>'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/test.rb:20:in `require'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/fluentd-1.12.0/lib/fluent/test.rb:20:in `<top (required)>'
from /work/fluentd/plugins/fluent-plugin-irc/test/helper.rb:14:in `require'
from /work/fluentd/plugins/fluent-plugin-irc/test/helper.rb:14:in `<top (required)>'
from <internal:/home/kenhys/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/home/kenhys/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /work/fluentd/plugins/fluent-plugin-irc/test/plugin/test_out_irc.rb:1:in `<top (required)>'
from <internal:/home/kenhys/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/home/kenhys/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:17:in `block in <main>'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:5:in `select'
from /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:5:in `<main>'
rake aborted!
Command failed with status (1): [ruby -w -I"lib:lib:test" /home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/rake-13.0.3/lib/rake/rake_test_loader.rb "test/plugin/test_out_irc.rb" ]
/home/kenhys/.rvm/gems/ruby-3.0.0@work/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => test
(See full trace by running task with --trace)
The text was updated successfully, but these errors were encountered:
Problem
rake test fails with Ruby 3.0.0
Steps to replicate
Expected Behavior
CI=yes rake test succeeds.
Your environment
fluentd --version
ortd-agent --version
fluent-gem list
,td-agent-gem list
or your Gemfile.lockThen, applied missing gems
After it, install dependency.
Next, execute rake test.
The text was updated successfully, but these errors were encountered: