volanja / ansible_spec

It's ruby gem that connect Ansible & Serverspec for Test Driven Server Configuration(or TDD).
MIT License
229 stars 57 forks source link

Add test(3.1.1) #147

Closed volanja closed 2 years ago

volanja commented 2 years ago

Test is failed at Ruby v3.1.1 on oroku_saki

........................................................................................................................Error: hash_behaviour 'mistake_word' should be 'replace' or 'merge' See https://github.com/volanja/ansible_spec
/home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/order_group.rb:9: warning: Exception in finalizer #<Proc:0x00007fcf8336b[5](https://github.com/volanja/ansible_spec/runs/5393171663?check_suite_focus=true#step:6:5)78 /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/oroku_saki-1.1.1/lib/oroku_saki.rb:8 (lambda)>
/home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/oroku_saki-1.1.1/lib/oroku_saki.rb:9:in `_id2ref': "23[6](https://github.com/volanja/ansible_spec/runs/5393171663?check_suite_focus=true#step:6:6)60" is recycled object (RangeError)
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/oroku_saki-1.1.1/lib/oroku_saki.rb:9:in `block in <module:OrokuSaki>'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/order_group.rb:9:in `initialize'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/space.rb:64:in `new'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/space.rb:64:in `initialize'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/space.rb:212:in `initialize'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/space.rb:[7](https://github.com/volanja/ansible_spec/runs/5393171663?check_suite_focus=true#step:6:7)0:in `new'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/space.rb:70:in `new_scope'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks.rb:39:in `setup'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/rspec.rb:19:in `setup_mocks_for_rspec'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:504:in `run_before_example'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:261:in `block in run'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:46[8](https://github.com/volanja/ansible_spec/runs/5393171663?check_suite_focus=true#step:6:8):in `block in with_around_example_hooks'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `block in run'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb:486:in `run'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:25[9](https://github.com/volanja/ansible_spec/runs/5393171663?check_suite_focus=true#step:6:9):in `run'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `map'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:642:in `run_examples'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:607:in `run'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `block in run'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `map'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb:608:in `run'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `map'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb:2068:in `with_suite_hooks'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:116:in `block in run_specs'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb:74:in `report'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:115:in `run_specs'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:89:in `run'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:71:in `run'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb:45:in `invoke'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.11.0/exe/rspec:4:in `<top (required)>'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/bin/rspec:25:in `load'
    from /home/runner/work/ansible_spec/ansible_spec/vendor/bundle/ruby/3.1.0/bin/rspec:25:in `<top (required)>'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/cli/exec.rb:58:in `load'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/cli/exec.rb:58:in `kernel_load'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/cli/exec.rb:23:in `run'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/cli.rb:484:in `exec'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/cli.rb:31:in `dispatch'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/cli.rb:25:in `start'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/exe/bundle:48:in `block in <top (required)>'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/lib/bundler/friendly_errors.rb:[10](https://github.com/volanja/ansible_spec/runs/5393171663?check_suite_focus=true#step:6:10)3:in `with_friendly_errors'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/lib/ruby/gems/3.1.0/gems/bundler-2.3.8/exe/bundle:36:in `<top (required)>'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/bin/bundle:[25](https://github.com/volanja/ansible_spec/runs/5393171663?check_suite_focus=true#step:6:25):in `load'
    from /opt/hostedtoolcache/Ruby/3.1.1/x64/bin/bundle:25:in `<main>'