Commit Graph

189 Commits

Author SHA1 Message Date
SrikanteswaraRao Talluri e94ec6b202 CLOUDSTACK-4772: modify the script to get_process_status for vmware deployment
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-30 01:44:12 +05:30
Gaurav Aradhye 79d702cf97 CLOUDSTACK-4780: Fixed BVT test case TestSnapshotRootDisk.test_01_snapshot_root_disk
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b12ff1d6ce964e30d0b919c29ab92af450e4dcf9)
2013-10-15 13:36:49 +05:30
SrikanteswaraRao Talluri 94f741bbf5 CLOUDSTACK-4344: pass delay and retries explicitly to remoteSSHclient to reduce time taken by the tests
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 12:21:39 +05:30
Harikrishna Patnala a9218f3411 CLOUDSTACK-2247: Automation - Reset a VM on Reboot
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 62b0ad03c8)
2013-09-18 09:37:55 +05:30
Prasanna Santhanam 2575ded3f3 get host credentials from marvin configuration for ssvm test 2013-08-31 12:51:53 +05:30
Jayapal dd57226817 Marvin test cases for multiple ip address per nic 2013-08-26 17:11:45 +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
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
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
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 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
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
Sheng Yang 7522f81167 Automation: BVT: Fix test_guest_vlan_range.py due to updated API 2013-08-02 16:45:40 -07:00
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
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
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
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
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 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 56043eb6cf add debug message
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 11:42:49 +05:30
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
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
Prasanna Santhanam c319ba3ba7 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>
2013-07-23 11:39:36 +05:30
Gaurav Aradhye 4f22561f69 CLOUDSTACK-3679: Added subsequent change that was needed after change in try_ssh function
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 22:53:08 +05:30
Gaurav Aradhye f2d9a7b659 CLOUDSTACK-3168: Change in try_ssh function
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit e25cbd66d2)
2013-07-18 15:06:33 +05:30
Prasanna Santhanam af9a8de901 tearDownClass and not teardown
Include the affinity group in the deletion/cleanup

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 15:02:16 +05:30
Prasanna Santhanam 4d4bd8a263 CLOUDSTACK-3384: Fix the vlan range < 4096
VLAN ranges beyond 4095 are properly handled. Fix the test to accomdate
this change

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3f5c1c6da3)
2013-07-11 09:43:59 +05:30
Prasanna Santhanam 3c69e3e2f0 Network GC test moved to regression suite
The network GC test is a long running test as it waits for
network.gc.wait + network.gc.interval * 2 to verify that the network
cleanups happen corectly. This test is also part of the regression suite
and is redundant in the smoke. The test run takes 30m longer because of
this test included in smoke.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 915f7b9c12fb816ff87558e2b95599e74b8e9462)
2013-07-05 18:51:29 +05:30
Prasanna Santhanam 313177a51e print debug message for the waiting time
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-05 11:09:19 +05:30
Prasanna Santhanam ca7f0df193 Include definition for vm_3 in assign and load balance test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b3aa11ca39)
2013-07-04 21:45:30 +05:30
Prasanna Santhanam a14a9c1926 move isAlmostEqual to utils
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit da9552b7f3)
2013-07-04 20:15:31 +05:30
Gaurav Aradhye ee9e723022 CLOUDSTACK-2884: Fixed test_04_change_offering_small
Added method to compare if two digits are almost equal within given range

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 048cf5aae8)
2013-07-04 20:15:21 +05:30
Prasanna Santhanam 812f9442ff ipaddress is included
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 248bea8b27)
2013-07-04 14:40:33 +05:30
Prasanna Santhanam c8ad4e5ced CLOUDSTACK-3354: Fix scalevm test
After you scale the vm, user is expected (oddly) to update the virtual
machine to signal that the PV tools are installed. This tells cloudstack
that the VM has been successfully scaled up/down.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 13:50:54 +05:30
Prasanna Santhanam ed01a02c92 Separate the loadbalancing tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 30039e121b)
2013-07-04 13:40:32 +05:30
Prasanna Santhanam e950b3a9fa Only print debug message when the planner fails to disperse
User Dispersion is a best effort of deployment planning and cannot
always guarantee the dispersion logic will work. However this does not
fail the deployment. Adjust the test so as to print a debug and exit
instead of fail.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 43f31dcc66)
2013-07-02 19:21:15 +05:30
Prasanna Santhanam 6e399cc906 Cleanup list corrected
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 46bd2f8a28)
2013-07-02 19:21:15 +05:30
Gaurav Aradhye 3b2756974a CLOUDSTACK-3168: Resolved 'Object NoneType' issue.
Replaces ipaddress by ipaddress.ipaddress wherever required

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b8d876fff8)
2013-07-02 19:21:14 +05:30
sanjeevneelarapu 8a41322454 assertion fails because cluster could be None
Object is being used in one of the Assert statements however it is not
callable. Fixed it.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 479f89ca3c)
2013-07-02 19:21:14 +05:30
Prasanna Santhanam 154c24e561 Fix tab/space issues
Several test failures occurred due to tab issues

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c7315975d2)
2013-06-30 13:21:08 +05:30
Prasanna Santhanam 8dc99d92b6 Fix reviewboard messup of python indentation
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-27 20:30:36 +05:30
Prasanna Santhanam 2af6db24ed cmds is not a list. just regular string to ssh
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-27 20:30:36 +05:30
Gaurav Aradhye 1fc7aeaaea CLOUDSTACK-3060: condition for vmware while getting process status.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-25 12:30:18 +05:30
Harikrishna Patnala f7b1d3d8d5 CLOUDSTACK-2916: admin is not able to login through UI after setting GP "cluster.cpu.allocated.capacity.notificationthreshold" to some string
CLOUDSTACK-2457:  No check for input values,special character,-ive values can be assigne to GLobal parameter "cluster.cpu.allocated.capacity.disablethreshold"

Added validation for float values and checking limit for weight based parameters by creating a set of parameters.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-06-24 20:00:09 +05:30
Prasanna Santhanam 82c75c7fae Split out snapshot tests for speedup
Breaking down snapshot tests
- recurring snapshots
- limits
- garbage collection
- smoke/basic scenario: take snapshot of root disk

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-20 19:42:01 +05:30
Prasanna Santhanam c1e37f60ac Cycle all possible device combinations for ISO attach/detach
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-20 16:47:05 +05:30
Edison Su 9aec9c605c merge to master 2013-06-19 18:16:47 -07:00