Created
March 4, 2016 06:39
-
-
Save PatOShea/923e9a61982362e09104 to your computer and use it in GitHub Desktop.
kichen-salt failure on verify with serverspec
This file contains 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
C:\kitchen-salt-tutorial\beaver-formula>kitchen verify default -l debug | |
-----> Starting Kitchen (v1.5.0) | |
D [Vagrant command] BEGIN (vagrant --version) | |
D [Vagrant command] END (0m0.00s) | |
D [Vagrant command] BEGIN (vagrant plugin list) | |
D [Vagrant command] END (0m0.00s) | |
D Winrm Transport requested, loading WinRM::Transport gem (["~> 1.0", ">= 1.0.3"]) | |
D WinRM::Transport library loaded | |
D The winrm-s gem is being loaded to enable sspiauthentication. | |
D winrm-s is loaded. sspinegotiate auth is now available. | |
D Winrm Transport requested, loading WinRM::Transport gem (["~> 1.0", ">= 1.0.3"]) | |
D WinRM::Transport previously loaded | |
D The winrm-s gem is being loaded to enable sspiauthentication. | |
D winrm-s was already loaded. | |
D Winrm Transport requested, loading WinRM::Transport gem (["~> 1.0", ">= 1.0.3"]) | |
D WinRM::Transport previously loaded | |
D The winrm-s gem is being loaded to enable sspiauthentication. | |
D winrm-s was already loaded. | |
-----> Verifying <default-windows-2012r2>... | |
Preparing files for transfer | |
D Creating local sandbox in C:/Users/PATRIC~1/AppData/Local/Temp/default-windows-2012r2-sandbox-20160303-16312-o9ivuq | |
D [WinRM] plaintext::http://127.0.0.1:55985/wsman<{:user=>"vagrant", :pass=>"vagrant", :disable_sspi=>true, :basic_auth_only=>true}> ( | |
$env:BUSSER_ROOT = "$env:TEMP\verifier" | |
$env:GEM_HOME = "$env:TEMP\verifier\gems" | |
$env:GEM_PATH = "$env:TEMP\verifier\gems" | |
$env:GEM_CACHE = "$env:TEMP\verifier\gems\cache" | |
$ruby = "$env:systemdrive\opscode\chef\embedded\bin\ruby.exe" | |
$gem = "$env:systemdrive\opscode\chef\embedded\bin\gem" | |
$version = "busser" | |
$gem_install_args = "busser --no-rdoc --no-ri --no-format-executable -n $env:TEMP\verifier\bin --no-user-install" | |
$busser = "$env:TEMP\verifier\bin\busser.bat" | |
$plugins = "busser-serverspec" | |
if ((& "$ruby" "$gem" list busser -i) -ne "true") { | |
Write-Host "-----> Installing Busser ($version)`n" | |
& "$ruby" "$gem" install $gem_install_args.Split() 2>&1 | |
} else { | |
Write-Host "-----> Busser installation detected ($version)`n" | |
} | |
if (-Not (Test-Path "$busser")) { | |
$gem_bindir = & "$ruby" -rrubygems -e "puts Gem.bindir.dup.gsub('/', '\\')" | |
& "$ruby" "$gem_bindir\busser" setup --type bat 2>&1 | |
} | |
Write-Host " Installing Busser plugins: $plugins`n" | |
& "$busser" plugin install $plugins.Split() 2>&1 | |
) | |
D [WinRM] opening remote shell on plaintext::http://127.0.0.1:55985/wsman<{:user=>"vagrant", :pass=>"vagrant", :disable_sspi=>true, :basic_auth_only=>true}> | |
D [WinRM] remote shell 13D618C1-6B13-4307-8A82-03A4AFB8727C is open on plaintext::http://127.0.0.1:55985/wsman<{:user=>"vagrant", :pass=>"vagrant", :disable_sspi=>true, :basic_auth_only=>true}> | |
Installing Busser plugins: busser-serverspec | |
$$$$$$ & : The term 'C:\opscode\chef\embedded\bin\ruby.exe' is not recognized as the | |
$$$$$$ name of a cmdlet, function, script file, or operable program. Check the | |
$$$$$$ spelling of the name, or if a path was included, verify that the path is | |
$$$$$$ correct and try again. | |
$$$$$$ At line:13 char:8 | |
$$$$$$ + if ((& "$ruby" "$gem" list busser -i) -ne "true") { | |
$$$$$$ + ~~~~~~~ | |
$$$$$$ + CategoryInfo : ObjectNotFound: (C:\opscode\chef\embedded\bin\ru | |
$$$$$$ by.exe:String) [], CommandNotFoundException | |
$$$$$$ + FullyQualifiedErrorId : CommandNotFoundException | |
$$$$$$ | |
$$$$$$ & : The term 'C:\opscode\chef\embedded\bin\ruby.exe' is not recognized as the | |
$$$$$$ name of a cmdlet, function, script file, or operable program. Check the | |
$$$$$$ spelling of the name, or if a path was included, verify that the path is | |
$$$$$$ correct and try again. | |
$$$$$$ At line:21 char:19 | |
$$$$$$ + $gem_bindir = & "$ruby" -rrubygems -e "puts Gem.bindir.dup.gsub('/', '\\')" | |
$$$$$$ + ~~~~~~~ | |
$$$$$$ + CategoryInfo : ObjectNotFound: (C:\opscode\chef\embedded\bin\ru | |
$$$$$$ by.exe:String) [], CommandNotFoundException | |
$$$$$$ + FullyQualifiedErrorId : CommandNotFoundException | |
$$$$$$ | |
$$$$$$ & : The term 'C:\opscode\chef\embedded\bin\ruby.exe' is not recognized as the | |
$$$$$$ name of a cmdlet, function, script file, or operable program. Check the | |
$$$$$$ spelling of the name, or if a path was included, verify that the path is | |
$$$$$$ correct and try again. | |
$$$$$$ At line:22 char:5 | |
$$$$$$ + & "$ruby" "$gem_bindir\busser" setup --type bat 2>&1 | |
$$$$$$ + ~~~~~~~ | |
$$$$$$ + CategoryInfo : ObjectNotFound: (C:\opscode\chef\embedded\bin\ru | |
$$$$$$ by.exe:String) [], CommandNotFoundException | |
$$$$$$ + FullyQualifiedErrorId : CommandNotFoundException | |
$$$$$$ | |
$$$$$$ & : The term 'C:\Users\vagrant\AppData\Local\Temp\verifier\bin\busser.bat' is | |
$$$$$$ not recognized as the name of a cmdlet, function, script file, or operable | |
$$$$$$ program. Check the spelling of the name, or if a path was included, verify | |
$$$$$$ that the path is correct and try again. | |
$$$$$$ At line:26 char:3 | |
$$$$$$ + & "$busser" plugin install $plugins.Split() 2>&1 | |
$$$$$$ + ~~~~~~~~~ | |
$$$$$$ + CategoryInfo : ObjectNotFound: (C:\Users\vagran...\bin\busser.b | |
$$$$$$ at:String) [], CommandNotFoundException | |
$$$$$$ + FullyQualifiedErrorId : CommandNotFoundException | |
D Cleaning up local sandbox in C:/Users/PATRIC~1/AppData/Local/Temp/default-windows-2012r2-sandbox-20160303-16312-o9ivuq | |
>>>>>> Verify failed on instance <default-windows-2012r2>. | |
>>>>>> Please see .kitchen/logs/default-windows-2012r2.log for more details | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ActionFailed | |
>>>>>> Message: WinRM exited (1) for command: [ | |
$env:BUSSER_ROOT = "$env:TEMP\verifier" | |
$env:GEM_HOME = "$env:TEMP\verifier\gems" | |
$env:GEM_PATH = "$env:TEMP\verifier\gems" | |
$env:GEM_CACHE = "$env:TEMP\verifier\gems\cache" | |
$ruby = "$env:systemdrive\opscode\chef\embedded\bin\ruby.exe" | |
$gem = "$env:systemdrive\opscode\chef\embedded\bin\gem" | |
$version = "busser" | |
$gem_install_args = "busser --no-rdoc --no-ri --no-format-executable -n $env:TEMP\verifier\bin --no-user-install" | |
$busser = "$env:TEMP\verifier\bin\busser.bat" | |
$plugins = "busser-serverspec" | |
if ((& "$ruby" "$gem" list busser -i) -ne "true") { | |
Write-Host "-----> Installing Busser ($version)`n" | |
& "$ruby" "$gem" install $gem_install_args.Split() 2>&1 | |
} else { | |
Write-Host "-----> Busser installation detected ($version)`n" | |
} | |
if (-Not (Test-Path "$busser")) { | |
$gem_bindir = & "$ruby" -rrubygems -e "puts Gem.bindir.dup.gsub('/', '\\')" | |
& "$ruby" "$gem_bindir\busser" setup --type bat 2>&1 | |
} | |
Write-Host " Installing Busser plugins: $plugins`n" | |
& "$busser" plugin install $plugins.Split() 2>&1 | |
] | |
>>>>>> ---------------------- | |
D Verify failed on instance <default-windows-2012r2>. | |
D ------Exception------- | |
D Class: Kitchen::InstanceFailure | |
D Message: Verify failed on instance <default-windows-2012r2>. Please see .kitchen/logs/default-windows-2012r2.log for more details | |
D ---Nested Exception--- | |
D Class: Kitchen::ActionFailed | |
D Message: WinRM exited (1) for command: [ | |
$env:BUSSER_ROOT = "$env:TEMP\verifier" | |
$env:GEM_HOME = "$env:TEMP\verifier\gems" | |
$env:GEM_PATH = "$env:TEMP\verifier\gems" | |
$env:GEM_CACHE = "$env:TEMP\verifier\gems\cache" | |
$ruby = "$env:systemdrive\opscode\chef\embedded\bin\ruby.exe" | |
$gem = "$env:systemdrive\opscode\chef\embedded\bin\gem" | |
$version = "busser" | |
$gem_install_args = "busser --no-rdoc --no-ri --no-format-executable -n $env:TEMP\verifier\bin --no-user-install" | |
$busser = "$env:TEMP\verifier\bin\busser.bat" | |
$plugins = "busser-serverspec" | |
if ((& "$ruby" "$gem" list busser -i) -ne "true") { | |
Write-Host "-----> Installing Busser ($version)`n" | |
& "$ruby" "$gem" install $gem_install_args.Split() 2>&1 | |
} else { | |
Write-Host "-----> Busser installation detected ($version)`n" | |
} | |
if (-Not (Test-Path "$busser")) { | |
$gem_bindir = & "$ruby" -rrubygems -e "puts Gem.bindir.dup.gsub('/', '\\')" | |
& "$ruby" "$gem_bindir\busser" setup --type bat 2>&1 | |
} | |
Write-Host " Installing Busser plugins: $plugins`n" | |
& "$busser" plugin install $plugins.Split() 2>&1 | |
] | |
D ------Backtrace------- | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/verifier/base.rb:83:in `rescue in call' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/verifier/base.rb:86:in `call' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/instance.rb:405:in `block in verify_action' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/instance.rb:495:in `call' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/instance.rb:495:in `synchronize_or_call' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/instance.rb:460:in `block in action' | |
D C:/tools/ruby21/lib/ruby/2.1.0/benchmark.rb:279:in `measure' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/instance.rb:459:in `action' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/instance.rb:401:in `verify_action' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/instance.rb:348:in `block in transition_to' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/instance.rb:347:in `each' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/instance.rb:347:in `transition_to' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/instance.rb:160:in `verify' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/command.rb:176:in `public_send' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/test-kitchen-1.5.0/lib/kitchen/command.rb:176:in `block (2 levels) in run_action' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `call' | |
D C:/tools/ruby21/lib/ruby/gems/2.1.0/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `block in create_with_logging_context' | |
D ---------------------- | |
D [CommandExecutor] closing remote shell 13D618C1-6B13-4307-8A82-03A4AFB8727C on plaintext::http://127.0.0.1:55985/wsman<{:user=>"vagrant", :pass=>"vagrant", :disable_sspi=>true, :basic_auth_only=>true}> | |
D [CommandExecutor] remote shell 13D618C1-6B13-4307-8A82-03A4AFB8727C closed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment