Sowmya Krishnan
7551d8b1a9
CLOUDSTACK-3693 Fix more account objects
2013-07-23 13:58:02 -07:00
Sowmya Krishnan
cfffe63afb
CLOUDSTACK-3697 LB rule clean up already done in cleanup project
2013-07-23 13:56:39 -07:00
Sheng Yang
9c0620f71e
Automation: Fix different names for cleanup
2013-07-23 13:14:34 -07:00
Sheng Yang
a7359708a3
Automation: Fix typo in test_redundant_network_rules
...
It result in failed to setUp and clean up.
2013-07-23 12:23:24 -07:00
Sheng Yang
49b44e4cd7
Automation: Fix enormous missing tearDown() for test cases
...
This result in countless test case failure because many test case units didn't
clean up after it.
The regression test result should be improved quite a bit after this change.
2013-07-23 12:10:48 -07:00
Sowmya Krishnan
1cd435e25a
Fixed account objects CLOUDSTACK-3726
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 20:51:03 +05:30
Sanjay Tripathi
a06b3f40eb
CLOUDSTACK-3724: Test case "test_vpc_vms_deployment.py" failed to find network offering.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 20:32:48 +05:30
Sanjay Tripathi
6b2c9bf3ae
CLOUDSTACK-3689: Test case test_accounts.TesttemplateHierarchy.test_01_template_hierarchy failed during ListTemplate call.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 18:01:42 +05:30
Prasanna Santhanam
c44fa2cc20
CLOUDSTACK-3678: Multiple fixes to shared network tests
...
- No need to cleanup offerings as they are lightweight entities
- Cleanup order changed to clean accounts, networks and then the domains
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 18:00:23 +05:30
Prasanna Santhanam
f05118b5b0
CLOUDSTACK-3728: same issue as CLOUDSTACK-3719
...
Make the size explicit parameter to random_gen() for snapshot data
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 18:00:23 +05:30
Sheng Yang
ec3466b276
CLOUDSTACK-3643: Automation: Fix VPC test cases
...
Also add a timeout for network connection testings.
Ideally this timeout should be around 30s or even less, but keep it at 60s for
now for safe.
2013-07-22 18:45:09 -07:00
Girish Shilamkar
b44c620850
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>
2013-07-22 22:53:09 +05:30
Sanjay Tripathi
7d6c091c05
CLOUDSTACK-3695: test_add_user_to_project failed with missing attribute "email".
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 983b7c62a464af94aabf0686671c986025a19788)
2013-07-22 22:53:09 +05:30
Prasanna Santhanam
d0695c1ffc
CLOUDSTACK-3672: Multiple minor fixes to tags tests
...
- SourceHost is an id
- Invalid format in debug() message corrected
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 22:53:09 +05:30
Prasanna Santhanam
3ac0e95ffb
Minor fixes to the test_accounts
...
when an account is deleted listAccounts raises an exception.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 22:53:08 +05:30
Sheng Yang
d672272a77
CLOUDSTACK-3643: Automation: Fix test_vpc_network.py
...
1. Port 80 won't help on ICMP
2. RvR doesn't support VPC now.
2013-07-21 22:21:17 -07:00
Sheng Yang
6140be1988
CLOUDSTACK-3643: Automation: Fix wrong network acl rule for ping
2013-07-21 22:21:17 -07:00
sailajam
d79066dfb1
CLOUDSTACK-3636: Fix invalid condition to check for empty response for private service offerings
2013-07-22 10:38:14 +05:30
Sanjay Tripathi
5eaec0a5e0
CLOUDSTACK-3620: [Automation] API removevpnuser failed, in test case test_project_usage.TestVpnUsage.test_01_vpn_usage.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ecfeaa1037 )
2013-07-20 12:21:07 +05:30
Sheng Yang
182de56743
CLOUDSTACK-3643: Fix wrong protocol type and test case sequence
2013-07-19 19:26:38 -07:00
Prasanna Santhanam
19bdef027d
CLOUDSTACK-3644: Failed to pass apiclient to public ip delete
...
Test VPC Release IP assigned to LB rule fails because we don't pass in
the apiclient to it.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-19 17:45:38 +05:30
Prasanna Santhanam
ea5d487f50
CLOUDSTACK-3655: RvR tests fail when handling switchover
...
During switchover of master->backup->master, the rvr goes through
UNKNOWN, FAULT, MASTER/BACKUP. In case of improper transition the state
is FAULT. Include additional state check in the tests.
2013-07-19 17:45:38 +05:30
Prasanna Santhanam
62bf8082f4
CLOUDSTACK-3655: RvR fails with unexpected state
...
The guestcidr is no longer specified directly. Use the netmask and
gateway combination to create custom cidr network
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-19 17:45:38 +05:30
Prasanna Santhanam
a250fca4be
separate the shared network test for network offerings
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9d07f899c8 )
2013-07-19 13:52:12 +05:30
Prasanna Santhanam
0c625bb3f8
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>
(cherry picked from commit 04d9d209ad )
2013-07-19 13:52:09 +05:30
Sowmya Krishnan
c03296808b
Fixed ostype CLOUDSTACK-3645
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 78ac22e157 )
2013-07-19 11:17:29 +05:30
Prasanna Santhanam
5d3856911e
Fix typo in spelling Afifnity -> Affinity
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 18:13:58 +05:30
Prasanna Santhanam
d6fc6577ef
remove tag used while debugging
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 18:13:58 +05:30
Prasanna Santhanam
06f5f5ba44
remove waits during claenup
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 18:13:58 +05:30
sailajam
3385b200fa
CLOUDSTACK-3596: Domain ID missing to deploy VM request . Included Domain id
...
(cherry picked from commit f5bd253b2b )
2013-07-18 18:13:57 +05:30
Prasanna Santhanam
296c2f6a70
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>
2013-07-18 15:01:32 +05:30
Prasanna Santhanam
8bc3757e80
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>
2013-07-18 14:59:35 +05:30
Sanjay Tripathi
52fa8532bb
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>
2013-07-18 14:57:03 +05:30
Prasanna Santhanam
6a185e2939
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>
(cherry picked from commit 22cb5be8b6 )
2013-07-17 19:27:33 +05:30
Girish Shilamkar
8e7c1aa133
CLOUDSTACK-3586: Fixed regression test cases for Affinity Groups
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 234db0561f )
2013-07-17 19:27:33 +05:30
ashutoshkelkar
79009dbba6
CLOUDSTACK-2273: cleanup using user api client for domain admins
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9f9510be91 )
2013-07-17 19:27:33 +05:30
Sowmya Krishnan
a13b8b4e59
Fixes CLOUDSTACK-3582
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cfd892fc3b )
2013-07-17 19:27:33 +05:30
SrikanteswaraRao Talluri
d3b6902387
Fixed arguments in the format string in the debug message.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2cec9f61fbce596706d46511ccc2ca3edb382321)
2013-07-17 12:35:01 +05:30
SrikanteswaraRao Talluri
dd5bac646b
change all instances of account.account to acccount.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d275beb7c1dab7522ae3cc278f7944afc0ba415d)
2013-07-17 12:34:53 +05:30
Sowmya Krishnan
dee2b98338
CLOUDSTACK-3582: Add sleep so Netscaler recognizes the service to be up
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit bd629a5bec3f33dd51d0e445d402ae7ce3ba3484)
2013-07-17 12:34:48 +05:30
Sowmya Krishnan
2a388e64e7
Fix typo netscaler_1 in TestAddMultipleNSDiffZone
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 51b7f5de91 )
2013-07-17 12:34:41 +05:30
Prasanna Santhanam
088c1e2a46
ostypeid references removed
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-11 16:43:37 +05:30
Prasanna Santhanam
bae28c008d
do not wait for cleanup
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-06 20:18:27 +05:30
Prasanna Santhanam
620ed6e0f1
do not wait for cleanup
...
simply cleanup and exit and network.gc will happen later
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-06 19:19:02 +05:30
Prasanna Santhanam
1a462d2028
uncomment the cleanup.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9ba36fd173 )
2013-07-03 21:44:56 +05:30
Prasanna Santhanam
614d42dda2
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>
(cherry picked from commit 9f0c9ee20c )
2013-07-03 21:44:56 +05:30
Prasanna Santhanam
cb1d6eaa0e
Fix attr plugin import and class reference
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit e7fe43567bef589a128a03f49db8cf8e7ebd7b3c)
2013-06-30 21:43:39 +05:30
Prasanna Santhanam
154c24e561
Fix tab/space issues
...
Several test failures occurred due to tab issues
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c7315975d2 )
2013-06-30 13:21:08 +05:30
Prasanna Santhanam
8244ae3ab6
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>
(cherry picked from commit 2a51c3e2c9 )
2013-06-30 12:52:38 +05:30
rayeesn
7791454516
Reduced resource usage in vpc test cases
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit e14f355a0b )
2013-06-30 11:17:14 +05:30