Ian, I am copying Prasanna to get his attention on this.


On Jun 19, 2013, at 6:42 AM, Ian Duffy <i...@ianduffy.ie> wrote:

> Hi,
> 
> I'm attempting to run tests on the simulator as outlined in
> https://cwiki.apache.org/CLOUDSTACK/marvin-testing-with-python.html
> 
> Executing the checkin tests results in errors. Anybody got any feedback on 
> this?
> 
> $ mvn -Pdeveloper,marvin.test -Dmarvin.config=setup/dev/advanced.cfg
> -pl :cloud-marvin integration-test
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack marvin 4.2.0-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> [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.1:attach-descriptor (attach-descriptor)
> @ cloud-marvin ---
> [INFO]
> [INFO] --- exec-maven-plugin:1.2.1:exec (integration-test) @ cloud-marvin ---
> test DeployVM in anti-affinity groups ... ok
> Test Deploy Virtual Machine ... ok
> Test userdata as GET, size > 2k ... ok
> Test userdata as POST, size > 2k ... ok
> Test to deploy vm with a first fit offering ... ok
> Test deploy VMs using user concentrated planner ... FAIL
> Test deploy VMs using user dispersion planner ... FAIL
> Test to create disk offering ... ok
> Test to update existing disk offering ... ok
> Test to delete disk offering ... ok
> test update configuration setting at zone level scope ... ok
> Test guest vlan range dedication ... ok
> Test to update a physical network and extend its vlan ... ok
> Test to acquire a provisioned public ip range ... ok
> Test to create a portable public ip range ... ok
> ERROR
> Test for create region ... ok
> Test advanced zone virtual router ... ok
> Test Deploy Virtual Machine ... ok
> 
> ======================================================================
> ERROR: test suite for <class
> 'integration.smoke.test_public_ip_range.TestDedicatePublicIPRange'>
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py",
> line 208, in run
>    self.setUp()
>  File 
> "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py",
> line 291, in setUp
>    self.setupContext(ancestor)
>  File 
> "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/suite.py",
> line 314, in setupContext
>    try_run(context, names)
>  File 
> "/usr/local/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/util.py",
> line 469, in try_run
>    return func()
>  File 
> "/home/duffy/projects/clean-cloudstack/test/integration/smoke/test_public_ip_range.py",
> line 63, in setUpClass
>    cls.zone = get_zone(cls.api_client, cls.services)
>  File 
> "/usr/local/lib/python2.7/site-packages/Marvin-0.1.0-py2.7.egg/marvin/integration/lib/common.py",
> line 87, in get_zone
>    raise Exception("Failed to find specified zone.")
> Exception: Failed to find specified zone.
> 
> ======================================================================
> FAIL: Test deploy VMs using user concentrated planner
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/home/duffy/projects/clean-cloudstack/test/integration/smoke/test_deploy_vms_with_varied_deploymentplanners.py",
> line 247, in test_deployvm_userconcentrated
>    msg="VMs (%s, %s) meant to be concentrated are deployed on
> different clusters (%s, %s)" % (vm1.id, vm2.id, vm1clusterid,
> vm2clusterid)
> AssertionError: VMs (aea66681-ea64-4c84-86b2-d3950057d0cd,
> 2a1d81b5-6663-4149-a5ee-d96a9197ba3c) meant to be concentrated are
> deployed on different clusters (9ed7ff64-4bd8-4aa8-aa83-a6a9b663abed,
> 664c89d3-b584-4cae-ae46-9e332ef5a969)
> 
> ======================================================================
> FAIL: Test deploy VMs using user dispersion planner
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/home/duffy/projects/clean-cloudstack/test/integration/smoke/test_deploy_vms_with_varied_deploymentplanners.py",
> line 186, in test_deployvm_userdispersing
>    msg="VMs (%s, %s) meant to be dispersed are deployed in the same
> cluster %s" % (vm1.id, vm2.id, vm1clusterid)
> AssertionError: VMs (53a7cee4-7b8c-4e81-8b48-d4f3ee3227d8,
> 203e77d9-4110-4f2e-8891-e426e5f7aa3e) meant to be dispersed are
> deployed in the same cluster 9ed7ff64-4bd8-4aa8-aa83-a6a9b663abed
> 
> ----------------------------------------------------------------------
> Ran 18 tests in 166.670s
> 
> FAILED (errors=1, failures=2)
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 2:55.197s
> [INFO] Finished at: Wed Jun 19 11:36:46 IST 2013
> [INFO] Final Memory: 28M/196M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (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

Reply via email to