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
venkataswamybabu budumuru
237f8ec702
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
...
Skipped the test "test_createSharedNetwork_usedVlan" as there is another test
(test_createSharedNetwork_usedVlan2) which is covering the righ scenario.
moreover this test is creating issues for couple of other tests due to
incompleteness
2013-09-12 18:25:42 +05:30
sailajam
e546fe0e71
Merge branch '4.2' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.2
2013-09-12 10:59:47 +05:30
sanjeevneelarapu
daaec56d40
CLOUDSTACK-702: Tests for Multiple IP Ranges 1. Removed advanced tag from all the tests. At the movement scripts support only basic zone 2. Added a test to deploy guest vm after adding ip range in new CIDR
...
CLOUDSTACK-702: Removed test for deploying vm after adding new cidr
1.This test would block parallel execution of remianing tests
2.Removed list_Routers proc and unused code
3.Added few more debug statements
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-06 15:26:41 +05:30
sanjeevneelarapu
dfee47e3b6
CLOUDSTACK-4203: Adding a test for migrating volumes of stopped vms to test_stopped_vm.py
...
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
s
2013-09-05 18:53:02 +05:30
Prasanna Santhanam
6022d69e21
cpu_limits module of tests
...
(cherry picked from commit a6117192f8e6d74227af70af29e0eee86868230f)
2013-08-29 14:30:17 +05:30
Prasanna Santhanam
fb9521c92f
Formatting and tab errors in the new test suites for limits
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f5eb81e669a8a454fc02b90a44c4ce8ffc7ac9ac)
2013-08-29 14:26:54 +05:30
Gaurav Aradhye
f585c605e2
Automation: Limit Resources - Adding tests related to CPU limits
...
Reviewed-by: Sanjay Tripathi <Sanjay.Tripathi@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 95e4b7afa8 )
2013-08-29 14:14:32 +05:30
Girish Shilamkar
de86e5e63d
CLOUDSTACK-4407: Use extractTemplate API to get hypervisor specific template information
...
Template url, hypervisor and format were defined in Service class to be Xenserver specific
and therefore registering a new template failed on Vmware and KVM.
Fixed this to get hypervisor specific info for registering new template.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 20256706b376551fe8993ee2e73c61df31dcb6de)
2013-08-29 12:38:34 +05:30
venkataswamybabu budumuru
89c3297e56
CLOUDSTACK-4378 : Fixing the typo in Apache License Text
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-08-27 15:24:54 +05:30
Sowmya Krishnan
239281a401
CLOUDSTACK-4491: Added missing NS setup
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-08-27 11:55:40 +05:30
Sowmya Krishnan
f7df3ef9f1
CLOUDSTACK-4510 Move NS scripts to appropriate suites and related common.py fixes
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-27 10:58:43 +05:30
venkataswamybabu budumuru
98dfd65291
CLOUDSTACK-4378 : Existing tests were deploying VMs as admin and creating
...
affinity groups as admin. There are few reason why this needs to be changed and
the reasons are as mentioned below
1. we usually create an account for each test and we run the test as the newly
created account and not as admin.
2. tests were failing during deployVirtualMachine step when they are run as
admin and if anyone during these tests create an additional isolated networks
as admin account .
(P.S: current deployVirtualMachine in the scripts is not taking the networkId
and hence it fails when there are multiple isolated networks because it doesn't
know which one to pick)
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-08-26 19:28:06 +05:30
Prasanna Santhanam
81d489dc94
CLOUDSTACK-4452: Cleaning up the is_snapshot_on_nfs utility
...
- Pass in config and determine the mgmtsvr credentials
- remove the dir_paths param which is not reqd.
- pass all entities as uuids and convert to ids within the method
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 02e7630f1c )
2013-08-26 11:11:30 +05:30
Gaurav Aradhye
35ee38385c
CLOUDSTACK-4452 - Fixed method is_snapshot_on_nfs and moved it to utils
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-26 10:40:19 +05:30
Sowmya Krishnan
bc5b6ae0e4
CLOUDSTACK-4487: No need to delete offerings or wait on offering cleanup
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-26 10:35:59 +05:30
Girish Shilamkar
9ff40829a9
CLOUDSTACK-4144: Add free vlan to shared network in TestVMLifeCycleSharedNwVPC
...
Shared network has to have specifyVlan = True. So changed it to True
and aded a function to get free vlan.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-24 10:05:14 +05:30
SrikanteswaraRao Talluri
4a8119c807
CLOUDSTACK-4448: Fix test_03_RouterStartOnVmDeploy to stop all the pre-existing VMs before starting the test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 12:37:03 +05:30
SrikanteswaraRao Talluri
db673b2b9b
CLOUDSTACK-4447: Fix router tests by listing Routers for that account of type 'Isolated'.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 09:42:37 +05:30
SrikanteswaraRao Talluri
8762a0d0c6
CLOUDSTACK-4425:Fix to attach uploaded volume to a stopped VM test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 09:41:19 +05:30
Prasanna Santhanam
69f6f49ae1
CLOUDSTACK-4453: fetch host credentials from marvin config
...
Tests would fetch the credentials for the host to hop into router to
check for essential services. Each test would require to put in the host
information into the test data. Instead fetch the credential information
from the marvin configuration file.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 20:20:35 +05:30
SrikanteswaraRao Talluri
64460df554
CLOUDSTACK-4437: Fix iso usage event count to match the number of image stores
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 12:38:59 +05:30
Prasanna Santhanam
e2122b7230
CLOUDSTACK-4442: Include a test for creating networks with sourcenat only
...
The test attempts to create a network with offering serving only
dhcp,dns and sourcenat. However the source NAT functionality itself
isn't tested as reported in the bug. So the test will pass.
TODO: come up with a way to test source nat without enabling additional
services for pf/staticnat
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 12:38:50 +05:30
Sowmya Krishnan
1c31ee22d4
CLOUDSTACK-3927, CLOUDSTACK-3928: Fix NS scripts to add/remove NS device in setupClass/tearDown
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 10:06:51 +05:30
Gaurav Aradhye
b3921e5248
CLOUDSTACK-4422: Corrected the wrong service paths
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-21 15:43:23 +05:30
Prasanna Santhanam
f056af8cbd
CLOUDSTACK-4225: Remove additional / in the nfs path
...
nfs://nfs-server://export/share ->
nfs://nfs-server:/export/share
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-21 15:19:25 +05:30
Prasanna Santhanam
5b66677d74
CLOUDSTACK-4225: list the snapshot path on secondary store
...
list the snapshot on secondary store. avoid changing directories and
additional debug commands.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 19:38:59 +05:30
Prasanna Santhanam
8b922b850c
CLOUDSTACK-4225: new_virtual_machine is not a attr of the test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 19:33:42 +05:30
Gaurav Aradhye
836f093610
CLOUDSTACK-4356: Added code for checking empty host, skip the test if no empty host found
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ac77660864 )
2013-08-20 17:31:53 +05:30
Prasanna Santhanam
a82f66e0fa
CLOUDSTACK-4257: Additional asserts for storage migration test
...
Test whether valid storage pools are listed and at least one pool is
available for migration.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 17:24:56 +05:30
Saksham Srivastava
a9e45bf776
CLOUDSTACK-4257: [Automation] test_storage_motion test cases failed during with unexpected result in listStoragePool API call
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 17:24:56 +05:30
Sheng Yang
690bd57ed0
Automation: Disable TestVMLifeCycleSharedNwVPC test suite
...
Rather than TestVMLifeCycleVPC.
Shared network's setup is wrong.
2013-08-19 11:24:11 -07:00