Commit Graph

930 Commits

Author SHA1 Message Date
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
Prashant Kumar Mishra 372ad94368 CLOUDSTACK-7632:Automation for volume life cycle testPath
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 679f945074)
2014-10-13 00:34:54 -04:00
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
Ashutosh K 20a0763b04 CLOUDSTACK-7499: Adding test cases for VMLC test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 05913e3cbd)
2014-10-13 00:02:44 -04:00
sailajamada 09420dd0b1 List ISO's test to verify default ISO's are listed always
(cherry picked from commit d19a78ddf7)
2014-10-13 00:00:59 -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
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
sanjeev 8567701f07 CLOUDSTACK-7552: In hyper-v additional data disks will be mapped to /dev/sdb
Made changes to test_volumes.py accordingly
2014-09-16 11:59:12 +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
Gaurav Aradhye 81d5dd9bcd CLOUDSTACK-7519: Using bound/unbound methods instead of directly calling API methods from test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-10 14:37:54 +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
Koushik Das 23f5772c30 Removed 'BugId' tag from tests for fixed bugs 2014-09-08 16:00:08 +05:30
Santhosh Edukulla 412791e09f Removed a print statement, its printing huge data to stdout making to see the run info difficult, removed 2014-09-06 12:31:31 +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
John Dilley 9b783d19ad CLOUDSTACK-7228 Only shrink disk when CLVM is in use.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-03 12:30:59 +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
Alex Brett 24dd6cee78 CLOUDSTACK-7467 Fix TestVolumes.test_07_resize_fail
Previously if you had a volume using a non customisable disk offering, and
attempted to resize it passing in the same disk offering id, the command would
be accepted, but it would actually be resized to its current size (i.e. the
provided size parameter was ignored). This is what the test used to check.

Commit de6a3112b6 modified the logic to check if
the provided diskofferingid was the same as the current one, and if so treat it
as if it hadn't been provided - this means the resize command now fails, which
is probably the more sensible thing to do (rather than giving the impression it
will be resized but actually not doing so).

This change therefore modifies the test logic to match.

Signed-off-by: Mike Tutkowski <mike.tutkowski@solidfire.com>
2014-09-02 13:09:40 -06:00
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
John Dilley 2995c7f34b CLOUDSTACK-7354: Set isdynamicallyscalable before attempting to scale the VM
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-22 19:10:38 +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
John Dilley b9079f3db1 CLOUDSTACK-7346: Skip iSCSI primary storage test for VMWare
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-18 20:18:17 +05:30
Girish Shilamkar bbd1da19d4 CLOUDSTACK-7353: Fixed issue with list VM in test_projects.py 2014-08-18 20:04:12 +05:30
Santhosh Edukulla 516895d48e Removed a print statement 2014-08-14 21:57:20 +05:30
Gaurav Aradhye a38bb389b2 CLOUDSTACK-7331: Fixed issue in test_persistent_networks.py 2014-08-14 11:35:58 +05:30
Santhosh Edukulla 56071844da Moved vm sync test cases to misc folder 2014-08-14 00:40:32 +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
Santhosh Edukulla 4c4d89f4d9 Fixed an isci failure for kvm in ci 2014-08-13 16:28:09 +05:30
Santhosh Edukulla ce622c0a29 Fixed an issue failing in CI, where iscsi support is not available for kvm 2014-08-13 15:38:36 +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
Gaurav Aradhye f9a66655e3 CLOUDSTACK-7321: Resolved cleanup issue in test_network.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-13 10:07:33 +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
John Dilley d75961d973 CLOUDSTACK-7192: Skip tests on Hyper-V which don't apply 2014-08-12 16:49:56 +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
Gaurav Aradhye a52a1cd4fc CLOUDSTACK-7292: Fixed issue in test_deploy_vm_root_resize.py
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-08 18:06:36 +05:30
Doug Clark 6220947dbe CLOUDSTACK-7281: Fix error in debug line
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-07 21:00:13 +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