Commit Graph

338 Commits

Author SHA1 Message Date
Santhosh Edukulla 6a92f75465 Fixed few indentation errors and removed unwanted imports
Conflicts:

	test/integration/component/test_portable_ip.py
2013-11-10 17:34:46 -05:00
Gaurav Aradhye 9e6a1eaffe CLOUDSTACK-5107: Decreasing memory in service offering so as
not to run out of resources

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-08 18:51:43 +05:30
venkataswamybabu budumuru 48d9e2443c Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
Have added a test for transferring portable ip across different works with in the same zone.
2013-11-08 17:41:53 +05:30
Santhosh Edukulla 91669ea627 CLOUDSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>

Conflicts:
	test/integration/component/test_portable_ip.py
2013-11-08 17:06:52 +05:30
Gaurav Aradhye b9547b07c0 CLOUDSTACK-4648: Fixed Snapshots test cases
Fixed following test cases:
1) test_01_volume_from_snapshot
2) test_03_snapshot_detachedDisk
3) test_07_template_from_snapshot

All three test cases are running successfully on XenServer but test cases (01 and 07) failing on KVM due to a common issue.
Product defect logged for this: https://issues.apache.org/jira/browse/CLOUDSTACK-5097

test_03 is running ok on KVM too, the problem was - disk was not getting detached because it was not unmounted before detaching. Added code to unmount the disk.

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-08 12:48:37 +05:30
Girish Shilamkar 8f76c49a99 CLOUDSTACK-4934: Renamed Limit Resources tests so that they have unique name.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 10:34:33 +05:30
Ashutosh K 527f03722f CLOUDSTACK-4996: Resolved gateway accessibility issue
Gateway of isolated network is pinged instead of shared
network
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-07 16:01:41 +05:30
Girish Shilamkar ed76e8a610 CLOUDSTACK-4686: Fixed volume limit for domain 2013-11-06 12:26:37 +05:30
suresh 9bf30479fc CLOUDSTACK-2272: testscript validates the vmdeployment with userdata 2013-11-04 16:58:55 +05:30
Girish Shilamkar ba8be7cbed CLOUDSTACK-3961: Added a function to get free vlan 2013-11-01 17:30:48 +05:30
Girish Shilamkar dc081c9f6b CLOUDSTACK-4256: Fixed Shared Network test cases using random private
ips for shared networks
2013-10-31 22:22:47 +05:30
Gaurav Aradhye c61c592677 CLOUDSTACK-4995: Fixed test_reset_ssh_keypair which checks the state of the VM
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-10-31 21:55:32 +05:30
Girish Shilamkar 733c355eaa CLOUDSTACK-4335: Delete test_deployVmSharedNetworkWithoutIpRange
test_deployVmSharedNetworkWithoutIpRange creates a shared network
without start and end ip. This is no longer permitted and creation
of shared network will fail with error "insufficient capacity". So
remove this test which is invalid.

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-10-31 18:29:46 +05:30
Ashutosh Kelkar e47dfb673c CLOUDSTACK-2243: Add automation tests for VMs base image update faclity
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-10-31 15:02:03 +05:30
Sowmya Krishnan d5cca46ae9 CLOUDSTACK-4776: New Tests for Netscaler as external LB 2013-10-30 17:01:21 +05:30
SrikanteswaraRao Talluri b80242c2dc CLOUDSTACK-4772: remove test tag for the test test_01_RouterStopCreateFW
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-30 12:31:14 +05:30
SrikanteswaraRao Talluri e94ec6b202 CLOUDSTACK-4772: modify the script to get_process_status for vmware deployment
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-30 01:44:12 +05:30
Gaurav Aradhye c6ce74fe61 CLOUDSTACK: 2238 - Automation - Adding non contiguous VLAN ranges feature test cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-29 23:41:05 +05:30
SrikanteswaraRao Talluri 3958095676 CLOUDSTACK-4691: Deleted host maintenance tests from this file 2013-10-25 14:44:37 +05:30
sanjeevneelarapu d50e6a5b3e CLOUDSTACK-702: Added tests for alias ip verifications on VR 1. Moved vm deployment code to setup and vm deletion code teadDown methods 2. Added two tests which would verify alias removal after last vm expunge in CIDR and alias status after VR reboot
CLOUDSTACK-702: Test for verifying ip alias after VR stop start
     1.Deploy vm in new cidr which will create ip alias on existing VR
	Stop,start VR and verify ip alias

Conflicts:

	test/integration/component/maint/test_multiple_ip_ranges.py

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-25 14:26:23 +05:30
Gaurav Aradhye c605b47348 CLOUDSTACK:4537 - Fixed shared network and vpc test cases
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 98daad9300)
2013-10-21 17:09:06 +05:30
Girish Shilamkar 15b7b10828 Cloudstack:4407 - Pending changes - Use extractTemplate API to get hypervisor specific template information.
(cherry picked from commit 4747b2abfe)

Signed-off-by: Sangeetha <sangeetha.hariharan@citrix.com>
2013-10-17 20:15:20 -07:00
Chandan Purushothama 92bb0ac3a5 test_stopped_vm.py tries to clean up ISOs that are already deleted as part of Account Deletion. Do not add account owned iso objects to the cleanup list.
(cherry picked from commit 2ecf272dac)

Signed-off-by: Sangeetha <sangeetha.hariharan@citrix.com>
2013-10-17 20:15:02 -07:00
Gaurav Aradhye 833229c416 CLOUDSTACK-4637: Fix failures in test_egress_fw_rules.py
Removed log_test_exceptions which did not add any value.
Skipped few tests which are incomplete. Added timeout logic
and to wait for router to boot.
(cherry picked from commit a65f1ebefc)

Signed-off-by: Sangeetha <sangeetha.hariharan@citrix.com>
2013-10-17 19:37:54 -07:00
sanjeevneelarapu 8b0894b27c CLOUDSTACK-702: Verify Userdata,password services 1.Added two tests to vefiy userdata and password services on alias ip on VR
Conflicts:

	test/integration/component/maint/test_multiple_ip_ranges.py

Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 7a7fb61a17)
2013-10-17 17:20:38 +05:30
Girish Shilamkar e3bcdc16a1 CLOUDSTACK-4766: Add timeout if vm does not reach running state
The tests use to wait for ever for the vm to attain Running state.
Added a timeout so it does not get into infinite loop.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-17 17:06:50 +05:30
Girish Shilamkar 08e69f130f CLOUDSTACK-4747: Rename testcase name to use lesser characters
Renamed testcase name and also initialised _cleanup so that
it does not break on non-NS Cloudstack setup.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit c5e1c4725c)
2013-10-17 15:27:41 +05:30
Gaurav Aradhye 7854dbc213 CLOUDSTACK: 4705 - Fixed memory limits - domain limits test cases. Fixed attribute error
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-17 15:16:50 +05:30
Gaurav Aradhye 2c6b698b97 CLOUDSTACK-4256 - Fixed shared network test cases
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8350a6bd4c)
2013-10-15 13:40:10 +05:30
Gaurav Aradhye 0dabc6a651 CLOUDSTACK-4647: Fixed snapshot_gc test case and common util function is_snapshot_on_nfs
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 0bbe5684981cf21d30455de4f12dd1c2e58d94ea)
2013-10-15 13:36:45 +05:30
Girish Shilamkar 8598a2c884 Automation Tests for HA Proxy Stickiness
Reviewed-by: Suresh Sadhu <Suresh.Sadhu@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 56ccb2835b)
2013-10-15 13:24:37 +05:30
Girish Shilamkar 808b96070e CLOUDSTACK-4262: Fix TestVPCNetworkGc.test_01_wait_network_gc
As per the test plan, after waiting for network gc
LB rules should be cleared. Added that check instead of router
being in stopped state.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit abdb84bb05abc9f2bd102bca1c1b34865f34d771)
2013-10-11 12:38:11 +05:30
sanjeevneelarapu d5eda578cd CLOUDSTACK-702: 1. Moved common code to setupClass method 2. Added a test to deply vm in new CIDR and verify dns service on alias IP
Conflicts:

	test/integration/component/maint/test_multiple_ip_ranges.py

Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 1efd544ee27fd0c7c9eac4649568647c0dcbc85b)
2013-10-10 17:38:55 +05:30
animesh 86c93637f5 Merging 4.2-forward into 4.2 2013-10-02 23:05:34 -07:00
Gaurav Aradhye 219c64eef3 CLOUDSTACK: 4640 - Fixed indentation issues in function createInstance 2013-10-01 11:24:33 +05:30
Gaurav Aradhye b35e76132d CLOUDSTACK: 4635 - Fixed test case issues due to wrong indentation 2013-10-01 11:23:01 +05:30
Gaurav Aradhye 7d15b50704 CLOUDSTACK-4634: Fixed issue arising due to wrong indentation 2013-10-01 11:21:21 +05:30
Sowmya Krishnan f0b4f89469 CLOUDSTACK-4696 Handle Netscaler Provider enable for both zones
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit a5ede3af7f)
2013-10-01 11:19:36 +05:30
SrikanteswaraRao Talluri 07a6daf6cb CLOUDSTACK-4646: Increase the wait time for the routers to go into stopped state
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 55ef4b8c3c)
2013-09-30 15:16:21 +05:30
SrikanteswaraRao Talluri 6b28e03d6d CLOUDSTACK-4691: move egress rules host maintenance tests to maint folder
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 15:06:46 +05:30
sanjeevneelarapu a34bf457df CLOUDSTACK-702: Adding test for deploying vm in new cidr 1. Add guest ip range in new cidr and deploy vm in that
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit ff2bd3d443)
2013-09-30 14:56:08 +05:30
animesh 69c459342c Fixing rat issue with a test script 2013-09-20 16:31:19 -07:00
Girish Shilamkar 25cf6c9bed Storage type was set to local due to which tests failed. Removed it.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a726bfdba5)
2013-09-19 19:11:19 +05:30
Ashutosh K e49f14b7e3 Added missing test for VPC load balancing rule from old QA repo to cloudstack repo
def test_04_VPC_CreateLBRuleInMultipleNetworksVRStoppedState

Since VPC now only allows load balancing on a single tier the test case
has been updated to check that condition

Ref : http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/configure-vpc.html

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 5b5a617544)
2013-09-18 21:49:12 +05:30
Girish Shilamkar 7d06e77ed9 CLOUDSTACK-4637: Add 30sec sleep before router is ssh'd
Egress rules testcases access vm via router. Sleep before
accessing router else the expect fails since router is not
accessible. Also use router.hostid instead of vm.hostid
to identify the host.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-18 21:40:39 +05:30
Girish Shilamkar 8cc37c2470 CLOUDSTACK-1800: Add automation tests for reset sshkey to access VM
Reviewed-By: Harikrishna Patnala <harikrishna.patnala@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit dd4b1cbf44)
2013-09-18 09:33:48 +05:30
Anshul Gangwar c93e6e216d CLOUDSTACK-2266: marvin tests for IP Address reservation within a network it also adds the ipaddress parameter to virtual machine's create method in base.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 955408166c)
2013-09-18 09:23:03 +05:30
Gaurav Aradhye af2646f9a8 Automation: Resource Limits - memory limits test cases 2013-09-17 16:14:52 +05:30
Gaurav Aradhye 23c759ec35 Automation - Portable Ip feature test cases
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-13 17:27:57 +05:30
venkataswamybabu budumuru 1a20cb8270 Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
Corrected Indentation issues.
(cherry picked from commit 2ea66124f2)
2013-09-12 18:38:19 +05:30