Skip to content

Instantly share code, notes, and snippets.

@vainikkaj
Last active January 8, 2016 15:11
Show Gist options
  • Save vainikkaj/021ecf1a216d5448f782 to your computer and use it in GitHub Desktop.
Save vainikkaj/021ecf1a216d5448f782 to your computer and use it in GitHub Desktop.
vagrant-serverspec winrm error
$ vagrant provision
==> client_win2008r2: Running provisioner: puppet...
==> client_win2008r2: Running Puppet with environment vagrant...
==> client_win2008r2: Info: Loading facts
==> client_win2008r2:
==> client_win2008r2: Info: Loading facts
==> client_win2008r2: Info: Loading facts
==> client_win2008r2: Info: Loading facts
==> client_win2008r2: Notice: Scope(Class[main]): ignoring file source permissions
==> client_win2008r2: Notice: Compiled catalog for win2008r2.groupinfra.com in environment vagrant in 0.47 seconds
==> client_win2008r2: Info: Applying configuration version '1452265767'
==> client_win2008r2:
==> client_win2008r2: Notice: Finished catalog run in 0.02 seconds
==> client_win2008r2: Changes:
==> client_win2008r2: Events:
==> client_win2008r2: Resources:
==> client_win2008r2: Total: 7
==> client_win2008r2: Time:
==> client_win2008r2: Config retrieval: 0.67
==> client_win2008r2: Total: 0.67
==> client_win2008r2: Last run: 1452265773
==> client_win2008r2: Version:
==> client_win2008r2: Config: 1452265767
==> client_win2008r2: Puppet: 3.8.1
==> client_win2008r2: Running provisioner: serverspec...
.....**
Pending: (Failures listed here are expected and do not affect your suite's status)
1) Vagrant user should be able to write to ~/.gem directory
# Not yet implemented
# ./testenvs/vagrant/tests.rb:9
2) Vagrant user should permit public key ssh
# Not yet implemented
# ./testenvs/vagrant/tests.rb:10
Finished in 2.65 seconds (files took 0.04251 seconds to load)
7 examples, 0 failures, 2 pending
==> client_win2012r2: Notice: Scope(Class[main]): ignoring file source permissions
==> client_win2012r2: Notice: Compiled catalog for win2012r2.groupinfra.com in environment vagrant in 0.59 seconds
==> client_win2012r2: Info: Applying configuration version '1452265788'
==> client_win2012r2: Info: Loading facts
==> client_win2012r2: Notice: Finished catalog run in 0.03 seconds
==> client_win2012r2: Changes:ading facts
==> client_win2012r2: Events:
==> client_win2012r2: Resources:
==> client_win2012r2: Total: 7
==> client_win2012r2: Time:
==> client_win2012r2: Config retrieval: 0.87
==> client_win2012r2: Total: 0.87
==> client_win2012r2: Last run: 1452265794
==> client_win2012r2: Version:
==> client_win2012r2: Config: 1452265788
==> client_win2012r2: Puppet: 3.8.1
==> client_win2012r2: Running provisioner: serverspec...
C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:370:in `find_and_eval_shared': Could not find shared examples "ssh" (ArgumentError)
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:341:in `include_examples'
from C:/work/projects/hcs-puppet/testenvs/vagrant/tests.rb:4:in `block in <top (required)>'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:385:in `module_exec'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:385:in `subclass'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:255:in `block in define_example_group_method'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/dsl.rb:43:in `block in expose_example_group_alias'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/dsl.rb:82:in `block (2 levels) in expose_example_group_alias_globally'
from C:/work/projects/hcs-puppet/testenvs/vagrant/tests.rb:3:in `<top (required)>'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1361:in `load'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1361:in `block in load_spec_files'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1359:in `each'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1359:in `load_spec_files'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:102:in `setup'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:88:in `run'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:73:in `run'
from C:/Users/vainikkaj/.vagrant.d/gems/gems/vagrant-serverspec-1.1.0/lib/vagrant-serverspec/provisioner.rb:66:in `provision'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/provision.rb:133:in `run_provisioner'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:95:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builder.rb:116:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:66:in `block in run'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/util/busy.rb:19:in `busy'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:66:in `run'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:473:in `hook'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/provision.rb:121:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/provision.rb:121:in `block in call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/provision.rb:103:in `each'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/provision.rb:103:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builder.rb:116:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:66:in `block in run'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/util/busy.rb:19:in `busy'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:66:in `run'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/call.rb:53:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builder.rb:116:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:66:in `block in run'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/util/busy.rb:19:in `busy'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:66:in `run'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/call.rb:53:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builder.rb:116:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:66:in `block in run'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/util/busy.rb:19:in `busy'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:66:in `run'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/machine.rb:224:in `action_raw'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/machine.rb:199:in `block in action'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:561:in `lock'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/machine.rb:185:in `call'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/machine.rb:185:in `action'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/provision/command.rb:30:in `block in execute'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/plugin/v2/command.rb:235:in `block in with_target_vms'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/plugin/v2/command.rb:229:in `each'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/plugin/v2/command.rb:229:in `with_target_vms'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/provision/command.rb:29:in `execute'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/cli.rb:42:in `execute'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:302:in `cli'
from C:/dev/tools/Vagrant/embedded/gems/gems/vagrant-1.8.1/bin/vagrant:174:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment