Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.0 rubocop changes to matches? create issues in 2.3 ruby based sensu #62

Open
crscybr opened this issue Mar 17, 2018 · 0 comments
Open

Comments

@crscybr
Copy link

crscybr commented Mar 17, 2018

See sensu-plugins/sensu-plugins-raid-checks#18 for a similar issue.

The latest updates to sensu-plugins-process-checks breaks in ruby versions 2.3 supplied by
sensu-0.26.5-2.x86_64

/opt/sensu/embedded/bin/ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]

/opt/sensu/embedded/bin/check-process.rb -p init

Check failed to run: undefined method `zero?' for #<Process::Status: pid 29557 exit 1>, ["/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-process-checks-3.0.0/bin/check-process.rb:211:in `on_cygwin?'", "/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-process-checks-3.0.0/bin/check-process.rb:217:in `acquire_procs'", "/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-process-checks-3.0.0/bin/check-process.rb:252:in `run'", "/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.4.2/lib/sensu-plugin/cli.rb:58:in `block in <class:CLI>'"]
@crscybr crscybr changed the title 3.0.0 rubicon changes to matches? create issues in 2.3 ruby based sensu 3.0.0 rubocop changes to matches? create issues in 2.3 ruby based sensu Mar 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant