You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/04/27 13:14:25 UTC

[GitHub] marcaurele opened a new issue #2609: Using the simulator to run tests

marcaurele opened a new issue #2609: Using the simulator to run tests
URL: https://github.com/apache/cloudstack/issues/2609
 
 
   
   ##### ISSUE TYPE
    * Bug Report
    * Documentation Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   simulator, test, marvin
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   master
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   Trying to run the simulator and to perform the integration tests, the maven command to call Marvin to deploy the DC and run the test is failing: http://docs.cloudstack.apache.org/en/latest/developer_guide.html#using-the-simulator
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   Perform the steps in the [simulator documentation](http://docs.cloudstack.apache.org/en/latest/developer_guide.html#using-the-simulator) and the step to perform the integration tests is failing.
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/basic.cfg -pl :cloud-marvin integration-test
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Tests running successfully
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   [DEBUG] Executing command line: python deployAndRun.py -c /home/marco/code/cloudstack-public/setup/dev/basic.cfg -d /home/marco/code/cloudstack-public/tools/marvin/marvin/testSetupSuccess.py
   Usage: deployAndRun.py [options]
   
   deployAndRun.py: error: no such option: -c
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time: 14.641 s
   [INFO] Finished at: 2018-04-27T15:00:31+02:00
   [INFO] Final Memory: 62M/449M
   [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: 2 (Exit value: 2) -> [Help 1]
   ~~~
   
   Related to this PR I'm trying to test locally https://github.com/apache/cloudstack/pull/2428

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services