Gaurav Aradhye
8350a6bd4c
CLOUDSTACK-4256 - Fixed shared network test cases
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:40:00 +05:30
Gaurav Aradhye
0a8bce5cf6
CLOUDSTACK-4647: Fixed snapshot_gc test case and common util function is_snapshot_on_nfs
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:37:08 +05:30
Girish Shilamkar
56ccb2835b
Automation Tests for HA Proxy Stickiness
...
Reviewed-by: Suresh Sadhu <Suresh.Sadhu@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 12:14:01 +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
Chandan Purushothama
2ecf272dac
test_stopped_vm.py tries to clean up ISOs that are already deleted as part of Account Deletion. Do not add account owned iso objects to the cleanup list.
2013-10-14 17:21:22 -07:00
sanjeevneelarapu
f6c6f03fad
CLOUDSTACK-702: 1. Moved common code to setupClass method 2. Added a test to deply vm in new CIDR and verify dns service on alias IP
...
Conflicts:
test/integration/component/maint/test_multiple_ip_ranges.py
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 1efd544ee27fd0c7c9eac4649568647c0dcbc85b)
2013-10-08 16:26:18 +05:30
Gaurav Aradhye
98daad9300
CLOUDSTACK:4537 - Fixed shared network and vpc test cases
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-07 21:42:45 +05:30
Girish Shilamkar
fbf057a323
CLOUDSTACK-4262: Fix TestVPCNetworkGc.test_01_wait_network_gc
...
As per the test plan, after waiting for network gc
LB rules should be cleared. Added that check instead of router
being in stopped state.
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit abdb84bb05abc9f2bd102bca1c1b34865f34d771)
2013-10-07 21:41:06 +05:30
Sowmya Krishnan
2621602787
CLOUDSTACK-4776: New Tests for Netscaler as external LB provider in VPC
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 76c85d0ce854aa7d868ba9e018382237c88fe42c)
2013-10-04 17:41:24 +05:30
venkataswamybabu budumuru
59ad4a9ab5
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
...
Have added a test for transferring portable ip across different works with in the same zone.
(cherry picked from commit 32cdffdd629134864220fbc400d3d28f0e6549c2)
2013-10-03 20:01:22 +05:30
Sowmya Krishnan
a5ede3af7f
CLOUDSTACK-4696 Handle Netscaler Provider enable for both zones
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-01 11:18:30 +05:30
SrikanteswaraRao Talluri
55ef4b8c3c
CLOUDSTACK-4646: Increase the wait time for the routers to go into stopped state
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 15:14:41 +05:30
SrikanteswaraRao Talluri
65da24c35e
CLOUDSTACK-4691: move egress rules host maintenance tests to maint folder
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 6b28e03d6d )
2013-09-30 15:12:20 +05:30
sanjeevneelarapu
ff2bd3d443
CLOUDSTACK-702: Adding test for deploying vm in new cidr 1. Add guest ip range in new cidr and deploy vm in that
...
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 14:54:31 +05:30
Girish Shilamkar
a726bfdba5
Storage type was set to local due to which tests failed. Removed it.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-19 19:10:44 +05:30
Ashutosh K
5b5a617544
Added missing test for VPC load balancing rule from old QA repo to cloudstack repo
...
def test_04_VPC_CreateLBRuleInMultipleNetworksVRStoppedState
Since VPC now only allows load balancing on a single tier the test case
has been updated to check that condition
Ref : http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/configure-vpc.html
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-18 21:48:12 +05:30
Girish Shilamkar
d4dc4f7e70
CLOUDSTACK-4637: Add 30sec sleep before router is ssh'd
...
Egress rules testcases access vm via router. Sleep before
accessing router else the expect fails since router is not
accessible. Also use router.hostid instead of vm.hostid
to identify the host.
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 7d06e77ed9 )
2013-09-18 21:41:46 +05:30
Girish Shilamkar
dd4b1cbf44
CLOUDSTACK-1800: Add automation tests for reset sshkey to access VM
...
Reviewed-By: Harikrishna Patnala <harikrishna.patnala@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-18 09:33:01 +05:30
Anshul Gangwar
955408166c
CLOUDSTACK-2266: marvin tests for IP Address reservation within a network it also adds the ipaddress parameter to virtual machine's create method in base.py
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-18 09:21:24 +05:30
Gaurav Aradhye
51da534cce
CLOUDSTACK-4634: Fixed issue arising due to wrong indentation
2013-09-16 15:59:51 +05:30
Gaurav Aradhye
4b79858c01
CLOUDSTACK: 4635 - Fixed test case issues due to wrong indentation
2013-09-16 15:55:07 +05:30
Gaurav Aradhye
f1f5f2eec1
CLOUDSTACK: 4640 - Fixed indentation issues in function createInstance
2013-09-16 15:39:42 +05:30
Gaurav Aradhye
ae1cebf4e9
Automation - Portable Ip feature test cases
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 23c759ec35 )
2013-09-13 17:35:08 +05:30
Gaurav Aradhye
f946747091
Automation: Resource Limits - memory limits test cases
2013-09-13 15:34:12 +05:30
venkataswamybabu budumuru
2ea66124f2
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
...
Corrected Indentation issues.
2013-09-12 18:33:41 +05:30
venkataswamybabu budumuru
4356ecc627
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
...
Skipped the test "test_createSharedNetwork_usedVlan" as there is another test
(test_createSharedNetwork_usedVlan2) which is covering the righ scenario.
moreover this test is creating issues for couple of other tests due to
incompleteness
(cherry picked from commit 237f8ec702 )
2013-09-12 18:26:31 +05:30
sanjeevneelarapu
ce479ef0d2
CLOUDSTACK-702: Tests for Multiple IP Ranges 1. Removed advanced tag from all the tests. At the movement scripts support only basic zone 2. Added a test to deploy guest vm after adding ip range in new CIDR
...
CLOUDSTACK-702: Removed test for deploying vm after adding new cidr
1.This test would block parallel execution of remianing tests
2.Removed list_Routers proc and unused code
3.Added few more debug statements
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit daaec56d40 )
2013-09-06 15:27:59 +05:30
sanjeevneelarapu
883b9802d4
CLOUDSTACK-4203: Adding a test for migrating volumes of stopped vms to test_stopped_vm.py
...
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
s
(cherry picked from commit dfee47e3b6 )
2013-09-05 18:54:33 +05:30
Ian Duffy
bdba0ddeed
Bring up to date with master
2013-08-31 00:25:48 +01:00
Prasanna Santhanam
3c38a1cd9f
cpu_limits module of tests
2013-08-29 14:30:55 +05:30
Prasanna Santhanam
58bcce0142
Formatting and tab errors in the new test suites for limits
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-29 14:27:34 +05:30
Gaurav Aradhye
95e4b7afa8
Automation: Limit Resources - Adding tests related to CPU limits
...
Reviewed-by: Sanjay Tripathi <Sanjay.Tripathi@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-29 14:13:39 +05:30
Girish Shilamkar
c6f0d46911
CLOUDSTACK-4407: Use extractTemplate API to get hypervisor specific template information
...
Template url, hypervisor and format were defined in Service class to be Xenserver specific
and therefore registering a new template failed on Vmware and KVM.
Fixed this to get hypervisor specific info for registering new template.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 20256706b376551fe8993ee2e73c61df31dcb6de)
2013-08-29 14:10:54 +05:30
venkataswamybabu budumuru
2abb1cb282
CLOUDSTACK-4378 : Fixing the typo in Apache License Text
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-08-27 15:23:04 +05:30
venkataswamybabu budumuru
fab3185187
CLOUDSTACK-4378 : Existing tests were deploying VMs as admin and creating
...
affinity groups as admin. There are few reason why this needs to be changed and
the reasons are as mentioned below
1. we usually create an account for each test and we run the test as the newly
created account and not as admin.
2. tests were failing during deployVirtualMachine step when they are run as
admin and if anyone during these tests create an additional isolated networks
as admin account .
(P.S: current deployVirtualMachine in the scripts is not taking the networkId
and hence it fails when there are multiple isolated networks because it doesn't
know which one to pick)
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 98dfd65291 )
2013-08-27 13:53:28 +05:30
Sowmya Krishnan
6334b738d0
CLOUDSTACK-4491: Added missing NS setup
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 239281a401 )
2013-08-27 12:13:46 +05:30
Sowmya Krishnan
f1c6535f6e
CLOUDSTACK-4510 Move NS scripts to appropriate suites and related common.py fixes
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f7df3ef9f1 )
2013-08-27 10:59:13 +05:30
Prasanna Santhanam
02e7630f1c
CLOUDSTACK-4452: Cleaning up the is_snapshot_on_nfs utility
...
- Pass in config and determine the mgmtsvr credentials
- remove the dir_paths param which is not reqd.
- pass all entities as uuids and convert to ids within the method
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-26 11:10:06 +05:30
Gaurav Aradhye
684573939f
CLOUDSTACK-4452 - Fixed method is_snapshot_on_nfs and moved it to utils
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35ee38385c )
2013-08-26 10:40:44 +05:30
Sowmya Krishnan
f724c91296
CLOUDSTACK-4487: No need to delete offerings or wait on offering cleanup
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit bc5b6ae0e4 )
2013-08-26 10:36:29 +05:30
Girish Shilamkar
6c73308d0c
CLOUDSTACK-4144: Add free vlan to shared network in TestVMLifeCycleSharedNwVPC
...
Shared network has to have specifyVlan = True. So changed it to True
and aded a function to get free vlan.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9ff40829a9 )
2013-08-24 10:06:22 +05:30
SrikanteswaraRao Talluri
08627aa753
CLOUDSTACK-4448: Fix test_03_RouterStartOnVmDeploy to stop all the pre-existing VMs before starting the test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4a8119c807 )
2013-08-23 12:39:49 +05:30
SrikanteswaraRao Talluri
c5165643f4
CLOUDSTACK-4447: Fix router tests by listing Routers for that account of type 'Isolated'.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit db673b2b9b )
2013-08-23 12:39:48 +05:30
SrikanteswaraRao Talluri
0454723f98
CLOUDSTACK-4425:Fix to attach uploaded volume to a stopped VM test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8762a0d0c6 )
2013-08-23 12:39:48 +05:30
Prasanna Santhanam
b3306497fe
CLOUDSTACK-4453: fetch host credentials from marvin config
...
Tests would fetch the credentials for the host to hop into router to
check for essential services. Each test would require to put in the host
information into the test data. Instead fetch the credential information
from the marvin configuration file.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4b546ce85d40098ade69c575316e76e25a422a12)
2013-08-22 20:20:16 +05:30
SrikanteswaraRao Talluri
c36cf73cfb
CLOUDSTACK-4437: Fix iso usage event count to match the number of image stores
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 502b2ff0f90f5b0e8741335643f7710ce650633f)
2013-08-22 12:39:42 +05:30
Prasanna Santhanam
197108c6a3
CLOUDSTACK-4442: Include a test for creating networks with sourcenat only
...
The test attempts to create a network with offering serving only
dhcp,dns and sourcenat. However the source NAT functionality itself
isn't tested as reported in the bug. So the test will pass.
TODO: come up with a way to test source nat without enabling additional
services for pf/staticnat
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 79df10ee24840dc7fe8fdb4ccbde240658a109fc)
2013-08-22 12:39:31 +05:30
Sowmya Krishnan
e4b5d4d62e
CLOUDSTACK-3927, CLOUDSTACK-3928: Fix NS scripts to add/remove NS device in setupClass/tearDown
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1c31ee22d4 )
2013-08-22 10:27:56 +05:30
Gaurav Aradhye
26705cf53f
CLOUDSTACK-4422: Corrected the wrong service paths
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cff832044043a361d360f775c7227a77ac99509a)
2013-08-21 15:42:52 +05:30
Prasanna Santhanam
eeb53d52ee
CLOUDSTACK-4225: Remove additional / in the nfs path
...
nfs://nfs-server://export/share ->
nfs://nfs-server:/export/share
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f056af8cbd )
2013-08-21 15:20:27 +05:30
Prasanna Santhanam
3a29c73447
CLOUDSTACK-4225: list the snapshot path on secondary store
...
list the snapshot on secondary store. avoid changing directories and
additional debug commands.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5b66677d74 )
2013-08-20 19:39:43 +05:30
Prasanna Santhanam
463afeef3b
CLOUDSTACK-4225: new_virtual_machine is not a attr of the test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3605280a2eb49c719c022d411fd90596c7a2a24e)
2013-08-20 19:33:33 +05:30
Gaurav Aradhye
ac77660864
CLOUDSTACK-4356: Added code for checking empty host, skip the test if no empty host found
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 17:31:24 +05:30
Prasanna Santhanam
9ed5083f9b
CLOUDSTACK-4257: Additional asserts for storage migration test
...
Test whether valid storage pools are listed and at least one pool is
available for migration.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a82f66e0fa )
2013-08-20 17:28:41 +05:30
Saksham Srivastava
ed745d3489
CLOUDSTACK-4257: [Automation] test_storage_motion test cases failed during with unexpected result in listStoragePool API call
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a9e45bf776 )
2013-08-20 17:28:41 +05:30
Sheng Yang
3c1b6c69be
Automation: Disable TestVMLifeCycleSharedNwVPC test suite
...
Rather than TestVMLifeCycleVPC.
Shared network's setup is wrong.
2013-08-19 11:25:37 -07:00
Prasanna Santhanam
0eb1690872
CLOUDSTACK-4340: Add more debug logging
...
VM (id) moves from host (id) to host (id)
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit da0bb63005 )
2013-08-19 15:42:37 +05:30
Prasanna Santhanam
aec34865ea
CLOUDSTACK-4396: Invalid case comparison leaves egress rule unprogrammed
...
Thereby failing the wget for the cloud-setup-guest-password script which
in turn fails the test.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8576b1ddc9 )
2013-08-19 15:18:04 +05:30
Prasanna Santhanam
f13a6a0deb
CLOUDSTACK-4225: Fix template references in setUpClass
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7768613edc )
2013-08-19 15:00:21 +05:30
Prasanna Santhanam
12380835b5
CLOUDSTACK-4394: remove cleanups for offerings
...
offerings do not need to be cleaned up
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b9c2471cfc5e051db4478783c6928f6e0c5a1f7a)
2013-08-19 14:39:43 +05:30
Ashutosh K
d5203b19e0
Additional tests for custom_hostname
...
- vm with existing displayname
- change display name post deploy
- deploy with unsupported chars in display name
- vm.instancename.flag = true and deploy vm
- vm.instancename.flag = false and deploy vm
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-15 10:46:29 +05:30
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 84e81df2a3 )
2013-08-15 10:44:43 +05:30
Ashutosh K
0d0409bddb
CLOUDSTACK-3594: New affinity group tests
...
- list all vms in affinity group
- delete an affinity group by id
- admin deletes affinity groups
- list affinity groups as admin
- list affinity groups by accountid/domainid
- list affinity groups by group id
- user deletes his affinity group
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 682e995a4a )
2013-08-15 10:38:37 +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
500545cb82
flaky RvR tests to run sequentially
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a04599b3ca )
2013-08-14 19:54:05 +05:30
Prasanna Santhanam
d771e3fa5b
CLOUDSTACK-3961: multi network test in VPC
...
Test delete network rules in a VPC. Multiple Fixes
- correct protocol ICMP->TCP
- Remove LB actions from non-lb network
- correct private gateway CIDRs to not overlap with vpc guest cidrs
- remove unrequired SSH on non-lb network
- typos
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 17:04:23 +05:30
Prasanna Santhanam
21d8982484
CLOUDSTACK-4252: Correct the cleanup order of resources
...
Apply a LIFO cleanup when deleting cloud resources
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9e7983ac18 )
2013-08-14 16:32:30 +05:30
Prasanna Santhanam
465adf984d
CLOUDSTACK-4258: Additional debug to the assertion
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 15:27:42 +05:30
Prasanna Santhanam
042f998db4
CLOUDSTACK-4262: Wait twice network.gc for vpcvr shutdown
...
Wait a little bit longer for the VpcVr to shutdown on network shutdown.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4ed5033a59c7aa5fe95f865c5fcbdba21c03616e)
2013-08-14 15:27:42 +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
Prasanna Santhanam
61b787975c
CLOUDSTACK-4283: remove hardcoded shared_vlan from test_shared_networks
...
SharedNetwork creation requires a pre-setup VLAN outside of the guest
VLANs defined during zone creation. Use a VLAN tag outside the guest
range as a shared network vlan to create shared networks.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35867ccbd90c824b4faae438dac99400babeff95)
2013-08-13 15:31:43 +05:30
Rayees Namathponnan
ab254a5131
TestVMLifeCycleSharedNwVPC need to disable since its failing, netscaler configuration need to change
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-12 17:20:01 -07:00
Prasanna Santhanam
59f944d7c3
CLOUDSTACK-3017: Add tags to Cisco ASA tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cdff1360674385e538cd9128160030f08588bda9)
2013-08-12 12:03:45 +05:30
SrikanteswaraRao Talluri
4bdaffb66a
CLOUDSTACK-4230: Fix the script to not to add egress rule if zone network type is not advanced
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8872af90d3d1014bf3fdfeb5f78652d5184f42cc)
2013-08-10 19:17:54 +05:30
Prasanna Santhanam
472370f888
CLOUDSTACK-4225: change to directory where snapshots are mounted
...
return back to HOME_DIR and unmount the secondary storage
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 99329dfa4a )
2013-08-10 16:18:59 +05:30
Prasanna Santhanam
2100789f23
Fix indent to stop tabnanny from complaining
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 78c802da1343abe2c82f9a7dfb7903f81287abe9)
2013-08-09 15:55:13 +05:30
Prasanna Santhanam
75cd6cce40
Fix VPC test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 12:08:27 +05:30
Prasanna Santhanam
b3fb75e6c6
Fix redundant router deployment tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 12:08:16 +05:30
Prasanna Santhanam
bad72a0aeb
Fix volumes tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 12:08:02 +05:30
Prasanna Santhanam
ed70eaf2ce
include test for volumes created in non-root domains
...
Test verifies that volumes in non-root domains are visible to the user
that created them.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 22:20:04 +05:30
Girish Shilamkar
f1734ed71d
CLOUDSTACK-4144 Make specifyVlan to false for shared network
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 16:59:49 +05:30
Saksham Srivastava
ac6b26ff81
CLOUDSTACK-4021:[Automation] TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication failed to deploy VM
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8191f5c690 )
2013-08-08 16:57:47 +05:30
Prasanna Santhanam
ceec1fb243
Fix the kwargs passed in as dict to listVirtualMachines
...
listVirtualMachines queried using tags needs the tags (key,value) to be
passed as a dictionary.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c2840b93f5 )
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 12:09:32 +05:30
Sheng Yang
cab72c0193
Automation: Fix test_redundant_router_network_rules.py
...
Stop VR after VM booted up.
2013-08-07 16:08:59 -07:00
Sheng Yang
8e395b2a89
Automation: Fix test_vpc.py
2013-08-07 15:51:06 -07:00
Prasanna Santhanam
d1c01a79a5
Fix missing key
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 22:52:45 +05:30
Girish Shilamkar
1a46bbd893
Test assumes storagetype to be local therefore test_egress_fw_rules fail.
...
Removed storagetype definition.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 20:30:52 +05:30
Gaurav Aradhye
a6076818e0
Automation: Affinity Groups- Removing invalid test case
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ae378940c3 )
2013-08-07 19:44:16 +05:30
Prasanna Santhanam
37b8775203
fix snapshots tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit baf0400124 )
2013-08-07 19:38:01 +05:30
Prasanna Santhanam
8ac1796226
Fix invalid references
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 16:10:53 +05:30
Prasanna Santhanam
70fdd43c84
Fix snapshot limit tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 79cd3df6fb )
2013-08-07 15:09:46 +05:30
Prasanna Santhanam
03439e497e
remove local path in cloud-set-guest-password script
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2d4e17e8d4 )
2013-08-07 14:48:21 +05:30
Prasanna Santhanam
fb58addc35
Fix snapshot GC test
...
Changes to object store removes SecondaryStorage host from the host
table. This affects the test where we identify the secondary storage nfs
host to login to where we verify if the snapshot is present on the
physical resource.
* added base classes for imagestore/stagingstore operations
* fixed the test to check only if NFS is used as backing store
TODO: Fix for s3 based storage layer
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4f973778bf6c2bfc7da2b8c785557e86f81af9d5)
2013-08-07 14:33:57 +05:30
Alena Prokharchyk
638f8e0046
CLOUDSTACK-4120: fixed automation script for resource tags
2013-08-06 12:54:50 -07:00
rayeesn
78bc6314ea
updated interface in netscaler config test script
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 22:03:09 +05:30
Prasanna Santhanam
14a889df36
Add missing sleep
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 22da47087b0ed67bb8bf30b92b1199cc67898150)
2013-08-06 19:55:29 +05:30
SrikanteswaraRao Talluri
c853426c76
CLOUDSTACK-4098: Fix the test which deploys a VM from password enabled template.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 64591e65be )
2013-08-06 18:46:44 +05:30
Prasanna Santhanam
31493d8d83
add cleanup list
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7f25510a280271a890a4db8d565fdc75316c66ae)
2013-08-06 16:58:18 +05:30
Prasanna Santhanam
c5054d8957
Fix egress rules offering - rvr not required
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b1e6188308d43183219e9844fa7465a66064c586)
2013-08-06 15:55:46 +05:30
Prasanna Santhanam
8d0f08a4b8
Egress Rules: Corrections to few areas
...
1. correcting the log_test_exceptions decorator so nose testrunner can
detect and document the running test
2. correct the wait for network cleanup -> network.gc
3. Remove commented skips
4. Sanitize host passwords
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 13:22:59 +05:30
ashutoshkelkar
c1f8dc982d
Adding Tests for Egress Firewall rules advance zone. Code review changes and added tests for RVR and DB table value checks
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 13:22:59 +05:30
Prasanna Santhanam
da1a79dab7
remove hardcoded vlan for shared network test
...
use a vlan outside of the vlans managed by cloudstack.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 22:05:21 +05:30
Prasanna Santhanam
f17e046319
Log the API exception for debugging
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 20:16:15 +05:30
Prasanna Santhanam
0561daa54d
No need to cleanup lightweight entities like offerings
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1670aeac360b591f513a76a0c77158672f3e387f)
2013-08-05 20:14:07 +05:30
Sheng Yang
498c18f654
Automation: Fix test_vpc_network_staticnatrule.py
2013-08-02 14:04:35 -07:00
Prasanna Santhanam
b8c01cfdd0
moving rvr deployment planning to maint suites
...
this suite performs enable/disable of pods/clusters in the zone causing
other tests to fail deploying VMs. Move it to sequential execution suite
in the maintenance tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 73de7646ffd289b779d5c45cfee84e07551c3a0c)
2013-08-02 22:23:44 +05:30
Prasanna Santhanam
51cacadead
vpn tags are not supported resource types
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 6f63817d07 )
2013-08-02 22:10:48 +05:30
Prasanna Santhanam
04cc1be58a
make name=value when calling publicipaddress
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 22:05:13 +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 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
Ian Duffy
eaa4143371
Merge LDAPPlugin
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-25 17:54:52 +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