Commit Graph

1218 Commits

Author SHA1 Message Date
Gaurav Aradhye b23fd5ee53 CLOUDSTACK-8049: Tagging test cases which cannot be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-09 18:53:19 +05:30
Gaurav Aradhye ab580de38d CLOUDSTACK-8053: Fix loop termination - test_vpc_host_maintenance.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-09 18:30:06 +05:30
Gaurav Aradhye ca52f15530 CLOUDSTACK-8021: Change test cases to use host information from configurableData section in test_data.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 20:13:27 +05:30
Gaurav Aradhye 7c951a2fa9 CLOUDSTACK-8018: Improve code quality - test_redundant_router.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 19:51:13 +05:30
Sheng Yang ddf6fd2f9a CLOUDSTACK-7436: Fix automation test on RvR status detection
Everytime when checking the RvR status, you must wait some time for RvR to
update it's status. The polling thread would update the status only every 30
seconds by default.
2014-12-05 19:51:04 +05:30
Gaurav Aradhye 100e46bf4e CLOUDSTACK-8018: Improve code quality - test_redundant_router.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:40:23 +05:30
Gaurav Aradhye 6020053110 CLOUDSTACK-8028: Fix test_data.py - Separate virtual_machine dict having userdata key
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:37:22 +05:30
Gaurav Aradhye a72b6a7f99 CLOUDSTACK-8028: Fix test_data.py - Separate virtual_machine dict having userdata key
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:36:19 +05:30
Gaurav Aradhye d5370a95d2 CLOUDSTACK-8002: test_high_availability.py - Skip test cases if enough hosts are not available
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 11:19:03 +05:30
Gaurav Aradhye a6fd3190c0 CLOUDSTACK-8003: test_egress_fw_rules.py - Remove test case dependency on each other and improve cleanup code
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 11:18:54 +05:30
Gaurav Aradhye fe0a55fb57 CLOUDSTACK-8003: test_egress_fw_rules.py - Remove test case dependency on each other and improve cleanup code
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 11:18:19 +05:30
Gaurav Aradhye 6f046bd1ab CLOUDSTACK-8002: test_high_availability.py - Skip test cases if enough hosts are not available
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 11:18:19 +05:30
Chandan Purushothama 41b871b6bd CLOUDSTACK-8007: Fixed the script 'test_vm_passwdenabled.py' - Template created by Admin should have public access to be used for regular User VM Deployment 2014-12-04 13:01:25 -08:00
Ashutosh K 608b0c5a24 CLOUDSTACK-7998: test_escalations_instances.py - Correcting code related to detach volume
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-04 16:38:35 +05:30
Ashutosh K 1f7699f458 CLOUDSTACK-7998: test_escalations_instances.py - Correcting code related to detach volume
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-04 16:37:35 +05:30
Ashutosh K c2c7ee25ed CLOUDSTACK-8020: test_snapshots.py - Fixed cleanup issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-04 16:32:48 +05:30
Ashutosh K 0a757b0f10 CLOUDSTACK-8020: test_snapshots.py - Fixed cleanup issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-04 16:30:50 +05:30
Chandan Purushothama b0d74ad6fc CLOUDSTACK-7996: Fixed the script test_tags.py - Tags and Template should belong to the User Account to test the case 2014-12-02 16:48:20 -08:00
Gaurav Aradhye 98d75b0259 CLOUDSTACK-7991: test_security_groups.py - Move config data to test_data.py and fix pep8 issues
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2014-12-02 10:03:41 -05:00
Gaurav Aradhye 818957de0c CLOUDSTACK-7991: test_security_groups.py - Move config data to test_data.py and fix pep8 issues
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2014-12-02 09:56:49 -05:00
Chandan Purushothama 4c21172f3b CLOUDSTACK-7979 : Fixed the script 'test_security_groups.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-12-02 15:44:22 +05:30
Gaurav Aradhye 3d279bbb19 CLOUDSTACK-7993: Code enhancement - test_egress_fw_rules.py - Removing unncessary waits
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-02 15:40:47 +05:30
Gaurav Aradhye 6a2c18a989 CLOUDSTACK-7993: Code enhancement - test_egress_fw_rules.py - Removing unncessary waits
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-02 15:36:13 +05:30
Gaurav Aradhye 2fa1b02e3c CLOUDSTACK-8001: test_add_remove_network.py - Tag invalid test case as invalid
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-02 15:33:09 +05:30
Gaurav Aradhye e6236297a1 CLOUDSTACK-8001: test_add_remove_network.py - Tag invalid test case as invalid
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-02 15:32:33 +05:30
Chandan Purushothama d5761ea65b CLOUDSTACK-7980 : Fixed the script '/maint/test_egress_rules_host_maintenance.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-11-26 19:33:23 -08:00
Chandan Purushothama 4f8799315f CLOUDSTACK-7979 : Fixed the script 'test_security_groups.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-11-26 19:33:06 -08:00
Chandan Purushothama b81cf5eab1 CLOUDSTACK-7978 : Fixed the script 'test_egress_rules.py' - Zone Network Type Information should to be passed to VirtualMachine create method 2014-11-26 19:32:46 -08:00
SrikanteswaraRao Talluri 2b22022f92 CLOUDSTACK-7865:Wrongly skipping the test if the local storage is enabled.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 19:22:51 +05:30
SrikanteswaraRao Talluri 8cca0b224d CLOUDSTACK-7865:Wrongly skipping the test if the local storage is enabled.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 19:22:11 +05:30
Gaurav Aradhye d0ca2d5d8b CLOUDSTACK-7933: test_escalations_instances.py - Fixed test_13_vm_nics for Vmware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:58:00 +05:30
Gaurav Aradhye 1bc13f7537 CLOUDSTACK-7933: test_escalations_instances.py - Fixed test_13_vm_nics for Vmware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:55:54 +05:30
Ashutosh K 2fbef677b0 CLOUDSTACK-7934: Fixed cleanup issues test_escalations_volumes.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:53:51 +05:30
Ashutosh K df6078bb2d CLOUDSTACK-7934: Fixed cleanup issues test_escalations_volumes.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:51:11 +05:30
Ashutosh K 30a2ade17a CLOUDSTACK-7942: Fixing account permission issue in test_template.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:48:53 +05:30
Ashutosh K 7197f8c24a CLOUDSTACK-7942: Fixing account permission issue in test_template.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:48:08 +05:30
Ashutosh K 6eb4a40afe CLOUDSTACK-7949: Fixing issue in test_base_image_updation.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:43:07 +05:30
Ashutosh K c25b6fab12 CLOUDSTACK-7949: Fixing issue in test_base_image_updation.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:42:08 +05:30
Ashutosh K 50ab04dc0d CLOUDSTACK-7953: Fixed time wait period for verifying snapshot policy
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:39:43 +05:30
Ashutosh K 0ce9439d37 CLOUDSTACK-7953: Fixed time wait period for verifying snapshot policy
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:38:49 +05:30
Ashutosh K 1db2d14422 CLOUDSTACK-7963: Fixed test case in test_dedicate_guest_vlan_ranges.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:35:13 +05:30
Ashutosh K 825cae8d92 CLOUDSTACK-7963: Fixed test case in test_dedicate_guest_vlan_ranges.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:32:33 +05:30
Gaurav Aradhye 684268f4c3 CLOUDSTACK-7938: Marvin - Create a new section in test_data.py for configurable data and change test cases accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:30:33 +05:30
Gaurav Aradhye d7940cca1e CLOUDSTACK-7938: Marvin - Create a new section in test_data.py for configurable data and change test cases accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:27:01 +05:30
Ashutosh K 4f82528829 CLOUDSTACK-7965: Fix script related to force delete domain test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:18:16 +05:30
Ashutosh K 2805f51e43 CLOUDSTACK-7965: Fix script related to force delete domain test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-25 18:16:31 +05:30
Chandan Purushothama 71bb436c8d CLOUDSTACK-7955: Fixed the script test_project_limits.py - Register Template in the Project to test the Template limits on the project 2014-11-21 18:25:44 -08:00
Chandan Purushothama 3a6f248e3a CLOUDSTACK-7956: Fixed the script 'test_project_usage.py' - Register Template in the Project to test the Template limits on the project 2014-11-21 18:24:15 -08:00
Sangeetha Hariharan 50bf7496e3 CLOUDSTACK-7732-[Automation] - Automate organization States Test Cases relating to enabling/disabling of zone,pod,host and cluster. 2014-11-21 12:32:14 -08:00
Chandan Purushothama 20a8852db1 CLOUDSTACK-7928 : Fixed the script 'test_vpc_vm_life_cycle.py' - Removed the Invalid test cases for Stopped VPC VR Scenario 2014-11-18 19:19:44 -08:00
Chandan Purushothama e712ac78d0 CLOUDSTACK-7810 : Fixed the script 'test_vpc_vm_life_cycle.py' 2014-11-17 17:35:13 -08:00
Gaurav Aradhye 91ffaaa5a2 CLOUDSTACK-7912: Remove hardcoded netscaler info and read it from config file
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-17 15:30:24 +05:30
Gaurav Aradhye 5f99917991 CLOUDSTACK-7912: Remove hardcoded netscaler info and read it from config file
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-17 15:14:27 +05:30
SrikanteswaraRao Talluri 44663a868b Merge branch '4.5'
* 4.5:
  CLOUDSTACK-7355 - test_netscaler_configs.py uses hardcoded NetScaler credentials
2014-11-14 16:58:31 +05:30
Doug Clark 3609f60447 CLOUDSTACK-7355 - test_netscaler_configs.py uses hardcoded NetScaler credentials
Refactored code to use test_data instead of hardcoded NetScaler credentials
Refactored code to remove large scale duplication
Fixed some minor logic error in the existing tests

This patch has not added or removed any of the original test-cases.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-14 16:56:59 +05:30
SrikanteswaraRao Talluri 0fd5475593 Merge branch '4.5'
* 4.5:
  CLOUDSTACK-7885 : Fixed the script '/maint/test_vpc_host_maintenance.py'
  CLOUDSTACK-7860: test_eip_elb.py - Move Netscler info out of the test case. Read it from config. Fix attribute error. Fix pep8 issues. Fix imports.
2014-11-14 16:49:51 +05:30
Chandan Purushothama f92fa4257a CLOUDSTACK-7885 : Fixed the script '/maint/test_vpc_host_maintenance.py'
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-14 16:46:37 +05:30
Gaurav Aradhye 2bfddc55b8 CLOUDSTACK-7860: test_eip_elb.py - Move Netscler info out of the test case. Read it from config. Fix attribute error. Fix pep8 issues. Fix imports.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-14 16:39:55 +05:30
SrikanteswaraRao Talluri 63ff683b89 Merge branch '4.5' 2014-11-13 18:30:12 +05:30
Gaurav Aradhye 46d9f8c6f5 CLOUDSTACK-7879: Skip dynamic scaling on vmware if vmware-tools are not installed
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-13 18:27:48 +05:30
SrikanteswaraRao Talluri 4bfb7f20c1 merging 2c08e30a49 from 4.5
Merge branch '4.5'
2014-11-13 18:11:49 +05:30
Chandan Purushothama 2c08e30a49 CLOUDSTACK-7894 : Fixed the script test_vm_passwdenabled.py - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-13 18:10:44 +05:30
SrikanteswaraRao Talluri fa4cc856aa bringing in bcf328833a from 4.5
Merge branch '4.5'
2014-11-13 17:58:56 +05:30
Chandan Purushothama bcf328833a CLOUDSTACK-7895 : Fixed the script test_security_groups.py - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-13 17:56:20 +05:30
Chandan Purushothama a02864ab8b CLOUDSTACK-7897 : Fixed the script test_reset_ssh_keypair.py - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-13 17:50:14 +05:30
Chandan Purushothama 765443e7d5 CLOUDSTACK-7897 : Fixed the script test_reset_ssh_keypair.py - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-13 17:49:22 +05:30
Chandan Purushothama 81e03c4c31 CLOUDSTACK-7788: Fixed the script 'test_dynamic_compute_offering.py' to be run only on hardware 2014-11-12 18:36:07 -08:00
Chandan Purushothama 57f6642234 CLOUDSTACK-7787: Fixed the script 'test_lb_secondary_ip.py' to be run only on hardware 2014-11-12 18:35:33 -08:00
Chandan Purushothama 540687c392 CLOUDSTACK-7786: Fixed the script 'test_haproxy.py' to be run only on hardware 2014-11-12 18:29:50 -08:00
Chandan Purushothama 172a0b7ee0 CLOUDSTACK-7811: Fixed the script 'test_persistent_networks.py' - Test Cases failing on Simulator due to hardware resources requirement for test execution 2014-11-12 18:26:56 -08:00
Chandan Purushothama f416c82f01 CLOUDSTACK-7812: Fixed the script 'maint/test_redundant_router_network_rules.py' - Test Cases failing on Simulator due to hardware resources requirement for test execution 2014-11-12 18:26:18 -08:00
Sangeetha Hariharan b12207cf25 CLOUDSTACK-7891 - Fix failure in integration.component.test_escalations_instances.TestInstances/test_15_revert_vm_to_snapshot 2014-11-12 17:11:44 -08:00
Chandan Purushothama 76ef987e7c CLOUDSTACK-7876 - Fixed the script 'test_vpc_vm_life_cycle.py' - Destruction of VM before it can be recovered needs to be prevented 2014-11-12 16:04:55 -08:00
SrikanteswaraRao Talluri 7efc4c388f CLOUDSTACK-7865: fixed pep8 errors and errors in wrong references
to the variables
2014-11-11 19:21:38 +05:30
SrikanteswaraRao Talluri 5759857ffc CLOUDSTACK-7865: fixed pep8 errors and errors in wrong references
to the variables
2014-11-11 19:18:59 +05:30
Gaurav Aradhye 46802557e8 CLOUDSTACK-7818: Fixing test_escalations_instances.py, Removing dependency of test cases on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:22:12 +05:30
Gaurav Aradhye 85ac979f72 CLOUDSTACK-7818: Fixing test_escalations_instances.py, Removing dependency of test cases on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:20:35 +05:30
Gaurav Aradhye 53694133d8 CLOUDSTACK-7823: test_snapshots.py - remove test case dependency on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:17:32 +05:30
Gaurav Aradhye d4d8326a31 CLOUDSTACK-7823: test_snapshots.py - remove test case dependency on each other
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:14:08 +05:30
Gaurav Aradhye a3d08aebb7 CLOUDSTACK-7856: test_vpc_network_pf_rules.py - Check if httpd service is running or not, if not, start it
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:10:11 +05:30
Gaurav Aradhye 23df5f22ac CLOUDSTACK-7856: test_vpc_network_pf_rules.py - Check if httpd service is running or not, if not, start it
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 17:07:46 +05:30
Chandan Purushothama 2f7959d219 CLOUDSTACK-7862: Fixed the script 'maint/test_high_availability.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:37:02 +05:30
Chandan Purushothama fa8f0a43c3 CLOUDSTACK-7862: Fixed the script 'maint/test_high_availability.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:34:30 +05:30
Chandan Purushothama aed6e95e5d CLOUDSTACK-7863: Fix the script 'test_vpc_vms_deployment.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:32:39 +05:30
Chandan Purushothama f78defda0f CLOUDSTACK-7863: Fix the script 'test_vpc_vms_deployment.py' - Test Cases failing on Simulator as Testcases try to ssh to the VMs
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:31:31 +05:30
Gaurav Aradhye 3e00f99c53 CLOUDSTACK-7866: Passing type value to list_hosts method so as to avoid listing SSVM and CPVM
Correcting hostid attribute

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:29:39 +05:30
Gaurav Aradhye b00f144c20 CLOUDSTACK-7866: Passing type value to list_hosts method so as to avoid listing SSVM and CPVM
Correcting hostid attribute

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-10 16:28:02 +05:30
Gaurav Aradhye 0d6e3e48ba CLOUDSTACK-7805: test_vpc_vms_deployment.py - Removing invalid steps from test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:58:23 +05:30
Gaurav Aradhye d5316d0572 CLOUDSTACK-7685: Fixed copy template method call in test_escalations_template.py. Removed unbound method of the same name as bound method from base library and changed method call accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:55:52 +05:30
Gaurav Aradhye 6d7666b135 CLOUDSTACK-7801: test_volumes.py - Fixed import and pep8 issues
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:54:40 +05:30
Gaurav Aradhye 7b48b69763 CLOUDSTACK-7802: test_vpc_network.py - Increasing polling period for network state check
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:53:59 +05:30
Gaurav Aradhye 883123630c CLOUDSTACK-7682: Fixed usage event issue. Used api client of account for which we are checking the usage
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:53:27 +05:30
Gaurav Aradhye 1f7ffb2618 CLOUDSTACK-7684: Fixed Exception not raised issue in secondary storage limits test suite test_ss_max_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:52:41 +05:30
Gaurav Aradhye bf7ce74c93 CLOUDSTACK-7691: Fixed 'Exception not raised' issue in test_project_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:52:03 +05:30
Gaurav Aradhye 5d37f37436 CLOUDSTACK-7692: Fixed template register issue in test_project_usage.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:23:01 +05:30
Gaurav Aradhye b277b1abd8 CLOUDSTACK-7728: Test script to identify product issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:22:07 +05:30
Hugo Trippaers 1681b02279 CLOUDSTACK-7646 Move the nuage test out of smoke as it depends on noredist components
(cherry picked from commit 779cd60a70)
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-10-30 16:49:05 +01:00
Hugo Trippaers 779cd60a70 CLOUDSTACK-7646 Move the nuage test out of smoke as it depends on noredist components 2014-10-30 16:45:41 +01:00
Gaurav Aradhye aa1e260812 CLOUDSTACK-7728: Test script to identify product issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:35:32 +05:30
Gaurav Aradhye 4f297efef5 CLOUDSTACK-7692: Fixed template register issue in test_project_usage.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:33:37 +05:30
Gaurav Aradhye e2ba1b614c CLOUDSTACK-7691: Fixed 'Exception not raised' issue in test_project_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:32:24 +05:30
Gaurav Aradhye dc4b04fbe8 CLOUDSTACK-7684: Fixed Exception not raised issue in secondary storage limits test suite test_ss_max_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:31:19 +05:30
Gaurav Aradhye b9fed951ef CLOUDSTACK-7682: Fixed usage event issue. Used api client of account for which we are checking the usage
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:28:39 +05:30
Gaurav Aradhye a1e7feead9 CLOUDSTACK-7685: Fixed copy template method call in test_escalations_template.py. Removed unbound method of the same name as bound method from base library and changed method call accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:15:52 +05:30
Gaurav Aradhye b1ab888bf0 CLOUDSTACK-7801: test_volumes.py - Fixed import and pep8 issues
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:07:52 +05:30
Gaurav Aradhye af510eb656 CLOUDSTACK-7802: test_vpc_network.py - Increasing polling period for network state check
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:06:46 +05:30
Gaurav Aradhye a4174d3e91 CLOUDSTACK-7805: test_vpc_vms_deployment.py - Removing invalid steps from test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 15:01:31 +05:30
Daan Hoogland 1de0cb7094 restore barematel work after merge 2014-10-17 10:24:01 +02:00
Daan Hoogland 148efbb73f Merge remote-tracking branch 'origin/4.5' into merge-master
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade441to450.java
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BaremetalManagerImpl.java
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BaremetalVlanManager.java
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BaremetalVlanManagerImpl.java
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalKickStartServiceImpl.java
	plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
	setup/db/db/schema-441to450.sql
	test/integration/component/test_deploy_vgpu_vm.py
	tools/marvin/marvin/config/test_data.py
2014-10-16 12:29:37 +02:00
Gaurav Aradhye bd9d57e20c CLOUDSTACK-7690: Added missing unittest import to test_escalations_volumes.py
fixed pep8 issues

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-15 11:02:33 +05:30
Gaurav Aradhye ac820a3230 CLOUDSTACK-7690: Added missing unittest import to test_escalations_volumes.py
fixed pep8 issues

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-15 11:01:39 +05:30
Gaurav Aradhye 159a372fdd CLOUDSTACK-7693: Fixing pep8 issues
pep8 fixes for test_routers.py

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-15 10:58:15 +05:30
Gaurav Aradhye 35e05a69a5 CLOUDSTACK-7693: Fixing pep8 issues
pep8 fixes for test_routers.py

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-15 10:56:55 +05:30
sailajamada 58cfbcdf98 vGPU VMSnapshot Test Automation 2014-10-15 10:32:34 +05:30
Gaurav Aradhye f3196d6518 CLOUDSTACK-7646: test_nuage_vsp.py - Fixed basic indentation issues, list index issues, marked it as invalid because the test cases needs attention by the original author as it does not pass even after fixing the issues. Also moving it to smoke folder as clearly it is a Basic Validation test
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 5408e0b8d1)
2014-10-13 00:33:06 -04:00
Gaurav Aradhye f583dcb463 CLOUDSTACK-7644: test_persistent_networks.py - SSH failure in case of LB rule due to port mismatch
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit cd672709c3)
2014-10-13 00:32:41 -04:00
Gaurav Aradhye 54a2bb0a7e CLOUDSTACK-7649: test_lb_secondary_ip.py - Removed SSH trying step after Destroying and Recovering VM because secondary IP information does not retain on VM after destroying it and SSH will not be successful in that case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 69bd2d3c7c)
2014-10-13 00:32:19 -04:00
VinayV c90db15ade CLOUDSTACK-6282-Added hyper-v hypervisor checks for automated tests
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
(cherry picked from commit d7dea70e89)
2014-10-13 00:29:38 -04:00
sailajamada 2116f7dbb7 Additional Guest OS support for vGPU Test Automation
(cherry picked from commit 402a3323f8)
2014-10-13 00:04:44 -04:00
sanjeev 285cdae773 Test script to verify vm deployment with two networks in SG enabled advanced zone
Test data to deploy new data center and execute test using the deployed zone

Signed-off-by: sanjeev <sanjeev@apache.org>

Incorporated review comments provided in RR 25097

Fixed review comments mentioned in RR25293

Conflicts:

	tools/marvin/marvin/config/test_data.py

(cherry picked from commit 9e5da759b3)
2014-10-13 00:04:04 -04:00
Gaurav Aradhye d6970d4514 CLOUDSTACK-7616: Fixed test_escalations_ipaddress.py - test suite should use its own vpc offering
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 0b9938ce40)
2014-10-13 00:03:29 -04:00
Gaurav Aradhye f22b0cf76a CLOUDSTACK-7603: Fixed test_escalations_network.py - test suite should use its own vpc offering
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit e5efa702bb)
2014-10-13 00:03:18 -04:00
Gaurav Aradhye 059633d09a CLOUDSTACK-7617: Removed hard coded VM names and skipped test cases according to the hypervisor support
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit f4ef836309)
2014-10-13 00:00:38 -04:00
Chandan Purushothama 89736d011e CLOUDSTACK-7555 - Fixed the test_usage script - Template now belongs to the Regular Account to test TEMPLATE.CREATE Event
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit f3252db797)
2014-10-12 23:55:01 -04:00
sanjeev 5c2094eec1 CLOUDSTACK-6172: Adding new test case to verify this fix
Conflicts:

	test/integration/component/test_volumes.py

Signed-off-by: sanjeev <sanjeev@apache.org>

CLOUDSTACK-6172: Fixed review comments provided in RR 25771
(cherry picked from commit 2d19bcb46a)
2014-10-12 23:47:05 -04:00
sanjeev 4076d87038 Creating custom disk does not work as expected
(cherry picked from commit 0d5a435f76)
2014-10-12 23:45:27 -04:00
Sangeetha Hariharan 8f4e8a4d79 CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases.
(cherry picked from commit 7877f3f960)
2014-10-12 23:38:53 -04:00
Gaurav Aradhye 5408e0b8d1 CLOUDSTACK-7646: test_nuage_vsp.py - Fixed basic indentation issues, list index issues, marked it as invalid because the test cases needs attention by the original author as it does not pass even after fixing the issues. Also moving it to smoke folder as clearly it is a Basic Validation test
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-07 17:17:31 +05:30
Gaurav Aradhye cd672709c3 CLOUDSTACK-7644: test_persistent_networks.py - SSH failure in case of LB rule due to port mismatch
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-07 17:15:38 +05:30
Gaurav Aradhye 69bd2d3c7c CLOUDSTACK-7649: test_lb_secondary_ip.py - Removed SSH trying step after Destroying and Recovering VM because secondary IP information does not retain on VM after destroying it and SSH will not be successful in that case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-07 16:59:08 +05:30
VinayV d7dea70e89 CLOUDSTACK-6282-Added hyper-v hypervisor checks for automated tests
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-10-07 10:09:33 +05:30
sailajamada 402a3323f8 Additional Guest OS support for vGPU Test Automation 2014-09-26 17:12:41 +05:30
sanjeev 9e5da759b3 Test script to verify vm deployment with two networks in SG enabled advanced zone
Test data to deploy new data center and execute test using the deployed zone

Signed-off-by: sanjeev <sanjeev@apache.org>

Incorporated review comments provided in RR 25097

Fixed review comments mentioned in RR25293

Conflicts:

	tools/marvin/marvin/config/test_data.py
2014-09-26 16:08:58 +05:30
Gaurav Aradhye e5efa702bb CLOUDSTACK-7603: Fixed test_escalations_network.py - test suite should use its own vpc offering
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-26 14:46:43 +05:30
Gaurav Aradhye 0b9938ce40 CLOUDSTACK-7616: Fixed test_escalations_ipaddress.py - test suite should use its own vpc offering
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-26 14:43:50 +05:30
Gaurav Aradhye f4ef836309 CLOUDSTACK-7617: Removed hard coded VM names and skipped test cases according to the hypervisor support
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-26 12:09:07 +05:30
Chandan Purushothama f3252db797 CLOUDSTACK-7555 - Fixed the test_usage script - Template now belongs to the Regular Account to test TEMPLATE.CREATE Event
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-25 12:04:16 +05:30
Sheng Yang d2fbe5ccd3 CLOUDSTACK-7436: Fix automation test on RvR status detection
Everytime when checking the RvR status, you must wait some time for RvR to
update it's status. The polling thread would update the status only every 30
seconds by default.
2014-09-23 16:50:04 -07:00
sanjeev 5fb2b3a0d2 Test to verify fix for issue "Exception when attaching data disk to RHEL vm on vSphere
Added Rhel6 template details to test_data.py

Signed-off-by: sanjeev <sanjeev@apache.org>

Fixed review comments provided in RR 25536
2014-09-23 17:17:16 +05:30
sanjeev 2d19bcb46a CLOUDSTACK-6172: Adding new test case to verify this fix
Conflicts:

	test/integration/component/test_volumes.py

Signed-off-by: sanjeev <sanjeev@apache.org>

CLOUDSTACK-6172: Fixed review comments provided in RR 25771
2014-09-23 16:08:26 +05:30
sanjeev 0d5a435f76 Creating custom disk does not work as expected 2014-09-23 14:15:39 +05:30
Sangeetha Hariharan 7877f3f960 CLOUDSTACK-7587 - Automation - Add simulator_only attribute to acl related test cases. 2014-09-19 16:00:00 -07:00
Sangeetha Hariharan 7537c33bcd CLOUDSTACK-7585 -Automation - Fix test_acl_sharednetwork.py and test_acl_sharednetwork_deployVM-impersonation.py to pick 'Shared Network' network offering when creating networks 2014-09-18 19:53:28 -07:00
Gaurav Aradhye 032bce5b54 CLOUDSTACK-7565: Fixes to avoiding QEMU issue in attach volume operation by changing test case steps
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-18 12:01:02 +05:30
Sangeetha Hariharan d08adef264 CLOUDSTACK-7567 - Automate ACL test cases relating to depoying VM in shared network with different scopes - All/Domain/Domain with subdomain/Account for Admin, domain admin and regular users. 2014-09-17 13:45:37 -07:00
Gaurav Aradhye 71611da17f CLOUDSTACK-7547: Brocade Device Data was hard coded, moved it to config file
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-17 14:40:30 +05:30
Gaurav Aradhye 58ea99a9d6 CLOUDSTACK-7557: test_vpc_network.py - Fixed wait period of network state check
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-17 14:38:59 +05:30
Gaurav Aradhye 20f9d3dcd8 CLOUDSTACK-7387: Corrected code related to adding host tags
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-17 14:34:32 +05:30
SrikanteswaraRao Talluri 374d6ad798 Revert "CLOUDSTACK-7387: Corrected code related to adding host tags"
This reverts commit 1b14fa6abe.
2014-09-17 14:34:18 +05:30
Sangeetha Hariharan 65608e9949 CLOUDSTACK-7551 - Automate ACL test cases relating to impersonation when depoying VM in shared network 2014-09-16 18:45:58 -07:00
Chandan Purushothama 50990c4042 CLOUDSTACK-7554 : Fixed the script - /component/test_templates.py - User Account now has permissions to the Template created by Admin 2014-09-16 12:11:48 +05:30
Gaurav Aradhye 1b14fa6abe CLOUDSTACK-7387: Corrected code related to adding host tags
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-16 11:33:13 +05:30
Gaurav Aradhye 13357cff7d CLOUDSTACK-7516: Fixed resource permission issue in test_snapshots.py, account was using template registered with other account
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-16 11:30:33 +05:30
Gaurav Aradhye f5ff78947e CLOUDSTACK-7441: Fixed template registration issue in test_resource_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-16 11:22:18 +05:30
Gaurav Aradhye 593ba5538a CLOUDSTACK-7135: test_baremetal.py - Tagging test case as invalid
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-15 16:53:50 +05:30
Gaurav Aradhye 46c1c1c949 CLOUDSTACK-7391: Passing virtualmachineid while retrieving suitable hosts for migration
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-15 16:41:40 +05:30
Gaurav Aradhye 3a3e5cbbbb CLOUDSTACK-7134: Fixed test cases for basic zone, services dict was getting overwritten which passed zone type as advanced even in basic zone setup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-15 14:58:15 +05:30
Gaurav Aradhye 3411fbacca CLOUDSTACK-7351: Passing hypervisor type while deploying VM using ISO
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-10 18:17:51 +05:30
Sangeetha Hariharan 9b65759f36 CLOUDSTACK-7033-[Automation] - Automate ACL test cases relating to isolate Network for deleteNetwork() api 2014-09-09 17:46:34 -07:00
Sangeetha Hariharan 7a79fd1c5e CLOUDSTACK-7514-[Automation] - Automate ACL test cases relating to listSnapshots() 2014-09-09 17:44:29 -07:00
Gaurav Aradhye 402fc914cf CLOUDSTACK-7393: Expunging VM immediately and removing unncessary wait in test_vpc_vm_life_cycle.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-09 11:43:54 +05:30
Sangeetha Hariharan 5049dd0bf0 CLOUDSTACK-7034 - [Automation] - Automate ACL test cases relating to listVirtualMachines() 2014-09-08 14:18:29 -07:00
Gaurav Aradhye 40a537fedc CLOUDSTACK-7434: Fixed VM Internal name issue in test_custom_hostname.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-08 17:41:27 +05:30
Gaurav Aradhye ffbcd29103 CLOUDSTACK-7393: Fixed host tags issue in test_vpc_vm_life_cycle.py, This enables 9 test cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-05 14:33:23 +05:30
Sangeetha Hariharan 3f9e826d28 CLOUDSTACK-7492 -[Automation]-Automate ACL test cases relating to listVloumes() 2014-09-04 17:55:50 -07:00
Alex Brett 06b96d1ccf CLOUDSTACK-7448 Fix test_delete_account and test_releaseIP
CLOUDSTACK-4840 changed test_data.py to make the lbrule publicport be 22,
instead of 2222. In doing so, this caused the following tests to fail, as they
hit a problem where they tried to use port 22 for both the lbrule and for other
purposes:
integration.smoke.test_network.TestDeleteAccount.test_delete_account
integration.smoke.test_network.TestReleaseIP.test_releaseIP

The reason the change appears to have been made was that in
test_lb_secondary_ip.py, despite setting up the load balancer using lbrule, the
tests then used the SSH port from natrule to try and access the VM. By changing
lbrule to use port 22 (the same as natrule) this avoided the problem.

This patch updates test_lb_secondary_ip.py to use the SSH port in lbrule where
necessary to access the VMs, and reverts the change to test_data.py
2014-09-04 17:19:08 -07:00
Gaurav Aradhye abfb469f91 CLOUDSTACK-7442: Fixed template permission issue in test_project_resources.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-04 17:56:50 +05:30
SrikanteswaraRao Talluri a8c75c197e CLOUDSTACK-7433: removed hard coding for host credentials
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-04 17:44:50 +05:30
SrikanteswaraRao Talluri b43d9345e9 CLOUDSTACK-7431: moved ldap configuration details to test_data.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-04 17:38:42 +05:30
SrikanteswaraRao Talluri 3d369de6fe CLOUDSTACK-7388: removed host credentials in the services dict. 2014-09-04 17:26:51 +05:30
SrikanteswaraRao Talluri aa64d8b3e7 CLOUDSTACK-7389: fix for the script bugs CLOUDSTACK-7389, CLOUDSTACK-7390 and few
other fixes.
2014-09-04 17:07:34 +05:30
sailajamada a958730b39 vGPU Service offering test automation after including review comments 2014-09-04 14:52:03 +05:30
Gaurav Aradhye 396f29c135 CLOUDSTACK-7441: Fixed tempalte register issue in test_resource_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-03 12:17:08 +05:30
sailajamada 3d04b52d7e Changing host password to retrieve from testdata 2014-09-02 13:30:27 +05:30
sailajamada 885431864c vGPU automation changes removing the host password 2014-09-01 22:21:36 +05:30
sailajamada 50b1fd4c47 vGPU add and list host test cases with review comments 2014-09-01 22:04:11 +05:30
Abhinav Roy 615c070c0a vgpu lifecycle test cases with review comments 2014-09-01 14:13:39 +05:30
Gaurav Aradhye 623205a658 CLOUDSTACK-7437: Fixed snapshot cleanup issue in test_escalations_snapshots.py 2014-09-01 13:47:37 +05:30
Gaurav Aradhye a1dc17125b CLOUDSTACK-7444: Allowing user account to submit async jobs in addition to admin 2014-09-01 13:35:01 +05:30
Gaurav Aradhye 6827d677a4 CLOUDSTACK-7407: Skip tests if physical network does not have OVS provider support 2014-09-01 13:33:38 +05:30
Gaurav Aradhye a4307f85c6 CLOUDSTACK-7439: Fix 'Unable to find VM' issue in test_tags.py 2014-09-01 13:26:07 +05:30
Ashutosh K fe6f0cf626 CLOUDSTACK-1466: Automation - Secondary Storage Test Cases 2014-08-28 12:39:41 +05:30
Ashutosh K 4c69609fa1 CLOUDSTACK-2251: Automation - dedicated guest VLAN ranges feature 2014-08-28 12:32:07 +05:30
Sangeetha 68b95aec0f CLOUDSTACK-7002 This test suite contains test cases relating to access checks for createNetwork(), deploying VM in an isolated network and restartNetwork() for Admin, domain admin and regular users. 2014-08-25 16:05:45 -07:00
Ashutosh K 134a868013 CLOUDSTACK-4840: Automation test cases for LB for secondaruy IP 2014-08-25 10:36:31 +05:30
Girish Shilamkar 598e9b1cbc CLOUDSTACK-7413: Adding required_hardware tag to regression test cases so that the test cases are picked up by simulator accordingly 2014-08-25 09:14:22 +05:30
Gaurav Aradhye 4e115c28a6 CLOUDSTACK-7367: Corrected script in test_add_remove_network.py related to expunge VM 2014-08-22 17:24:43 +05:30
Gaurav Aradhye 3e0c55cabe CLOUDSTACK-7385: Fixed LB creation issue in test_persistent_networks.py 2014-08-22 13:42:21 +05:30
Gaurav Aradhye a67bc4975a CLOUDSTACK-7386: Fixed cleanup issue in test_escalations_volumes.py 2014-08-22 13:40:15 +05:30
sanjeev c4a32d9416 CLOUDSTACK-5986: Test script for verifying fix CS-5986 for vpc networks
Signed-off-by: sanjeev <sanjeev@apache.org>

Made changes to test script as per the review comments in Review Request 23928
2014-08-22 11:17:54 +05:30
sanjeev 51bfd56244 Test script to verify if there is an error in editing a network without network domain
Signed-off-by: sanjeev <sanjeev@apache.org>
2014-08-22 11:07:28 +05:30
Gaurav Aradhye ac80535574 CLOUDSTACK-7368: Fixed network cleanup issue in test_add_remove_network.py 2014-08-21 11:34:44 +05:30
sanjeevneelarapu 76d050ba53 CLOUDSTACK-4282: [SharedNetworks] Unable to create multiple shared networks with different VLAN but with same CIDR
Signed-off-by: sanjeev <sanjeev@apache.org>

Incorporated review comments provided in review request 23610
2014-08-21 10:22:19 +05:30
Alex Brett fd1a71603f CLOUDSTACK-7363 test_vmware_drs.py should skip on non-VMWare hypervisors
Make the tests check if the hypervisor being used is VMWare, and skip if not

Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-18 22:16:47 +05:30
Gaurav Aradhye 762f831c28 CLOUDSTACK-7352: Fixed issue in test_escalations_vpncustomergateways.py 2014-08-18 20:31:25 +05:30
Girish Shilamkar bbd1da19d4 CLOUDSTACK-7353: Fixed issue with list VM in test_projects.py 2014-08-18 20:04:12 +05:30
Gaurav Aradhye a38bb389b2 CLOUDSTACK-7331: Fixed issue in test_persistent_networks.py 2014-08-14 11:35:58 +05:30
Girish Shilamkar 5f893daa2c CLOUDSTACK-7284: Fixed regression issue in test_escalations_instances.py 2014-08-13 18:49:28 +05:30
Girish Shilamkar f6bde7b46b CLOUDSTACK-7284: Fixed string issue in test_snapshots.py 2014-08-13 17:39:26 +05:30
Gaurav Aradhye b7c4259d97 CLOUDSTACK-7330: Fixing ListNetworks issue in test_portable_ip.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-13 17:14:47 +05:30
Gaurav Aradhye 525ee4a4aa CLOUDSTACK-7329: Fixed issues in test_region_vpc.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-13 17:10:48 +05:30
Gaurav Aradhye 76cecc325f CLOUDSTACK-7284: Fixed test script related to expunge VM in test_add_remove_network.py 2014-08-13 11:32:23 +05:30
Girish Shilamkar 97ecd5575c CLOUDSTACK-7284: Fixed cleanup issue in test_escalations_instances.py, VM should be deleted before deleting the network 2014-08-12 19:28:06 +05:30
Girish Shilamkar 07abf7d7c1 CLOUDSTACK-7284: Fixed VM delete issue, expunge not allowed by user api client 2014-08-12 19:19:43 +05:30
Girish Shilamkar 045a290cec CLOUDSTACK-7284: Fixed cleanup issue in test_escalations_snapshots.py 2014-08-12 19:15:22 +05:30
Gaurav Aradhye d3f75618e7 CLOUDSTACK-7304: Fixed Exception not raised issue in portable IP test cases
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-12 17:51:23 +05:30
sanjeev bc92bfd827 CLOUDSTACK: Test script to verify fix for CS-5332
Signed-off-by: sanjeev <sanjeev@apache.org>
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-12 13:45:55 +05:30
Doug Clark a75646b185 CLOUDSTACK-7269 - Fix expunge from non-Admin account error in Marvin
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-07 15:40:09 +05:30
Gaurav Aradhye c38a15f6e8 Removing invalid import from test_escalations_templates.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-06 15:32:47 +05:30
Gaurav Aradhye adcfdf2547 CLOUDSTACK-7241: Fixed error in test_escalations_ipaddresses.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-06 15:29:35 +05:30
Gaurav Aradhye c76302cdd8 CLOUDSTACK-7240: Fixed expunge VM issue in test_persistent_networks.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-05 17:30:41 +05:30
Girish Shilamkar 9bab1c8550 Fixing vpc distributed test cases 2014-08-05 11:09:21 +05:30
sailajamada acffe5ac3b vGPU automation changes to make use of existing windows 8 template in the setup to deploy vGPU VMs 2014-08-04 16:13:48 +05:30
Gaurav Aradhye c32b19a07d CLOUDSTACK-7215: Make expunge=True as default parameter value while calling destroyVirtualMachine through base library
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-04 12:21:32 +05:30
Girish Shilamkar 2231fc8920 Revert "CLOUDSTACK-6992 Test data was passed to test methods.Made code changes to get test data and pass it to test methods. Also reading portable ip config values was not proper in getPortableIpRangeServices method. So corrected it"
This reverts commit dfee7b1456.
2014-08-04 11:01:31 +05:30
Girish Shilamkar 98e2a0444f Revert "CLOUDSTACK-7044: Portable IP Range test case changes - reading portable ip range from test_data.py file"
This reverts commit 613eb12104.
2014-08-04 11:01:09 +05:30
Gaurav Aradhye 1cf1abcf47 Fixed key error in test_snapshots.py 2014-07-31 20:48:34 +05:30
Gaurav Aradhye 42a861e590 CLOUDSTACK-7205: Adding expunge=True while deleting VM for test case execution speed improvement 2014-07-30 21:37:26 +05:30
Gaurav Aradhye 291b3ceea5 Fixing missing attribute issue in test_stopped_vm.py 2014-07-30 21:36:14 +05:30
Gaurav Aradhye 0b6996bef6 Fixed test_escalations_instances.py - Stop VM before detaching root volumes 2014-07-30 21:35:15 +05:30
Gaurav Aradhye cfbbc81a82 Fixing test_escalations_ipaddresses.py - Passing type Isolated while listing Networks to avoid inclusion of shared networks in the list 2014-07-30 21:33:34 +05:30
Girish Shilamkar ec10e8db27 CLOUDSTACK-7199: Fixed test_multiple_ips_per_nic.py test failures 2014-07-30 12:12:58 +05:30
Chandan Purushothama e8486dfcaa 18 Test cases in the test_egress_fw_rules.py script fails if the guest network is any network other than 10.1.1.0/24 network. The script assumes the guest network to be 10.1.1.0/24 network. Added code to the test suite so that the test cases will work for isolated guest network with any network cidr.
Signed-off-by: Nitin Mehta <nitin.mehta@citrix.com>
2014-07-29 10:50:32 -07:00
John Dilley 57ee142ded CLOUDSTACK-7190: Fix Hyper-V issue when attempting SSH to System VMs 2014-07-28 16:59:34 +05:30
sailajamada 0ae2a8a581 vGPU QA Automation Script with review comments 2014-07-28 15:45:19 +05:30
Gaurav Aradhye 12ce5115e4 CLOUDSTACK-7181: Skip tests on KVM - changing service offering when VM is in running state - not supported on KVM 2014-07-25 19:18:21 +05:30
Gaurav Aradhye 0332a23aa7 Removing basic tag from few test cases which should not be run on basic zone 2014-07-25 19:17:25 +05:30
Gaurav Aradhye e62df62d92 Code rector - using library functions instead of repetative code 2014-07-25 19:15:28 +05:30
Gaurav Aradhye 97b9e86561 Skipping test instead of raising exception in case enough zones are not present for it to run on 2014-07-25 19:10:49 +05:30
Gaurav Aradhye 9245b7b71f CLOUDSTACK-7183: Fixing cleanup issue in tsest_escalations_instances.py 2014-07-25 18:29:15 +05:30
Gaurav Aradhye 853d66a439 CLOUDSTACK-7180: Tagging test case with product bug ID 2014-07-25 18:27:48 +05:30
Girish Shilamkar b63acc2278 Removed invalid code from file test_snapshot_gc.py 2014-07-25 17:53:09 +05:30
SrikanteswaraRao Talluri 59f25d2436 CLOUDSTACK-7053: automated tests for 4.2.x bugs- management server components 2014-07-25 01:27:01 +05:30
Gaurav Aradhye 59c77fbaa4 CLOUDSTACK-7127: Fix for addRegion failure, avoiding regionid 1 while creating new region through test case 2014-07-24 20:32:40 +05:30
Gaurav Aradhye 49005b324f CLOUDSTACK-7125: Fixed test_blocker_bugs.py, added code to wait for snapshots to be in 'BackedU' state 2014-07-24 20:30:48 +05:30
Gaurav Aradhye 78a6d557f8 CLOUDSTACK-7178: Correcting imports in test_escalations* test cases 2014-07-24 20:28:15 +05:30
sanjeev 9f4f9211d0 CLOUDSTACK-5986: Test scipt to verify the fix in isolated network for non-vpc networks
Signed-off-by: sanjeev <sanjeev@apache.org>
2014-07-23 18:28:08 +05:30
Ritu Sabharwal 628d8e66f7 CLOUDSTACK-6823 : First code drop for Brocade Network plugin to orchestrate Brocade VDX switches for L2 connectivity
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-07-23 11:11:18 +02:00
sanjeev 0ac2eb4f67 CLOUDSTACK: Static IP address assignment for VM
Signed-off-by: sanjeev <sanjeev@apache.org>

Incorporated review comments for review request 23614
2014-07-23 14:14:22 +05:30
Gaurav Aradhye 2c0765195a CLOUDSTACK-7147: Resolving test script issue in test_ip_reservation.py 2014-07-22 08:00:50 -04:00
Ashutosh K 613eb12104 CLOUDSTACK-7044: Portable IP Range test case changes - reading portable ip range from test_data.py file 2014-07-22 07:44:35 -04:00
Ashutosh K 981becc735 CLOUDSTACK-7148: Adding missing list method 2014-07-22 07:37:58 -04:00
Ashutosh K 45888e214c CLOUDSTACK-7137: Resolving cleanup issue in test_escalations_securitygroups.py 2014-07-22 07:27:32 -04:00
Suresh Ramamurthy 03de9cc335 CLOUDSTACK-6845 : NuageVsp Network plugin
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-07-21 10:49:49 +02:00
Ashutosh K 5f87056e95 CLOUDSTACK-7024: Resolved cleanup issue in test script 2014-07-18 02:31:33 -04:00
Ashutosh K 4bab99972f CLOUDSTACK-7022: Fixed typo 2014-07-17 03:27:20 -04:00
Ashutosh K 332191b1bf CLOUDSTACK-7013: Fixing test script issue in test_add_remove_network.py 2014-07-16 23:59:33 -04:00
Ashutosh K 7f6ea4bbed CLOUDSTACK-7014: Resolving test script related to affinity groups tests 2014-07-16 23:22:05 -04:00
Ashutosh K 0c050e04fd CLOUDSTACK-7020:Fixed test script issue 2014-07-16 23:19:19 -04:00
Ashutosh K 28a4ae3713 CLOUDSTACK-7025: Resolving test script issue 2014-07-16 23:15:51 -04:00
sanjeevneelarapu dfee7b1456 CLOUDSTACK-6992 Test data was passed to test methods.Made code changes to get test data and pass it to test methods. Also reading portable ip config values was not proper in getPortableIpRangeServices method. So corrected it
CLOUDSTACK-6992: Incorporated review comments for patch request 23009

CLOUDSTACK-6992: Added portable ip range to services class

Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-07-16 13:05:56 +05:30
Gaurav Aradhye aa5572c0ee CLOUDSTACK-6932: Removing redundant file test_escalations.py 2014-06-18 16:46:51 +05:30
Gaurav Aradhye e7fe391be4 CLOUDSTACK-1466: Automatiion - Primary Storage Limits test cases 2014-06-18 13:15:21 +05:30
Gaurav Aradhye 942fc98848 CLOUDSTACK-6887: Code enhancement to ensure better cleanup 2014-06-18 13:08:02 +05:30
VinayV 99e4da15da CLOUDSTACK-6282-Modified IpAddresses, Instances, Templates, Snapshots tests to handle KVM and modified IPAddresses for failed list cases 2014-06-16 16:56:54 +05:30
Gaurav Aradhye 59a98839ce CLOUDSTACK-6887: Fixing account cleanup issue across multiple test cases 2014-06-13 19:08:29 +05:30
Girish Shilamkar 8e0aba4609 CLOUDSTACK-6888: Read postable IP configuration from config 2014-06-13 09:41:20 +05:30
Ashutosh K dd26d4db63 CLOUDSTACK-6780: Resolved cleanup issue in portable ip test cases 2014-06-11 11:29:17 +05:30
monism cdf4047ce8 CLOUDSTACK-6282-Added Autometed test for network APIs after incorporating review comments 2014-05-29 18:03:12 +05:30
Gaurav Aradhye b105a33e0c CLOUDSTACK-6782: Egress FW rules test cases - Format unicode to string before string matching 2014-05-29 11:10:20 +05:30
Gaurav Aradhye 0cc826aa53 CLOUDSTACK-5342: Fix for failure in adding network to VM 2014-05-27 14:44:59 +05:30
Gaurav Aradhye 2218053fb1 Fixed issues in regression suite project cpu limits
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-26 10:53:14 +05:30
Gaurav Aradhye a0ad836fd2 CLOUDSTACK-6758: [Marvin] Detect failed job and throw exception
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-26 10:50:08 +05:30
Gaurav Aradhye 326f6d04ea Fixing issues in regression test suite test_accounts.py 2014-05-20 20:36:06 +05:30
vinayvarmav ef2012677c CLOUDSTACK-6282 - Divided test_escalations.py into individual files based on functionality and added automed tests for Public IP Addresses 2014-05-19 02:15:17 -04:00
Girish Shilamkar b4ad709d32 Revert "CLOUDSTACK-6282 - Divided test_escalations.py into individual files based on functionality and added automed tests for Public IP Addresses"
This reverts commit 2ba6322030.
2014-05-19 01:59:23 -04:00
vinayvarmav 2ba6322030 CLOUDSTACK-6282 - Divided test_escalations.py into individual files based on functionality and added automed tests for Public IP Addresses 2014-05-19 01:43:32 -04:00
Gaurav Aradhye 8c4763a1e9 Code improvement: Persistent Network Test cases, Adding check to verify network state and fail test case in case network state is not as desired 2014-05-18 21:11:59 -04:00
Gaurav Aradhye de9909403e CLOUDSTACK-6687: Fixed IP reservation test case failures with code re-factoring 2014-05-18 21:04:31 -04:00
Gaurav Aradhye 2e9cc58af6 CLOUDSTACK-6657: Adding condition for checking error code 530 across test cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-05-17 16:12:33 +05:30
Girish Shilamkar 1f05fa2fba CLOUDSTACK-6655: Fixing cleanup issues with portable IP test cases 2014-05-16 04:13:28 -04:00
Gaurav Aradhye 9f6e60f97f CLOUDSTACK-6689: Fixed indentation issue in persistent network test cases 2014-05-16 00:43:09 -04:00
Gaurav Aradhye 931dd051a8 CLOUDSTACK-5887: Resolved issue in test_base_image_updation.py 2014-05-15 10:33:40 +05:30
Gaurav Aradhye 6c8a0a1f96 Fixing few issues in Multiple IPs test cases 2014-05-10 00:37:56 -04:00
Girish Shilamkar 247c796693 CLOUDSTACK-6536: Code cleanup - removing unnecessary waits after VM stop operation, modifying imports, removing white-spaces, adding try catch blocks whenever necessary 2014-05-07 02:43:10 -04:00
Anish Kumar Bindal 25b1c037d6 JIRAID - CLOUDSTACK-6282 Added Networks API calls to test_escalations.py 2014-05-06 23:48:34 -04:00
SrikanteswaraRao Talluri 9ed6563e7a Fixes for BVT and Regression run failures against 4.4 CS 2014-04-30 19:25:53 +05:30
SrikanteswaraRao Talluri b273f66423 CLOUDSTACK-5674:Fixes for BVT and Regression test failures.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>

Conflicts:
	test/integration/smoke/test_nic.py
2014-04-30 19:25:35 +05:30
unknown e9e8c65b4d CLOUDSTACK-6282: Added Automated tests to test_escalations.py for Security Groups, VPN Customer Gateways, Templates, ISO's CS API calls
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-24 17:37:31 +05:30
unknown 2e95b5b707 0001-JiraId-CLOUDSTACK-6282.patch Added automated tests for Instances API calls to test_escalations.py file and added utility functions to base.py file 2014-04-24 12:33:57 +05:30
Santhosh Edukulla f57f22a79e Fixed few Licensing Issues
Added licensing information to files

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-24 12:16:49 +05:30
SrikanteswaraRao Talluri d22adf943d Merge branch 'marvin'
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>

Conflicts:
	test/integration/component/test_dynamic_compute_offering.py
	test/integration/smoke/test_deploy_vm.py
	test/integration/smoke/test_disk_offerings.py
	test/integration/smoke/test_volumes.py
2014-04-23 11:45:43 +05:30
SrikanteswaraRao Talluri 2f02abf364 Fixed failed tests in regression tests. 2014-04-11 12:11:50 +05:30
SrikanteswaraRao Talluri ca67e25f23 CLOUDSTACK-6316: fixed test data and their references in the test files and few more fixes in tests 2014-04-11 11:43:38 +05:30
SrikanteswaraRao Talluri 94fc4bf6bd CLOUDSTACK-6316: fixes for bvt failures 2014-04-11 02:28:49 +05:30
SrikanteswaraRao Talluri f866bb21e6 CLOUDSTACK-6316: Fixed component and smoke test failures-third pass 2014-04-10 13:20:13 +05:30
SrikanteswaraRao Talluri b83407fca3 CLOUDSTACK-6316: Fixed component and smoke test failures-second pass 2014-04-09 19:53:50 +05:30
Harikrishna Patnala ecc71518a9 CLOUDSTACK-6253: Optimizing VR alerts getting algorithm In addition to this a new configuration parameter is added router.alerts.check.interval defaulted to 30minutes to check for alerts in Virtual Router 2014-04-09 18:12:20 +05:30
Ashutosh K b5a93751e2 CLOUDSTACK-6147: Adding automation tests for Dynamic Compute
Offering
2014-04-09 15:13:35 +05:30
unknown d0b6e01da0 CLOUDSTACK-6282: Added-volume-API-tests-to-test_escalations.py.patch JiraId-CLOUDSTACK-6282.patch
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-08 23:13:08 +05:30
SrikanteswaraRao Talluri 0e223d6787 Merge branch 'master' into marvin
Conflicts:
	test/integration/component/test_base_image_updation.py
	test/integration/component/test_cpu_domain_limits.py
	test/integration/component/test_cpu_limits.py
	test/integration/component/test_cpu_project_limits.py
	test/integration/component/test_ip_reservation.py
	test/integration/component/test_memory_limits.py
	test/integration/component/test_mm_domain_limits.py
	test/integration/component/test_mm_project_limits.py
	test/integration/component/test_persistent_networks.py
	test/integration/component/test_portable_ip.py
	test/integration/component/test_routers.py
	test/integration/smoke/test_deploy_vm.py
	test/integration/smoke/test_deploy_vm_with_userdata.py
	test/integration/smoke/test_internal_lb.py
	test/integration/smoke/test_vm_life_cycle.py
	test/integration/smoke/test_volumes.py
	tools/marvin/marvin/codes.py
	tools/marvin/marvin/configGenerator.py
	tools/marvin/marvin/lib/base.py
	tools/marvin/marvin/lib/common.py
	tools/marvin/marvin/lib/utils.py
2014-04-08 17:53:37 +05:30
SrikanteswaraRao Talluri 818d4a6d9d CLOUDSTACK-6316: Fixed component and smoke test failures for wrong references 2014-04-08 16:08:27 +05:30
SrikanteswaraRao Talluri 08b87c0409 CLOUDSTACK-6316: Fixed bvt failures 2014-04-08 15:02:37 +05:30
SrikanteswaraRao Talluri 0d5ec63371 CLOUDSTACK-6316: Fixed issues in various files(testcases and marvin related)
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-04 19:46:25 +05:30
Ashutosh K ca1b911a4f CLOUDSTACK-2266: Adding automation tests for IP reservation feature
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-04-02 10:59:06 +05:30
Santhosh Edukulla 63d3688360 Added fix for CLOUDSTACK-6316
Added changes for CLOUDSTACK-6316.
More details in the bug

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
2014-04-01 16:15:53 +05:30
SrikanteswaraRao Talluri 91a5e3bb66 CLOUDSTACK-6125: adding 'selfservice','provisioning' tags to segregate the tests
that can be run on simulator only and that needs hardware.
2014-03-28 15:34:57 +05:30
Girish Shilamkar c1b4ac5004 Fix problem string comparison with unicode 2014-03-27 19:00:27 -04:00
Girish Shilamkar 1f2d86c9ba CLOUDSTACK-6279: Fix egress rules tests failed due to comparison between string and unicode 2014-03-24 20:02:23 -07:00
Ashutosh K fe5ab4aa91 CLOUDSTACK-4840: Final set of test cases for Multiple IPs
per NIC feature
2014-03-23 21:15:45 -07:00
Murali Reddy d2d54a9463 region level VPC support
introduce 'RegionLevelVpc' as capability of 'Connectivity' service. Add
support for CreateVPCOffering to take the 'regionlevelvpc' as capability
of service 'connectivity'.

introduces new capability 'StretchedL2Subnet' for 'Connectivity'
service. Also add support to createNetworkOffering api to allow
StretchedL2Subnet capablity for the connectivity service.

adds check to ensure 'Connectivity' service provider supports
'StretchedL2Subnet' and 'RegionLevelVpc' capabilities when specified in
createNetworkOffering and createVpcOffering respectivley

enable ovs plug-in to support both StretchedL2Subnet and RegionLevelVpc
capabilities

make zone id optional parameter in createVpc, zone id can be null only
if vpc offfering supports region level VPC

in region level vpc, let the network/tier to be created in any zone of
the region

keep zoneid as required param for createVpc

skip external guest network guru if 'Connectivy' service is present in
network offering

fix build break in contrail manager

permit VM's to be created in different zone that in which network is
created if the network support streched L2 subnet

add integration tests for region level VPC

rebase to master

Conflicts:
	setup/db/db/schema-430to440.sql

Conflicts:
	api/src/org/apache/cloudstack/api/ApiConstants.java
	engine/schema/src/com/cloud/network/vpc/VpcVO.java
	setup/db/db/schema-430to440.sql
2014-03-20 16:32:22 +05:30
Murali Reddy 015b667c6a integration tests for VPC's enabled for distributed routing 2014-03-14 16:56:38 +05:30
Gaurav Aradhye 768e91ef45 CLOUDSTACK-6215: Updating test case to accomodate condition for VMware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-14 11:41:43 +05:30
Gaurav Aradhye 286974488e CLOUDSTACK-6215: Updating test case to accomodate condition for VMware
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-14 11:34:52 +05:30
sanjeevneelarapu 4eece72eb1 Bug-Id: CS-19455 Add support for Hyper-v in regression test test_routers.py
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
2014-03-10 18:12:21 +05:30
Gaurav Aradhye 3f7b628c70 CLOUDSTACK-6147: Adding first set of test caess for Dynamic Compute Offering feature
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-10 11:20:44 +05:30
Gaurav Aradhye 3b3ae02459 CLOUDSTACK-5626: Simplifying VM Migrate code
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-10 11:18:26 +05:30
Gaurav Aradhye bb149fb77b CLOUDSTACK:4840: Adding further test cases for Multiple IPs per NIC feature
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-04 12:25:48 +05:30
Girish Shilamkar d70ef2a279 CLOUDSTACK-5925: Changes to regression tests as per new get_zone, get_pod etc definitions 2014-02-26 17:13:21 +05:30
Santhosh Edukulla bf77e9d669 CLOUDSTACK-6160: Changes to marvin apiclient
Removed apiclient.hypervisor references. More details in the bug
Few other changes pending for this related to VirtualMachine.create
need to be cleaned up
2014-02-24 18:56:46 +05:30
Ashutosh K 2091211c28 CLOUDSTACK-2232: Adding automation test cases for Persistent Networks feature 2014-02-21 17:46:14 +05:30
Girish Shilamkar b70af44ecf CLOUDSTACK-4840: Add missed testcase in previous commit 2014-02-19 11:17:22 +05:30
Gaurav Aradhye d44c850445 CLOUDSTACK-5959: Fixed cascading failures in portable IP test cases 2014-02-10 12:34:17 +05:30
Santhosh Edukulla bf72441d13 CLOUDSTACK-6006: Remove integration folder and lib 2014-02-04 12:01:58 +05:30
Santhosh Edukulla a908b8d94b CLOUDSTACK-5793: Fixed few issues related CLOUDSTACK-5973 2014-02-04 11:23:10 +05:30
Santhosh Edukulla 9393275611 CLOUDSTACK-5674: Added Fix for CLOUDSTACK-5674,5498,5500 and other issues as
part of cleanup
2014-01-22 12:19:20 +05:30
Ashutosh K c108d7f0d0 CLOUDSTACK-2237: Automation-Adding next set of test cases for feature - SG in advanced zone 2014-01-14 14:34:21 +05:30
Girish Shilamkar 842b58d6ee CLOUDTACK-5626: Made few changes to test_vpc_vm_life_cycle.py 2014-01-14 11:19:22 +05:30
Gaurav Aradhye 1760de47e5 CLOUDSTACK-5748: Refactored code related to executing script 2014-01-13 13:00:50 +05:30
Ashutosh K e58c3c809d CLOUDSTACK-5619: Egress Firewall rules - Increased timeout for router to come up 2014-01-08 19:22:07 +05:30
Gaurav Aradhye 777ab14942 CLOUDSTACK-5803: Fixed issues related to egress rule 2014-01-08 17:56:32 +05:30
Gaurav Aradhye b98c0ee809 CLOUDSTACK-5630: Fixed snapshots' test cases 2014-01-08 17:16:06 +05:30
Girish Shilamkar 393d437b26 CLOUDSTACK-5627: Removed a validation which expected createVPCOffering to fail if SourceNAT not provided
createVPCOffering API creates VPC with SourceNat even if not provided as param. So this validation
is not required any more.
2014-01-08 12:05:39 +05:30
Ashutosh K 944358706d CLOUDSTACK-5802: Increased timeout for template state to become ready, improved assertion messages 2014-01-08 11:10:04 +05:30
Girish Shilamkar d2ddf62679 CLOUDSTACK-5805: Increasing timeout period for VM to come to running state 2014-01-08 11:06:38 +05:30
Girish Shilamkar 0ff0bd2c17 CLOUDSTACK-5627: Fixed test_project_resources.py which 2014-01-07 16:02:51 +05:30
Girish Shilamkar 05df0cb823 Revert "CLOUDSTACK-5637: Detach volume before migrating"
This reverts commit 6c9b517929.
2014-01-07 12:37:18 +05:30
SrikanteswaraRao Talluri 75ebc03693 CLOUDSTACK-5797: Fixed integration test for test_03_restore_vm_with_new_template 2014-01-06 19:46:05 +05:30
SrikanteswaraRao Talluri c2b5addaed CLOUDSTACK-5625: removed unnecessary global setting 'ldap.realname.attribute' 2014-01-06 14:52:26 +05:30
Gaurav Aradhye 17b696e053 CLOUDSTACK-5185: Fixed test script related to cleanup in test_egress_fw_rules.py 2014-01-03 11:17:50 +05:30
Gaurav Aradhye 4251a09ef7 CLOUDSTACK-5633: Fixed network cleanup issue 2014-01-03 11:02:30 +05:30
Gaurav Aradhye 97ede2524c CLOUDSTACK-5636: Fixed issue 'Failed to upgrade network offering' in test_vpc_network test suite
Conflicts:
	test/integration/component/test_vpc_network.py
2014-01-02 12:34:00 +05:30
Girish Shilamkar 6c9b517929 CLOUDSTACK-5637: Detach volume before migrating 2013-12-31 11:34:16 +05:30
Gaurav Aradhye 013f100078 CLOUDSTACK-5635: Fixed issue (Max volumes has been exceeded for domain during test) 2013-12-30 18:05:04 +05:30
Gaurav Aradhye 5882123f19 CLOUDSTACK-5640: Correcting imports in test cases
Conflicts:
	test/integration/component/test_security_groups.py
2013-12-30 14:40:58 +05:30
Gaurav Aradhye 6ad27d903b CLOUDSTACK-5640: Correcting imports in test cases 2013-12-29 19:38:57 +05:30
Ashutosh K 4d9b95e13d CLOUDSTACK-2237: Automation - Adding new test cases for security group in advanced zone feature 2013-12-27 16:06:34 +05:30
Girish Shilamkar ec8610f756 CLOUDSTACK-5638: Fixed code to check router state 2013-12-27 10:53:42 +05:30
Girish Shilamkar b544669a84 CLOUDSTACK-5497: Fix test_guest_vlan_range.py to get free vlan range 2013-12-24 11:11:17 +05:30
Gaurav Aradhye a160b46cd4 CLOUDSTACK-4780: Changes related to checking snapshot path
on NFS server, also made marvin import paths specific
2013-12-23 17:58:51 +05:30
Gaurav Aradhye 5d03fa83a2 CLOUDSTACK-5518: Fixing non contiguous vlan test case 2013-12-23 17:56:14 +05:30
Girish Shilamkar fde14bcc32 Revert "CLOUDSTACK-4780: Changes related to checking snapshot on NFS server"
This reverts commit 33fb241fdf.
2013-12-21 12:47:32 +05:30
Gaurav Aradhye 33fb241fdf CLOUDSTACK-4780: Changes related to checking snapshot on NFS server 2013-12-19 10:21:33 +05:30
Girish Shilamkar 75f4f55c35 CLOUDSTACK-5506: Fixed egress_fw_rules.py, one of hunks was missing. 2013-12-16 14:00:38 +05:30
Ashutosh K ae911a2ad2 CLOUDSTACK-4820: Remove netacl check from test_01_wait_network_gc
From 4.2, network ACLs are no longer associated with a single network.
Multiple tiers within a VPC can share the same ACL.
Due to this, ACLs should not be cleaned up during network GC.
2013-12-10 00:58:58 -05:00
Girish Shilamkar 71aa2c0881 CLOUDSTACK-5364: Fail the test incase cleanup is not successful 2013-12-09 19:16:30 +05:30
Ashutosh K 9b2addf481 CLOUDSTACK-5381: Corrected code related custom host name (vm.instancename) 2013-12-05 16:25:38 +05:30
Gaurav Aradhye 2d369dbdd8 CLOUDSTACK-5377: Fixed test case dependency issue in snapshots test cases 2013-12-05 13:49:11 +05:30
Girish Shilamkar dfff362c11 CLOUDSTACK-5351: Fixed a regression where shared_ntwk_vlan was not changed to shared_vlan 2013-12-04 18:54:50 +05:30
Ashutosh K b2c8955222 CLOUDSTACK-5364: Resolving network cleanup issue in egress fw rules test cases 2013-12-04 18:41:10 +05:30
Ashutosh K 4b5a0ca4c2 CLOUDSTACK-5230: Removing test cases' dependency on each other leading to failures 2013-12-04 11:37:22 +05:30
Gaurav Aradhye 291eafadae CLOUDSTACK-5347: Resolved issue related to snapshot state 2013-12-04 11:32:36 +05:30
Gaurav Aradhye 6b955958c6 CLOUDSTACK-5333: Code changes related to snapshots listing
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-12-04 11:29:50 +05:30
Gaurav Aradhye f05063f377 CLOUDSTACK-5346: Fixed shared network cleanup issue 2013-12-04 11:25:58 +05:30
Parth Jagirdar 58fd6f0603 CLOUDSTACK-5223: Fix hosttags.
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-26 13:23:40 +05:30
Ashutosh K d6298302a1 CLOUDSTACK-5257: Fixed Network ACL issue related to Egress traffic
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-26 11:46:56 +05:30
Girish Shilamkar ab2c38c050 Add test/integration/component/test_add_remove_network.py 2013-11-25 13:43:18 +05:30
Gaurav Aradhye 138cee401f CLOUDSTACK-5201: Correcting code related to schedule of
recurring snapshot policy
2013-11-21 11:15:32 +05:30
Ashutosh K db2ea0a16a CLOUDSTACK-5204: test_routers - fixed ssh issue 2013-11-21 11:06:34 +05:30
Gaurav Aradhye 6aca7de291 CLOUDSTACK-5215: Correcting and refactoring code related to
getting free vlan
2013-11-21 10:53:27 +05:30
Gaurav Aradhye 67b071beaa CLOUDSTACK-5194: portable ip - Improving cleanup code to
avoid cascading failures
2013-11-19 11:21:33 +05:30
Gaurav Aradhye 438cf4ea63 CLOUDSTACK-5186: Increasing the waiting time for router to
come up
2013-11-16 17:15:14 +05:30
Girish Shilamkar e2051de98e CLOUDSTACK-5187: Fix test_vpc_vm_life_cycle recover tests
The vms were recovered without deleting the vms first
therefore the API failed.
2013-11-15 23:38:57 -05:00
Ashutosh K 02c15528c8 CLOUDSTACK-5185: test_egress_fw_rules - failed the test case
if vm deployment failed instead of going on executing rest
2013-11-16 14:57:59 +05:30
Girish Shilamkar 09c0370d70 CLOUDSTACK-2243: base_image_updation - Adding tags to test cases 2013-11-15 16:53:33 +05:30
Gaurav Aradhye 8a1918dbe1 CLOUDSTACK-5179: Fixed test script issue related to detach
volume
2013-11-15 16:33:37 +05:30
Gaurav Aradhye a6c2c6a261 CLOUDSTACK-5147: Removing basic and sg tags from the test
case which is invalid for basic zone
2013-11-15 16:25:10 +05:30
Girish Shilamkar 186b82ae3a CLOUDSTACK-5148: Fix test_createSharedNetwork_projectSpecific
VM was being created with accountid and also project. By doing
this create vm or any other resource will fail. Only specify
project in which resource is created.
2013-11-14 21:16:01 -05:00
Ashutosh K 9410423555 CLOUDSTACK-5169: Egress rules - Improved assertion code
related to SSH to avoid assertion error
2013-11-15 11:28:07 +05:30
Ashutosh K b178d06454 CLOUDSTACK-5168: Fixed test script issue related to SSH
command
2013-11-15 11:24:30 +05:30
Ashutosh K 868e944bf1 CLOUDSTACK-5166: Fixed test script issue related to egress
rules
2013-11-15 11:14:44 +05:30
Ashutosh K 401e0ca0ba Including tests for VPC VM Lifecycle on Tagged hosts 2013-11-13 21:56:51 +05:30
Ashutosh K cb918928e6 Missing tests from QA repo to ASF - 3 tests from test_vmware_drs.py 2013-11-13 21:51:35 +05:30
Gaurav Aradhye 6aff6aa601 CLOUDSTACK-5155: Removing basic and sg tags from test case
which is invalid for basic zone
2013-11-13 21:29:47 +05:30
Gaurav Aradhye 2e373d58e0 CLOUDSTACK-5156: Fixed test script issue related to detach volume 2013-11-13 21:16:13 +05:30
Ashutosh K 52b0484812 CLOUDSTACK-5154: Fixed test script issue related to failure
in creating snapshot from volume

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-13 17:35:28 +05:30
Girish Shilamkar c6195c3556 CLOUDSTACK-5147: Removing basic and sg tag from the test case which should not be run on basic zone setup
component.test_project_limits.TestMaxProjectNetworks.test_maxAccountNetworks tries to create multiple guest networks in an project of account which is not possible in basic zone as there is only one guest network allowed per zone in basic zone setup.
Hence removing the tags basic and sg so that this test case won't be picked up to run on basic zone setup.
2013-11-13 12:28:44 +05:30
Girish Shilamkar 967a5bded4 CLOUDSTACK-5146: Removing basic and sg tags from the test
case which is invalid for the basic zone

TestRouterRestart.test_01_restart_network_cleanup test scenario is invalid for basic zone. The test case tries to restart the Router assigned to individual account but in basic zone, there is only one router i.e of shared network and there is only one guest(shared) network per zone. Hence the API fails to list the router of the individual account.

More over, we will not try to restart the Router of the shared network because it is used by many accounts and restarting it may affect the execution of other test cases.
2013-11-13 12:22:02 +05:30
SrikanteswaraRao Talluri c2078cd60c CLOUDSTACK-5149: fixed cls._cleanup initialization issue 2013-11-12 19:24:12 +05:30
Santhosh Edukulla 4473bb2185 Fixed few indentation errors and removed unwanted imports 2013-11-11 10:32:01 +05:30
Gaurav Aradhye a2117d46f9 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:56:50 +05:30
Santhosh Edukulla c7fe212c3b CLOUDSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 16:34:46 +05:30
SrikanteswaraRao Talluri 65b12f45b9 Revert "CLOUSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention"
This reverts commit ec00a6fb74.
2013-11-08 16:05:30 +05:30
Santhosh Edukulla ec00a6fb74 CLOUSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 16:02:10 +05:30
Gaurav Aradhye 3c350ab0b8 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:54:20 +05:30
Gaurav Aradhye 5d6d14bc1f CLOUDSTACK-4934: Rename Limit resources tests so that they have unique names.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 10:25:39 +05:30
SrikanteswaraRao Talluri db3252645d Revert "Renamed modules with same name to avoid confusion"
This reverts commit af8eb63dc6.
2013-11-08 10:22:59 +05:30
Santhosh Edukulla af8eb63dc6 Renamed modules with same name to avoid confusion
There were two module files with same name and
is creating confusion while reporting the test results.
Renamed them prefixing them with mem\cpu

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 10:02:41 +05:30
Ashutosh K 5d75c6b75c 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:03:57 +05:30
suresh f25354dca1 CLOUDSTACK-2272: testscript validates the vmdeployment with userdata
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-04 17:02:01 +05:30
Girish Shilamkar 1e417994df CLOUDSTACK-3961: Added a function to get free vlan 2013-11-01 17:27:46 +05:30
Girish Shilamkar addf5b0f8c CLOUDSTACK-4256: Fixed Shared Network test cases using random private
ips for shared networks
2013-10-31 22:21:00 +05:30
Gaurav Aradhye 23499efe42 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:57:57 +05:30
Girish Shilamkar 58179d2884 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:26:14 +05:30
Ashutosh Kelkar c53d4e9e14 CLOUDSTACK-2243: Add automation tests for VMs base image
update faclity

Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-10-31 14:55:29 +05:30
Sowmya Krishnan af4f78ecca CLOUDSTACK-4776: New Tests for Netscaler as external device 2013-10-30 16:57:21 +05:30
SrikanteswaraRao Talluri b13cc0d027 CLOUDSTACK-4772: remove test tag for the test test_01_RouterStopCreateFW
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-30 12:33:48 +05:30
SrikanteswaraRao Talluri 3223fcf672 CLOUDSTACK-4772: modify the script to get_process_status for vmware deployment
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-30 01:46:26 +05:30
Gaurav Aradhye 8a6694b396 CLOUDSTACK: 2238 - Automation - Adding non contiguous VLAN ranges feature test cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-29 23:44:06 +05:30
Gaurav Aradhye 1972d6121d Adding missing test cases: Snapshots Improvement 2013-10-29 23:42:38 +05:30
Girish Shilamkar c8b91f1b72 CLOUDSTACK-4686: Fixed volume limit for domain 2013-10-28 11:36:20 +05:30
SrikanteswaraRao Talluri da7d2fe4f3 CLOUDSTACK-4691: Deleted host maintenance tests from this file 2013-10-25 14:47:11 +05:30
sanjeevneelarapu 2103068816 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:29:19 +05:30
Anshul Gangwar 325c94ed60 CLOUDSTACK-2232: marvin tests for Persistent networks without running a VM 2013-10-18 14:04:46 +05:30
Gaurav Aradhye a65f1ebefc 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.
2013-10-17 19:20:30 -07:00
sanjeevneelarapu 7a7fb61a17 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>
2013-10-17 17:19:47 +05:30
Girish Shilamkar 9cc5575092 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>
(cherry picked from commit e3bcdc16a1)
2013-10-17 17:07:58 +05:30
Girish Shilamkar c5e1c4725c 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>
2013-10-17 15:23:56 +05:30
Gaurav Aradhye 0a3329731a CLOUDSTACK: 4705 - Fixed memory limits - domain limits test cases. Fixed attribute error
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 7854dbc213)
2013-10-17 15:18:59 +05:30
Gaurav Aradhye 8350a6bd4c CLOUDSTACK-4256 - Fixed shared network test cases
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:40:00 +05:30
Gaurav Aradhye 0a8bce5cf6 CLOUDSTACK-4647: Fixed snapshot_gc test case and common util function is_snapshot_on_nfs
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:37:08 +05:30
Girish Shilamkar 56ccb2835b Automation Tests for HA Proxy Stickiness
Reviewed-by: Suresh Sadhu <Suresh.Sadhu@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 12:14:01 +05:30
Girish Shilamkar 4747b2abfe Cloudstack:4407 - Pending changes - Use extractTemplate API to get hypervisor specific template information. 2013-10-14 17:21:22 -07:00
Chandan Purushothama 2ecf272dac 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. 2013-10-14 17:21:22 -07:00
sanjeevneelarapu f6c6f03fad 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-08 16:26:18 +05:30
Gaurav Aradhye 98daad9300 CLOUDSTACK:4537 - Fixed shared network and vpc test cases
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-07 21:42:45 +05:30
Girish Shilamkar fbf057a323 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-07 21:41:06 +05:30
Sowmya Krishnan 2621602787 CLOUDSTACK-4776: New Tests for Netscaler as external LB provider in VPC
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 76c85d0ce854aa7d868ba9e018382237c88fe42c)
2013-10-04 17:41:24 +05:30
venkataswamybabu budumuru 59ad4a9ab5 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.
(cherry picked from commit 32cdffdd629134864220fbc400d3d28f0e6549c2)
2013-10-03 20:01:22 +05:30
Sowmya Krishnan a5ede3af7f CLOUDSTACK-4696 Handle Netscaler Provider enable for both zones
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-01 11:18:30 +05:30
SrikanteswaraRao Talluri 55ef4b8c3c CLOUDSTACK-4646: Increase the wait time for the routers to go into stopped state
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 15:14:41 +05:30
SrikanteswaraRao Talluri 65da24c35e CLOUDSTACK-4691: move egress rules host maintenance tests to maint folder
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 6b28e03d6d)
2013-09-30 15:12:20 +05:30
sanjeevneelarapu ff2bd3d443 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>
2013-09-30 14:54:31 +05:30
Girish Shilamkar a726bfdba5 Storage type was set to local due to which tests failed. Removed it.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-19 19:10:44 +05:30
Ashutosh K 5b5a617544 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>
2013-09-18 21:48:12 +05:30
Girish Shilamkar d4dc4f7e70 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>
(cherry picked from commit 7d06e77ed9)
2013-09-18 21:41:46 +05:30
Girish Shilamkar dd4b1cbf44 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>
2013-09-18 09:33:01 +05:30
Anshul Gangwar 955408166c 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>
2013-09-18 09:21:24 +05:30
Gaurav Aradhye 51da534cce CLOUDSTACK-4634: Fixed issue arising due to wrong indentation 2013-09-16 15:59:51 +05:30
Gaurav Aradhye 4b79858c01 CLOUDSTACK: 4635 - Fixed test case issues due to wrong indentation 2013-09-16 15:55:07 +05:30
Gaurav Aradhye f1f5f2eec1 CLOUDSTACK: 4640 - Fixed indentation issues in function createInstance 2013-09-16 15:39:42 +05:30
Gaurav Aradhye ae1cebf4e9 Automation - Portable Ip feature test cases
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 23c759ec35)
2013-09-13 17:35:08 +05:30
Gaurav Aradhye f946747091 Automation: Resource Limits - memory limits test cases 2013-09-13 15:34:12 +05:30
venkataswamybabu budumuru 2ea66124f2 Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
Corrected Indentation issues.
2013-09-12 18:33:41 +05:30
venkataswamybabu budumuru 4356ecc627 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
(cherry picked from commit 237f8ec702)
2013-09-12 18:26:31 +05:30
sanjeevneelarapu ce479ef0d2 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>
(cherry picked from commit daaec56d40)
2013-09-06 15:27:59 +05:30
sanjeevneelarapu 883b9802d4 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
(cherry picked from commit dfee47e3b6)
2013-09-05 18:54:33 +05:30
Ian Duffy bdba0ddeed Bring up to date with master 2013-08-31 00:25:48 +01:00
Prasanna Santhanam 3c38a1cd9f cpu_limits module of tests 2013-08-29 14:30:55 +05:30
Prasanna Santhanam 58bcce0142 Formatting and tab errors in the new test suites for limits
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-29 14:27:34 +05:30
Gaurav Aradhye 95e4b7afa8 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>
2013-08-29 14:13:39 +05:30
Girish Shilamkar c6f0d46911 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 14:10:54 +05:30
venkataswamybabu budumuru 2abb1cb282 CLOUDSTACK-4378 : Fixing the typo in Apache License Text
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-08-27 15:23:04 +05:30
venkataswamybabu budumuru fab3185187 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>
(cherry picked from commit 98dfd65291)
2013-08-27 13:53:28 +05:30
Sowmya Krishnan 6334b738d0 CLOUDSTACK-4491: Added missing NS setup
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 239281a401)
2013-08-27 12:13:46 +05:30
Sowmya Krishnan f1c6535f6e CLOUDSTACK-4510 Move NS scripts to appropriate suites and related common.py fixes
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f7df3ef9f1)
2013-08-27 10:59:13 +05:30
Prasanna Santhanam 02e7630f1c 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>
2013-08-26 11:10:06 +05:30
Gaurav Aradhye 684573939f CLOUDSTACK-4452 - Fixed method is_snapshot_on_nfs and moved it to utils
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35ee38385c)
2013-08-26 10:40:44 +05:30
Sowmya Krishnan f724c91296 CLOUDSTACK-4487: No need to delete offerings or wait on offering cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit bc5b6ae0e4)
2013-08-26 10:36:29 +05:30
Girish Shilamkar 6c73308d0c 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>
(cherry picked from commit 9ff40829a9)
2013-08-24 10:06:22 +05:30
SrikanteswaraRao Talluri 08627aa753 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>
(cherry picked from commit 4a8119c807)
2013-08-23 12:39:49 +05:30
SrikanteswaraRao Talluri c5165643f4 CLOUDSTACK-4447: Fix router tests by listing Routers for that account of type 'Isolated'.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit db673b2b9b)
2013-08-23 12:39:48 +05:30
SrikanteswaraRao Talluri 0454723f98 CLOUDSTACK-4425:Fix to attach uploaded volume to a stopped VM test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8762a0d0c6)
2013-08-23 12:39:48 +05:30
Prasanna Santhanam b3306497fe 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>
(cherry picked from commit 4b546ce85d40098ade69c575316e76e25a422a12)
2013-08-22 20:20:16 +05:30
SrikanteswaraRao Talluri c36cf73cfb CLOUDSTACK-4437: Fix iso usage event count to match the number of image stores
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 502b2ff0f90f5b0e8741335643f7710ce650633f)
2013-08-22 12:39:42 +05:30
Prasanna Santhanam 197108c6a3 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>
(cherry picked from commit 79df10ee24840dc7fe8fdb4ccbde240658a109fc)
2013-08-22 12:39:31 +05:30
Sowmya Krishnan e4b5d4d62e CLOUDSTACK-3927, CLOUDSTACK-3928: Fix NS scripts to add/remove NS device in setupClass/tearDown
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1c31ee22d4)
2013-08-22 10:27:56 +05:30
Gaurav Aradhye 26705cf53f CLOUDSTACK-4422: Corrected the wrong service paths
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cff832044043a361d360f775c7227a77ac99509a)
2013-08-21 15:42:52 +05:30
Prasanna Santhanam eeb53d52ee 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>
(cherry picked from commit f056af8cbd)
2013-08-21 15:20:27 +05:30
Prasanna Santhanam 3a29c73447 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>
(cherry picked from commit 5b66677d74)
2013-08-20 19:39:43 +05:30
Prasanna Santhanam 463afeef3b CLOUDSTACK-4225: new_virtual_machine is not a attr of the test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3605280a2eb49c719c022d411fd90596c7a2a24e)
2013-08-20 19:33:33 +05:30
Gaurav Aradhye ac77660864 CLOUDSTACK-4356: Added code for checking empty host, skip the test if no empty host found
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 17:31:24 +05:30
Prasanna Santhanam 9ed5083f9b 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>
(cherry picked from commit a82f66e0fa)
2013-08-20 17:28:41 +05:30
Saksham Srivastava ed745d3489 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>
(cherry picked from commit a9e45bf776)
2013-08-20 17:28:41 +05:30
Sheng Yang 3c1b6c69be Automation: Disable TestVMLifeCycleSharedNwVPC test suite
Rather than TestVMLifeCycleVPC.

Shared network's setup is wrong.
2013-08-19 11:25:37 -07:00
Prasanna Santhanam 0eb1690872 CLOUDSTACK-4340: Add more debug logging
VM (id) moves from host (id) to host (id)

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit da0bb63005)
2013-08-19 15:42:37 +05:30
Prasanna Santhanam aec34865ea CLOUDSTACK-4396: Invalid case comparison leaves egress rule unprogrammed
Thereby failing the wget for the cloud-setup-guest-password script which
in turn fails the test.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8576b1ddc9)
2013-08-19 15:18:04 +05:30
Prasanna Santhanam f13a6a0deb CLOUDSTACK-4225: Fix template references in setUpClass
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7768613edc)
2013-08-19 15:00:21 +05:30
Prasanna Santhanam 12380835b5 CLOUDSTACK-4394: remove cleanups for offerings
offerings do not need to be cleaned up

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b9c2471cfc5e051db4478783c6928f6e0c5a1f7a)
2013-08-19 14:39:43 +05:30
Ashutosh K d5203b19e0 Additional tests for custom_hostname
- vm with existing displayname
- change display name post deploy
- deploy with unsupported chars in display name
- vm.instancename.flag = true and deploy vm
- vm.instancename.flag = false and deploy vm

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-15 10:46:29 +05:30
Ashutosh K 31c4a9159a Removed Invalid test from TestRemoveUserFromAccount see -> http://markmail.org/message/vk7wyl3b57cltj44
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 84e81df2a3)
2013-08-15 10:44:43 +05:30
Ashutosh K 0d0409bddb CLOUDSTACK-3594: New affinity group tests
- list all vms in affinity group
- delete an affinity group by id
- admin deletes affinity groups
- list affinity groups as admin
- list affinity groups by accountid/domainid
- list affinity groups by group id
- user deletes his affinity group

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 682e995a4a)
2013-08-15 10:38:37 +05:30
Sanjay Tripathi 151fc3e837 CLOUDSTACK-3688: Test cases test_accounts.TestDomainForceRemove.test_forceDeleteDomain, not found the domain to delete and failed.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 20:04:55 +05:30
Prasanna Santhanam 500545cb82 flaky RvR tests to run sequentially
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a04599b3ca)
2013-08-14 19:54:05 +05:30
Prasanna Santhanam d771e3fa5b CLOUDSTACK-3961: multi network test in VPC
Test delete network rules in a VPC. Multiple Fixes
- correct protocol ICMP->TCP
- Remove LB actions from non-lb network
- correct private gateway CIDRs to not overlap with vpc guest cidrs
- remove unrequired SSH on non-lb network
- typos

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 17:04:23 +05:30
Prasanna Santhanam 21d8982484 CLOUDSTACK-4252: Correct the cleanup order of resources
Apply a LIFO cleanup when deleting cloud resources

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9e7983ac18)
2013-08-14 16:32:30 +05:30
Prasanna Santhanam 465adf984d CLOUDSTACK-4258: Additional debug to the assertion
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 15:27:42 +05:30
Prasanna Santhanam 042f998db4 CLOUDSTACK-4262: Wait twice network.gc for vpcvr shutdown
Wait a little bit longer for the VpcVr to shutdown on network shutdown.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4ed5033a59c7aa5fe95f865c5fcbdba21c03616e)
2013-08-14 15:27:42 +05:30
Prasanna Santhanam 211f519421 Additional logging and better error reporting on assert fail
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 05bb315636eba87722ce3f49fe61bdd6bc4dcc32)
2013-08-14 15:27:42 +05:30
Prasanna Santhanam 61b787975c CLOUDSTACK-4283: remove hardcoded shared_vlan from test_shared_networks
SharedNetwork creation requires a pre-setup VLAN outside of the guest
VLANs defined during zone creation. Use a VLAN tag outside the guest
range as a shared network vlan to create shared networks.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35867ccbd90c824b4faae438dac99400babeff95)
2013-08-13 15:31:43 +05:30
Rayees Namathponnan ab254a5131 TestVMLifeCycleSharedNwVPC need to disable since its failing, netscaler configuration need to change
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-12 17:20:01 -07:00
Prasanna Santhanam 59f944d7c3 CLOUDSTACK-3017: Add tags to Cisco ASA tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cdff1360674385e538cd9128160030f08588bda9)
2013-08-12 12:03:45 +05:30
SrikanteswaraRao Talluri 4bdaffb66a CLOUDSTACK-4230: Fix the script to not to add egress rule if zone network type is not advanced
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8872af90d3d1014bf3fdfeb5f78652d5184f42cc)
2013-08-10 19:17:54 +05:30
Prasanna Santhanam 472370f888 CLOUDSTACK-4225: change to directory where snapshots are mounted
return back to HOME_DIR and unmount the secondary storage

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 99329dfa4a)
2013-08-10 16:18:59 +05:30
Prasanna Santhanam 2100789f23 Fix indent to stop tabnanny from complaining
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 78c802da1343abe2c82f9a7dfb7903f81287abe9)
2013-08-09 15:55:13 +05:30
Prasanna Santhanam 75cd6cce40 Fix VPC test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 12:08:27 +05:30
Prasanna Santhanam b3fb75e6c6 Fix redundant router deployment tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 12:08:16 +05:30
Prasanna Santhanam bad72a0aeb Fix volumes tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 12:08:02 +05:30
Prasanna Santhanam ed70eaf2ce include test for volumes created in non-root domains
Test verifies that volumes in non-root domains are visible to the user
that created them.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 22:20:04 +05:30
Girish Shilamkar f1734ed71d CLOUDSTACK-4144 Make specifyVlan to false for shared network
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 16:59:49 +05:30
Saksham Srivastava ac6b26ff81 CLOUDSTACK-4021:[Automation] TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication failed to deploy VM
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8191f5c690)
2013-08-08 16:57:47 +05:30
Prasanna Santhanam ceec1fb243 Fix the kwargs passed in as dict to listVirtualMachines
listVirtualMachines queried using tags needs the tags (key,value) to be
passed as a dictionary.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c2840b93f5)

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 12:09:32 +05:30
Sheng Yang cab72c0193 Automation: Fix test_redundant_router_network_rules.py
Stop VR after VM booted up.
2013-08-07 16:08:59 -07:00
Sheng Yang 8e395b2a89 Automation: Fix test_vpc.py 2013-08-07 15:51:06 -07:00
Prasanna Santhanam d1c01a79a5 Fix missing key
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 22:52:45 +05:30
Girish Shilamkar 1a46bbd893 Test assumes storagetype to be local therefore test_egress_fw_rules fail.
Removed storagetype definition.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 20:30:52 +05:30
Gaurav Aradhye a6076818e0 Automation: Affinity Groups- Removing invalid test case
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ae378940c3)
2013-08-07 19:44:16 +05:30
Prasanna Santhanam 37b8775203 fix snapshots tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit baf0400124)
2013-08-07 19:38:01 +05:30
Prasanna Santhanam 8ac1796226 Fix invalid references
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 16:10:53 +05:30
Prasanna Santhanam 70fdd43c84 Fix snapshot limit tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 79cd3df6fb)
2013-08-07 15:09:46 +05:30
Prasanna Santhanam 03439e497e remove local path in cloud-set-guest-password script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2d4e17e8d4)
2013-08-07 14:48:21 +05:30
Prasanna Santhanam fb58addc35 Fix snapshot GC test
Changes to object store removes SecondaryStorage host from the host
table. This affects the test where we identify the secondary storage nfs
host to login to where we verify if the snapshot is present on the
physical resource.

* added base classes for imagestore/stagingstore operations
* fixed the test to check only if NFS is used as backing store

TODO: Fix for s3 based storage layer

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4f973778bf6c2bfc7da2b8c785557e86f81af9d5)
2013-08-07 14:33:57 +05:30
Alena Prokharchyk 638f8e0046 CLOUDSTACK-4120: fixed automation script for resource tags 2013-08-06 12:54:50 -07:00
rayeesn 78bc6314ea updated interface in netscaler config test script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 22:03:09 +05:30
Prasanna Santhanam 14a889df36 Add missing sleep
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 22da47087b0ed67bb8bf30b92b1199cc67898150)
2013-08-06 19:55:29 +05:30
SrikanteswaraRao Talluri c853426c76 CLOUDSTACK-4098: Fix the test which deploys a VM from password enabled template.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 64591e65be)
2013-08-06 18:46:44 +05:30
Prasanna Santhanam 31493d8d83 add cleanup list
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7f25510a280271a890a4db8d565fdc75316c66ae)
2013-08-06 16:58:18 +05:30
Prasanna Santhanam c5054d8957 Fix egress rules offering - rvr not required
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b1e6188308d43183219e9844fa7465a66064c586)
2013-08-06 15:55:46 +05:30
Prasanna Santhanam 8d0f08a4b8 Egress Rules: Corrections to few areas
1. correcting the log_test_exceptions decorator so nose testrunner can
detect and document the running test
2. correct the wait for network cleanup -> network.gc
3. Remove commented skips
4. Sanitize host passwords

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 13:22:59 +05:30
ashutoshkelkar c1f8dc982d Adding Tests for Egress Firewall rules advance zone. Code review changes and added tests for RVR and DB table value checks
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 13:22:59 +05:30
Prasanna Santhanam da1a79dab7 remove hardcoded vlan for shared network test
use a vlan outside of the vlans managed by cloudstack.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 22:05:21 +05:30
Prasanna Santhanam f17e046319 Log the API exception for debugging
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 20:16:15 +05:30
Prasanna Santhanam 0561daa54d No need to cleanup lightweight entities like offerings
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1670aeac360b591f513a76a0c77158672f3e387f)
2013-08-05 20:14:07 +05:30
Sheng Yang 498c18f654 Automation: Fix test_vpc_network_staticnatrule.py 2013-08-02 14:04:35 -07:00
Prasanna Santhanam b8c01cfdd0 moving rvr deployment planning to maint suites
this suite performs enable/disable of pods/clusters in the zone causing
other tests to fail deploying VMs. Move it to sequential execution suite
in the maintenance tests

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 73de7646ffd289b779d5c45cfee84e07551c3a0c)
2013-08-02 22:23:44 +05:30
Prasanna Santhanam 51cacadead vpn tags are not supported resource types
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 6f63817d07)
2013-08-02 22:10:48 +05:30
Prasanna Santhanam 04cc1be58a make name=value when calling publicipaddress
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 22:05:13 +05:30
Gaurav Aradhye 514cb91906 CLOUDSTACK:3798: Removed wrong assert. Login was getting successful, assert was failing. Anyway it is being checked in the assert below for sesionKey
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cb1a5a49f4)
2013-08-02 16:47:35 +05:30
Gaurav Aradhye 6ef51b4159 CLOUDSTACK:3594: Fixes related to affinity groups tests. Included two test suites those were missed because there was no decorator for test cases
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3028f4223b2a00f80159b387e86211effcfeda11)
2013-08-02 16:00:05 +05:30
Prasanna Santhanam 16c1de84e0 Remove duplicate tests for stopped_vm
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 12:52:26 +05:30
Sheng Yang f3dd0c6008 Automation: More fix fox test_vpc_vm_life_cycle.py
You cannot reach VPC router IP because you're in one of it's networks.

As well as adding missing import for test_vpc_network_pfrules.py
2013-08-01 18:52:30 -07:00
Rayees Namathponnan 07dcd6ffb1 Automation: fixed cleanup issue with test_vpn_user.
Reviewed-by: Sheng Yang <sheng.yang@citrix.com>
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-01 18:09:51 -07:00
Sheng Yang 6007380252 Automation: Reconnect the ssh for test_vpc_vm_life_cycle.py
Since VM are reused for test cases, we need to reconnect the SSH client to avoid
error like:

Failed to SSH into VM, SSH session not active
2013-08-01 18:00:23 -07:00
Prasanna Santhanam 912754249c CLOUDSTACK-2921: Added more logging to attach failure
Also reduced size of attached disk to 1GB

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ba059dd0ae)
2013-08-01 22:23:28 +05:30
Prasanna Santhanam 7b352603bd CLOUDSTACK-2921: Fix the change service offering test on stoppedvm
There is no need to attach a volume to the VM when doing the
changeserviceOffering test. Condensed the test to verify that the VM's
offering is changed successfully when stopped and reflects when VM is
started.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35492a3668)
2013-08-01 21:54:43 +05:30
Prasanna Santhanam e8594a22ef CLOUDSTACK-3865: Additional debug logging for size mismatch
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 76764e115d311611096fd5df6ce849c12b22ed7f)
2013-08-01 21:18:45 +05:30
Prasanna Santhanam a2dc4b1ca9 CLOUDSTACK-3989: We don't hold the vm object
VirtualMachine.list( only gives the list of vms but not the vm object as
returned by VirtualMachine.create( any operations on the listed VMs then
fails. Explicit call to startVirtualMachine as in setUpClass fixes this.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f064ad22dc)
2013-08-01 16:43:25 +05:30
Prasanna Santhanam eb5099a2a2 Include the exception from urllib in wget test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 16:23:16 +05:30
Prasanna Santhanam b303fd3428 CLOUDSTACK-3999: Fix the skipTest typo
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 16:10:57 +05:30
Sheng Yang bb95624708 Automation: More fix for test_vpc_network_lbrules.py 2013-07-31 23:14:50 -07:00
Sheng Yang c92cb4f3d0 Automation: Removing the template's UUID
My bad...
2013-07-31 22:41:47 -07:00
Sheng Yang 6ebf7e273d Automation: Fix test_vpc_network_lbrules.py 2013-07-31 22:34:22 -07:00
Sheng Yang 7e9e804484 Automation: Fix test_vpc_network_pfrules.py
Need to wait VM to boot up before stop the VR.

Also test 4 is identical to test 3, fix it.
2013-07-31 19:09:45 -07:00
Sheng Yang b0dda92025 Automation: Fix test_vpc_routers.py
Account cannot be cleaned per test case since it's setup in setUpClass()
2013-07-31 15:03:58 -07:00
Sheng Yang 7882ef512c CLOUDSTACK-3864: Fix test_blocker_bugs.py for firewall
Currently we're using enable/disable static nat rather than create IP forwarding
command. The list of StaticNAT won't work.

Also change to use API to verify the rules rather than look into db directly.
2013-07-30 19:04:35 -07:00
Sheng Yang e4f8068ef1 CLOUDSTACK-3826: Automation: Fix test_vpc_routers
1. You cannot check routers after your destroy them
2. You cannot use the old value in checking migration status.
3. You cannot upgrade VR to a non-system offering.
2013-07-30 16:52:53 -07:00
Prasanna Santhanam e78f93224f Fix url for upload volume test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d0a851ec5de261c83babd94a07dd1091f804110d)
2013-07-30 15:49:35 +05:30
Prasanna Santhanam 8ca5097752 CLOUDSTACK-3930 : Add cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 308fa41416dc37b4651087c8e30da31a0e9a63d3)
2013-07-30 13:51:54 +05:30
Prasanna Santhanam 1efa542433 CLOUDSTACK-3929: Remove references to unittest.
Skip is done using cloudstackTestCase inheriting from unittest as
self.SKipTest

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 797450a5ba)
2013-07-30 12:41:18 +05:30
Sheng Yang 16c3d21eec Automation: add object to cleanup set immediately after creation
Otherwise it's possible that the later failure would prevent the object from
been clean up.
2013-07-29 17:15:34 -07:00
Gaurav Aradhye 3a3145507d CLOUDSTACK-3841: Fixed test case issue. The exception raised earlier was valid behaviour, added missing assertRaiss statement
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 67c96d419d)
2013-07-29 19:57:33 +05:30
Prasanna Santhanam dd1717883e remove vpc offering from cleanup.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 83f4c3289a)
2013-07-29 16:38:15 +05:30
Prasanna Santhanam e4de46e4b1 CLOUDSTACK-3901: Test for vpc offerings
- Fix the test that ensures vpc offerings cannot be created with
  firewall service
- CLOUDSTACK-3902 blocks the fix for vpc offerings created without
  source nat service. Without source NAT VPC creation should fail.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 16:21:07 +05:30
Prasanna Santhanam 098c2db4b7 CLOUDSTACK-3900: Remove the offering that is deleted before cleanup
One of the VPC offerings (4) is deleted in the test before moving into
teardown. This offering should be removed from cleanup.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d66edb5e2b)
2013-07-29 15:56:26 +05:30
Sowmya Krishnan eae874918d CLOUDSTACK-3744 Fixed order of cleanup objects, removed offerings cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 08c82883f6)
2013-07-29 15:35:29 +05:30
Prasanna Santhanam ade13bb773 Remove duplicate while-loop retries during ssh
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 53feae08de)
2013-07-29 14:52:07 +05:30
Prasanna Santhanam 9c36ad722b CLOUDSTACK-3795: When listing the publicipaddress provide assocNtwkId
PublicIpAddresses.list takes an associatednetworkid which lists all the
public ip addresses in the deployment's physical network associated with
the vnet.

Various tests failed because of `networkid` used in place of
`associatednetworkid`

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b88fe8233af699786de6d08a6bc981546538898d)
2013-07-29 14:38:37 +05:30
Prasanna Santhanam 76c90efa40 Removing invalid test for accounts
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f83187585e)
2013-07-28 17:00:48 +05:30
Prasanna Santhanam 3fec71e748 Fix domain deletion in test_project_resources.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a019f34572)
2013-07-28 11:56:50 +05:30
Sheng Yang c576917107 Automation: Fix endless silly test cases 2013-07-26 00:20:01 -07:00