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 cb1a5a49f4 )
2013-08-02 16:47:35 +05:30
Gaurav Aradhye
6ef51b4159
CLOUDSTACK:3594: Fixes related to affinity groups tests. Included two test suites those were missed because there was no decorator for test cases
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3028f4223b2a00f80159b387e86211effcfeda11)
2013-08-02 16:00:05 +05:30
Prasanna Santhanam
16c1de84e0
Remove duplicate tests for stopped_vm
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 12:52:26 +05:30
Sheng Yang
f3dd0c6008
Automation: More fix fox test_vpc_vm_life_cycle.py
...
You cannot reach VPC router IP because you're in one of it's networks.
As well as adding missing import for test_vpc_network_pfrules.py
2013-08-01 18:52:30 -07:00
Rayees Namathponnan
07dcd6ffb1
Automation: fixed cleanup issue with test_vpn_user.
...
Reviewed-by: Sheng Yang <sheng.yang@citrix.com>
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-01 18:09:51 -07:00
Sheng Yang
6007380252
Automation: Reconnect the ssh for test_vpc_vm_life_cycle.py
...
Since VM are reused for test cases, we need to reconnect the SSH client to avoid
error like:
Failed to SSH into VM, SSH session not active
2013-08-01 18:00:23 -07:00
Prasanna Santhanam
912754249c
CLOUDSTACK-2921: Added more logging to attach failure
...
Also reduced size of attached disk to 1GB
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ba059dd0ae )
2013-08-01 22:23:28 +05:30
Prasanna Santhanam
7b352603bd
CLOUDSTACK-2921: Fix the change service offering test on stoppedvm
...
There is no need to attach a volume to the VM when doing the
changeserviceOffering test. Condensed the test to verify that the VM's
offering is changed successfully when stopped and reflects when VM is
started.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35492a3668 )
2013-08-01 21:54:43 +05:30
Prasanna Santhanam
e8594a22ef
CLOUDSTACK-3865: Additional debug logging for size mismatch
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 76764e115d311611096fd5df6ce849c12b22ed7f)
2013-08-01 21:18:45 +05:30
Prasanna Santhanam
a2dc4b1ca9
CLOUDSTACK-3989: We don't hold the vm object
...
VirtualMachine.list( only gives the list of vms but not the vm object as
returned by VirtualMachine.create( any operations on the listed VMs then
fails. Explicit call to startVirtualMachine as in setUpClass fixes this.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f064ad22dc )
2013-08-01 16:43:25 +05:30
Prasanna Santhanam
eb5099a2a2
Include the exception from urllib in wget test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 16:23:16 +05:30
Prasanna Santhanam
b303fd3428
CLOUDSTACK-3999: Fix the skipTest typo
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 16:10:57 +05:30
Sheng Yang
bb95624708
Automation: More fix for test_vpc_network_lbrules.py
2013-07-31 23:14:50 -07:00
Sheng Yang
c92cb4f3d0
Automation: Removing the template's UUID
...
My bad...
2013-07-31 22:41:47 -07:00
Sheng Yang
6ebf7e273d
Automation: Fix test_vpc_network_lbrules.py
2013-07-31 22:34:22 -07:00
Sheng Yang
7e9e804484
Automation: Fix test_vpc_network_pfrules.py
...
Need to wait VM to boot up before stop the VR.
Also test 4 is identical to test 3, fix it.
2013-07-31 19:09:45 -07:00
Sheng Yang
b0dda92025
Automation: Fix test_vpc_routers.py
...
Account cannot be cleaned per test case since it's setup in setUpClass()
2013-07-31 15:03:58 -07:00
Sheng Yang
7882ef512c
CLOUDSTACK-3864: Fix test_blocker_bugs.py for firewall
...
Currently we're using enable/disable static nat rather than create IP forwarding
command. The list of StaticNAT won't work.
Also change to use API to verify the rules rather than look into db directly.
2013-07-30 19:04:35 -07:00
Sheng Yang
e4f8068ef1
CLOUDSTACK-3826: Automation: Fix test_vpc_routers
...
1. You cannot check routers after your destroy them
2. You cannot use the old value in checking migration status.
3. You cannot upgrade VR to a non-system offering.
2013-07-30 16:52:53 -07:00
Prasanna Santhanam
e78f93224f
Fix url for upload volume test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d0a851ec5de261c83babd94a07dd1091f804110d)
2013-07-30 15:49:35 +05:30
Prasanna Santhanam
8ca5097752
CLOUDSTACK-3930 : Add cleanup
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 308fa41416dc37b4651087c8e30da31a0e9a63d3)
2013-07-30 13:51:54 +05:30
Prasanna Santhanam
1efa542433
CLOUDSTACK-3929: Remove references to unittest.
...
Skip is done using cloudstackTestCase inheriting from unittest as
self.SKipTest
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 797450a5ba )
2013-07-30 12:41:18 +05:30
Sheng Yang
16c3d21eec
Automation: add object to cleanup set immediately after creation
...
Otherwise it's possible that the later failure would prevent the object from
been clean up.
2013-07-29 17:15:34 -07:00
Gaurav Aradhye
3a3145507d
CLOUDSTACK-3841: Fixed test case issue. The exception raised earlier was valid behaviour, added missing assertRaiss statement
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 67c96d419d )
2013-07-29 19:57:33 +05:30
Prasanna Santhanam
dd1717883e
remove vpc offering from cleanup.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 83f4c3289a )
2013-07-29 16:38:15 +05:30
Prasanna Santhanam
e4de46e4b1
CLOUDSTACK-3901: Test for vpc offerings
...
- Fix the test that ensures vpc offerings cannot be created with
firewall service
- CLOUDSTACK-3902 blocks the fix for vpc offerings created without
source nat service. Without source NAT VPC creation should fail.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 16:21:07 +05:30
Prasanna Santhanam
098c2db4b7
CLOUDSTACK-3900: Remove the offering that is deleted before cleanup
...
One of the VPC offerings (4) is deleted in the test before moving into
teardown. This offering should be removed from cleanup.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d66edb5e2b )
2013-07-29 15:56:26 +05:30
Sowmya Krishnan
eae874918d
CLOUDSTACK-3744 Fixed order of cleanup objects, removed offerings cleanup
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 08c82883f6 )
2013-07-29 15:35:29 +05:30
Prasanna Santhanam
ade13bb773
Remove duplicate while-loop retries during ssh
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 53feae08de )
2013-07-29 14:52:07 +05:30
Prasanna Santhanam
9c36ad722b
CLOUDSTACK-3795: When listing the publicipaddress provide assocNtwkId
...
PublicIpAddresses.list takes an associatednetworkid which lists all the
public ip addresses in the deployment's physical network associated with
the vnet.
Various tests failed because of `networkid` used in place of
`associatednetworkid`
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b88fe8233af699786de6d08a6bc981546538898d)
2013-07-29 14:38:37 +05:30
Prasanna Santhanam
76c90efa40
Removing invalid test for accounts
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f83187585e )
2013-07-28 17:00:48 +05:30
Prasanna Santhanam
3fec71e748
Fix domain deletion in test_project_resources.py
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a019f34572 )
2013-07-28 11:56:50 +05:30
Sheng Yang
c576917107
Automation: Fix endless silly test cases
2013-07-26 00:20:01 -07:00
Sheng Yang
5077ed7e8b
Automation: Fix test_redundant_router.py
...
1. Many state check need to wait for while for status to update
2. BACKUP router would still have eth2 and IP, but it's not enabled. Fix the
case.
2013-07-25 20:47:16 -07:00
Prasanna Santhanam
23e7753741
Fix bunch of affinity group tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2b0a972676 )
2013-07-25 22:51:35 +05:30
Prasanna Santhanam
1d5feb158b
CLOUDSTACK-3796: Fix the missing attribute for zoneid
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 15:54:26 +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
29ee68821e
Automation: Fix test_vpc_network_staticnatrule.py
...
And remove NAT rule part from static nat test case. Remove static nat part from
port forwarding test case.
2013-07-24 18:50:20 -07:00
Sheng Yang
2b1266e276
Automation: Fix test_vpc_vms_deployment resource release
...
The account may be failed to be deleted in the test case, so we still need to
clean it up after.
2013-07-24 16:55:03 -07:00
Sheng Yang
7150afab20
Automation: Redundant routers don't have the same link local IP
...
It's invalid test case.
2013-07-24 16:09:34 -07:00
Sanjay Tripathi
cd51303f20
CLOUDSTACK-3696: Test case test_project_limits.TestResourceLimitsProject.test_06_volumes_per_project failed due to volume usage exceeded for project.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5009d3b82a )
2013-07-24 23:05:17 +05:30
Sowmya Krishnan
d0971ce806
Add wait while Netscaler recognizes service to be up
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a7df12edbf )
2013-07-24 22:43:13 +05:30
Prasanna Santhanam
64c120c0db
Fixing minor typos
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-24 18:04:29 +05:30
Prasanna Santhanam
368f32fa25
CLOUDSTACK-3698: Ensure VM is accessible before stopping VR
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-24 18:04:29 +05:30
Prasanna Santhanam
2b8f1bde8f
CLOUDSTACK-3724: optimizing cleanup
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8b7d00ee4de53d15a1d495c3c1fdd166b1651460)
2013-07-24 16:53:32 +05:30
Likitha Shetty
2424dcf62e
CLOUDSTACK-3743. test_tags.py:TestResourceTags not tearing down the account.
2013-07-24 11:18:43 +05:30
Sheng Yang
35f4aa30c8
Automation: Add sleep for RvR state checking
...
Because the mgmt server would update RvR state only every 30 seconds by default.
2013-07-23 22:45:58 -07:00
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
Sowmya Krishnan
1898fa5046
CLOUDSTACK-3693 Fix more account objects
2013-07-23 13:59:20 -07:00