Closed jzohrab closed 8 years ago
Working through this and will post notes as I go, rather than at the end in a nice neat report. Will clean up the comments in here when I get everything worked out, maybe.
Upgrading specinfra to latest version (gem install specinfra -v 2.50.4
), which uses updated net-ssh gem, gives a different error:
Message: Failed to complete #verify action: [undefined local variable or method `failure_slash_error_line' for #<RSpec::Core::Formatters::ExceptionPresenter:0x007fab04936550>]
Ref https://twitter.com/kantrn/status/664913752832126976 for a tweet on the above.
https://rubygems.org/gems/specinfra/versions/2.44.8 is the lowest number that changes the net-ssh ~> 2.7
dependency. It has dependency net-ssh < 3.1, >= 2.7, but unfortunately installing that gem also leads to the undefined local variable or method 'failure_slash_error_line'
issue.
Submitted PR https://github.com/mizzy/serverspec/pull/553 to serverspec to deal with the error above.
This is verified working on ChefDK 0.15.15
With the Chef Development Kit Version 0.10.0 and inspec set as the .kitchen.yml verifier,
kitchen verify
fails with the below:Ruby version:
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin13]
Some gems I have installed:
The .kitchen/logs/ubuntu log had the following: