cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan Hoogland <>
Subject Re: running BVT locally
Date Mon, 12 Aug 2013 16:57:08 GMT

I checked out the marvin and tst setuyp pages.

I have marvin

$ python
Python 2.7.3 (default, Dec 18 2012, 13:50:09)
[GCC 4.5.3] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import marvin;
>>> marvin
<module 'marvin' from

but still

$ nosetests --with-marvin --marvin-config=setup/dev/local.cfg -a
tags="advanced" test/integration/smoke --load
Usage: nosetests [options]

nosetests: error: no such option: --with-marvin

which seems correct because

dhoogland@SBPLT101 /cygdrive/c/Users/dhoogland/cloudstack/cloudstack
$ nosetests -p
Plugin capture
Plugin failuredetail
Plugin xunit
Plugin deprecated
Plugin skip
Plugin multiprocess
Plugin logcapture
Plugin coverage
Plugin attributeselector
Plugin doctest
Plugin profile
Plugin id
Plugin allmodules
Plugin collect-only
Plugin isolation
Plugin pdb

So I try to build marvin but then I get

[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.938s
[INFO] Finished at: Mon Aug 12 18:38:35 CEST 2013
[INFO] Final Memory: 19M/181M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (generate-sources) on
project cloud-marvin: Command execution failed. Cannot run program
"python" (in directory
CreateProcess error=2, The system cannot find the file specified ->
[Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]

even though

$ python
Python 2.7.3 (default, Dec 18 2012, 13:50:09)
[GCC 4.5.3] on cygwin
Type "help", "copyright", "credits" or "license" for more information.

Is this a windows thing? or is there some specific path coded
somewhere for python?


On Mon, Aug 12, 2013 at 6:25 PM, Prasanna Santhanam <> wrote:
> On Mon, Aug 12, 2013 at 06:20:58PM +0200, Daan Hoogland wrote:
>> A bit of a stupid question, I guess
>> On Mon, Aug 12, 2013 at 5:43 PM, Prasanna Santhanam <> wrote:
>> ...
>> > I'll assume you have cloudstack setup manually and just want to fire
>> > all the tests against this deployment. This could be your laptop from
>> > where you have your management server running. Just open up the integration
>> > port 8096. All tests run on 8080 but the 8096 is required for setting up
>> > api/secret keys
>> What does just open up 8096 mean, given I am running in jetty in
>> eclipse? Should I edit some cfg or add params to the run?
> If it's the dev environment, then you're good to go. port 8096 is the
> port where system user interacts. It is closed by default for binary
> installs but open on the dev environment.
>> ...
>> > Most of the details of running tests is explained in the documentation. Let
>> > know if anything is missing and I'll fix that up.
>> without saying
>> thanks,
> --
> Prasanna.,
> ------------------------
> Powered by

View raw message