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
D Initialize InSpec
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #verify action: [Transport error, can't connect to 'ssh' backend: SSH session could n
ot be established]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
D ------Exception-------
D Class: Kitchen::ActionFailed
D Message: Failed to complete #verify action: [Transport error, can't connect to 'ssh' backend: SSH session could n
ot be established]
D ---Nested Exception---
D Class: RuntimeError
D Message: Transport error, can't connect to 'ssh' backend: SSH session could not be established
D ------Backtrace-------
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/inspec-0.22.0/lib/inspec/backend.rb:44:in `rescue in create'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/inspec-0.22.0/lib/inspec/backend.rb:16:in `create'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/inspec-0.22.0/lib/inspec/runner.rb:45:in `configure_transport
'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/inspec-0.22.0/lib/inspec/runner.rb:29:in `initialize'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-inspec-0.13.0/lib/kitchen/verifier/inspec.rb:43:in `n
ew'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/kitchen-inspec-0.13.0/lib/kitchen/verifier/inspec.rb:43:in `c
all'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.8.0/lib/kitchen/instance.rb:423:in `block in v
erify_action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.8.0/lib/kitchen/instance.rb:513:in `call'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.8.0/lib/kitchen/instance.rb:513:in `synchroniz
e_or_call'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.8.0/lib/kitchen/instance.rb:478:in `block in a
ction'
D C:/opscode/chefdk/embedded/lib/ruby/2.1.0/benchmark.rb:279:in `measure'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.8.0/lib/kitchen/instance.rb:477:in `action'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.8.0/lib/kitchen/instance.rb:415:in `verify_act
ion'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.8.0/lib/kitchen/instance.rb:348:in `block in t
ransition_to'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.8.0/lib/kitchen/instance.rb:347:in `each'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.8.0/lib/kitchen/instance.rb:347:in `transition
_to'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.8.0/lib/kitchen/instance.rb:160:in `verify'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.8.0/lib/kitchen/command.rb:176:in `public_send
'
D C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/test-kitchen-1.8.0/lib/kitchen/command.rb:176:in `block (2 le
vels) in run_action'
D ----------------------
we've tried several approaches when specifying the ssh credentials, but none of them seems to work.
We have another test with windows machines that work wonderfully and also the test for linux using kitchen-ec2 works fine.
Has anybody managed to get kitchen-vsphere to run an inspec test successfully?
thanks for your help!
The text was updated successfully, but these errors were encountered:
Hi @warp3r
I haven't had any issues with using Kitchen+InSpec on Windows and Redhat.
I'm using Test Kitchen version 1.15.0 and don't have a transport section defined.
Hi there,
we are running some test kitchen machines via the vsphere provider with the following configuration
and it fails with:
we've tried several approaches when specifying the ssh credentials, but none of them seems to work.
We have another test with windows machines that work wonderfully and also the test for linux using kitchen-ec2 works fine.
Has anybody managed to get kitchen-vsphere to run an inspec test successfully?
thanks for your help!
The text was updated successfully, but these errors were encountered: