658 Commits

Author SHA1 Message Date
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
Gaurav Aradhye
e25cbd66d2 CLOUDSTACK-3168: Change in try_ssh function
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 15:06:22 +05:30
Prasanna Santhanam
8442e35a79 tearDownClass and not teardown
Include the affinity group in the deletion/cleanup

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit af9a8de9019d2759fb121dfd0230b8cfbe1850ea)
2013-07-18 15:05:57 +05:30
Prasanna Santhanam
c0de2c5857 Delete the affinity group by id and not name
Adding some docstrings to the tests so the test runner reports them.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 296c2f6a7018cc6d6ee94262600b71847965cbfd)
2013-07-18 15:05:57 +05:30
Prasanna Santhanam
c3a04b63a7 CLOUDSTACK-3619: Cleanup of volume is not required as gc takes care.
We don't need to delete the volume resource as part of cleanup as the
storage gc is expected to cleanup orphaned volumes in deleted
accounts/projects.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8bc3757e80d20575d1eeee530309ab61c02857d8)
2013-07-18 15:05:56 +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
Sanjay Tripathi
d52d2c8505 CLOUDSTACK-3618: When project account does not exist, API now throws exception
API call listprojectaccounts failed, and test case
test_projects.py:test_08_cleanup_after_project_delete failed due to
this

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 52fa8532bb2821f9b5472e713a905bc6b7f712b5)
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
22cb5be8b6 CLOUDSTACK-3592: Fix project email reference.
Emails belong to user's within accounts. Refer to the first user within
the account and use his email for account invites.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 19:26:21 +05:30
Girish Shilamkar
234db0561f CLOUDSTACK-3586: Fixed regression test cases for Affinity Groups
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 19:23:58 +05:30
ashutoshkelkar
9f9510be91 CLOUDSTACK-2273: cleanup using user api client for domain admins
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 19:23:57 +05:30
Sowmya Krishnan
cfd892fc3b Fixes CLOUDSTACK-3582
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 19:23:57 +05:30
SrikanteswaraRao Talluri
5fbec76c8a Fixed arguments in the format string in the debug message.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 12:36:27 +05:30
SrikanteswaraRao Talluri
3a60e56529 change all instances of account.account to acccount.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 12:36:27 +05:30
Sowmya Krishnan
2910f9058d CLOUDSTACK-3582: Add sleep so Netscaler recognizes the service to be up
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 12:36:27 +05:30
Sowmya Krishnan
51b7f5de91 Fix typo netscaler_1 in TestAddMultipleNSDiffZone
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-17 12:14:11 +05:30
Prasanna Santhanam
535903f928 ostypeid references removed
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 088c1e2a46b2758e2a0cb2ab107a6fa83a3c7c73)
2013-07-11 16:45:53 +05:30
Prasanna Santhanam
3f5c1c6da3 CLOUDSTACK-3384: Fix the vlan range < 4096
VLAN ranges beyond 4095 are properly handled. Fix the test to accomdate
this change

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-11 09:41:17 +05:30
Prasanna Santhanam
6735532765 do not wait for cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-06 20:18:23 +05:30
Prasanna Santhanam
f337fed1ec do not wait for cleanup
simply cleanup and exit and network.gc will happen later

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 620ed6e0f177bf32aa8d966cade07b93c7045dc9)
2013-07-06 19:19:33 +05:30
Prasanna Santhanam
d11681fb05 Network GC test moved to regression suite
The network GC test is a long running test as it waits for
network.gc.wait + network.gc.interval * 2 to verify that the network
cleanups happen corectly. This test is also part of the regression suite
and is redundant in the smoke. The test run takes 30m longer because of
this test included in smoke.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-05 18:52:47 +05:30
Prasanna Santhanam
9e2224dd49 print debug message for the waiting time
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 313177a51e70024f70d02b251afc3d5038a7e488)
2013-07-05 11:09:56 +05:30
Prasanna Santhanam
b3aa11ca39 Include definition for vm_3 in assign and load balance test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 21:45:00 +05:30
Prasanna Santhanam
da9552b7f3 move isAlmostEqual to utils
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 20:14:54 +05:30
Gaurav Aradhye
048cf5aae8 CLOUDSTACK-2884: Fixed test_04_change_offering_small
Added method to compare if two digits are almost equal within given range

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 20:14:54 +05:30
Prasanna Santhanam
248bea8b27 ipaddress is included
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 14:39:54 +05:30
Prasanna Santhanam
1e646629fe CLOUDSTACK-3354: Fix scalevm test
After you scale the vm, user is expected (oddly) to update the virtual
machine to signal that the PV tools are installed. This tells cloudstack
that the VM has been successfully scaled up/down.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c8ad4e5ced323d27862b7197a05f022f1a6efd4f)
2013-07-04 13:52:36 +05:30
Prasanna Santhanam
30039e121b Separate the loadbalancing tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 13:37:27 +05:30
Prasanna Santhanam
9ba36fd173 uncomment the cleanup.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-03 20:03:50 +05:30
Prasanna Santhanam
9f0c9ee20c CLOUDSTACK-3184: integration test for the updateVirtualMachine
updateVirutalMachine fails if no args are passed. this test also further
verifies that the displayname is changed when vm is started up
successfully.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-03 19:39:02 +05:30
Prasanna Santhanam
9d07f899c8 separate the shared network test for network offerings
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-03 17:10:53 +05:30
Prasanna Santhanam
04d9d209ad Removing the vlan selection in network offering test
Also do not wait for cleanup. Just send cleanup to server and proceed
further.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-03 17:04:20 +05:30
Prasanna Santhanam
43f31dcc66 Only print debug message when the planner fails to disperse
User Dispersion is a best effort of deployment planning and cannot
always guarantee the dispersion logic will work. However this does not
fail the deployment. Adjust the test so as to print a debug and exit
instead of fail.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-02 19:13:48 +05:30
Prasanna Santhanam
46bd2f8a28 Cleanup list corrected
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-02 17:00:55 +05:30
Gaurav Aradhye
b8d876fff8 CLOUDSTACK-3168: Resolved 'Object NoneType' issue.
Replaces ipaddress by ipaddress.ipaddress wherever required

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-02 15:33:20 +05:30
sanjeevneelarapu
479f89ca3c assertion fails because cluster could be None
Object is being used in one of the Assert statements however it is not
callable. Fixed it.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-02 15:22:05 +05:30
Prasanna Santhanam
34eabd957c Fix attr plugin import and class reference
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-30 21:44:16 +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
Prasanna Santhanam
2a51c3e2c9 Fix test_assign_vm to be discovered by nose testrunner
the nosetests runner will not discover tests unless the tests start with
the test_ prefix. When wrapping by the log_test_exceptions method the
name of the method changes and is not test_ anymore causing the runner
to skip the test. Included the __doc__ string as well so the runner can
report results correctly.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-30 12:52:17 +05:30
rayeesn
e14f355a0b Reduced resource usage in vpc test cases
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-30 11:15:32 +05:30
suresh sadhu
56a001d1c4 CLOUDSTACK-3023: added tags for all the test cases
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 10:03:51 +05:30
Prasanna Santhanam
8dc99d92b6 Fix reviewboard messup of python indentation
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-27 20:30:36 +05:30
Prasanna Santhanam
2af6db24ed cmds is not a list. just regular string to ssh
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-27 20:30:36 +05:30
Girish Shilamkar
3c0c6cb0b3 CLOUDSTACK-2254: Tests for Affinity and Anti Affinity rules
TestCreateAffinityGroup
TestListAffinityGroups
TestDeleteAffinityGroups
TestUpdateVMAffinityGroups
TestDeployVMAffinityGroups
TestAffinityGroupsAdminUser

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-27 09:51:29 +05:30
Gaurav Aradhye
1fc7aeaaea CLOUDSTACK-3060: condition for vmware while getting process status.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-25 12:30:18 +05:30
Harikrishna Patnala
f7b1d3d8d5 CLOUDSTACK-2916: admin is not able to login through UI after setting GP "cluster.cpu.allocated.capacity.notificationthreshold" to some string
CLOUDSTACK-2457:  No check for input values,special character,-ive values can be assigne to GLobal parameter "cluster.cpu.allocated.capacity.disablethreshold"

Added validation for float values and checking limit for weight based parameters by creating a set of parameters.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-06-24 20:00:09 +05:30
Sheng Yang
b0a3210695 Baremetal: Test cases 2013-06-21 09:48:40 -07:00
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