44 Commits

Author SHA1 Message Date
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
Santhosh Edukulla
bf72441d13 CLOUDSTACK-6006: Remove integration folder and lib 2014-02-04 12:01:58 +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 ec00a6fb74042259ceea6add676de3f15e642d4a.
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
Girish Shilamkar
4747b2abfe Cloudstack:4407 - Pending changes - Use extractTemplate API to get hypervisor specific template information. 2013-10-14 17:21:22 -07:00
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 84e81df2a393ee6e6c123583a400dc3e59723680)
2013-08-15 10:44:43 +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
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
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 cb1a5a49f4efd2f4904f040bf923a6f9e2c9152e)
2013-08-02 16:47:35 +05:30
Prasanna Santhanam
76c90efa40 Removing invalid test for accounts
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f83187585e48b530ef7247dfd836c866cb3e1c32)
2013-07-28 17:00:48 +05:30
Prasanna Santhanam
9e8663c7ca CLOUDSTACK-3617: Skip the test if config is not suitable
Provided a utility method to ensure the config is suitable for running
the test. If vm.instancename.flag is unset then skip the tests.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8b8cee52f09f9f2c1b612ece16fc7ffc4b2c9176)
2013-07-25 15:34:04 +05:30
Prasanna Santhanam
e432ce6f77 CLOUDSTACK-3021: Do not delete the domain
We delete the accounts within the domain thereby cleaning up resources.
Also corrected the typo in the test description. ForceDelete test was
called without force option and vice versa

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a3c21b3682db51986e7cc54d8f25b1dbf4ae9eaa)
2013-07-25 14:14:49 +05:30
Sheng Yang
f3cf319c37 Automation: Fix clean up in tearDown
We shouldn't clean up class-scope resources(_cleanup). We should create local
ones(cleanup) then clean it.

So:
cls._cleanup would be used for class-scope resources.
self.cleanup would be used for each unit.
2013-07-23 21:20:02 -07:00
Sanjay Tripathi
3e6e66fee1 CLOUDSTACK-3689: Test case test_accounts.TesttemplateHierarchy.test_01_template_hierarchy failed during ListTemplate call.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 6b2c9bf3ae1653693381431ed2554e7b7e4dfae4)
2013-07-23 18:02:29 +05:30
Girish Shilamkar
18fbbcfc5a CLOUDSTACK-3610: Fix regression test "test_accounts.TestUserLogin"
Now password is sent as clear text as per CLOUDSTACK-1734
So changed marvin to handle this. Plus domainid was not
passed in the testcase and marvin used "domainid" instead of
"domainId" as a parameter. Fixed these two errors.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit dba09791fc99c342974d8ca1c69609c04f1a5512)
2013-07-22 19:36:28 +05:30
Prasanna Santhanam
5fa77f3099 Minor fixes to the test_accounts
when an account is deleted listAccounts raises an exception.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit aa9bc4413efad4eccdf8e336f66ea8c8168fbbda)
2013-07-22 19:36:27 +05:30
Prasanna Santhanam
a3511c3ecf remove tag used while debugging
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d6fc6577efa9ab32c115e25af8effc7febf9efcb)
2013-07-18 18:31:22 +05:30
Prasanna Santhanam
97ad190383 remove waits during claenup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 06f5f5ba444a55ed27fa75c3f4b1fc6ca1bb10d2)
2013-07-18 18:31:22 +05:30
sailajam
69462fd0cb CLOUDSTACK-3636: Fix invalid condition to check for empty response for private service offerings 2013-07-18 17:01:00 +05:30
Prasanna Santhanam
e90ef2b4b5 remove the wait during cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 15:05:56 +05:30
sailajam
f5bd253b2b CLOUDSTACK-3596: Domain ID missing to deploy VM request . Included Domain id 2013-07-18 13:52:04 +05:30
Prasanna Santhanam
c7315975d2 Fix tab/space issues
Several test failures occurred due to tab issues

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-30 13:20:27 +05:30
Gaurav Aradhye
4c51c60ef7 CLOUDSTACK-3021: Order removal of resources
Sub domain removed before parent domain. Also fixed indentation issue in
cleanup list of class TestServiceOfferingHierarchy

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-21 12:16:30 +05:30
Rayees Namathponnan
b6850c28dc CLOUDSTACK-3021: Correct the order of resources
Resources are ordered so that the cleanup succeeds.
domains are deleted after accounts under the domain are removed.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-19 09:28:16 +05:30
rayeesn
2f345c5b4d test_accounts.TesttemplateHierarchy;ostype added
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-16 11:10:37 +05:30
Prasanna Santhanam
8bc72ad55c Unskip all skipped tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-10 10:04:52 +05:30
Prasanna Santhanam
54ac779b8f Fix all occurrences of account.account
Fixes the dereference of account objects with account.account. This is
to conform to recent library changes in Marvin

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-20 22:59:52 +05:30
Prasanna Santhanam
a37fa39fe7 multiple fixes to regression tests
- remove references to account.account
- remove ostypeid references
- correct zone.networktype
- correct storage_motion assert. skip on invalid environmetn

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-16 10:00:44 +05:30
Nitin Mehta
c11dbad9c9 merge master 2013-05-11 15:28:43 +05:30
Prasanna Santhanam
d0108b8132 Fixing the incorrect zone typo
zone.networktype reference corrected as part of commit
5ee3cc41fecb08b0dba16341fef12684a50ecc98
2013-04-21 12:33:00 +05:30
Talluri
5ee3cc41fe CLOUDSTACK-2032: populate mode in the services dict from the list zones instead of hard coding
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-04-17 19:40:13 +05:30
Talluri
9342f561f7 CLOUDSTACK-1530: Fix integration test scripts in the components folder for imports and ostypeid Fix the integration scripts for nose import and ostypeid corrections
from nose.plugins.attrib import attr

"ostype": 'CentOS 5.3 (64-bit)',

        template = get_template(
                            cls.api_client,
                            cls.zone.id,
                            cls.services["ostype"]
                            )

Signed-off-by: Talluri <Srikanteswararao.Talluri@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-06 13:45:07 +05:30
Prasanna Santhanam
802ddd43ca Summary: Moving the test integration libraries into marvin for CLI work
Detail: Integration tests use these libraries (base,utils,common) for
simplifying the usage of the API. These define the verbs of each
entity's usage (create, delete, add etc). For the CLI to present the
simplified API we'll leverage the integration libraries.

+ Fixes to setup-test-data.sh - kvm and xen each use a different version
of the built-in Cent OS template, 5.5 and 5.3 namely.

At a later point the setup-test-data script needs to be obsoleted.
ostypeids in tests should directly be determined from listOsTypes API
calls

Signed-off-by: Prasanna Santhanam <tsp@apache.org> 1351520707 +0530
2012-10-29 20:23:02 +05:30
Prasanna Santhanam
ce59b31c8d Additional tests in various areas 2012-09-12 18:48:33 +05:30
Prasanna Santhanam
cef2ad170f Adding more classifications
- maintenance (host goes to maitnenance)
- multihost, multizone, multistorage
2012-09-12 18:48:33 +05:30
Prasanna Santhanam
bb8016e08b Applying tags as attribute decorators for nose 2012-09-12 18:48:32 +05:30
Prasanna Santhanam
b433b1afa6 Various fixes to tests
- Configuration fixes in Security groups and Egress rules
- Fixing white spaces in component test suite
2012-09-12 18:48:31 +05:30
Prasanna Santhanam
8d74305707 Adding tags that identify deployment configurations against test cases
* advanced - Advanced Zone only
* basic  - basic zone without SecurityGroups
* sg - basic zone with security groups
* eip - basic zone with EIP/ELB
* advancedns - Advanced Zone with NetScalers
2012-09-12 18:48:30 +05:30
Prasanna Santhanam
cddcc097b9 Fixing the remoteSSHClient imports, migrate VM, SSVM and router tests 2012-09-12 18:48:30 +05:30
David Nalley
7b7d51cecd apply chip childers licensing patches for the test directory
https://reviews.apache.org/r/5444/
2012-06-26 11:19:58 -04:00
Prasanna Santhanam
4fbf6bb95a Package imports for remoteSSHClient were not correct 2012-05-23 12:24:38 +05:30
Prasanna Santhanam
e29b0dafb6 Moving smoke tests and component tests into the test folder
Reviewed-by: pychecker
2012-05-17 17:01:49 +05:30