Testing pallet crates, vmfest and 'live' tests

52 views
Skip to first unread message

Frank

unread,
Nov 2, 2014, 4:31:10 PM11/2/14
to palle...@googlegroups.com
Hi,

What is the most recent version of virtualbox known to work with vmfest (I'm using Mac OS X - Mavericks)?

I run into errors like this on VBox version 4.3.18 (also 4.3.14):

user=> (require '[pallet.compute :refer [instantiate-provider]])
nil
user=> (def vmfest (instantiate-provider "vmfest"))
Nov 02, 2014 8:03:24 PM clojure.tools.logging$eval408$fn__409 invoke
INFO: Connecting to VirtualBox via XPCom
CompilerException org.mozilla.xpcom.XPCOMException: The function "createInstanceByContractID" returned an error condition: "Interface not supported (NS_ERROR_NO_INTERFACE)" (0x80004002), compiling:(form-init8530874931086686012.clj:1:13) 

And I get this when using the web services interface:

user=> (def vmfest (instantiate-provider "vmfest" :vbox-comm :ws))
Nov 02, 2014 7:50:44 PM clojure.tools.logging$eval408$fn__409 invoke
INFO: Connecting to VirtualBox via Web Services
CompilerException clojure.lang.ExceptionInfo: throw+: {:type :unsupported-vbox-api-version, :message "This version of VMFest only supports VirtualBox API v. 4_2 "} {:object {:type :unsupported-vbox-api-version, :message "This version of VMFest only supports VirtualBox API v. 4_2 "}, :environment {p__16164 ("http://localhost:18083/" "test" "test"), vec__16165 ("http://localhost:18083/" "test" "test"), url "http://localhost:18083/", identity "test", credentials "test", server #vmfest.virtualbox.model.Server{:url "http://localhost:18083/", :username "test", :password "test"}}}, compiling:(form-init5626094109074312161.clj:1:13)

I'm curious about the 'live-test' in several more recent crates


How is this test normally launched... I'm assuming it does actually set of a test with a vm of some kind?

Thanks,

Frank
 

Reply all
Reply to author
Forward
0 new messages