1132 Commits

Author SHA1 Message Date
Gaurav Aradhye
6da65eca88 CLOUDSTACK-8299: Adding test case to test security group ingress rules for a specific IP set
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2015-03-08 11:12:12 -04:00
Gaurav Aradhye
f393199325 CLOUDSTACK-8277: Code improvement - test_shared_networks.py, test_multiple_ip_ranges.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-26 13:05:45 +05:30
Daan Hoogland
0e31366a3d Merge branch 'hotfix/singlerun-test-breakage' of https://github.com/DaanHoogland/cloudstack 2015-02-20 16:10:59 +01:00
Gaurav Aradhye
53bae00801 CLOUDSTACK-8269: Code changes in primary storage test cases as per recent change in product behavior
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-20 20:03:45 +05:30
Ashutosh K
0440960933 CLOUDSTACK-7594: Adding automation test cases for stopped VM test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-20 20:02:08 +05:30
Gaurav Aradhye
ba08229ff9 CLOUDSTACK-8264: Code improvement - test_stopped_vm.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-20 19:59:37 +05:30
Daan Hoogland
d64672aeb7 test fails unexplicalby while functionality is ok 2015-02-20 14:24:45 +01:00
Gaurav Aradhye
e768d702cb CLOUDSTACK-8261: test_haproxy.py - Remove the code checking AppCookle and LbCookie Stickiness policies
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:33:24 +05:30
Gaurav Aradhye
8bfda973c2 CLOUDSTACK-8259: Code improvement - test_routers.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:23:34 +05:30
Gaurav Aradhye
9734582197 CLOUDSTACK-8258: test_iso.py - Removed assertion on Iso name when random characters are appended to test data before creating Iso
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:19:52 +05:30
Gaurav Aradhye
a95ce8138a CLOUDSTACK-8257: test_escalations_volume.py - Removing asserts on volumes names as they don't hold true when random characters are appended to the volume name before creation
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:19:29 +05:30
SrikanteswaraRao Talluri
a7b8e987d3 As this is not tested and causing other failures, reverting for now and let the author resubmit a fresh patch
Revert "Automation of CCP Objects Verification after external changes made to the original setup Purpose of this code:"

This reverts commit 7461297f3e17b431643e7a8c575e799d0e151261.
2015-02-14 21:20:25 +05:30
Gaurav Aradhye
e66ceaa254 CLOUDSTACK-8255: Adding secondary IP to correct ethernet interface present on the VM
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 18:08:17 +05:30
Ashutosh K
ada8cdce70 CLOUDSTACK-7911: Adding test cases for usage test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 16:02:56 +05:30
SrikanteswaraRao Talluri
a68de9acb6 CLOUDSTACK-8161: disable template create and dynamic scaling tests for LXC 2015-02-13 15:47:19 +05:30
Gaurav Aradhye
500baea9b6 CLOUDSTACK-8235: Fixed test case in test_bugs.py to read variable data from configurableData section of test_data.py and also fixed wrong parameter name
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 13:06:08 +05:30
Gaurav Aradhye
eab63a6dd9 CLOUDSTACK-8149: Fixed test_Virtualrouter_alerts.py for VMware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:40:09 +05:30
Gaurav Aradhye
d849a66b47 CLOUDSTACK-8253: Code correction and improvement: test_haproxy.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:36:28 +05:30
Gaurav Aradhye
dc4578dd44 CLOUDSTACK-8254: Choosing high end service offering for HyperV in case it tries to SSH to VM because Hyperv needs more resources because it is GUI based VM
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:30:47 +05:30
Chandan Purushothama
7461297f3e Automation of CCP Objects Verification after external changes made to the original setup Purpose of this code:
Generate CCP Objects (VMs, Volumes, Snapshots, VPC, etc..) and CCP Use Cases (Networking, Data Content,etc) before an external action on the CCP Setup and verify the integrity of the CCP Objects and the Use Cases after the external action on the CCP Setup. The integrity of the CCP Objects is verified by performing operations that test the Usability of the objects. This validates the intactness of the setup after an external action. The submitted patch covers only few major use cases. It proves that similar code can be added in future to address similar goals in verifying the integrity of CCP objects belonging to different components of the product.

The code format can be followed to verify validity of real time business use cases while any code changes (CCP,hypervisor,external devices code, etc…) happen over a period of time.

The following are the scenarios that the code format can be used for:
1.Upgrade Validity Verification
     a. CCP Upgrade
     b. Hypervisors Upgrade
     c. External Devices Upgrade
     d. System VM Template Changes.
2.Patch Validity Verification

Code can be used as one of the primary Components to validity Upgrades. It will facilitate the automation of Upgrade Test Verification completely.

How to use the code:

*Kindly make the corresponding substitutions in the commands listed below.

Execute:
 nosetests --with-marvin --marvin-config=$CONFIG $BASEDIR/integration/component/ test_minimal_ug_check.py --load -a tags=preupgrade

After Upgrade or any Changes done to the Setup, Verify that the existing CCP objects are not affected due to the external changes.

Execute:
nosetests --with-marvin --marvin-config=$CONFIG $BASEDIR/integration/component/ test_minimal_ug_check.py --load -a tags=postupgrade

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:06:46 +05:30
Gaurav Aradhye
ec1c3894f0 CLOUDSTACK-8240: Skipping test case in test_vmware_drs.py because the scenario is not testable through automation
Signed-off-by: Srikanteswararao Talluri <talluri@apache.org>
2015-02-11 17:02:25 +05:30
Gaurav Aradhye
af09388eda CLOUDSTACK-8241: Moved upload volume dict data to configurableData section of the test_data.py file so that data can be changed according to the setup, also made relevant changes in the test cases
Signed-off-by: Srikanteswararao <talluri@apache.org>
2015-02-11 16:53:08 +05:30
SrikanteswaraRao Talluri
0aa2b90516 removed unnecessary pdb break point. 2015-02-09 11:56:33 +05:30
SrikanteswaraRao Talluri
2567ef2452 CLOUDSTACK-8161: changed apiclient to api_client in some of the tests 2015-02-08 11:17:17 +05:30
SrikanteswaraRao Talluri
cf82af9567 CLOUDSTACK-8161: disabled vm migrate related test cases for LXC. 2015-02-08 00:52:05 +05:30
SrikanteswaraRao Talluri
b3cebdbbf4 CLOUDSTACK-8161: fixed few more wrong references in the tests while
disabling LXC unsupported tests.
2015-02-08 00:36:01 +05:30
SrikanteswaraRao Talluri
6e3009a299 CLOUDSTACK-8161: fixed few more wrong references
in the tests
2015-02-05 18:48:32 +05:30
Gaurav Aradhye
a4e9b4e8a4 CLOUDSTACK-8211: Correcting expected secondary storage count value by rounding off to floor value and including the physicalsize of snapshot
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-05 17:32:35 +05:30
Gaurav Aradhye
82b6c1377b CLOUDSTACK-8213: Fixed typo in test_lb_secondary_ip.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-05 15:50:51 +05:30
Gaurav Aradhye
8354d4a765 CLOUDSTACK-8214: test_netscaler_nw_off.py - Skip test if enough zones are not present instead of throwing exception
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-05 15:50:51 +05:30
Chandan Purushothama
cfc0e12432 CLOUDSTACK-7745: Fixed the script 'test_ssvm.py' - Private IP of System VMs can change on systemVMs reboot
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-03 18:18:25 +05:30
Ashutosh K
dbe9d93ec6 CLOUDSTACK-8153: Adding global setting value check for few test cases in test_custom_hostname.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-03 17:58:42 +05:30
Abhinav Roy
f2ea617238 Correcting a minor typo in test_deploy_vgpu_vm.py script
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-03 17:57:33 +05:30
SrikanteswaraRao Talluri
fc6d925ade CLOUDSTACK-8161: added skips for the tests which are not supported on LXC:
1. vm create from ISO
2. dynamic scaling of VM.
3. windows VM on LXC
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-30 17:05:28 +05:30
SrikanteswaraRao Talluri
3eb5c76911 CLOUDSTACK-8161: added skips for the tests which are not supported on LXC:
1. snapshot related
2. template create from volume.
3. VM create from ISO.
4. Data volume related operations on a non RBD storage.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-30 15:52:33 +05:30
Gaurav Aradhye
8c68ac15c1 CLOUDSTACK-8170: Skipping tests on HyperV which try to scale VM in running state because feature not supported 2015-01-22 16:37:11 +05:30
Gaurav Aradhye
ab333e4e36 CLOUDSTACK-8124: Skipping snapshot tests on Hyper-V 2015-01-22 14:28:56 +05:30
Gaurav Aradhye
8894fc897b CLOUDSTACK-8174: Fixed cleanup issue in test_add_remove_network.py 2015-01-22 14:14:53 +05:30
SrikanteswaraRao Talluri
3384888c39 CLOUDSTACK-8161: mark the data volume related operations on LXC as skipped if RBD storage pool is not available
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-16 18:46:03 +05:30
Ashutosh K
9f55411295 CLOUDSTACK-8143: Corrected a test in BVT test_routers.py 2015-01-13 16:37:56 +05:30
Gaurav Aradhye
f11e570796 CLOUDSTACK-8145: Adding new test to test blocker bugs and modifying other test case to work around the bug
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:15:10 +05:30
Ashutosh K
9056e4c3fb CLOUDSTACK-8147: Fixed typo in test case test_redundant_router.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:13:59 +05:30
Ashutosh K
d0b6234e51 CLOUDSTACK-8149: Code-refactor - test_VirtualRouter_alerts.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:13:06 +05:30
Gaurav Aradhye
d79837b67a CLOUDSTACK-8152: Adding delay before creating snapshot/template from root disk after writing data to disk - test_vm_passwordenabled.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:09:58 +05:30
Gaurav Aradhye
22d6565434 CLOUDSATCK-8138: Fixed VmSnapshot revert issue in test_escalations_instances.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 18:42:07 +05:30
K@clogeny.com
eae9f0f0b0 CLOUDSTACK-8137: Fixed cleanup issue in sec group tests in test_escalations_instances.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 18:32:30 +05:30
Ashutosh K
1ee4188835 CLOUDSTACK-8135: Fixed cleanup issue in test_escalations_instances.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 18:31:52 +05:30
Ashutosh K
f938a5e1c3 CLOUDSTACK-8132: Fixed issue related to secondary storage count of template
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 18:30:16 +05:30
Ashutosh K
17da2e9ce9 CLOUDSTACK-8130: Fixed test_escalations_templates.py - Removed test case dependency on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 18:05:17 +05:30
Gaurav Aradhye
214d63ee1e CLOUDSTACK-8124: Skipping snapshot tests on hyperv hypervisor
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-05 18:04:37 +05:30