Gaurav Aradhye
23c759ec35
Automation - Portable Ip feature test cases
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-13 17:27:57 +05:30
venkataswamybabu budumuru
1a20cb8270
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
...
Corrected Indentation issues.
(cherry picked from commit 2ea66124f2 )
2013-09-12 18:38:19 +05:30
venkataswamybabu budumuru
237f8ec702
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
2013-09-12 18:25:42 +05:30
sailajam
e546fe0e71
Merge branch '4.2' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.2
2013-09-12 10:59:47 +05:30
sanjeevneelarapu
daaec56d40
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>
2013-09-06 15:26:41 +05:30
sanjeevneelarapu
dfee47e3b6
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
2013-09-05 18:53:02 +05:30
Prasanna Santhanam
2575ded3f3
get host credentials from marvin configuration for ssvm test
2013-08-31 12:51:53 +05:30
Prasanna Santhanam
6022d69e21
cpu_limits module of tests
...
(cherry picked from commit a6117192f8e6d74227af70af29e0eee86868230f)
2013-08-29 14:30:17 +05:30
Prasanna Santhanam
fb9521c92f
Formatting and tab errors in the new test suites for limits
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f5eb81e669a8a454fc02b90a44c4ce8ffc7ac9ac)
2013-08-29 14:26:54 +05:30
Gaurav Aradhye
f585c605e2
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>
(cherry picked from commit 95e4b7afa8 )
2013-08-29 14:14:32 +05:30
Girish Shilamkar
de86e5e63d
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 12:38:34 +05:30
venkataswamybabu budumuru
89c3297e56
CLOUDSTACK-4378 : Fixing the typo in Apache License Text
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-08-27 15:24:54 +05:30
Sowmya Krishnan
239281a401
CLOUDSTACK-4491: Added missing NS setup
...
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-08-27 11:55:40 +05:30
Sowmya Krishnan
f7df3ef9f1
CLOUDSTACK-4510 Move NS scripts to appropriate suites and related common.py fixes
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-27 10:58:43 +05:30
Edison Su
a23322bf20
Merge branch '4.2-forward' into 4.2
2013-08-26 16:18:12 -07:00
venkataswamybabu budumuru
1bcd4de4e4
Revert "CLOUDSTACK-4378 : Existing tests were deploying VMs as admin and creating"
...
Accidentally pushed this change to 4.2 branch hence revertingt this change.
This reverts commit 73099f77c4 .
2013-08-26 20:03:15 +05:30
venkataswamybabu budumuru
98dfd65291
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>
2013-08-26 19:28:06 +05:30
venkataswamybabu budumuru
73099f77c4
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>
2013-08-26 19:09:24 +05:30
Jayapal
dd57226817
Marvin test cases for multiple ip address per nic
2013-08-26 17:11:45 +05:30
Prasanna Santhanam
81d489dc94
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>
(cherry picked from commit 02e7630f1c )
2013-08-26 11:11:30 +05:30
Gaurav Aradhye
35ee38385c
CLOUDSTACK-4452 - Fixed method is_snapshot_on_nfs and moved it to utils
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-26 10:40:19 +05:30
Sowmya Krishnan
bc5b6ae0e4
CLOUDSTACK-4487: No need to delete offerings or wait on offering cleanup
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-26 10:35:59 +05:30
Prasanna Santhanam
5f77493a79
local storage is not enabled on the zone
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-24 10:05:14 +05:30
Girish Shilamkar
9ff40829a9
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>
2013-08-24 10:05:14 +05:30
Prasanna Santhanam
e39156e4d6
CLOUDSTACK-4473: allow_egress referenced before assignment
...
When deploying with networkids allow_egress gets no default value. This
is a regression caused by fix for CLOUDSTACK-4418
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 17:03:19 +05:30
SrikanteswaraRao Talluri
4a8119c807
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>
2013-08-23 12:37:03 +05:30
SrikanteswaraRao Talluri
db673b2b9b
CLOUDSTACK-4447: Fix router tests by listing Routers for that account of type 'Isolated'.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 09:42:37 +05:30
SrikanteswaraRao Talluri
8762a0d0c6
CLOUDSTACK-4425:Fix to attach uploaded volume to a stopped VM test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 09:41:19 +05:30
Animesh Chaturvedi
06f28722b6
Updating pom.xml version numbers for release 4.2.0
...
Signed-off-by: Animesh Chaturvedi <animesh@Animesh-LinuxDev.citrite.net>
2013-08-22 17:15:42 -07:00
Prasanna Santhanam
69f6f49ae1
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>
2013-08-22 20:20:35 +05:30
SrikanteswaraRao Talluri
64460df554
CLOUDSTACK-4437: Fix iso usage event count to match the number of image stores
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 12:38:59 +05:30
Prasanna Santhanam
e2122b7230
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>
2013-08-22 12:38:50 +05:30
Sowmya Krishnan
1c31ee22d4
CLOUDSTACK-3927, CLOUDSTACK-3928: Fix NS scripts to add/remove NS device in setupClass/tearDown
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 10:06:51 +05:30
Gaurav Aradhye
b3921e5248
CLOUDSTACK-4422: Corrected the wrong service paths
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-21 15:43:23 +05:30
Prasanna Santhanam
f056af8cbd
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>
2013-08-21 15:19:25 +05:30
Prasanna Santhanam
5b66677d74
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>
2013-08-20 19:38:59 +05:30
Prasanna Santhanam
8b922b850c
CLOUDSTACK-4225: new_virtual_machine is not a attr of the test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 19:33:42 +05:30
Gaurav Aradhye
836f093610
CLOUDSTACK-4356: Added code for checking empty host, skip the test if no empty host found
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ac77660864 )
2013-08-20 17:31:53 +05:30
Prasanna Santhanam
a82f66e0fa
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>
2013-08-20 17:24:56 +05:30
Saksham Srivastava
a9e45bf776
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>
2013-08-20 17:24:56 +05:30
Sheng Yang
690bd57ed0
Automation: Disable TestVMLifeCycleSharedNwVPC test suite
...
Rather than TestVMLifeCycleVPC.
Shared network's setup is wrong.
2013-08-19 11:24:11 -07:00
Prasanna Santhanam
da0bb63005
CLOUDSTACK-4340: Add more debug logging
...
VM (id) moves from host (id) to host (id)
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 15:42:12 +05:30
Prasanna Santhanam
8576b1ddc9
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>
2013-08-19 15:17:30 +05:30
Prasanna Santhanam
7768613edc
CLOUDSTACK-4225: Fix template references in setUpClass
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 14:59:34 +05:30
Prasanna Santhanam
52f6317f79
CLOUDSTACK-4394: remove cleanups for offerings
...
offerings do not need to be cleaned up
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 14:40:34 +05:30
Ashutosh K
85318977c2
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>
(cherry picked from commit d5203b19e0 )
2013-08-15 10:48:50 +05:30
Ashutosh K
84e81df2a3
Removed Invalid test from TestRemoveUserFromAccount see -> http://markmail.org/message/vk7wyl3b57cltj44
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-15 10:44:23 +05:30
Ashutosh K
682e995a4a
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>
2013-08-15 10:36:36 +05:30
Sanjay Tripathi
c5f1aea39d
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>
(cherry picked from commit 151fc3e837 )
2013-08-14 20:05:02 +05:30
Prasanna Santhanam
a04599b3ca
flaky RvR tests to run sequentially
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 19:52:46 +05:30
Prasanna Santhanam
3be5605583
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>
(cherry picked from commit d28e86ccea5dfebea92eba63d1a15ef90855f62d)
2013-08-14 17:04:07 +05:30
Prasanna Santhanam
9e7983ac18
CLOUDSTACK-4252: Correct the cleanup order of resources
...
Apply a LIFO cleanup when deleting cloud resources
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 16:31:55 +05:30
Prasanna Santhanam
e3eee3bd43
CLOUDSTACK-4258: Additional debug to the assertion
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 15:27:30 +05:30
Prasanna Santhanam
547b394363
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>
2013-08-14 15:27:30 +05:30
Prasanna Santhanam
095ea6d0b8
Additional logging and better error reporting on assert fail
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-14 15:27:30 +05:30
Prasanna Santhanam
087a9ea76f
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>
2013-08-13 15:32:31 +05:30
Prasanna Santhanam
6decb9cb4c
Fix test naming to reflect the test purpose
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-12 14:42:45 +05:30
Prasanna Santhanam
0d10050485
CLOUDSTACK-3017: Add tags to Cisco ASA tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-12 12:04:04 +05:30
SrikanteswaraRao Talluri
359967d9f0
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>
2013-08-10 19:18:07 +05:30
Prasanna Santhanam
3455a76237
Add more debug logging to download detached volume test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-10 16:18:29 +05:30
Prasanna Santhanam
99329dfa4a
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>
2013-08-10 15:42:05 +05:30
Rayees Namathponnan
8d1425dd26
TestVMLifeCycleSharedNwVPC need to disable since its failing, netscaler configuration need to change
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-09 19:43:07 -07:00
Prasanna Santhanam
db65f2fe9c
Fix indent to stop tabnanny from complaining
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 15:55:24 +05:30
Prasanna Santhanam
01c452ab63
Fix VPC test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 75cd6cce40 )
2013-08-09 12:09:59 +05:30
Prasanna Santhanam
69dffe1971
Fix redundant router deployment tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b3fb75e6c6 )
2013-08-09 12:09:52 +05:30
Prasanna Santhanam
414f7c2333
Fix volumes tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit bad72a0aeb )
2013-08-09 12:09:47 +05:30
Prasanna Santhanam
e8383cce27
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>
(cherry picked from commit fb6aa4ebfa2c2ee956e4e8511f6d7eba777d4375)
2013-08-08 22:19:53 +05:30
Girish Shilamkar
664fbf2320
CLOUDSTACK-4144 Make specifyVlan to false for shared network
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f1734ed71d )
2013-08-08 16:59:57 +05:30
Saksham Srivastava
8191f5c690
CLOUDSTACK-4021:[Automation] TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication failed to deploy VM
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 16:57:41 +05:30
Prasanna Santhanam
c2840b93f5
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>
2013-08-08 12:07:09 +05:30
Sheng Yang
b2a215bbc6
CLOUDSTACK-3939: Add wait time after VM boot up
...
If VR is reboot before VM booted up, VM cannot get IP. Add timeout for VM
booting up.
2013-08-07 17:41:45 -07:00
Alena Prokharchyk
675c85e349
CLOUDSTACK-4166: temporarily disabling invalid test case that fails BVT
2013-08-07 16:44:29 -07:00
Sheng Yang
fae824a95b
Automation: Fix test_redundant_router_network_rules.py
...
Stop VR after VM booted up.
2013-08-07 16:08:30 -07:00
Sheng Yang
9f25b77bd6
Automation: Fix test_vpc.py
2013-08-07 15:51:38 -07:00
Prasanna Santhanam
a9d8333c55
Fix missing key
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d1c01a79a5 )
2013-08-07 22:52:55 +05:30
Girish Shilamkar
45fca6a833
Test assumes storagetype to be local therefore test_egress_fw_rules fail.
...
Removed storagetype definition.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5826fde22e0aab8183c3f840e3e8613dd8612608)
2013-08-07 20:30:25 +05:30
Gaurav Aradhye
ae378940c3
Automation: Affinity Groups- Removing invalid test case
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 19:43:58 +05:30
Prasanna Santhanam
baf0400124
fix snapshots tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 19:37:37 +05:30
Prasanna Santhanam
a6065ff378
Fix invalid references
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8ac1796226 )
2013-08-07 16:11:05 +05:30
Prasanna Santhanam
79cd3df6fb
Fix snapshot limit tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 15:09:31 +05:30
Prasanna Santhanam
2d4e17e8d4
remove local path in cloud-set-guest-password script
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 14:47:50 +05:30
Prasanna Santhanam
b0ffc88baa
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>
2013-08-07 14:34:51 +05:30
Alena Prokharchyk
ef839427c7
CLOUDSTACK-4120: fixed automation script for resource tags
2013-08-06 12:54:27 -07:00
rayeesn
6ea000d4d9
updated interface in netscaler config test script
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 22:02:55 +05:30
Prasanna Santhanam
12be2221ed
Add missing sleep
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 19:55:41 +05:30
SrikanteswaraRao Talluri
64591e65be
CLOUDSTACK-4098: Fix the test which deploys a VM from password enabled template.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 18:46:29 +05:30
Prasanna Santhanam
fab45b5180
add cleanup list
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 16:57:54 +05:30
Prasanna Santhanam
2f34fef7b9
Fix egress rules offering - rvr not required
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 15:56:12 +05:30
Chirag Jog
681eba5c81
Add cpu limits tests from Resource Limits Test set
2013-08-06 13:42:26 +05:30
Gaurav Aradhye
95273e1c31
Automation: Limit Resources - Adding tests related to CPU limits
2013-08-06 13:33:50 +05:30
Prasanna Santhanam
cc107377a2
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>
(cherry picked from commit 04df5d289ca9394c7f647fb94e5289160a2d3467)
2013-08-06 13:23:36 +05:30
ashutoshkelkar
b70c35a01e
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>
(cherry picked from commit 13869f1a9b3c404184aaa58a378fb87bfce2fa44)
2013-08-06 13:23:36 +05:30
Gaurav Aradhye
909b28793c
Automation: Adding Memory limits tests from Resource Limits Tests
2013-08-06 09:42:41 +05:30
Prasanna Santhanam
04ba3d1354
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>
(cherry picked from commit 7eefeab957e7b2a904a2f5ec1ce2a2624587eb9e)
2013-08-05 22:05:09 +05:30
Prasanna Santhanam
5eb6842149
Log the API exception for debugging
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f17e046319 )
2013-08-05 20:16:35 +05:30
Prasanna Santhanam
f71eff7bfe
No need to cleanup lightweight entities like offerings
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 20:14:26 +05:30
Sheng Yang
7522f81167
Automation: BVT: Fix test_guest_vlan_range.py due to updated API
2013-08-02 16:45:40 -07:00
Sheng Yang
c3317ca5cf
Automation: Fix test_vpc_network_staticnatrule.py
2013-08-02 14:04:07 -07:00
Prasanna Santhanam
b4b280f9cf
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>
2013-08-02 22:24:18 +05:30
Prasanna Santhanam
6f63817d07
vpn tags are not supported resource types
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 22:10:35 +05:30
Prasanna Santhanam
33f5bc4bb3
make name=value when calling publicipaddress
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 04cc1be58a )
2013-08-02 22:05:36 +05:30
Prasanna Santhanam
b4033d5ada
CLOUDSTACK-3926: Add isportable=True explicitly
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 025ab82b043c9bb9ce59eba884d81c89c81bcb8e)
2013-08-02 18:16:29 +05:30
Gaurav Aradhye
cb1a5a49f4
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>
2013-08-02 16:44:42 +05:30
Bharat Kumar
6e83a54ffb
CLOUDSTACK-3753 fixed the test test_non_contigiousvlan.py
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 16:28:44 +05:30
Gaurav Aradhye
fd9cf9743b
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>
2013-08-02 16:00:15 +05:30
Prasanna Santhanam
de96512877
Remove duplicate tests for stopped_vm
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 12:51:45 +05:30
Sheng Yang
2cbf97a6f1
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:47:40 -07:00
Rayees Namathponnan
83692df9b2
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:08:57 -07:00
Sheng Yang
a3292231dd
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:00 -07:00
Prasanna Santhanam
ba059dd0ae
CLOUDSTACK-2921: Added more logging to attach failure
...
Also reduced size of attached disk to 1GB
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 22:23:04 +05:30
Prasanna Santhanam
35492a3668
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>
2013-08-01 21:49:39 +05:30
Prasanna Santhanam
27082fa516
CLOUDSTACK-3865: Additional debug logging for size mismatch
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-01 21:18:56 +05:30
Prasanna Santhanam
f064ad22dc
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>
2013-08-01 16:42:28 +05:30
Prasanna Santhanam
582e3a37a4
Include the exception from urllib in wget test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit eb5099a2a2 )
2013-08-01 16:23:33 +05:30
Prasanna Santhanam
01449d48f9
CLOUDSTACK-3999: Fix the skipTest typo
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit cf6ce42b536a287d36a09b776ae1b756cb1c14ee)
2013-08-01 16:10:30 +05:30
Sheng Yang
5e3b751633
Automation: More fix for test_vpc_network_lbrules.py
2013-07-31 23:13:40 -07:00
Sheng Yang
22b0375df2
Automation: Removing the template's UUID
...
My bad...
2013-07-31 22:41:02 -07:00
Sheng Yang
4271e60b70
Automation: Fix test_vpc_network_lbrules.py
2013-07-31 22:32:40 -07:00
Sheng Yang
af3704cd32
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:08:17 -07:00
Sheng Yang
024dea93ae
Automation: Fix test_vpc_routers.py
...
Account cannot be cleaned per test case since it's setup in setUpClass()
2013-07-31 15:03:37 -07:00
Prasanna Santhanam
9780ffb6e1
CLOUDSTACK-3916: Fix silly string formatting mistake
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8602866063becbe67d001c1f5d778b948eb32fc0)
2013-07-31 11:13:09 +05:30
SrikanteswaraRao Talluri
890ba45e42
CLOUDSTACK-3923: Fix the scripts to select default vpc offering
...
CLOUDSTACK-3923: Fix the scripts to select default vpc offering
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 99d8ed9b68e3d480a3d86cb8ecd19c1e9b354dff)
2013-07-31 11:13:09 +05:30
Sheng Yang
fae57e5843
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:05 -07:00
Sheng Yang
32d076ebcc
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:29 -07:00
Gaurav Aradhye
6ec4e57228
CLOUDSTACK-3168: Fix test_reboot_router.py to ssh using public IP
...
test_reboot_router.py was trying to ssh to vm using private IP
and hence it failed with error "No route to host."
Fixed the testcase to ssh using public IP.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 003721a085210afe167fbc734abe4cc8e2d3d23f)
2013-07-30 20:10:12 +05:30
Prasanna Santhanam
baa6d0badb
Fix url for upload volume test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 15:50:02 +05:30
Prasanna Santhanam
90c6fcf2a9
CLOUDSTACK-3916: The size test is invalid
...
ISO size can differ from the mounted packages within the ISO. Remove the
size check and only perform attach and detach in the guest.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d875a36e5c )
2013-07-30 14:13:47 +05:30
Prasanna Santhanam
42dd515622
CLOUDSTACK-3930 : Add cleanup
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 13:51:22 +05:30
Prasanna Santhanam
797450a5ba
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>
2013-07-30 12:40:45 +05:30
Prasanna Santhanam
56043eb6cf
add debug message
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 11:42:49 +05:30
Sheng Yang
6275d697e3
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:15 -07:00
Girish Shilamkar
8be9a47542
CLOUDSTACK-3454: Fix test_portable_publicip
...
Added isportable param to associateIP API. Fixed base class
for PortableIP tio call portableip APIs.
Removed test_createPortablePublicIPAcquire from basic zone run
requires additional network creation handling which can be done
in component tests.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4054a8e2ac )
2013-07-29 20:00:17 +05:30
Gaurav Aradhye
67c96d419d
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>
2013-07-29 19:57:10 +05:30
Prasanna Santhanam
83f4c3289a
remove vpc offering from cleanup.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 16:37:54 +05:30
Prasanna Santhanam
4a6fcd253c
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>
(cherry picked from commit e4de46e4b1 )
2013-07-29 16:22:03 +05:30
Prasanna Santhanam
d66edb5e2b
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>
2013-07-29 15:55:39 +05:30
Sowmya Krishnan
08c82883f6
CLOUDSTACK-3744 Fixed order of cleanup objects, removed offerings cleanup
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 15:35:13 +05:30
Prasanna Santhanam
53feae08de
Remove duplicate while-loop retries during ssh
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-29 14:51:37 +05:30
Prasanna Santhanam
bb971a208c
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>
2013-07-29 14:39:06 +05:30
Prasanna Santhanam
f83187585e
Removing invalid test for accounts
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-28 17:00:30 +05:30
Prasanna Santhanam
a019f34572
Fix domain deletion in test_project_resources.py
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-28 11:24:25 +05:30
Prasanna Santhanam
93f79e1a15
CLOUDSTACK-2882: We are mounting an ISO not a volume
...
So fdisk -l doesn't list the mounted iso. Instead use showmount -e to
find the mounted device.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-27 21:51:53 +05:30
Prasanna Santhanam
b39d302888
CLOUDSTACK-2882: Additional device types for IDE/SCSI
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-27 19:47:02 +05:30
Sheng Yang
4a7b503746
Automation: Fix endless silly test cases
2013-07-26 00:19:35 -07:00
Sheng Yang
b539366229
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:46:26 -07:00
Prasanna Santhanam
2b0a972676
Fix bunch of affinity group tests
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 22:51:03 +05:30
Prasanna Santhanam
1012d87860
CLOUDSTACK-3796: Fix the missing attribute for zoneid
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3277ceaf0b619171a19893f525aec2685ae6367c)
2013-07-25 15:51:45 +05:30
Prasanna Santhanam
1067888f6d
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>
2013-07-25 15:34:15 +05:30
Prasanna Santhanam
c6d9919c88
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>
2013-07-25 14:15:03 +05:30
Sheng Yang
4759492979
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:49:46 -07:00