Commit Graph

399 Commits

Author SHA1 Message Date
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