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
I am trying to run server spec with a windows host. I have gotten this to work however I run into weird issues with uploading files. It seems either the temp file does not get created or some other issue occurs after the temp file is created. I am simply running kitchen converge which under the hood is using the following gem: kitchen-vagrant_winrm The error I am running into is listed below. I believe this could have to do with the following commit 6858c89.
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #converge action: [Expected process to exit with [0], but received '1'
---- Begin output of vagrant winrm-upload -c '/var/folders/qw/gdh2sh2n3xgcyfdjr536m09rzjxp0b/T/dotnet451-windows-server-2008-R2-sandbox-20150120-12735-cdeut0' 'C:/chef' ----
STDOUT:
STDERR: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/winrm/file_manager.rb:76:in `binread': No such file or directory - /var/folders/qw/gdh2sh2n3xgcyfdjr536m09rzjxp0b/T/script20150120-12828-yeby4r.tar.gz (Errno::ENOENT)
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/winrm/file_manager.rb:76:in `upload_to_temp_file'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/winrm/file_manager.rb:61:in `upload_file'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/winrm/file_manager.rb:22:in `upload'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/winrm/shell.rb:70:in `upload'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/winrm/communicator.rb:101:in `upload'
from /Users/user/.vagrant.d/gems/gems/vagrant-winrm-0.4.0/lib/vagrant-winrm/commands/winrm_upload.rb:33:in `block in execute'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:226:in `block in with_target_vms'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:220:in `each'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:220:in `with_target_vms'
from /Users/user/.vagrant.d/gems/gems/vagrant-winrm-0.4.0/lib/vagrant-winrm/commands/winrm_upload.rb:17:in `execute'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/cli.rb:42:in `execute'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:301:in `cli'
from /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/vagrant:174:in `<main>'
---- End output of vagrant winrm-upload -c '/var/folders/qw/gdh2sh2n3xgcyfdjr536m09rzjxp0b/T/dotnet451-windows-server-2008-R2-sandbox-20150120-12735-cdeut0' 'C:/chef' ----
Ran vagrant winrm-upload -c '/var/folders/qw/gdh2sh2n3xgcyfdjr536m09rzjxp0b/T/dotnet451-windows-server-2008-R2-sandbox-20150120-12735-cdeut0' 'C:/chef' returned 1]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
The text was updated successfully, but these errors were encountered:
I am trying to run server spec with a windows host. I have gotten this to work however I run into weird issues with uploading files. It seems either the temp file does not get created or some other issue occurs after the temp file is created. I am simply running
kitchen converge
which under the hood is using the following gem: kitchen-vagrant_winrm The error I am running into is listed below. I believe this could have to do with the following commit 6858c89.The text was updated successfully, but these errors were encountered: