201 Commits

Author SHA1 Message Date
Gaurav Aradhye
6ad27d903b CLOUDSTACK-5640: Correcting imports in test cases 2013-12-29 19:38:57 +05:30
Girish Shilamkar
b544669a84 CLOUDSTACK-5497: Fix test_guest_vlan_range.py to get free vlan range 2013-12-24 11:11:17 +05:30
Santhosh Edukulla
d715058fa1 Added a temp sleep fix for vm start command
Added a temporary time sleep fix post a restart command. Applies to 4.2,master,4.3
Note: Has to clean other things as well and will do more cleaner way of handling things.
2013-12-11 13:04:17 +05:30
Girish Shilamkar
623529060f Revert "Fixed an Issue reported by xen server team"
The commit message is incorrect.
This reverts commit ed477744c85a7d9024c5b765e7fe7a15ec46da2a.
2013-12-11 12:37:52 +05:30
Santhosh Edukulla
ed477744c8 Fixed an Issue reported by xen server team 2013-12-11 12:20:06 +05:30
SrikanteswaraRao Talluri
ded8d6592b fixed indentation error in test_network.py 2013-11-09 11:54:50 +05:30
SrikanteswaraRao Talluri
31b439eab6 fixing indentation problem in test_network.py 2013-11-08 23:40:06 +05:30
Santhosh Edukulla
c7fe212c3b CLOUDSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 16:34:46 +05:30
SrikanteswaraRao Talluri
65b12f45b9 Revert "CLOUSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention"
This reverts commit ec00a6fb74042259ceea6add676de3f15e642d4a.
2013-11-08 16:05:30 +05:30
Santhosh Edukulla
ec00a6fb74 CLOUSTACK-5099: Utils.py-has-wrong-reference, cleaned it. As well added Uniform naming convention
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-11-08 16:02:10 +05:30
Sheng Yang
3205cd42b5 CLOUDSTACK-730: Site-to-site VPN between VPC VR to VR
Now VPN connection can be created as "passive", which would enable the ability
of remote peer initiate the connection. So it's possible for VPC VR to
establish the connection to another VPC VR of CloudStack.

Test case also included.

The test case would create 2 vpcs and using VPN to connect them.
2013-10-30 19:30:22 -07:00
SrikanteswaraRao Talluri
3223fcf672 CLOUDSTACK-4772: modify the script to get_process_status for vmware deployment
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-10-30 01:46:26 +05:30
Sheng Yang
1528725949 CLOUDSTACK-754: Enable Remote Access VPN for VPC
With integration smoke test case.
2013-10-24 17:34:41 -07:00
Gaurav Aradhye
986ac0f124 CLOUDSTACK-4780: Fixed BVT test case TestSnapshotRootDisk.test_01_snapshot_root_disk
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:37:11 +05:30
SrikanteswaraRao Talluri
ff0f738973 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>
(cherry picked from commit 94f741bbf5e025c230172df2977a0986c5b73ec2)
2013-09-30 12:24:16 +05:30
Harikrishna Patnala
62b0ad03c8 CLOUDSTACK-2247: Automation - Reset a VM on Reboot
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-09-18 09:37:37 +05:30
Prasanna Santhanam
fb7eb06198 get host credentials from marvin configuration for ssvm test
(cherry picked from commit 6371d3b98c56784e4a3588c2546be18aa79cb595)
2013-08-31 12:50:58 +05:30
Jayapal
6837f162ab Marvin test cases for multiple ip address per nic 2013-08-26 17:11:02 +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
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
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
3ba68a1624 Add more debug logging to download detached volume test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3455a76237481c3bbb590e88d37b6ca351c113fc)
2013-08-10 16:19:10 +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
b96fea2e06 Automation: BVT: Fix test_guest_vlan_range.py due to updated API 2013-08-02 16:47:32 -07:00
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
Bharat Kumar
eaeef9e994 CLOUDSTACK-3753 fixed the test test_non_contigiousvlan.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 6e83a54ffbf69e46a79fbaf0be63e63092385b65)
2013-08-02 16:34:10 +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
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
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
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
f4dd80989f add debug message
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 56043eb6cf3835f541c65675666ad082f91f49d9)
2013-07-30 11:43:02 +05:30
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
Prasanna Santhanam
3fec71e748 Fix domain deletion in test_project_resources.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a019f34572ef591b238adb256a0036565bb21579)
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 93f79e1a158cb1f69915a4036f5c1840a38c5e53)
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 b39d302888f965c5c26812b556c2dc395c53bb5c)
2013-07-27 21:53:11 +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
Gaurav Aradhye
e245718837 CLOUDSTACK-3679: Added subsequent change that was needed after change in try_ssh function
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 233456d95f80effa293e21e199886d61b17dbd19)
2013-07-22 19:36:27 +05:30
Gaurav Aradhye
e25cbd66d2 CLOUDSTACK-3168: Change in try_ssh function
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-18 15:06:22 +05:30
Prasanna Santhanam
8442e35a79 tearDownClass and not teardown
Include the affinity group in the deletion/cleanup

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit af9a8de9019d2759fb121dfd0230b8cfbe1850ea)
2013-07-18 15:05:57 +05:30
Prasanna Santhanam
3f5c1c6da3 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>
2013-07-11 09:41:17 +05:30
Prasanna Santhanam
d11681fb05 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>
2013-07-05 18:52:47 +05:30
Prasanna Santhanam
9e2224dd49 print debug message for the waiting time
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 313177a51e70024f70d02b251afc3d5038a7e488)
2013-07-05 11:09:56 +05:30
Prasanna Santhanam
b3aa11ca39 Include definition for vm_3 in assign and load balance test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 21:45:00 +05:30
Prasanna Santhanam
da9552b7f3 move isAlmostEqual to utils
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 20:14:54 +05:30
Gaurav Aradhye
048cf5aae8 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>
2013-07-04 20:14:54 +05:30
Prasanna Santhanam
248bea8b27 ipaddress is included
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 14:39:54 +05:30
Prasanna Santhanam
1e646629fe 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>
(cherry picked from commit c8ad4e5ced323d27862b7197a05f022f1a6efd4f)
2013-07-04 13:52:36 +05:30
Prasanna Santhanam
30039e121b Separate the loadbalancing tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-04 13:37:27 +05:30