cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Aradhye" <gaurav.arad...@clogeny.com>
Subject Review Request 25376: CLOUDSTACK-7393: Fixed host tags issue in test_vpc_vm_life_cycle.py, This enables 9 test cases
Date Fri, 05 Sep 2014 08:15:56 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25376/
-----------------------------------------------------------

Review request for cloudstack, sanjeev n and SrikanteswaraRao Talluri.


Bugs: CLOUDSTACK-7393
    https://issues.apache.org/jira/browse/CLOUDSTACK-7393


Repository: cloudstack-git


Description
-------

Root cause of failure:
1. Hosts were tagged with storage tags and not host tags.
2. The hosts were listed without passing zone, cluster.

Changes:
1. Corrected the host tags
2. Added fuction to retrieve the cluster with sufficient number of hosts
3. If host is not available for migration, other test cases will run and migration test case
will be skipped with relevant message.


Diffs
-----

  test/integration/component/test_vpc_vm_life_cycle.py 8664e01 

Diff: https://reviews.apache.org/r/25376/diff/


Testing
-------

Yes. Tested on VMware. Migration test case is skipped as there is no cluster with 3 hosts
in it.

Log as below:
Test deploy an instance in VPC networks ... === TestName: test_01_deploy_instance_in_network
| Status : SUCCESS ===
ok
Test stop an instance in VPC networks ... === TestName: test_02_stop_instance_in_network |
Status : SUCCESS ===
ok
Test start an instance in VPC networks ... === TestName: test_03_start_instance_in_network
| Status : SUCCESS ===
ok
Test reboot an instance in VPC networks ... === TestName: test_04_reboot_instance_in_network
| Status : SUCCESS ===
ok
Test destroy an instance in VPC networks ... === TestName: test_05_destroy_instance_in_network
| Status : SUCCESS ===
ok
Test migrate an instance in VPC networks ... SKIP: Could not find suitable host for migration,
please ensure setup has required no. of hosts
Test user data in virtual machines ... === TestName: test_07_user_data | Status : SUCCESS
===
ok
Test meta data in virtual machines ... === TestName: test_08_meta_data | Status : SUCCESS
===
ok
Test expunge an instance in VPC networks ... === TestName: test_09_expunge_instance_in_network
| Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 9 tests in 2360.504s

OK (SKIP=1)


Thanks,

Gaurav Aradhye


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message