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
Prasanna Santhanam
aec21b3a36
local storage is not enabled on the zone
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d8e5b8907bc97ca58017c0aedff03658a63f1955)
2013-08-24 10:04:06 +05:30
Prasanna Santhanam
7d4a575631
Appropriately skip the test_nic setup when in a basic zone
2013-08-23 17:02:35 +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
73d49d0907
Fix test naming to reflect the test purpose
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 445341355d18d280c745e8a1abcf39bafd938f91)
2013-08-12 14:42:33 +05:30
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
3ba68a1624
Add more debug logging to download detached volume test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3455a76237 )
2013-08-10 16:19:10 +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
17b2bda13c
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:43:05 -07:00
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
b96fea2e06
Automation: BVT: Fix test_guest_vlan_range.py due to updated API
2013-08-02 16:47:32 -07:00
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
Prasanna Santhanam
052d6e251b
CLOUDSTACK-3926: Add isportable=True explicitly
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-02 18:16:49 +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
Bharat Kumar
eaeef9e994
CLOUDSTACK-3753 fixed the test test_non_contigiousvlan.py
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 6e83a54ffb )
2013-08-02 16:34:10 +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
Chip Childers
8225374138
Updating pom.xml version numbers for release 4.3.0-SNAPSHOT
...
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-08-01 10:35:00 -04:00
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
Prasanna Santhanam
fee7a868e1
CLOUDSTACK-3916: Fix silly string formatting mistake
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-31 11:12:48 +05:30
SrikanteswaraRao Talluri
bd7bff792b
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>
2013-07-31 11:12:48 +05:30
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
Gaurav Aradhye
906ea82572
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>
2013-07-30 20:12:23 +05:30
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
d875a36e5c
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>
2013-07-30 14:12:33 +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
Prasanna Santhanam
f4dd80989f
add debug message
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 56043eb6cf )
2013-07-30 11:43:02 +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
Girish Shilamkar
4054a8e2ac
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>
2013-07-29 20:00:08 +05:30
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
Prasanna Santhanam
40b59d7e2a
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>
(cherry picked from commit 93f79e1a15 )
2013-07-27 21:53:16 +05:30
Prasanna Santhanam
738523b57c
CLOUDSTACK-2882: Additional device types for IDE/SCSI
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b39d302888 )
2013-07-27 21:53:11 +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
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
Sowmya Krishnan
c6ea21866e
CLOUDSTACK-3697 LB rule clean up already done in cleanup project
2013-07-23 13:59:15 -07:00
Sheng Yang
7faa71dc68
Automation: Fix different names for cleanup
2013-07-23 13:15:07 -07:00
Sheng Yang
c1e6968464
Automation: Fix typo in test_redundant_network_rules
...
It result in failed to setUp and clean up.
2013-07-23 12:22:14 -07:00
Sheng Yang
5b238fa4af
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:37 -07:00
Sanjay Tripathi
5c45645932
CLOUDSTACK-3724: Test case "test_vpc_vms_deployment.py" failed to find network offering.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a06b3f40eb )
2013-07-23 21:40:52 +05:30
Sowmya Krishnan
d2ce17ea73
Fixed account objects CLOUDSTACK-3726
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1cd435e25a )
2013-07-23 20:51:16 +05:30
Sanjay Tripathi
3e6e66fee1
CLOUDSTACK-3689: Test case test_accounts.TesttemplateHierarchy.test_01_template_hierarchy failed during ListTemplate call.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 6b2c9bf3ae )
2013-07-23 18:02:29 +05:30
Prasanna Santhanam
63cf7aa8ce
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>
(cherry picked from commit c44fa2cc20 )
2013-07-23 18:02:29 +05:30
Prasanna Santhanam
821bbe0610
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>
(cherry picked from commit 874d59847aa6bfd12e6967891a21f1746987b566)
2013-07-23 18:02:29 +05:30
Prasanna Santhanam
4585e46a35
CLOUDSTACK-3719: wrong declaration of random_gen call
...
since random_gen can take an id to prepend a testcase identifier to the
created cloud resource, we need to explicitly specify the size param. In
vmsnapshot test create the random_data string of size (100)
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5bb3a56acac440b022ed6c45f97d0d85dcc94b96)
2013-07-23 11:39:08 +05:30
Sheng Yang
9f15779f10
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:39 -07:00