552 Commits

Author SHA1 Message Date
Gaurav Aradhye
429abe2bd5 CLOUDSTACK-8276: Changes in Marvin to find free vlan in a setup when vlan is not returned for an existing network with listNetworks API
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-26 13:04:20 +05:30
Gaurav Aradhye
ba08229ff9 CLOUDSTACK-8264: Code improvement - test_stopped_vm.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-20 19:59:37 +05:30
Gaurav Aradhye
7629000ffe CLOUDSTACK-8264: Adding missing change in test_data.py caused due to commit 500baea9b6c816caae93ab2f8d0ba31f99c3f8fc
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-19 15:23:25 +05:30
SrikanteswaraRao Talluri
9c381a21c4 instead of adding zone wide primary storage in the cluster block,
added it in the zone block.
CLOUDSTACK-8229
Testing: tested with KVM and zone deployment was fine.

In the config file, zone wide primary storage details looks like this:
  "primaryStorages": [
        {
          "url": "nfs://10.147.28.7/export/home/talluri/primary1",
          "XRT_PriStorageType": "NFS",
          "name": "XenRT-Zone-0-Pod-0-Cluster-0-Primary-Store-0",
          "hypervisor": "KVM",
          "scope" : "zone"
        }
      ],

reviewed-by: talluri
2015-02-18 19:30:15 +05:30
Gaurav Aradhye
8bfda973c2 CLOUDSTACK-8259: Code improvement - test_routers.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:23:34 +05:30
Gaurav Aradhye
95f17d61f8 CLOUDSTACK-8219: Marvin: Correct code related to getting free vlan in the setup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:18:13 +05:30
sanjeev
67268d9db3 Iterate one more time before failing iso download
Signed-off-by: sanjeev <sanjeev@apache.org>
2015-02-16 12:16:21 +05:30
SrikanteswaraRao Talluri
a7b8e987d3 As this is not tested and causing other failures, reverting for now and let the author resubmit a fresh patch
Revert "Automation of CCP Objects Verification after external changes made to the original setup Purpose of this code:"

This reverts commit 7461297f3e17b431643e7a8c575e799d0e151261.
2015-02-14 21:20:25 +05:30
SrikanteswaraRao Talluri
d552eb42b5 added missing comma in test_data.py 2015-02-13 17:58:45 +05:30
Ashutosh K
ada8cdce70 CLOUDSTACK-7911: Adding test cases for usage test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 16:02:56 +05:30
Gaurav Aradhye
500baea9b6 CLOUDSTACK-8235: Fixed test case in test_bugs.py to read variable data from configurableData section of test_data.py and also fixed wrong parameter name
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 13:06:08 +05:30
Gaurav Aradhye
015aed9bef CLOUDSTACK-8217: Fixed marvin base library method for passing 'lbdevicecapacity' parameter while adding netscaler device
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:53:54 +05:30
Chandan Purushothama
7461297f3e Automation of CCP Objects Verification after external changes made to the original setup Purpose of this code:
Generate CCP Objects (VMs, Volumes, Snapshots, VPC, etc..) and CCP Use Cases (Networking, Data Content,etc) before an external action on the CCP Setup and verify the integrity of the CCP Objects and the Use Cases after the external action on the CCP Setup. The integrity of the CCP Objects is verified by performing operations that test the Usability of the objects. This validates the intactness of the setup after an external action. The submitted patch covers only few major use cases. It proves that similar code can be added in future to address similar goals in verifying the integrity of CCP objects belonging to different components of the product.

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

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

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

How to use the code:

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

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

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

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

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:06:46 +05:30
Gaurav Aradhye
af09388eda CLOUDSTACK-8241: Moved upload volume dict data to configurableData section of the test_data.py file so that data can be changed according to the setup, also made relevant changes in the test cases
Signed-off-by: Srikanteswararao <talluri@apache.org>
2015-02-11 16:53:08 +05:30
SrikanteswaraRao Talluri
55801f7e26 CLOUDSTACK-8229: add zone wide primary storage support in deployDataCenter 2015-02-08 11:40:27 +05:30
SrikanteswaraRao Talluri
b3cebdbbf4 CLOUDSTACK-8161: fixed few more wrong references in the tests while
disabling LXC unsupported tests.
2015-02-08 00:36:01 +05:30
SrikanteswaraRao Talluri
3384888c39 CLOUDSTACK-8161: mark the data volume related operations on LXC as skipped if RBD storage pool is not available
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-16 18:46:03 +05:30
Gaurav Aradhye
0ed40140a6 CLOUDSTACK-8116: Moved ldap data to configurableData section in test_data.py and made related changes in the test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-24 11:10:18 +05:30
Gaurav Aradhye
77bd069cc7 CLOUDSTACK-8096: Fixed test_ssvm.py for issues while checking the result of diagnostic scripts
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-23 14:27:03 +05:30
Chandan Purushothama
696698090e CLOUDSTACK-8086: Simulator needs a Portable IP Range to execute Portable IP Test Cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:19:18 +05:30
Gaurav Aradhye
b45fe24e5c CLOUDSTACK-8062: test_multiple_ip_ranges.py - Fix the test case to avoid using same vlan IP range in each test case
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-11 17:54:32 +05:30
Gaurav Aradhye
84aaef25d9 CLOUDSTACK-8029: Remove unused kaypairs from test_data.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-05 18:37:32 +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
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
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
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
Chandan Purushothama
d8d60f0172 CLOUDSTACK-7913 : Added reconnect functionality to Host class in base.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-17 15:30:12 +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
Gaurrav Aradhye
9e19a9afdb Revert "CLOUDSTACK-7408: Fixed - Private key of the ssh keypair was getting corrupted"
This reverts commit e921ec6ec79c50096d58264d60c15091969ff888.

CLOUDSTACK-7408: sshClient.py - removing function load_host_keys(). This function is used to load host keys from local host keys file and to save back the host key. It is not needed while running test cases because we are connecting to unknown host anyway and don't want to use any local host key file. We have the AutoAddPolicy for missing host key file, hence whenever ssh connects to a new host, it will save the host key in memory temporarily.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-11-04 11:59:04 +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
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
Gaurrav Aradhye
e87da186f3 Revert "CLOUDSTACK-7408: Fixed - Private key of the ssh keypair was getting corrupted"
This reverts commit e921ec6ec79c50096d58264d60c15091969ff888.

CLOUDSTACK-7408: sshClient.py - removing function load_host_keys(). This function is used to load host keys from local host keys file and to save back the host key. It is not needed while running test cases because we are connecting to unknown host anyway and don't want to use any local host key file. We have the AutoAddPolicy for missing host key file, hence whenever ssh connects to a new host, it will save the host key in memory temporarily.

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-30 14:51:54 +05:30
Hugo Trippaers
4ebaf0a583 Bump master version to 4.6.0-SNAPSHOT after branching 4.5.0-SNAPSHOT 2014-10-29 14:54:23 +01:00
Prashant Kumar Mishra
0e2e1df3aa CLOUDSTACK-7680:Adding kwargs to volume.upload in base.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 4a1018e23b0ea80ba8b7cdb80a5efebdb50afea1)
2014-10-13 00:31:39 -04:00
sailajamada
2116f7dbb7 Additional Guest OS support for vGPU Test Automation
(cherry picked from commit 402a3323f87cdb7ae456d1486702269463c8b32c)
2014-10-13 00:04:44 -04:00
Gaurav Aradhye
ecb662517f CLOUDSTACK-7408: Fixed - Private key of the ssh keypair was getting corrupted
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit e921ec6ec79c50096d58264d60c15091969ff888)
2014-10-13 00:04:23 -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 9e5da759b315955cf5bc8d606f6929ac1603708f)
2014-10-13 00:04:04 -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 05913e3cbda1be35f3247a970d66eb74bb3b1449)
2014-10-13 00:02:44 -04:00
sanjeev
4076d87038 Creating custom disk does not work as expected
(cherry picked from commit 0d5a435f7669eddd44a6b62317fe26bb1d96e96c)
2014-10-12 23:45:27 -04:00
sanjeev
ce2fe3e5df In case of Hyper-v ssvm/cpvm reboot takes time so made changes to handle this
(cherry picked from commit 5bddebb8fc6eb85753a030f1d71fe2303969325b)
2014-10-12 23:42:40 -04:00
Prashant Kumar Mishra
b771b6ee72 CLOUDSTACK-7579 Adding a method to base.py to update storage pool
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 937aee34eded1a795b4eff3b7ebb59b8fbbef568)
2014-10-12 23:42:15 -04:00
Prashant Kumar Mishra
4a1018e23b CLOUDSTACK-7680:Adding kwargs to volume.upload in base.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-10-07 16:15:51 +05:30
sailajamada
402a3323f8 Additional Guest OS support for vGPU Test Automation 2014-09-26 17:12:41 +05:30
Gaurav Aradhye
e921ec6ec7 CLOUDSTACK-7408: Fixed - Private key of the ssh keypair was getting corrupted
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-26 16:26:56 +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
Ashutosh K
05913e3cbd CLOUDSTACK-7499: Adding test cases for VMLC test path
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-26 14:37:26 +05:30
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
0d5a435f76 Creating custom disk does not work as expected 2014-09-23 14:15:39 +05:30
sanjeev
5bddebb8fc In case of Hyper-v ssvm/cpvm reboot takes time so made changes to handle this 2014-09-22 16:43:16 +05:30