Below error suggests, you dont have a specific module. please use python 
2.7.x(specifically 6) and then try.

"> ImportError: No module named ecdsa"

Instead of going that route, just follow the below link, but for this as well, 
you need relevant packages for python. If you install marvin, it will install 
dependent packages.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Validating+check-ins+for+your+local+changes,+using+Simulator

santhosh
________________________________________
From: abhisek basu [abhisekb...@msn.com]
Sent: Friday, August 01, 2014 1:15 AM
To: CloudStack-Users
Subject: RE: Running the cloudstack in simulator

When I tried the below mentined command with -X;  more detailed error:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.700 s
[INFO] Finished at: 2014-08-01T10:07:18+05:30
[INFO] Final Memory: 44M/118M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
(pre-integration-test) on project cloud-marvin: Command execution failed. 
Process exited with an error: 1 (Exit value: 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (pre-integration-test) on 
project cloud-marvin: Command execution failed.
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution 
failed.
        at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 19 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an 
error: 1 (Exit value: 1)
        at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
        at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
        at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)
        at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)
        ... 21 more

Any one?


Regards,

Abhisek Basu



> From: abhisekb...@msn.com
> To: users@cloudstack.apache.org
> Subject: Running the cloudstack in simulator
> Date: Fri, 1 Aug 2014 04:35:21 +0000
>
> Hello All,
>
> I am trying to run CS simulator (master branch latest). This setup is on 
> cygwin running on Windows 8.1. Here is the error I am encountering:
>
> $ mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/advanced.cfg -pl 
> :cloud-marvin integration-test
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack marvin 4.5.0-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
> cloud-marvin ---
> Downloading: 
> http://repository.apache.org/snapshots/org/apache/cloudstack/checkstyle/4.5.0-SNAPSHOT/maven-metadata.xml
> [INFO] Starting audit...
> Audit done.
>
> [INFO]
> [INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin ---
> [INFO]
> [INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-marvin 
> ---
> [INFO]
> [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
> cloud-marvin ---
> [INFO]
> [INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @ cloud-marvin 
> ---
> Traceback (most recent call last):
>   File "deployAndRun.py", line 24, in <module>
>     from marvinInit import MarvinInit
>   File "/home/abhisekb/cloudstack/tools/marvin/marvin/marvinInit.py", line 
> 28, in <module>
>     from marvin.marvinLog import MarvinLog
>   File "/usr/lib/python2.7/site-packages/marvin/marvinLog.py", line 28, in 
> <module>
>     from marvin.lib.utils import random_gen
>   File "/usr/lib/python2.7/site-packages/marvin/lib/utils.py", line 34, in 
> <module>
>     from marvin.sshClient import SshClient
>   File "/usr/lib/python2.7/site-packages/marvin/sshClient.py", line 18, in 
> <module>
>     from paramiko import (BadHostKeyException,
>   File "/usr/lib/python2.7/site-packages/paramiko/__init__.py", line 31, in 
> <module>
>     from paramiko.transport import SecurityOptions, Transport
>   File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 55, in 
> <module>
>     from paramiko.ecdsakey import ECDSAKey
>   File "/usr/lib/python2.7/site-packages/paramiko/ecdsakey.py", line 26, in 
> <module>
>     from ecdsa import SigningKey, VerifyingKey, der, curves
> ImportError: No module named ecdsa
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 50.043 s
> [INFO] Finished at: 2014-08-01T09:42:31+05:30
> [INFO] Final Memory: 47M/118M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
> (pre-integration-test) on project cloud-marvin: Command execution failed. 
> Process exited with an error: 1 (Exit value: 1) -> [Help 1]
> [ERROR]
> [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]
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>
>  Can someone help here?
>
>
> Regards,
>
> Abhisek

Reply via email to