Last active
April 20, 2016 17:56
-
-
Save joshoohaah/3ad88750b7fa43bfe8828ba54f0232ff to your computer and use it in GitHub Desktop.
kitchen converge -l debug run for Windows box that does not find .ps1 file (test-kitchen v 1.7.3)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kitchen converge -l debug | |
-----> Starting Kitchen (v1.7.3) | |
D [Vagrant command] BEGIN (vagrant --version) | |
D [Vagrant command] END (0m0.19s) | |
D [Vagrant command] BEGIN (vagrant plugin list) | |
D [Vagrant command] END (0m1.38s) | |
D Berksfile found at /Users/joshuaschneider/healthcare-dev/cookbooks/hc_ad_config/Berksfile, loading Berkshelf | |
D Berkshelf 4.3.2 library loaded | |
D winrm requested, loading winrm gem (["~> 1.6"]) | |
D winrm is loaded. | |
D winrm-fs requested, loading winrm-fs gem (["~> 0.4.1"]) | |
D winrm-fs is loaded. | |
-----> Creating <default-win2012r2-chef>... | |
D <default-win2012r2-chef> is synchronizing on Kitchen::Driver::Vagrant#create | |
D <default-win2012r2-chef> is messaging Kitchen::Driver::Vagrant#create | |
D Creating Vagrantfile for <default-win2012r2-chef> (/Users/joshuaschneider/healthcare-dev/cookbooks/hc_ad_config/.kitchen/kitchen-vagrant/kitchen-hc_ad_config-default-win2012r2-chef/Vagrantfile) | |
D ------------ | |
D Vagrant.configure("2") do |c| | |
D c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf") | |
D c.vm.box = "win2012r2_chef" | |
D c.vm.synced_folder ".", "/vagrant", disabled: true | |
D c.vm.provider :virtualbox do |p| | |
D p.gui = true | |
D end | |
D end | |
D ------------ | |
D [Vagrant command] BEGIN (vagrant up --no-provision --provider virtualbox) | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'win2012r2_chef'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: kitchen-hc_ad_config-default-win2012r2-chef_default_1461174803083_77750 | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 3389 (guest) => 3389 (host) (adapter 1) | |
default: 5985 (guest) => 5985 (host) (adapter 1) | |
default: 5986 (guest) => 55986 (host) (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: WinRM address: 127.0.0.1:5985 | |
default: WinRM username: vagrant | |
default: WinRM execution_time_limit: PT2H | |
default: WinRM transport: plaintext | |
An error occurred executing a remote WinRM command. | |
Shell: powershell | |
Command: $ProgressPreference='SilentlyContinue'; | |
hostname | |
if ($?) { exit 0 } else { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } | |
Message: Unable to parse WinRM response: Missing end tag for 'br' (got "p") | |
Line: 3 | |
Position: 225 | |
Last 80 unconsumed characters: | |
(504). | |
D [Vagrant command] END (1m21.85s) | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ActionFailed | |
>>>>>> Message: Failed to complete #create action: [Expected process to exit with [0], but received '1' | |
---- Begin output of vagrant up --no-provision --provider virtualbox ---- | |
STDOUT: Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'win2012r2_chef'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: kitchen-hc_ad_config-default-win2012r2-chef_default_1461174803083_77750 | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 3389 (guest) => 3389 (host) (adapter 1) | |
default: 5985 (guest) => 5985 (host) (adapter 1) | |
default: 5986 (guest) => 55986 (host) (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: WinRM address: 127.0.0.1:5985 | |
default: WinRM username: vagrant | |
default: WinRM execution_time_limit: PT2H | |
default: WinRM transport: plaintext | |
STDERR: An error occurred executing a remote WinRM command. | |
Shell: powershell | |
Command: $ProgressPreference='SilentlyContinue'; | |
hostname | |
if ($?) { exit 0 } else { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } | |
Message: Unable to parse WinRM response: Missing end tag for 'br' (got "p") | |
Line: 3 | |
Position: 225 | |
Last 80 unconsumed characters: | |
(504). | |
---- End output of vagrant up --no-provision --provider virtualbox ---- | |
Ran vagrant up --no-provision --provider virtualbox returned 1] | |
>>>>>> ---------------------- | |
>>>>>> 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 #create action: [Expected process to exit with [0], but received '1' | |
---- Begin output of vagrant up --no-provision --provider virtualbox ---- | |
STDOUT: Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'win2012r2_chef'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: kitchen-hc_ad_config-default-win2012r2-chef_default_1461174803083_77750 | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 3389 (guest) => 3389 (host) (adapter 1) | |
default: 5985 (guest) => 5985 (host) (adapter 1) | |
default: 5986 (guest) => 55986 (host) (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: WinRM address: 127.0.0.1:5985 | |
default: WinRM username: vagrant | |
default: WinRM execution_time_limit: PT2H | |
default: WinRM transport: plaintext | |
STDERR: An error occurred executing a remote WinRM command. | |
Shell: powershell | |
Command: $ProgressPreference='SilentlyContinue'; | |
hostname | |
if ($?) { exit 0 } else { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } | |
Message: Unable to parse WinRM response: Missing end tag for 'br' (got "p") | |
Line: 3 | |
Position: 225 | |
Last 80 unconsumed characters: | |
(504). | |
---- End output of vagrant up --no-provision --provider virtualbox ---- | |
Ran vagrant up --no-provision --provider virtualbox returned 1] | |
D ---Nested Exception--- | |
D Class: Kitchen::ShellOut::ShellCommandFailed | |
D Message: Expected process to exit with [0], but received '1' | |
---- Begin output of vagrant up --no-provision --provider virtualbox ---- | |
STDOUT: Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'win2012r2_chef'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: kitchen-hc_ad_config-default-win2012r2-chef_default_1461174803083_77750 | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 3389 (guest) => 3389 (host) (adapter 1) | |
default: 5985 (guest) => 5985 (host) (adapter 1) | |
default: 5986 (guest) => 55986 (host) (adapter 1) | |
==> default: Running 'pre-boot' VM customizations... | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: WinRM address: 127.0.0.1:5985 | |
default: WinRM username: vagrant | |
default: WinRM execution_time_limit: PT2H | |
default: WinRM transport: plaintext | |
STDERR: An error occurred executing a remote WinRM command. | |
Shell: powershell | |
Command: $ProgressPreference='SilentlyContinue'; | |
hostname | |
if ($?) { exit 0 } else { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } | |
Message: Unable to parse WinRM response: Missing end tag for 'br' (got "p") | |
Line: 3 | |
Position: 225 | |
Last 80 unconsumed characters: | |
(504). | |
---- End output of vagrant up --no-provision --provider virtualbox ---- | |
Ran vagrant up --no-provision --provider virtualbox returned 1 | |
D ------Backtrace------- | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/shell_out.rb:73:in `rescue in run_command' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/shell_out.rb:61:in `run_command' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/kitchen-vagrant-0.20.0/lib/kitchen/driver/vagrant.rb:343:in `run_command' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/kitchen-vagrant-0.20.0/lib/kitchen/driver/vagrant.rb:302:in `run' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/kitchen-vagrant-0.20.0/lib/kitchen/driver/vagrant.rb:373:in `run_vagrant_up' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/kitchen-vagrant-0.20.0/lib/kitchen/driver/vagrant.rb:96:in `create' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:449:in `public_send' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:449:in `block in perform_action' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:510:in `block in synchronize_or_call' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:508:in `synchronize' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:508:in `synchronize_or_call' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:478:in `block in action' | |
D /usr/local/Cellar/ruby/2.3.0/lib/ruby/2.3.0/benchmark.rb:293:in `measure' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:477:in `action' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:449:in `perform_action' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:359:in `create_action' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:348:in `block in transition_to' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:347:in `each' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:347:in `transition_to' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/instance.rb:138:in `converge' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/command.rb:176:in `public_send' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/test-kitchen-1.7.3/lib/kitchen/command.rb:176:in `block (2 levels) in run_action' | |
D /usr/local/lib/ruby/gems/2.3.0/gems/logging-2.1.0/lib/logging/diagnostic_context.rb:450:in `block in create_with_logging_context' | |
D ---------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment