Skip to content

Instantly share code, notes, and snippets.

@tcwalther
Created March 12, 2014 00:03
Show Gist options
  • Save tcwalther/9497779 to your computer and use it in GitHub Desktop.
Save tcwalther/9497779 to your computer and use it in GitHub Desktop.
thomas-mbp:veewee thomas$ veewee vbox build 'windows' --force
WARNING: Could not load IOV methods. Check your GSSAPI C library for an update
WARNING: Could not load AEAD methods. Check your GSSAPI C library for an update
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0
Downloading vbox guest additions iso v 4.3.8 - http://download.virtualbox.org/virtualbox/4.3.8/VBoxGuestAdditions_4.3.8.iso
Checking if isofile VBoxGuestAdditions_4.3.8.iso already exists.
Full path: /Users/thomas/Programmierung/veewee/iso/VBoxGuestAdditions_4.3.8.iso
The isofile VBoxGuestAdditions_4.3.8.iso already exists.
Building Box windows with Definition windows:
- debug : false
- cwd : /Users/thomas/Programmierung/veewee
- force : true
- nogui : false
- auto : false
- checksum : false
- redirectconsole : false
- postinstall_include : []
- postinstall_exclude : []
- skip_to_postinstall : false
The isofile 9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_EN-US-HRM_SSS_X64FREE_EN-US_DV5.ISO already exists.
Shutting down vm windows
VBoxManage unregistervm "windows" --delete
Deleting vm windows
Creating vm windows : 512M - 1 CPU - Windows8_64
Creating new harddrive of size 10140, format VDI, variant Standard
Attaching disk: /Users/thomas/VirtualBox VMs/windows/windows1.vdi
Mounting cdrom: /Users/thomas/Programmierung/veewee/iso/9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_EN-US-HRM_SSS_X64FREE_EN-US_DV5.ISO
Mounting guest additions: /Users/thomas/Programmierung/veewee/iso/VBoxGuestAdditions_4.3.8.iso
Using winrm because winrm_user and winrm_password are both set
Finding unused TCP port in range: 5985 - 6025
Selected TCP port 5985
Finding unused TCP port in range: 5985 - 6025
Selected TCP port 5985
Waiting 1 seconds for the machine to boot
Finding unused TCP port in range: 7122 - 7199
Selected TCP port 7122
Skipping webserver as no kickstartfile was specified
Typing:[1]:
Done typing.
Waiting for winrm login on 127.0.0.1 with user vagrant to windows on port => 5985 to work, timeout=10000 sec
....................................................#<HTTPClient::KeepAliveDisconnected: HTTPClient::KeepAliveDisconnected>
HTTPClient::KeepAliveDisconnected
["/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/httpclient-2.3.4.1/lib/httpclient/session.rb:882:in `block in parse_header'", "/Users/thomas/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/timeout.rb:69:in `timeout'", "/Users/thomas/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/timeout.rb:100:in `timeout'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/httpclient-2.3.4.1/lib/httpclient/session.rb:875:in `parse_header'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/httpclient-2.3.4.1/lib/httpclient/session.rb:858:in `read_header'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/httpclient-2.3.4.1/lib/httpclient/session.rb:667:in `get_header'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/httpclient-2.3.4.1/lib/httpclient.rb:1137:in `do_get_header'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/httpclient-2.3.4.1/lib/httpclient.rb:1086:in `do_get_block'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/httpclient-2.3.4.1/lib/httpclient.rb:887:in `block in do_request'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/httpclient-2.3.4.1/lib/httpclient.rb:986:in `rescue in protect_keep_alive_disconnected'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/httpclient-2.3.4.1/lib/httpclient.rb:980:in `protect_keep_alive_disconnected'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/httpclient-2.3.4.1/lib/httpclient.rb:886:in `do_request'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/httpclient-2.3.4.1/lib/httpclient.rb:774:in `request'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/httpclient-2.3.4.1/lib/httpclient.rb:677:in `get'", "/Users/thomas/Programmierung/veewee/lib/veewee/provider/core/helper/winrm.rb:31:in `winrm_up?'", "/Users/thomas/Programmierung/veewee/lib/veewee/provider/core/helper/winrm.rb:56:in `block in when_winrm_login_works'", "/Users/thomas/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/timeout.rb:69:in `timeout'", "/Users/thomas/Programmierung/veewee/lib/veewee/provider/core/helper/winrm.rb:47:in `when_winrm_login_works'", "/Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/exec.rb:21:in `exec'", "/Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/wincp.rb:10:in `wincp'", "/Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/copy.rb:9:in `copy_to_box'", "/Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/build.rb:320:in `block in transfer_buildinfo'", "/Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/build.rb:311:in `each'", "/Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/build.rb:311:in `transfer_buildinfo'", "/Users/thomas/Programmierung/veewee/lib/veewee/provider/virtualbox/box/helper/buildinfo.rb:16:in `transfer_buildinfo'", "/Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/build.rb:122:in `build'", "/Users/thomas/Programmierung/veewee/lib/veewee/provider/virtualbox/box/build.rb:10:in `build'", "/Users/thomas/Programmierung/veewee/lib/veewee/command/vbox.rb:22:in `build'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor/invocation.rb:109:in `invoke'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor.rb:232:in `block in subcommand'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'", "/Users/thomas/Programmierung/veewee/bin/veewee:24:in `<top (required)>'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/bin/veewee:23:in `load'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/bin/veewee:23:in `<main>'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/bin/ruby_executable_hooks:15:in `eval'", "/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/bin/ruby_executable_hooks:15:in `<main>'"]
.........................................................................................................................
Executing winrm command: cmd.exe /C dir %TEMP%\\wget.vbs > NUL
File Not Found
Creating wget.vbs
Executing winrm command: cmd.exe /C echo "Rendering %TEMP%\\wget.vbs chunk 1" && >> %TEMP%\\wget.vbs (echo.url = WScript.Arguments.Named^("url"^)) && >> %TEMP%\\wget.vbs (echo.path = WScript.Arguments.Named^("path"^)) && >> %TEMP%\\wget.vbs (echo.Set objXMLHTTP = CreateObject^("MSXML2.ServerXMLHTTP"^)) && >> %TEMP%\\wget.vbs (echo.Set wshShell = CreateObject^( "WScript.Shell" ^)) && >> %TEMP%\\wget.vbs (echo.Set objUserVariables = wshShell.Environment^("USER"^)) && >> %TEMP%\\wget.vbs (echo.) && >> %TEMP%\\wget.vbs (echo.rem http proxy is optional) && >> %TEMP%\\wget.vbs (echo.rem attempt to read from HTTP_PROXY env var first) && >> %TEMP%\\wget.vbs (echo.On Error Resume Next) && >> %TEMP%\\wget.vbs (echo.) && >> %TEMP%\\wget.vbs (echo.If NOT ^(objUserVariables^("HTTP_PROXY"^) = ""^) Then) && >> %TEMP%\\wget.vbs (echo.objXMLHTTP.setProxy 2, objUserVariables^("HTTP_PROXY"^)) && >> %TEMP%\\wget.vbs (echo.) && >> %TEMP%\\wget.vbs (echo.rem fall back to named arg) && >> %TEMP%\\wget.vbs (echo.ElseIf NOT ^(WScript.Arguments.Named^("proxy"^) = ""^) Then) && >> %TEMP%\\wget.vbs (echo.objXMLHTTP.setProxy 2, WScript.Arguments.Named^("proxy"^)) && >> %TEMP%\\wget.vbs (echo.End If) && >> %TEMP%\\wget.vbs (echo.) && >> %TEMP%\\wget.vbs (echo.On Error Goto 0) && >> %TEMP%\\wget.vbs (echo.) && >> %TEMP%\\wget.vbs (echo.objXMLHTTP.open "GET", url, false) && >> %TEMP%\\wget.vbs (echo.objXMLHTTP.send^(^)) && >> %TEMP%\\wget.vbs (echo.If objXMLHTTP.Status = 200 Then) && >> %TEMP%\\wget.vbs (echo.Set objADOStream = CreateObject^("ADODB.Stream"^)) && >> %TEMP%\\wget.vbs (echo.objADOStream.Open) && >> %TEMP%\\wget.vbs (echo.objADOStream.Type = 1) && >> %TEMP%\\wget.vbs (echo.objADOStream.Write objXMLHTTP.ResponseBody) && >> %TEMP%\\wget.vbs (echo.objADOStream.Position = 0) && >> %TEMP%\\wget.vbs (echo.Set objFSO = Createobject^("Scripting.FileSystemObject"^)) && >> %TEMP%\\wget.vbs (echo.If objFSO.Fileexists^(path^) Then objFSO.DeleteFile path) && >> %TEMP%\\wget.vbs (echo.Set objFSO = Nothing) && >> %TEMP%\\wget.vbs (echo.objADOStream.SaveToFile path) && >> %TEMP%\\wget.vbs (echo.objADOStream.Close)
/Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/winrm-1.1.3/lib/winrm/http/transport.rb:48:in `send_request': Bad HTTP response returned from server (500). (WinRM::WinRMHTTPTransportError)
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/winrm-1.1.3/lib/winrm/winrm_service.rb:368:in `send_message'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/winrm-1.1.3/lib/winrm/winrm_service.rb:155:in `get_command_output'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/helper/winrm.rb:135:in `winrm_execute'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/exec.rb:22:in `block in exec'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/helper/winrm.rb:49:in `call'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/helper/winrm.rb:49:in `block in when_winrm_login_works'
from /Users/thomas/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/timeout.rb:69:in `timeout'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/helper/winrm.rb:47:in `when_winrm_login_works'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/exec.rb:21:in `exec'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/wincp.rb:13:in `block in wincp'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/wincp.rb:58:in `block in create_wget_vbs_command'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/wincp.rb:53:in `each_line'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/wincp.rb:53:in `create_wget_vbs_command'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/wincp.rb:12:in `wincp'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/copy.rb:9:in `copy_to_box'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/build.rb:320:in `block in transfer_buildinfo'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/build.rb:311:in `each'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/build.rb:311:in `transfer_buildinfo'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/virtualbox/box/helper/buildinfo.rb:16:in `transfer_buildinfo'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/core/box/build.rb:122:in `build'
from /Users/thomas/Programmierung/veewee/lib/veewee/provider/virtualbox/box/build.rb:10:in `build'
from /Users/thomas/Programmierung/veewee/lib/veewee/command/vbox.rb:22:in `build'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor/invocation.rb:109:in `invoke'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor.rb:232:in `block in subcommand'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
from /Users/thomas/Programmierung/veewee/bin/veewee:24:in `<top (required)>'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/bin/veewee:23:in `load'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/bin/veewee:23:in `<main>'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/bin/ruby_executable_hooks:15:in `eval'
from /Users/thomas/.rvm/gems/ruby-1.9.3-p545@veewee/bin/ruby_executable_hooks:15:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment